blob: 87e40035973be28f60978a1a5d817c0043024425 (
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
|
<!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=%3CAANLkTinSunidm623x7Zo7HoN%3D14wAFxMJabZJGaDHj_M%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Next" HREF="003395.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-discuss] Trying to learn a little about packaging</H1>
<B>Hoyt Duff</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=%3CAANLkTinSunidm623x7Zo7HoN%3D14wAFxMJabZJGaDHj_M%40mail.gmail.com%3E"
TITLE="[Mageia-discuss] Trying to learn a little about packaging">hoytduff at gmail.com
</A><BR>
<I>Thu Jan 13 06:07:51 CET 2011</I>
<P><UL>
<LI>Next message: <A HREF="003395.html">[Mageia-discuss] Trying to learn a little about packaging
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3394">[ date ]</a>
<a href="thread.html#3394">[ thread ]</a>
<a href="subject.html#3394">[ subject ]</a>
<a href="author.html#3394">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I'm trying to learn a little about packaging and was attempting to
build source and binary packages from a tarball with an embedded .spec
file for rkhunter-1.3.8-1 and maybe submit it to Mageia with
appropriate rkhunter.conf tweaks to remove false positives.
Building on Mandriva 2010.2, "rpmbuild -ta" fails with:
<SNIP>
Processing files: rkhunter-1.3.8-1
error: File not found:
/home/hoyt/rpmbuild/BUILDROOT/rkhunter-1.3.8-1.i386/usr/lib/rkhunter
error: File not found:
/home/hoyt/rpmbuild/BUILDROOT/rkhunter-1.3.8-1.i386/usr/lib/rkhunter/scripts
error: File not found by glob:
/home/hoyt/rpmbuild/BUILDROOT/rkhunter-1.3.8-1.i386/usr/lib/rkhunter/scripts/*.pl
error: File not found by glob:
/home/hoyt/rpmbuild/BUILDROOT/rkhunter-1.3.8-1.i386/usr/lib/rkhunter/scripts/*.sh
I contacted the author, who says the rpm will build on Fedora. He
says: "Path error. The .spec file "%define _prefix /usr/local"
(compare with a "./configure --prefix=/usr/local") and in the %files
section "%{_libdir}/%{name}" should pick up "%_prefix". For some
reason it doesn't but then again I never built RPM's on Mandriva...
... and gave me a hack to try that fails also with an error he has
never seen before,
error: Package already exists: %package __restore__
Can someone point me to where in the Mandriva docs I can find info on
what might be going wrong? Thanks.
--
Hoyt
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Next message: <A HREF="003395.html">[Mageia-discuss] Trying to learn a little about packaging
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3394">[ date ]</a>
<a href="thread.html#3394">[ thread ]</a>
<a href="subject.html#3394">[ subject ]</a>
<a href="author.html#3394">[ 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>
|