On 6/14/06, Kevin O'Gorman <[EMAIL PROTECTED]> wrote:

Done.  Results attached.  Sorry about the HTML.  I hadn't noticed it
was turned on.  And I generally oppose HTML mail.


Hmm, the problem first shows up here:

+ append-ldflags -ldl
+ [[ -z -ldl ]]
+ export 'LDFLAGS=-Wl,-O1 -ldl'
+ LDFLAGS='-Wl,-O1 -ldl'

Just to explain, this occurs when the src_unpack step in the
glib-1.2.10-r5.ebuild calls "append-ldflags $(dlopen_lib).  The
append-ldflags function is defined in
/usr/portage/eclass/flag-o-matic.eclass.

But what this tells me is that LDFLAGS already exists in the
environment, because the -Wl,-O1 part is already there.  That means
either it is in your make.conf or environment and we are missing it
somehow, or it is being defined in some part of portage that is missed
by the --debug option.

So here is one more thing to try to figure this out:

grep -r -- -Wl,-O1 /usr/portage/profiles /usr/portage/eclass
/etc/portage /etc/profile* \
   /usr/local/portage /usr/lib/portage /usr/portage/dev-libs/glib/

This had better turn up something...or I am out of ideas. :-<

-Richard
--
gentoo-user@gentoo.org mailing list

Reply via email to