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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Generic 64-bit building question
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Generic%2064-bit%20building%20question&In-Reply-To=%3C1310552536.83236.YahooMailNeo%40web161712.mail.bf1.yahoo.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="006594.html">
<LINK REL="Next" HREF="006586.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Generic 64-bit building question</H1>
<B>Radu-Cristian FOTESCU</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Generic%2064-bit%20building%20question&In-Reply-To=%3C1310552536.83236.YahooMailNeo%40web161712.mail.bf1.yahoo.com%3E"
TITLE="[Mageia-dev] Generic 64-bit building question">beranger5ca at yahoo.ca
</A><BR>
<I>Wed Jul 13 12:22:16 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="006594.html">[Mageia-dev] Generic 64-bit building question
</A></li>
<LI>Next message: <A HREF="006586.html">[Mageia-dev] Generic 64-bit building question
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6600">[ date ]</a>
<a href="thread.html#6600">[ thread ]</a>
<a href="subject.html#6600">[ subject ]</a>
<a href="author.html#6600">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
>><i> Why not `lib64ksane-devel` ?
</I>><i>
</I>><i>You are right, the package name libksane-devel is incorrect. See
</I>><i><A HREF="http://www.mageia.org/wiki/doku.php?id=libraries">http://www.mageia.org/wiki/doku.php?id=libraries</A>
</I>
Thanks for the pointer, Christiaan!
OTOH, as a self-apprentice packager, I've collected a number of pages to help me with understanding the building issues, e.g. rpmlint -i warnings and errors,  etc.
From <A HREF="http://mageia.org/wiki/doku.php?id=packager_start">http://mageia.org/wiki/doku.php?id=packager_start</A>
=> <A HREF="http://mageia.org/wiki/doku.php?id=rpm_start">http://mageia.org/wiki/doku.php?id=rpm_start</A>
=> <A HREF="http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/index.html">http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/index.html</A>
Extras, bookmarked for consulting:
<A HREF="http://wiki.mandriva.com/en/Development/Packaging/Problems">http://wiki.mandriva.com/en/Development/Packaging/Problems</A> (!)
<A HREF="http://wiki.mandriva.com/en/Policies/Library">http://wiki.mandriva.com/en/Policies/Library</A>
<A HREF="http://wiki.mandriva.com/en/Development/Howto/RPM">http://wiki.mandriva.com/en/Development/Howto/RPM</A> (obsolete)
<A HREF="http://wiki.mandriva.com/en/Policies/RpmSpecProposal">http://wiki.mandriva.com/en/Policies/RpmSpecProposal</A>
<A HREF="http://fedoraproject.org/wiki/Packaging/Guidelines">http://fedoraproject.org/wiki/Packaging/Guidelines</A>
<A HREF="http://fedoraproject.org/wiki/Common_Rpmlint_issues">http://fedoraproject.org/wiki/Common_Rpmlint_issues</A> (!)
<A HREF="http://en.opensuse.org/openSUSE:Packaging_checks">http://en.opensuse.org/openSUSE:Packaging_checks</A> (!)
<A HREF="http://www.rpm.org/max-rpm/">http://www.rpm.org/max-rpm/</A> (root)
<A HREF="http://www.rpm.org/max-rpm/p5208.html">http://www.rpm.org/max-rpm/p5208.html</A>
<A HREF="http://www.rpm.org/max-rpm/s1-rpm-inside-macros.html">http://www.rpm.org/max-rpm/s1-rpm-inside-macros.html</A>
<A HREF="http://www.rpm.org/wiki/PackagerDocs/ArchDependencies">http://www.rpm.org/wiki/PackagerDocs/ArchDependencies</A>
<A HREF="http://www.mageia.org/wiki/doku.php?id=libraries">http://www.mageia.org/wiki/doku.php?id=libraries</A>
Am I right to do this? Mageia's wiki pages are not clarifying enough.
E.g.
-- it does not say about %{buildroot} vs. $RPM_BUILD_ROOT used consistently, ie, no mixing of %{buildroot} and $RPM_BUILD_ROOT, see <A HREF="https://fedoraproject.org/wiki/Packaging/Guidelines#Using_.25.7Bbuildroot.7D_and_.25.7Boptflags.7D_vs_.24RPM_BUILD_ROOT_and_.24RPM_OPT_FLAGS">https://fedoraproject.org/wiki/Packaging/Guidelines#Using_.25.7Bbuildroot.7D_and_.25.7Boptflags.7D_vs_.24RPM_BUILD_ROOT_and_.24RPM_OPT_FLAGS</A>
-- it does not say about desktop-file-install vs.desktop-file-validate see <A HREF="https://fedoraproject.org/wiki/Packaging/Guidelines#desktop-file-install_usage">https://fedoraproject.org/wiki/Packaging/Guidelines#desktop-file-install_usage</A>
-- it does not tell the apprentice packagers about what rpmlint errors or warnings should *never* be ignored (e.g. explicit-lib-dependency, binary-or-shlib-defines-rpath, no-cleaning-of-buildroot, no-buildroot-tag, hardcoded-library-path, etc.)
Actually, it was `invalid-build-requires` that made me inspect the 64-bit library thing!
-- it does not tell what rpmlint errors/warnings *should* usually be ignored, e.g.:
1. non-standard-group when the Group is valid in Mageia, e.g.: Graphics, Video, ...
2. no-documentation, no-manual-page-for-binary, manpage-not-compressed, incorrect-fsf-address, file-not-utf8, name-repeated-in-summary, etc.
I'm still not sure about library-without-ldconfig-postin/library-without-ldconfig-postun, because as long as the SPRM was taken from MDV or F15... and as long as the installed package works...
André, what do you think?
R-C aka beranger
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="006594.html">[Mageia-dev] Generic 64-bit building question
</A></li>
<LI>Next message: <A HREF="006586.html">[Mageia-dev] Generic 64-bit building question
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6600">[ date ]</a>
<a href="thread.html#6600">[ thread ]</a>
<a href="subject.html#6600">[ subject ]</a>
<a href="author.html#6600">[ 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>
|