Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302474 - kde-base/kdelibs-4.3.5 emerge fails after DT_TEXTREL warning
Summary: kde-base/kdelibs-4.3.5 emerge fails after DT_TEXTREL warning
Status: RESOLVED DUPLICATE of bug 300376
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 17:20 UTC by Erik Zeek
Modified: 2010-02-10 13:59 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge_info.txt (emerge_info.txt,9.88 KB, text/plain)
2010-01-27 17:21 UTC, Erik Zeek
Details
build log (kde-base:kdelibs-4.3.5:20100127-165353.log,394.34 KB, text/plain)
2010-01-27 17:23 UTC, Erik Zeek
Details
kdelibs-4.3.5/temp/environment (environment,150.09 KB, text/plain)
2010-01-27 17:25 UTC, Erik Zeek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2010-01-27 17:20:08 UTC
Updating to kde-base/kdelibs-4.3.5 fails after an ld warning about "creating a DT_TEXTREL in object."

[ 37%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslutils.o
[ 37%] Building CXX object kio/CMakeFiles/kio.dir/kssl/ksslx509v3.o
Linking CXX shared library ../lib/libkio.so
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make[2]: *** [lib/libkio.so.5.3.0] Error 1
make[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
make: *** [all] Error 2
 * ERROR: kde-base/kdelibs-4.3.5 failed:
 *   Make failed!
Comment 1 Erik Zeek 2010-01-27 17:21:58 UTC
Created attachment 217613 [details]
emerge_info.txt

emerge --info
Comment 2 Erik Zeek 2010-01-27 17:23:10 UTC
Created attachment 217614 [details]
build log

Full build log.
Comment 3 Erik Zeek 2010-01-27 17:25:15 UTC
Created attachment 217616 [details]
kdelibs-4.3.5/temp/environment

And the environment.
Comment 4 Erik Zeek 2010-01-27 17:28:28 UTC
Almost forgot:

# emerge -pqv =kde-base/kdelibs-4.3.5
[ebuild     U ] kde-base/kdelibs-4.3.5 [4.3.4] USE="acl alsa bzip2 doc fam handbook jpeg2k kerberos lzma mmx nls openexr opengl semantic-desktop spell sse sse2 ssl -3dnow (-altivec) (-aqua) -bindist -debug (-kdeenablefinal) (-kdeprefix) -test -zeroconf"
[ebuild     U ] kde-base/libknotificationitem-4.3.5 [4.3.4] USE="(-aqua) -debug (-kdeenablefinal) (-kdeprefix)"
[ebuild     U ] kde-base/kde-env-4.3.5 [4.3.4] USE="(-aqua) (-kdeenablefinal) (-kdeprefix)"
Comment 5 Graham Murray 2010-01-27 19:25:21 UTC
This is the identical error and place that kdelibs-4.3.4 failed to rebuild for me during the @preserved-rebuild following the upgrade to jpeg-8. I was hoping that the upgrade to 4.3.5 would fix it.
Comment 6 Frank Ridderbusch 2010-01-28 14:01:35 UTC
You might want to look at http://forums.gentoo.org/viewtopic-p-6151561.html#6151561

I've digged a bit and found that kdelibs builds without acl USE flag. There is a little bit of additional info in the post, which might help to pinpoint the original problem.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-01-28 14:12:21 UTC
I've seen this before. 

Try deleting every reference of "libacl.a" file from /lib, /usr/lib, /usr/local/lib (or lib64 dirs) and re-emerging sys-apps/acl.

In that case, the user had installed the file from some non-portage package by accident.
Comment 8 Erik Zeek 2010-01-28 14:27:46 UTC
(In reply to comment #7)
> I've seen this before. 
> 
> Try deleting every reference of "libacl.a" file from /lib, /usr/lib,
> /usr/local/lib (or lib64 dirs) and re-emerging sys-apps/acl.
> 
> In that case, the user had installed the file from some non-portage package by
> accident.
> 

That might be it.  I found.

# locate libacl.a
/usr/lib/libacl.a
/lib/libacl.a

# equery belongs $(locate libacl.a)
 * Searching for /usr/lib/libacl.a,/lib/libacl.a ...
sys-apps/acl-2.2.49 (/usr/lib/libacl.a)

No idea where the on in /lib came from.  I'll try removing it and report back.
Comment 9 Erik Zeek 2010-01-28 14:33:32 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > I've seen this before. 
> > 
> > Try deleting every reference of "libacl.a" file from /lib, /usr/lib,
> > /usr/local/lib (or lib64 dirs) and re-emerging sys-apps/acl.
> > 
> > In that case, the user had installed the file from some non-portage package by
> > accident.
> > 
> 
> That might be it.  I found.
> 
> # locate libacl.a
> /usr/lib/libacl.a
> /lib/libacl.a
> 
> # equery belongs $(locate libacl.a)
>  * Searching for /usr/lib/libacl.a,/lib/libacl.a ...
> sys-apps/acl-2.2.49 (/usr/lib/libacl.a)
> 
> No idea where the on in /lib came from.  I'll try removing it and report back.
> 

Wait a minute.  The one in /lib is a link.  I'm going to do a little more investigation first.

# ls -l $(locate libacl.a)
lrwxrwxrwx 1 root root  17 Jan  7  2008 /lib/libacl.a -> /usr/lib/libacl.a
-rw-r--r-- 1 root root 75K Jan  8 22:24 /usr/lib/libacl.a

Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-01-28 14:43:25 UTC
(In reply to comment #9)
> lrwxrwxrwx 1 root root  17 Jan  7  2008 /lib/libacl.a -> /usr/lib/libacl.a

2008?

ls: cannot access /lib/libacl.a: No such file or directory

Nothing like that here.
Comment 11 Marca Alessandro 2010-01-28 16:40:22 UTC
Removing symbolic link /lib/libacl.a solves the problem.
It seems to be unnecessary.
Comment 12 Dan Goodliffe 2010-01-28 16:56:33 UTC
defiant ~ # l /lib/libacl.a
lrwxrwxrwx 1 root root 17 Sep  7  2007 /lib/libacl.a -> /usr/lib/libacl.a
defiant ~ # qfile /lib/libacl.a
defiant ~ #

It seems to be an orphan on my system... I'll delete it and set the build going again.
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2010-01-28 17:06:54 UTC
It might have been a bug in `gen_usr_ldscript` used in acl's ebuild that unnecessarily symlinked the .a file.

Dates for that symlink seem to be 2007 and 2008.

I'm just closing this as WORKSFORME since nothing owns the link. Please reopen if you figure out a way to reproduce this via portage
Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2010-02-10 13:59:00 UTC
Reopen for correct resolution.
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2010-02-10 13:59:09 UTC

*** This bug has been marked as a duplicate of bug 300376 ***