1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] mgarepo, svn and working from external debian server
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20mgarepo%2C%0A%09svn%20and%20working%20from%20external%20debian%20server&In-Reply-To=%3C4FED9F80.3010202%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="016995.html">
<LINK REL="Next" HREF="017000.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] mgarepo, svn and working from external debian server</H1>
<B>Guillaume Rousse</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20mgarepo%2C%0A%09svn%20and%20working%20from%20external%20debian%20server&In-Reply-To=%3C4FED9F80.3010202%40gmail.com%3E"
TITLE="[Mageia-dev] mgarepo, svn and working from external debian server">guillomovitch at gmail.com
</A><BR>
<I>Fri Jun 29 14:28:48 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="016995.html">[Mageia-dev] mgarepo, svn and working from external debian server
</A></li>
<LI>Next message: <A HREF="017000.html">[Mageia-dev] mgarepo, svn and working from external debian server
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16999">[ date ]</a>
<a href="thread.html#16999">[ thread ]</a>
<a href="subject.html#16999">[ subject ]</a>
<a href="author.html#16999">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le 29/06/2012 13:41, Johnny A. Solbu a écrit :
><i> On Friday 29 June 2012 12:49, Johnny A. Solbu wrote:
</I>>><i> I've installed mgarepo on a Debian box now
</I>><i>
</I>><i> I have a veird problem that I am unable to resolve, it works on mdv, mga2 and cauldron but not on debian:
</I>><i> ===
</I>><i> $ mgarepo sync -d
</I>><i> error: line 3: Tag takes single token only: Release: %mkrel 1
</I>><i> Traceback (most recent call last):
</I>><i> File "/usr/bin/mgarepo", line 93, in <module>
</I>><i> do_command(parse_options, dispatch_command)
</I>><i> File "/usr/lib/python2.6/dist-packages/MgaRepo/command.py", line 39, in do_command
</I>><i> main_func(**opt.__dict__)
</I>><i> File "/usr/bin/mgarepo", line 84, in dispatch_command
</I>><i> command_module.main()
</I>><i> File "/usr/lib/python2.6/dist-packages/MgaRepo/commands/sync.py", line 38, in main
</I>><i> do_command(parse_options, sync)
</I>><i> File "/usr/lib/python2.6/dist-packages/MgaRepo/command.py", line 39, in do_command
</I>><i> main_func(**opt.__dict__)
</I>><i> File "/usr/lib/python2.6/dist-packages/MgaRepo/rpmutil.py", line 514, in sync
</I>><i> spec = rpm.TransactionSet().parseSpec(specpath)
</I>><i> File "/usr/lib/pymodules/python2.6/rpm/transaction.py", line 35, in parseSpec
</I>><i> return _rpmb.spec(specfile)
</I>><i> ValueError: can't parse specfile
</I>><i> ===
</I>><i> (rpmbuild is installed. A google search suggested it to another user.)
</I>mgarepo doesn't use rpmbuild to parse spec file, but python rpm
bindings. And it doesn't look like a missing component issue, rather
like some kind of version incompatibility (python 2.6, from the stack
trace). Not really surprising on a debian stable version.
You'd rather invest some time in learning to debug python code if you're
really wanting to suceed with this kind of setup.
--
Why is there only ONE Monopolies Commission?
-- Why Why Why n°47
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="016995.html">[Mageia-dev] mgarepo, svn and working from external debian server
</A></li>
<LI>Next message: <A HREF="017000.html">[Mageia-dev] mgarepo, svn and working from external debian server
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16999">[ date ]</a>
<a href="thread.html#16999">[ thread ]</a>
<a href="subject.html#16999">[ subject ]</a>
<a href="author.html#16999">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|