blob: 2b80deb6844cb39f4f7024a82f88223800c07405 (
plain)
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
93
94
95
96
97
98
99
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-discuss] Trying to learn a little about packaging
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Trying%20to%20learn%20a%20little%20about%20packaging&In-Reply-To=%3C201101130951.02549.stormi%40laposte.net%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="003401.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-discuss] Trying to learn a little about packaging</H1>
<B>Samuel Verschelde</B>
<A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Trying%20to%20learn%20a%20little%20about%20packaging&In-Reply-To=%3C201101130951.02549.stormi%40laposte.net%3E"
TITLE="[Mageia-discuss] Trying to learn a little about packaging">stormi at laposte.net
</A><BR>
<I>Thu Jan 13 09:51:02 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="003401.html">[Mageia-discuss] Trying to learn a little about packaging
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3400">[ date ]</a>
<a href="thread.html#3400">[ thread ]</a>
<a href="subject.html#3400">[ subject ]</a>
<a href="author.html#3400">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
Le jeudi 13 janvier 2011 06:07:51, Hoyt Duff a écrit :
><i> I'm trying to learn a little about packaging and was attempting to
</I>><i> build source and binary packages from a tarball with an embedded .spec
</I>><i> file for rkhunter-1.3.8-1 and maybe submit it to Mageia with
</I>><i> appropriate rkhunter.conf tweaks to remove false positives.
</I>><i>
</I>><i> Building on Mandriva 2010.2, "rpmbuild -ta" fails with:
</I>><i>
</I>><i> <SNIP>
</I>><i> Processing files: rkhunter-1.3.8-1
</I>><i> error: File not found:
</I>><i> /home/hoyt/rpmbuild/BUILDROOT/rkhunter-1.3.8-1.i386/usr/lib/rkhunter
</I>><i> error: File not found:
</I>><i> /home/hoyt/rpmbuild/BUILDROOT/rkhunter-1.3.8-1.i386/usr/lib/rkhunter/script
</I>><i> s error: File not found by glob:
</I>><i> /home/hoyt/rpmbuild/BUILDROOT/rkhunter-1.3.8-1.i386/usr/lib/rkhunter/script
</I>><i> s/*.pl error: File not found by glob:
</I>><i> /home/hoyt/rpmbuild/BUILDROOT/rkhunter-1.3.8-1.i386/usr/lib/rkhunter/script
</I>><i> s/*.sh
</I>><i>
</I>><i> I contacted the author, who says the rpm will build on Fedora. He
</I>><i> says: "Path error. The .spec file "%define _prefix /usr/local"
</I>><i> (compare with a "./configure --prefix=/usr/local") and in the %files
</I>><i> section "%{_libdir}/%{name}" should pick up "%_prefix". For some
</I>><i> reason it doesn't but then again I never built RPM's on Mandriva...
</I>><i>
</I>><i> ... and gave me a hack to try that fails also with an error he has
</I>><i> never seen before,
</I>><i> error: Package already exists: %package __restore__
</I>><i>
</I>><i> Can someone point me to where in the Mandriva docs I can find info on
</I>><i> what might be going wrong? Thanks.
</I>><i>
</I>
Hi,
I think this message would have been better send to the mageia-dev mailing
list, which is dedicated to packagers (even if many are subscribed to both
MLs).
Regards
Samuel Verschelde
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="003401.html">[Mageia-discuss] Trying to learn a little about packaging
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3400">[ date ]</a>
<a href="thread.html#3400">[ thread ]</a>
<a href="subject.html#3400">[ subject ]</a>
<a href="author.html#3400">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>
|