Summary: | dev-libs/openssl uses makedepend in "make depend" phase | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | awal11, Florian.Steinel, hoffmann.martin, jan.oravec, polynomial-c |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
make use of userland_GNU
openssl-0.9.8d-configure.patch This is my emerge info |
Description
Diego Elio Pettenò (RETIRED)
![]() doesnt fail for me, but the build obviously tries to run it guess we'll see how many people complain From what I can see `makedepend' wont be used if MAKEDEPPROG is set to gcc which happens in `Configure' if $cc is set to "gcc" -- so I don't believe x11-misc/makedepend (and its own dependencies) should automatically be made an unconditional dependency for everyone? Perhaps I'm wrong, but has this been explored? I have a server without X, where x11-misc/makedepend and its two dependencies x11-proto/xproto and x11-misc/util-macros would be the first x11-*/* packages. I therefore find it pretty strange that openssl pulls these three. As Paul mentioned this might not be necessary at all. Perhaps this could also be solved with a USE flag. Created attachment 98506 [details, diff]
make use of userland_GNU
only depend on x11-misc/makedepend when userland is not GNU.
Uh, no, there's no *userland* problem here, I hit the problem on Linux (see the OS field for the bug), not on Gentoo/FreeBSD. Most likely the problem is that we don't set CC to gcc but to "${CHOST}-gcc" instead. so when CC="gcc" then Configure uses gcc:-O3::(unknown):::BN_LLONG::: but CC="i686-pc-linux-gnu-gcc" there is no such line. Would be Creating patch for the "Configure"file the way to go? (Is there a listing of values for CHOST?) Or simply set CC to "gcc"? (In reply to comment #6) I found files/gentoo.config-0.9.8 which already translate from i686-pc-linux-gnu-gcc to linux-elf . (In reply to comment #5) Whats your $CHOST-gcc = ? This line (1293) in Configure: s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc"; should be patched to (pseodocode): s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc ends_with "gcc"; ! Created attachment 98512 [details, diff]
openssl-0.9.8d-configure.patch
change Configure to "if $cc =~ /gcc$/i".
The new patch sounds useful, although I haven't tested it yet, give me a bit more of time. (In reply to comment #1) > doesnt fail for me, but the build obviously tries to run it > > guess we'll see how many people complain > I could complain :-). I am not sure but assume this is the same bug that bites me: # emerge -u -v -D -t --newuse world >>> --tree implies --pretend... adding --pretend to options. These are the packages that would be merged, in reverse order: Calculating world dependencies C emerge: there are no ebuilds to satisfy "x11-misc/makedepend". (dependency required by "dev-libs/openssl-0.9.8d" [ebuild]) !!! Problem resolving dependencies for sys-apps/portage !!! Depgraph creation failed. my emerge info is in the attachment Created attachment 98524 [details]
This is my emerge info
Comment on attachment 98512 [details, diff]
openssl-0.9.8d-configure.patch
this wont work
fixed in cvs |