Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 400715 - dev-java/icedtea-7.2.0-r4 - work/vpath_top_build_dir/openjdk-boot/jdk/make/sun/xawt/../../../src/solaris/native/sun/awt/gtk2_interface.c:218: undefined reference to `g_thread_init'
Summary: dev-java/icedtea-7.2.0-r4 - work/vpath_top_build_dir/openjdk-boot/jdk/make/su...
Status: RESOLVED DUPLICATE of bug 402481
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-25 10:20 UTC by tman
Modified: 2012-02-07 09:47 UTC (History)
0 users

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


Attachments
dev-java:icedtea-7.2.0-r4:20120128-021224.log.tar.gz (dev-java:icedtea-7.2.0-r4:20120128-021224.log.tar.gz,338.95 KB, text/plain)
2012-01-29 08:35 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2012-01-25 10:20:43 UTC
ld_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/jawt.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/CUPSfuncs.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/debug_assert.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/debug_mem.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/debug_trace.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/debug_util.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/awt_Plugin.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/gtk2_interface.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/swing_GTKEngine.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/swing_GTKStyle.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/rect.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/sun_awt_X11_GtkFileDialogPeer.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/XRSurfaceData.o    /var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/XRBackendNative.o   -lm -lawt -lXext -lX11 -lXrender -ldl   -Xlinker -z -Xlinker origin  -Xlinker -rpath -Xlinker \$ORIGIN -Xlinker -z -Xlinker origin  -Xlinker -rpath -Xlinker \$ORIGIN/.. -Xlinker -z -Xlinker defs -L/var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/lib/amd64 -Wl,-soname=libmawt.so   -lXtst -lXi -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0   -lcups -lfontconfig   -lgio-2.0 -lgobject-2.0 -lglib-2.0    -ljava -L/var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/lib/amd64/server -ljvm -lc
/var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/gtk2_interface.o: In function `gtk2_load':
/var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk-boot/jdk/make/sun/xawt/../../../src/solaris/native/sun/awt/gtk2_interface.c:218: undefined reference to `g_thread_init'
collect2: ld returned 1 exit status
make[5]: *** [/var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk.build-boot/lib/amd64/xawt/libmawt.so] Error 1
make[5]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk-boot/jdk/make/sun/xawt'
make[4]: *** [all] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk-boot/jdk/make/sun'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk-boot/jdk/make'
make[2]: *** [jdk-build] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk-boot'
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir/openjdk-boot'
make: *** [stamps/icedtea-boot.stamp] Error 2
 ^[[31;01m*^[[0m ERROR: dev-java/icedtea-7.2.0-r4 failed (compile phase):
 ^[[31;01m*^[[0m   emake failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of 'emerge --info =dev-java/icedtea-7.2.0-r4',
 ^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv =dev-java/icedtea-7.2.0-r4'.
 ^[[31;01m*^[[0m This ebuild is from a repository named 'java-overlay'
 ^[[31;01m*^[[0m The complete build log is located at '/var/log/portage/dev-java:icedtea-7.2.0-r4:20120125-092019.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea-7.2.0-r4/temp/environment'.
 ^[[31;01m*^[[0m S: '/var/tmp/portage/dev-java/icedtea-7.2.0-r4/work/vpath_top_build_dir'
!!! When you file a bug report, please include the following information:


Reproducible: Always




Portage 2.2.0_alpha84_p47 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.1-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.2.1-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Wed, 25 Jan 2012 01:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.7-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          9999
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.2-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo lxde mpd qting-edge science wirelay scarabeus Techwolf poly-c luman nikai emacs java-overlay gnome mgorny lokal
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-25 15:21:59 UTC
Please attach the entire build log to this bug report.
Comment 2 tman 2012-01-28 07:22:02 UTC
unfortunately is the size of this log over 5 mb, so how can i post it??
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-28 16:41:46 UTC
(In reply to comment #2)
> unfortunately is the size of this log over 5 mb, so how can i post it??

We've been through this. Compress it (like `bzip2 yourfilenamehere.log'). Then attach it.

Oh, and don't replace that question mark with a useless generic description (again).
Comment 4 tman 2012-01-29 08:35:30 UTC
Created attachment 300225 [details]
dev-java:icedtea-7.2.0-r4:20120128-021224.log.tar.gz
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-30 11:59:23 UTC
Er, even with explicit instructions you needlessly managed to wrap a singular file in a tar archive.
Comment 6 Ralph Sennhauser (RETIRED) gentoo-dev 2012-01-30 14:42:44 UTC
That smells a bit like another gtk 2 vs gtk 3 issue.

As a possible workaround you can try to run it in a tty or without gnome running or finally add --disable-system-gtk to econf in the ebuild.

Just to make sure, you did run revdep-rebuild, right?
Comment 7 Ralph Sennhauser (RETIRED) gentoo-dev 2012-02-07 09:47:19 UTC
Marking this one as a dupe in favor of the new report.

*** This bug has been marked as a duplicate of bug 402481 ***