Gentoo Archives: gentoo-user

From: Alexander Puchmayr <alexander.puchmayr@×××××××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] emerging cups: QA: stop using the bindnow-flags function
Date: Sun, 17 Feb 2008 09:35:10
Message-Id: 200802171035.02239.alexander.puchmayr@linznet.at
1 Hi there!
2
3 I tried to (re-)emerge net-print/cups-1.2.12-r4 and I get the following
4 output:
5
6 zeus ~ # emerge --oneshot -v cups
7
8 These are the packages that would be merged, in order:
9
10 Calculating dependencies... done!
11 [ebuild R ] net-print/cups-1.2.12-r4 USE="X dbus jpeg nls pam png ppds
12 ssl tiff -ldap -php -samba -slp" 0 kB
13
14 Total: 1 package (1 reinstall), Size of downloads: 0 kB
15
16 >>> Verifying ebuild Manifests...
17
18 >>> Emerging (1 of 1) net-print/cups-1.2.12-r4 to /
19 * cups-1.2.12-source.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
20 [ ok ]
21 * checking ebuild checksums ;-) ...
22 [ ok ]
23 * checking auxfile checksums ;-) ...
24 [ ok ]
25 * checking miscfile checksums ;-) ...
26 [ ok ]
27 * checking cups-1.2.12-source.tar.bz2 ;-) ...
28 [ ok ]
29 >>> Unpacking source...
30 >>> Unpacking cups-1.2.12-source.tar.bz2
31 to /var/tmp/portage/net-print/cups-1.2.12-r4/work
32 * Applying cups-1.2.0-bindnow.patch ...
33 [ ok ]
34 * Applying cups-1.2-str2561-v2.patch ...
35 [ ok ]
36 * Applying cups-1.2.4-CVE-2007-4045.patch ...
37 [ ok ]
38 * Applying cups-1.2.12-CVE-2007-5849.patch ...
39 [ ok ]
40 * Running aclocal ...
41 [ ok ]
42 * Running autoconf ...
43 [ ok ]
44 >>> Source unpacked.
45 >>> Compiling source
46 in /var/tmp/portage/net-print/cups-1.2.12-r4/work/cups-1.2.12 ...
47 ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-cups-user=lp --with-cups-group=lp --with-system-groups=lpadmin --localstatedir=/var --with-docdir=/usr/share/cups/html --with-bindnow=
48 * QA: stop using the bindnow-flags function ... simply drop it from your
49 ebuild -Wl,-z,now --enable-pam --enable-ssl --enable-gnutls --disable-slp --enable-nls --enable-dbus --enable-png --enable-jpeg --enable-tiff --without-php --disable-ldap --enable-libpaper --enable-threads --enable-static --disable-pdftops --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
50 configure: WARNING: you should use --build, --host, --target
51 configure: WARNING: invalid host type: *
52 configure: WARNING: you should use --build, --host, --target
53 configure: WARNING: invalid host type: QA:
54 configure: WARNING: you should use --build, --host, --target
55 configure: WARNING: you should use --build, --host, --target
56 configure: WARNING: you should use --build, --host, --target
57 configure: WARNING: you should use --build, --host, --target
58 configure: WARNING: you should use --build, --host, --target
59 configure: WARNING: you should use --build, --host, --target
60 configure: WARNING: you should use --build, --host, --target
61 configure: WARNING: you should use --build, --host, --target
62 configure: WARNING: you should use --build, --host, --target
63 configure: WARNING: you should use --build, --host, --target
64 configure: WARNING: you should use --build, --host, --target
65 configure: WARNING: you should use --build, --host, --target
66 configure: error: unrecognized option: -Wl,-z,now
67 Try `./configure --help' for more information.
68 *
69 * ERROR: net-print/cups-1.2.12-r4 failed.
70 * Call stack:
71 * ebuild.sh, line 1701: Called dyn_compile
72 * ebuild.sh, line 1039: Called qa_call 'src_compile'
73 * ebuild.sh, line 44: Called src_compile
74 * cups-1.2.12-r4.ebuild, line 107: Called
75 econf '--with-cups-user=lp' '--with-cups-group=lp' '--with-system-groups=lpadmin' '--localstatedir=/var' '--with-docdir=/usr/share/cups/html' '--with-bindnow=' '*' 'QA:' 'stop' 'using' 'the' 'bindnow-flags' 'function' '...' 'simply' 'drop' 'it' 'from' 'your' 'ebuild' '-Wl,-z,now' '--enable-pam' '--enable-ssl' '--enable-gnutls' '--disable-slp' '--enable-nls' '--enable-dbus' '--enable-png' '--enable-jpeg' '--enable-tiff' '--without-php' '--disable-ldap' '--enable-libpaper' '--enable-threads' '--enable-static' '--disable-pdftops'
76 * ebuild.sh, line 638: Called die
77 * The specific snippet of code:
78 * die "econf failed"
79 * The die message:
80 * econf failed
81 *
82 * If you need support, post the topmost build error, and the call stack if
83 relevant.
84 * A complete build log is located
85 at '/var/tmp/portage/net-print/cups-1.2.12-r4/temp/build.log'.
86 *
87
88
89 It seems as if in econf the line "--with-bindnow=$(bindnow-flags)" directly
90 inserts the warning from QA into configure-arguments ...
91
92 Any suggestions?
93
94 Thanks
95 Alex
96 --
97 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] emerging cups: QA: stop using the bindnow-flags function Dale <dalek1967@×××××××××.net>