Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436232 - www-client/qupzilla-1.3.5 - ../../bin/libQupZilla.so: error: undefined reference to 'XInternAtom'
Summary: www-client/qupzilla-1.3.5 - ../../bin/libQupZilla.so: error: undefined refere...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2012-09-25 17:50 UTC by Alec Moskvin
Modified: 2012-10-03 07:21 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,396.65 KB, text/plain)
2012-09-25 17:50 UTC, Alec Moskvin
Details
Patch to link to libX11 explicitly (0001-Link-to-libX11-explicitly-to-prevent-underlinking.patch,576 bytes, patch)
2012-09-25 17:52 UTC, Alec Moskvin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Moskvin 2012-09-25 17:50:32 UTC
Qupzilla fails due to underlinking:

x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--hash-style=gnu -o ../../bin/qupzilla ../../build/main.o    -L/usr/lib64/qt4 ../../bin/libQupZilla.so -lQtWebKit -lQtDBus -L/usr/lib64 -L/usr/lib64/qt4 -lQtXml -lQtScript -lQtSql -lQtGui -L/usr/X11R6/lib -lQtNetwork -lQtCore -lgthread-2.0 -lrt -lglib-2.0 -lpthread 
../../bin/libQupZilla.so: error: undefined reference to 'XInternAtom'
../../bin/libQupZilla.so: error: undefined reference to 'XGetWindowProperty'
../../bin/libQupZilla.so: error: undefined reference to 'XFree'
../../bin/libQupZilla.so: error: undefined reference to 'XChangeProperty'
collect2: ld returned 1 exit status
make[1]: *** [../../bin/qupzilla] Error 1


The patch was accepted upstream:
https://github.com/QupZilla/qupzilla/pull/587

Reproducible: Always

Steps to Reproduce:
1. # binutils-config --linker ld.gold
2. # emerge www-client/qupzilla
Comment 1 Alec Moskvin 2012-09-25 17:50:57 UTC
Created attachment 324984 [details]
build.log
Comment 2 Alec Moskvin 2012-09-25 17:52:10 UTC
Created attachment 324986 [details, diff]
Patch to link to libX11 explicitly
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2012-10-03 07:21:59 UTC
Committed. Thanks for the patch!