[Bug 848076] New: tkConfig.sh includes -lXss in TK_LIBS but this is not provided (openSUSE 13.1 RC1)
https://bugzilla.novell.com/show_bug.cgi?id=848076 https://bugzilla.novell.com/show_bug.cgi?id=848076#c0 Summary: tkConfig.sh includes -lXss in TK_LIBS but this is not provided (openSUSE 13.1 RC1) Classification: openSUSE Product: openSUSE 13.1 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: A.M.Iwi@rl.ac.uk QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 /usr/lib64/tkConfig.sh (from tk-devel 8.6) includes -lXss in TK_LIBS, but this is not provided, leading to linker errors in builds that use tkConfig.h as part of the configure stage. I can't see what package would provide libXss.a in any case (there is a libXss1 providing the shared library, but no libXss1-devel). Either tk-devel should depend on a package that provides libXss.a, or else it should omit -lXss from TK_LIBS (and likewise HAVE_XSS from TK_DEFS). Reproducible: Always Steps to Reproduce: try to build ical-3.0.2 (https://launchpad.net/ical-tcl) Actual Results: g++ -g -O2 -o ical ical-cal_tcl.o ical-dateeditor.o ical-dispatch.o ical-ical.o ical-ical_tcl.o ical-item_tcl.o ical-object.o ical-time_tcl.o ical-main.o libcalendar.a libtime.a libtypes.a -L/usr/lib64 -ltk8.6 -L/usr/lib64 -ltcl8.6 -L/usr/lib64 -lX11 -lXss -lXext -lXft -lpthread -ldl -lpthread -lieee -lm /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lXss collect2: error: ld returned 1 exit status make[1]: *** [ical] Error 1 Expected Results: clean build (libXss not actually required) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=848076 https://bugzilla.novell.com/show_bug.cgi?id=848076#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |sndirsch@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=848076 https://bugzilla.novell.com/show_bug.cgi?id=848076#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@suse.com AssignedTo|sndirsch@suse.com |max@suse.com --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> 2013-11-26 17:36:37 UTC --- Hmm. What about tk-devel requiring "pkgconfig(xscrnsaver)"? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=848076 https://bugzilla.novell.com/show_bug.cgi?id=848076#c2 Reinhard Max <max@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Reinhard Max <max@suse.com> 2013-11-26 23:21:15 CET --- TK_LIBS is the wrong variable for linking against Tk. This variable only tells what was used to link Tk itself. Use TK_LIB_FLAG instead, which contains only -ltk8.6 . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=848076 https://bugzilla.novell.com/show_bug.cgi?id=848076#c3 Reinhard Max <max@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #3 from Reinhard Max <max@suse.com> 2013-11-26 23:34:35 CET --- Whoops - looks like I was too quick as other Tk extensions are using TK_LIBS as well although it shouldn't be needed in a shared lib environment. I'll have another look at it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=848076 https://bugzilla.novell.com/show_bug.cgi?id=848076#c4 Reinhard Max <max@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID --- Comment #4 from Reinhard Max <max@suse.com> 2014-01-14 16:37:00 CET --- Just remove the @TK_LIBS@ part from the ical_LDADD variable in Makefile.am and run "autoreconf --force" before ./configure . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com