Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464772 - sci-misc/boinc-7.0.29 - Fails link Might be missing -lX11
Summary: sci-misc/boinc-7.0.29 - Fails link Might be missing -lX11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-05 20:32 UTC by Chad A. Simmons
Modified: 2013-06-30 14:56 UTC (History)
0 users

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


Attachments
fix but its probably not the neatest (boinc-7.0.29-r1.ebuild,3.52 KB, text/plain)
2013-04-05 20:35 UTC, Chad A. Simmons
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chad A. Simmons 2013-04-05 20:32:35 UTC
emerge boinc-7.0.29 with xorg 1.14 link fails with.

libtool: link: x86_64-pc-linux-gnu-g++ -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -march=amdfam10 -O2 -pipe -Wl,-O1 -o boinc_client boinc_client-acct_mgr.o boinc_client-acct_setup.o boinc_client-app.o boinc_client-app_control.o boinc_client-app_start.o boinc_client-async_file.o boinc_client-check_state.o boinc_client-client_msgs.o boinc_client-client_state.o boinc_client-client_types.o boinc_client-coproc_detect.o boinc_client-cpu_sched.o boinc_client-cs_account.o boinc_client-cs_apps.o boinc_client-cs_benchmark.o boinc_client-cs_cmdline.o boinc_client-cs_files.o boinc_client-cs_notice.o boinc_client-cs_platforms.o boinc_client-cs_prefs.o boinc_client-cs_proxy.o boinc_client-cs_scheduler.o boinc_client-cs_statefile.o boinc_client-cs_trickle.o boinc_client-current_version.o boinc_client-dhrystone.o boinc_client-dhrystone2.o boinc_client-file_names.o boinc_client-file_xfer.o boinc_client-gui_http.o boinc_client-gui_rpc_server.o boinc_client-gui_rpc_server_ops.o boinc_client-hostinfo_network.o boinc_client-hostinfo_unix.o boinc_client-http_curl.o boinc_client-log_flags.o boinc_client-main.o boinc_client-net_stats.o boinc_client-pers_file_xfer.o boinc_client-project.o boinc_client-result.o boinc_client-rr_sim.o boinc_client-sandbox.o boinc_client-scheduler_op.o boinc_client-time_stats.o boinc_client-whetstone.o boinc_client-work_fetch.o  -L../lib -Wl,--as-needed ../lib/.libs/libboinc.a -L/usr/lib64 ../lib/.libs/libboinc_crypt.a -lcurl -lrt -L/usr -lssl -lcrypto -ldl -lnsl -lz -lXss -lpthread -lm -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: boinc_client-hostinfo_unix.o: undefined reference to symbol 'XOpenDisplay'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'XOpenDisplay' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status



Reproducible: Always

Steps to Reproduce:
1. emerge xorg 1.14 then try to emerge boinc-7.0.29
2.
3.
Actual Results:  
link fails

Expected Results:  
link succeed

This fixes it but is most likely a dirty hack.

add the following line to the ifblock for X11

append-ldflags "-lX11"
Comment 1 Chad A. Simmons 2013-04-05 20:35:31 UTC
Created attachment 344556 [details]
fix but its probably not the neatest
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-06-30 14:56:08 UTC
+*boinc-7.2.0 (30 Jun 2013)
+
+  30 Jun 2013; Justin Lecher <jlec@gentoo.org> -boinc-7.0.29.ebuild,
+  +boinc-7.2.0.ebuild, -files/7.0.2-fix_subdirs.patch,
+  +files/boinc-7.2.0-fix_subdirs.patch, files/boinc.init,
+  files/generate_tarball.sh, metadata.xml:
+  Version bump and drop old, fixes: security issue, #467908; link problems,
+  #464772; correlation with abrupt time changes through ntp, #413041; menu
+  items with newer x11-libs/wxGTK, #379979 & #376237
+