After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 609308 - gtk+ is build is failing with "cannot find the library `libgdk-x11-2.0.la' or unhandled argument `libgdk-x11-2.0.la'" error
gtk+ is build is failing with "cannot find the library `libgdk-x11-2.0.la' or...
Status: RESOLVED INCOMPLETE
Product: gtk+
Classification: Platform
Component: .General
2.19.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 610709 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-02-08 11:17 UTC by Praveen A
Modified: 2011-04-06 12:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Praveen A 2010-02-08 11:17:21 UTC
libtool: link: cannot find the library `libgdk-x11-2.0.la' or unhandled argument `libgdk-x11-2.0.la'
Traceback (most recent call last):
  • File "/opt/gnome/bin/g-ir-scanner", line 38 in <module>
    sys.exit(scanner_main(sys.argv))
  • File "/opt/gnome/lib64/gobject-introspection/giscanner/scannermain.py", line 310 in scanner_main
    glibtransformer.get_get_type_functions())
  • File "/opt/gnome/lib64/gobject-introspection/giscanner/dumper.py", line 226 in compile_introspection_binary
    return dc.run()
  • File "/opt/gnome/lib64/gobject-introspection/giscanner/dumper.py", line 127 in run
    self._link(bin_path, o_path)
  • File "/opt/gnome/lib64/gobject-introspection/giscanner/dumper.py", line 221 in _link
    subprocess.check_call(args)
  • File "/usr/lib64/python2.6/subprocess.py", line 488 in check_call
    raise CalledProcessError(retcode, cmd)
ubprocess.CalledProcessError: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/media/forge/gnome/v
cs/gtk+/gdk/tmp-introspectzlXxld/Gdk-2.0', '-L.', 'libgdk-x11-2.0.la', '-pthread', '-Wl,--export-dynamic', '-L/opt/gnome/lib64', '-lgio-2.0
', '-lgirepository-1.0', '-lgobject-2.0', '-lgmodule-2.0', '-lffi', '-lgthread-2.0', '-lrt', '-lglib-2.0', '/media/forge/gnome/vcs/gtk+/gdk
/tmp-introspectzlXxld/Gdk-2.0.o']' returned non-zero exit status 1                                                                        
make[4]: *** [Gdk-2.0.gir] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/gdkwindow.Tpo .deps/gdkwindow.Plo
make[4]: Leaving directory `/media/forge/gnome/vcs/gtk+/gdk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/media/forge/gnome/vcs/gtk+/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/media/forge/gnome/vcs/gtk+/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/forge/gnome/vcs/gtk+'
make: *** [all] Error 2
Comment 1 chuchiperriman 2010-02-27 01:26:02 UTC
Exactly the same error for me:

make[4]: se ingresa al directorio `/home/perriman/checkout/gnome2/gtk+/gdk'
/opt/gnome2/bin/g-ir-scanner --add-include-path=../gdk-pixbuf --namespace=Gdk --nsversion=2.0 --libtool="/bin/bash ../libtool"  --library=libgdk-x11-2.0.la  --include=Gio-2.0 --include=GdkPixbuf-2.0 --include=Pango-1.0 --strip-prefix=Gdk --add-include-path=../gdk-pixbuf -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DG_ENABLE_DEBUG -DG_ERRORCHECK_MUTEXES -pthread -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12     ./gdk.h ./gdkapplaunchcontext.h ./gdkcairo.h ./gdkcolor.h ./gdkcursor.h ./gdkdisplay.h ./gdkdisplaymanager.h ./gdkdnd.h ./gdkdrawable.h ./gdkevents.h ./gdkfont.h ./gdkgc.h ./gdki18n.h ./gdkimage.h ./gdkinput.h ./gdkkeys.h ./gdkkeysyms.h ./gdkpango.h ./gdkpixbuf.h ./gdkpixmap.h ./gdkprivate.h ./gdkproperty.h ./gdkregion.h ./gdkrgb.h ./gdkscreen.h ./gdkselection.h ./gdkspawn.h ./gdktestutils.h ./gdktypes.h ./gdkvisual.h ./gdkwindow.h ./gdk.c ./gdkapplaunchcontext.c ./gdkcairo.c ./gdkcolor.c ./gdkcursor.c ./gdkdisplay.c ./gdkdisplaymanager.c ./gdkdnd.c ./gdkdraw.c ./gdkevents.c ./gdkfont.c ./gdkgc.c ./gdkglobals.c ./gdkimage.c ./gdkkeys.c ./gdkkeyuni.c ./gdkoffscreenwindow.c ./gdkpango.c ./gdkpixbuf-drawable.c ./gdkpixbuf-render.c ./gdkpixmap.c ./gdkpolyreg-generic.c ./gdkrectangle.c ./gdkregion-generic.c ./gdkrgb.c ./gdkscreen.c ./gdkselection.c ./gdkvisual.c ./gdkwindow.c ./gdkwindowimpl.c ./gdkenumtypes.c ./gdkenumtypes.h ././x11/*.c --output Gdk-2.0.gir
libtool: link: cannot find the library `libgdk-x11-2.0.la' or unhandled argument `libgdk-x11-2.0.la'
Traceback (most recent call last):
  • File "/opt/gnome2/bin/g-ir-scanner", line 38 in <module>
    sys.exit(scanner_main(sys.argv))
  • File "/opt/gnome2/lib/gobject-introspection/giscanner/scannermain.py", line 310 in scanner_main
    glibtransformer.get_get_type_functions())
  • File "/opt/gnome2/lib/gobject-introspection/giscanner/dumper.py", line 226 in compile_introspection_binary
    return dc.run()
  • File "/opt/gnome2/lib/gobject-introspection/giscanner/dumper.py", line 127 in run
    self._link(bin_path, o_path)
  • File "/opt/gnome2/lib/gobject-introspection/giscanner/dumper.py", line 221 in _link
    subprocess.check_call(args)
  • File "/usr/lib/python2.5/subprocess.py", line 462 in check_call
    raise CalledProcessError(retcode, cmd)
ubprocess.CalledProcessError: Command '['/bin/bash', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/home/perriman/checkout/gnome2/gtk+/gdk/tmp-introspectdBOicF/Gdk-2.0', '-L.', 'libgdk-x11-2.0.la', '-pthread', '-Wl,--export-dynamic', '-L/opt/gnome2/lib', '-lgio-2.0', '-lgirepository-1.0', '-lgobject-2.0', '-lgmodule-2.0', '-lffi', '-lgthread-2.0', '-lrt', '-lglib-2.0', '/home/perriman/checkout/gnome2/gtk+/gdk/tmp-introspectdBOicF/Gdk-2.0.o']' returned non-zero exit status 1

Comment 2 Javier Jardón (IRC: jjardon) 2010-02-27 02:53:34 UTC
*** Bug 610709 has been marked as a duplicate of this bug. ***
Comment 3 Javier Jardón (IRC: jjardon) 2011-02-05 23:19:09 UTC
I can't reproduce this bug anymore, could you try with a recent (2.22) GTK+ version?
Comment 4 Tobias Mueller 2011-04-06 12:28:23 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!