Re: [gentoo-user] USE flags and configure-time problems
On Sunday 14 January 2007 20:10, Iván Pérez Domínguez wrote: I understand why this happend, and I know how to solve it. My point is: should the RDEPEND and DEPEND syntax in ebuilds be changed so that this kind of problems can be detected before emerging? https://bugs.gentoo.org/show_bug.cgi?id=2272 USE deps have been discussed many times on the gentoo-dev@ mailing list so search the archives if you want to know more about it. The syntax has been agreed on (cate-gory/pkg:use) but it still hasn't been implemented in portage. AFAIK zmedico plans to implement it in portage-2.1.3 when 2.1.2 has been stabilized. Even after it has been implemented it won't be possible to use it in the tree without an EAPI bump. This is to avoid people who haven't yet upgraded portage from getting weird problems because it doesn't understand the syntax... Before the EAPI can be bumped to a newer version, the current version needs to be defined. spb is working on that now but it still needs to be agreed on... -- Bo Andresen pgpbXN4PfndLx.pgp Description: PGP signature
Re: [gentoo-user] USE flags and configure-time problems
On Monday 15 January 2007 13:12, Bo Ørsted Andresen wrote: The syntax has been agreed on (cate-gory/pkg:use) Bugger! That's for slot deps (cate-gory/pkg:slot). I meant cate-gory/pkg[use]... At least I think they agreed... -- Bo Andresen pgpi2uStOgtlb.pgp Description: PGP signature
Re: [gentoo-user] USE flags and configure-time problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iván Pérez Domínguez wrote: Hi there. I just happend to emerge evince and, after half an hour got the following error: 18:07:32 (44.99 KB/s) - `/usr/portage/distfiles/evince-0.6.1.tar.bz2' saved [1212271/1212271] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking evince-0.6.1.tar.bz2 ;-) ... [ ok ] * Please re-emerge app-text/poppler-bindings with the gtk USE flag set !!! ERROR: app-text/evince-0.6.1 failed. Call stack: ebuild.sh, line 1626: Called dyn_setup ebuild.sh, line 701: Called qa_call 'pkg_setup' ebuild.sh, line 38: Called pkg_setup evince-0.6.1.ebuild, line 67: Called die !!! poppler-bindings needs gtk flag set !!! If you need support, post the topmost build error, and the call stack if relevant. I understand why this happend, and I know how to solve it. My point is: should the RDEPEND and DEPEND syntax in ebuilds be changed so that this kind of problems can be detected before emerging? Here's an example. Imagine program A depends on B, and if A is built with use flag dvi, then it depends on C to be built with use flag dvi2. The following could be A's DEPEND: DEPEND=dvi? ([dvi2 C]) B This is just an example, and I'm sure there's a different syntax that could be more appropriate. What do you this of it? Is there any ongoing implementation to solve it in a different way? Cheers, Ivan. Ivan, from my personal experience I find your advice to be highly important. It would be beneficial to everyone if we knew the dependencies before emerging from portage.I highly suggest sending a message on gentoo-dev@gentoo.org (confirm this). I really do support this. Best regards. Avaricen -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFq9oFQHQy/61tbpYRAiKGAJ4n+wmarim7SjQpG3PWEZaQXkUwAgCfZLz6 8Iig49rBTs/aCnbJpMGYXJ8= =zOBE -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] USE flags and configure-time problems
Hi there. I just happend to emerge evince and, after half an hour got the following error: 18:07:32 (44.99 KB/s) - `/usr/portage/distfiles/evince-0.6.1.tar.bz2' saved [1212271/1212271] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking evince-0.6.1.tar.bz2 ;-) ... [ ok ] * Please re-emerge app-text/poppler-bindings with the gtk USE flag set !!! ERROR: app-text/evince-0.6.1 failed. Call stack: ebuild.sh, line 1626: Called dyn_setup ebuild.sh, line 701: Called qa_call 'pkg_setup' ebuild.sh, line 38: Called pkg_setup evince-0.6.1.ebuild, line 67: Called die !!! poppler-bindings needs gtk flag set !!! If you need support, post the topmost build error, and the call stack if relevant. I understand why this happend, and I know how to solve it. My point is: should the RDEPEND and DEPEND syntax in ebuilds be changed so that this kind of problems can be detected before emerging? Here's an example. Imagine program A depends on B, and if A is built with use flag dvi, then it depends on C to be built with use flag dvi2. The following could be A's DEPEND: DEPEND=dvi? ([dvi2 C]) B This is just an example, and I'm sure there's a different syntax that could be more appropriate. What do you this of it? Is there any ongoing implementation to solve it in a different way? Cheers, Ivan. smime.p7s Description: S/MIME Cryptographic Signature