| Summary: | dev-ml/lablgtk-2.10.1 fails to compile due to undeclared LIBGNOMEUI_MODULE | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Wegner <gentoo-bugs> |
| Component: | [OLD] Library | Assignee: | Gentoo Team for the ML programming language family <ml> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | brathering82, Heinz.Hombergs |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Complete build log.
Build log of dev-ml/lablgtk-2.12.0 /var/tmp/portage/dev-ml/lablgtk-2.12.0/temp/build.log patch for this error |
||
Created attachment 193829 [details]
Complete build log.
I don't recall right now, what exactly that package was, but there's (or was) a very similar bug about a different package. The problem here is that libpanelapplet pkgconfig file no longer lists liggnomeui as a dep (it's probably no longer one - Gnome upstream is actively moving away from libgnome(ui)). Fix here would probably require adding explicit 'libgnomeui-2.0' to PANEL check of configure and eautoreconf. Created attachment 195024 [details]
Build log of dev-ml/lablgtk-2.12.0
I just got the same error with update to dev-ml/lablgtk-2.12.0 .
Created attachment 195068 [details]
/var/tmp/portage/dev-ml/lablgtk-2.12.0/temp/build.log
Build log
/var/tmp/portage/dev-ml/lablgtk-2.12.0/temp/build.log
Created attachment 195069 [details]
patch for this error
I use this patch, and it works.
diff -ur lablgtk-2.12.0.orig/src/ml_panel.c lablgtk-2.12.0/src/ml_panel.c
--- lablgtk-2.12.0.orig/src/ml_panel.c 2007-06-20 15:40:34.000000000 +0800
+++ lablgtk-2.12.0/src/ml_panel.c 2009-06-18 20:00:02.212296906 +0800
@@ -23,6 +23,7 @@
#include <string.h>
#include <libgnomeui/gnome-client.h>
+#include <libgnomeui/gnome-ui-init.h>
#include <panel-applet.h>
#include <caml/mlvalues.h>
I figured all the comments should be in one place. *** This bug has been marked as a duplicate of bug 274528 *** |
When trying to install lablgtk as dependency of net-misc/unison, I get this error: ocamlmklib -verbose -o lablgnomeui gnomeDruid.cmo gnoDruid.cmo -ldopt -pthread -ccopt -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgthread-2.0 -lrt -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 + /usr/bin/ocamlc -a -o lablgnomeui.cma -ccopt -pthread gnomeDruid.cmo gnoDruid.cmo -dllib -llablgnomeui -cclib -llablgnomeui -cclib -lgnomeui-2 -cclib -lSM -cclib -lICE -cclib -lbonoboui-2 -cclib -lgnomevfs-2 -cclib -lgnomecanvas-2 -cclib -lgnome-2 -cclib -lpopt -cclib -lbonobo-2 -cclib -lbonobo-activation -cclib -lORBit-2 -cclib -lart_lgpl_2 -cclib -lgtk-x11-2.0 -cclib -lgdk-x11-2.0 -cclib -latk-1.0 -cclib -lgio-2.0 -cclib -lpangoft2-1.0 -cclib -lgdk_pixbuf-2.0 -cclib -lpangocairo-1.0 -cclib -lcairo -cclib -lpango-1.0 -cclib -lfreetype -cclib -lfontconfig -cclib -lgconf-2 -cclib -lgthread-2.0 -cclib -lrt -cclib -lgmodule-2.0 -cclib -lgobject-2.0 -cclib -lglib-2.0 ./varcc panel_tags.var ocamlc.opt -c -ccopt '-g -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gtkgl-2.0 -I/usr/include/librsvg-2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/panel-2.0 -I/usr/include/gtkspell-2.0 -imacros ml_domain.h' ml_panel.c ml_panel.c: In function 'ml_panel_applet_factory_main': ml_panel.c:191: error: 'LIBGNOMEUI_MODULE' undeclared (first use in this function) ml_panel.c:191: error: (Each undeclared identifier is reported only once ml_panel.c:191: error: for each function it appears in.) make[1]: Leaving directory `/var/tmp/paludis/dev-ml-lablgtk-2.10.1/work/lablgtk-2.10.1/src' make[1]: *** [ml_panel.o] Error 2 make: *** [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in dev-ml/lablgtk-2.10.1: !!! In src_compile at line 3501 !!! make failed !!! Call stack: !!! * src_compile (/var/tmp/paludis/dev-ml-lablgtk-2.10.1/temp/loadsaveenv:3501) !!! * ebuild_f_compile (/usr/libexec/paludis/1/src_compile.bash:49) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:482) !!! * main (/usr/libexec/paludis/ebuild.bash:498) Reproducible: Always Steps to Reproduce: 1. paludis -i1 =dev-ml/lablgtk-2.10.1 (or equivalent emerge --oneshot =dev-ml/lablgtk-2.10.1) Actual Results: Does not compile. Expected Results: Should compile. paludis 0.36.1 Paludis build information: Compiler: CXX: x86_64-pc-linux-gnu-g++ 4.3.3 CXXFLAGS: -march=nocona -O2 -pipe LDFLAGS: -Wl,-O1 DATE: 2009-04-30T17:14:26+0200 Libraries: C++ Library: GNU libstdc++ 20090124 Reduced Privs: reduced_uid: 106 reduced_uid->name: paludisbuild reduced_uid->dir: /dev/null reduced_gid: 1013 reduced_gid->name: paludisbuild Paths: DATADIR: /usr/share LIBDIR: /usr/lib64 LIBEXECDIR: /usr/libexec SYSCONFDIR: /etc PYTHONINSTALLDIR: RUBYINSTALLDIR: /usr/lib64/ruby/site_ruby/1.8/x86_64-linux Environment: Format: paludis Config dir: /etc/paludis World file: /var/lib/portage/world Repository installed-virtuals: format: installed_virtuals root: / Repository virtuals: format: virtuals Repository gentoo: format: ebuild location: /usr/portage append_repository_name_to_write_cache: true binary_destination: false binary_keywords: binary_uri_prefix: builddir: /var/tmp/paludis cache: /usr/portage/metadata/cache distdir: /usr/portage/distfiles eapi_when_unknown: 0 eapi_when_unspecified: 0 eclassdirs: /usr/portage/eclass ignore_deprecated_profiles: false layout: traditional names_cache: /var/empty newsdir: /usr/portage/metadata/news profile_eapi_when_unspecified: 0 profiles: /usr/portage/profiles/default/linux/amd64/2008.0/desktop securitydir: /usr/portage/metadata/glsa setsdir: /usr/portage/sets sync: rsync://rsync.de.gentoo.org/gentoo-portage sync_options: use_manifest: use write_cache: /var/empty Repository installed: format: vdb location: /var/db/pkg builddir: /var/tmp/paludis names_cache: /var/empty provides_cache: /var/empty root: / Repository gentoo-haskell: format: ebuild location: /var/paludis/repositories/haskell append_repository_name_to_write_cache: true binary_destination: false binary_keywords: binary_uri_prefix: builddir: /var/tmp/paludis cache: /var/empty distdir: /usr/portage/distfiles eapi_when_unknown: 0 eapi_when_unspecified: 0 eclassdirs: /usr/portage/eclass /var/paludis/repositories/haskell/eclass ignore_deprecated_profiles: false layout: traditional master_repository: gentoo names_cache: /var/paludis/repositories/haskell/.cache/names newsdir: /var/paludis/repositories/haskell/metadata/news profile_eapi_when_unspecified: 0 profiles: /usr/portage/profiles/default/linux/amd64/2008.0/desktop securitydir: /var/paludis/repositories/haskell/metadata/glsa setsdir: /var/paludis/repositories/haskell/sets sync: darcs+http://code.haskell.org/gentoo/gentoo-haskell/ sync_options: use_manifest: use write_cache: /var/cache/paludis/metadata Package dev-ml/lablgtk-2.10.1:2::gentoo: >>> Running ebuild phase killold as paludisbuild:paludisbuild... >>> Starting builtin_killold >>> Done builtin_killold >>> Completed ebuild phase killold >>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild... >>> Starting builtin_initmisc >>> Done builtin_initmisc >>> Starting builtin_infovars ACCEPT_KEYWORDS=amd64 CBUILD=x86_64-pc-linux-gnu CFLAGS=-march=nocona -O2 -pipe CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT= CONFIG_PROTECT_MASK= CPPFLAGS= CTARGET= CXXFLAGS=-march=nocona -O2 -pipe DISTDIR=/usr/portage/distfiles FEATURES=strict sfperms FFLAGS= GENTOO_MIRRORS= INSTALL_MASK= LANG= LC_ALL=C LDFLAGS=-Wl,-O1 LINGUAS= MAKEOPTS=-j5 -l6 PORTAGE_COMPRESS= PORTAGE_COMPRESS_FLAGS= PORTAGE_CONFIGROOT= PORTAGE_RSYNC_EXTRA_OPTS= PORTAGE_RSYNC_OPTS= PORTAGE_TMPDIR=/var/tmp/paludis PORTDIR=/usr/portage PORTDIR_OVERLAY= SYNC= USE=gnome ocamlopt opengl spell svg amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lirc_devices_devinput userland_GNU video_cards_nvidia amd64 >>> Done builtin_infovars >>> Completed ebuild phases initmisc infovars >>> Running ebuild phase tidyup as paludisbuild:paludisbuild... >>> Starting builtin_tidyup rm -fr /var/tmp/paludis/dev-ml-lablgtk-2.10.1-info >>> Done builtin_tidyup >>> Completed ebuild phase tidyup