glade-3 link failures with --no-add-needed

Bug #677374 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glade-3 (Ubuntu)
Fix Released
High
Unassigned
Natty
Fix Released
High
Unassigned

Bug Description

Binary package hint: glade-3

gtk-doc: Compiling scanner
mkdir .libs
 gcc -g -O2 -g -Wall -O2 -I../gladeui -I../gladeui -I.. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -g -Wall -O2 -c gladeui-scan.c -fPIC -DPIC -o .libs/gladeui-scan.o
gtk-doc: Linking scanner
gcc -g -O2 -g -Wall -O2 -Wl,-Bsymbolic-functions -Wl,-z -Wl,defs -Wl,-O1 .libs/gladeui-scan.o -Wl,-Bsymbolic-functions -Wl,-z -Wl,defs -Wl,-O1 -o .libs/gladeui-scan ../gladeui/.libs/libgladeui-1.so -Wl,--as-needed
/usr/bin/ld: .libs/gladeui-scan.o: undefined reference to symbol 'gtk_widget_class_list_style_properties'
/usr/bin/ld: note: 'gtk_widget_class_list_style_properties' is defined in DSO /usr/lib64/libgtk-x11-2.0.so.0 so try adding it to the linker command line
/usr/lib64/libgtk-x11-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Linking of scanner failed:
make[3]: *** [scan-build.stamp] Error 1

doc/Makefile.* (GTKDOC_LIBS) needs additional -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0

Related branches

Matthias Klose (doko)
Changed in glade-3 (Ubuntu):
importance: Undecided → High
milestone: none → natty-alpha-1
status: New → Confirmed
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

I just linked https://code.launchpad.net/~mathieu-tl/glade-3/update-to-3.7.1/ which I had been working on (the update of glade3 to 3.7.1) which includes a patch that fixes precisely this issue.

Revision history for this message
Martin Pitt (pitti) wrote :

Sponsoring.

Changed in glade-3 (Ubuntu Natty):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glade-3 - 3.7.1-0ubuntu1

---------------
glade-3 (3.7.1-0ubuntu1) natty; urgency=low

  [ Mathieu Trudel-Lapierre ]
  * New upstream release 3.7.1.
    - Now builds with gcc-4.5. (LP: #677374)
  * debian/patches/02_spinbutton-adjustment.patch: dropped, applied upstream.
  * debian/patches/03_fix-vbox-orientation.patch: dropped, applied upstream.
  * debian/patches/04_do_not_escape_utf8.patch: dropped, applied upstream.
  * debian/control.in: Bump libgtk2.0-dev (Build-)Depends to 2.20.0.
  * debian/control.in: libgladeui-1-9 becomes libgladeui-1-10 due to SONAME
    change.
  * debian/libgladeui-1-10.install: renamed from libgladeui-1-9.install.
  * debian/rules: update DH_MAKESHLIBS for libgladeui soname change.
  * debian/patches/90_linking_doc_in_natty.patch: fix linking for doc scanner
    on Natty.
  * debian/control: re-applying debian/control.in changes in debian/control.

  [ Robert Ancell ]
  * debian/control:
    - Use standards-version 3.9.1
    - Fix aditional -> additional spelling mistake
    - Use tighter dependency on libgladeui-1-10 for libgladeui-1-dev
  * debian/source:
    - Use source version 3.0
  * debian/rules:
    - Drop simple-patchsys.mk, not required in soruce version 3.0
 -- Robert Ancell <email address hidden> Wed, 01 Dec 2010 08:44:38 +0100

Changed in glade-3 (Ubuntu Natty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.