>>> Emerging (1 of 8) dev-java/swt-3.2 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking swt-3.2-gtk-linux-x86.zip ;-) * Enabling generation-2 compatibility ... * Using blackdown-jre-1.4.2 [ ok ] >>> Checking swt-3.2-gtk-linux-x86.zip's mtime... >>> Checking swt-3.2-gtk-linux-x86_64.zip's mtime... >>> Checking swt-3.2-gtk-linux-ppc.zip's mtime... >>> WORKDIR is up-to-date, keeping... >>> Compiling source in /var/tmp/portage/swt-3.2/work ... * Building AWT library swt_awt.c:12:21: error: jawt_md.h: No such file or directory swt_awt.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jint' swt_awt.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' make: *** [swt_awt.o] Error 1 !!! ERROR: dev-java/swt-3.2 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile swt-3.2.ebuild, line 102: Called die !!! Failed to build AWT support !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1.1_pre3-r1 (default-linux/x86/2006.0, gcc-4.1.1/hardened, glibc-2.4-r3, 2.6.17-suspend2-r2 i686) ================================================================= System uname: 2.6.17-suspend2-r2 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.3.4-r1, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -s -pipe -fomit-frame-pointer -fstack-protector -m3dnow -msse -mmmx -ftracer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon-xp -O2 -s -pipe -fstack-protector -m3dnow -msse -mmmx -ftracer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig buildpkg ccache confcache distlocks fixpackages keepwork metadata-transfer parallel-fetch prelink sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://gentoo.prz.edu.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="pl_PL" LC_ALL="pl_PL" LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-Bdirect -s" LINGUAS="pl" MAKEOPTS="-j2 -s" PKGDIR="/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package.banned" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-xgl /usr/local/xgl-coffee /usr/local/portage" SYNC="rsync://gentoo.prz.edu.pl/gentoo-portage" USE="3dnow 3dnowext X Xaw3d adsl alsa apache2 apic apm arts atm avi berkdb bitmap-fonts cairo cdparanoia cdrom cli cmov crypt cups curl cx8 de dhcp divx4linux dlloader dri dv dvd dvdr dvdread dvi eds elibc_glibc emboss encode esd extramodules fam foomaticdb fortran fpu fxsr gdbm gg gif glitz gnome gpm gstreamer gtk gtk2 hal halimlib hardened hddtemp imlib ipv6 irssi isdnlog java jpeg kde kerberos kernel_linux kqemu ldap libg++ libwww linguas_pl lirc mad mca mce mikmod mmx mmx2 mmxext motif mozilla mp3 mpeg mpeg2 mplayer msr mtrr mysql ncurses network nls nptl nptlonly ntfs nvidia ogg oggvorbis opengl opera oss pae pam pat pcre pdf pdflib perl pge pic png ppdsdvdr pppd pse pse36 python qt qt3 qt4 quicktime readline reflection sdl sep serial server session speedup spell spl sse ssl syscall tcpd tiff transcode truetype truetype-fonts tsc type1-fonts udev usb userland_GNU vme vmware voice vorbis win32codecs wmf wxGTK wxgtk1 x86 xml xml2 xmms xorg xprint xv zlib input_devices_keyboard input_devices_mouse video_cards_nvidia" Unset: CTARGET, INSTALL_MASK
*** Bug 140742 has been marked as a duplicate of this bug. ***
Here I get: >>> Emerging (1 of 3) dev-java/swt-3.2 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking swt-3.2-gtk-linux-x86_64.zip ;-) * Enabling generation-2 compatibility ... * Using blackdown-jdk-1.4.2 [ ok ] >>> Unpacking source... * Unpacking src.zip to /var/tmp/portage/swt-3.2/work * Applying swt-3.2-gcc-4.x-warning-fix.patch ... [ ok ] * Applying swt-3.2-cairo-signedness.patch ... * Failed Patch: swt-3.2-cairo-signedness.patch ! * ( /usr/portage/dev-java/swt/files/swt-3.2-cairo-signedness.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/swt-3.2/temp/swt-3.2-cairo-signedness.patch-20738.out !!! ERROR: dev-java/swt-3.2 failed. Call stack: ebuild.sh, line 1539: Called dyn_unpack ebuild.sh, line 711: Called src_unpack swt-3.2.ebuild, line 72: Called epatch '/usr/portage/dev-java/swt/files/swt-3.2-cairo-signedness.patch' eutils.eclass, line 333: Called die !!! Failed Patch: swt-3.2-cairo-signedness.patch! !!! If you need support, post the topmost build error, and the call stack if relevant. The contents of the patch follow: --- cairo.c.orig 2006-07-16 19:16:27.000000000 -0500 +++ cairo.c 2006-07-16 19:18:15.000000000 -0500 @@ -533,7 +533,7 @@ { jint rc = 0; Cairo_NATIVE_ENTER(env, that, cairo_1image_1surface_1create_1for_1data_FUNC); - rc = (jint)cairo_image_surface_create_for_data((char *)arg0, arg1, arg2, arg3, arg4); + rc = (jint)cairo_image_surface_create_for_data((unsigned char *)arg0, arg1, arg2, arg3, arg4); Cairo_NATIVE_EXIT(env, that, cairo_1image_1surface_1create_1for_1data_FUNC); return rc; } # emerge --info Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r7 x86_64) ================================================================= System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.15 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2 -fweb -frename-registers" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -pipe -O2 -fweb -frename-registers" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/" LANG="pt_BR.ISO8859-1" LC_ALL="pt_BR" LINGUAS="pt_BR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d aac aalib accessibility acl acpi alsa arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts blas bluetooth bonobo bzip2 cdparanoia cdr cli crypt cscope css cups curl directfb dlloader doc dri dvd dvdr dvdread eds emacs emboss encode esd examples exif expat fbcon ffmpeg flac font-server foomaticdb fortran gd gdbm gif gimpprint glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 isdnlog java jikes jpeg jpeg2k junit kde kdeenablefinal lcms ldap leim lesstif libcaca lm_sensors lzo lzw lzw-tiff mad matroska mng motif mozcalendar mozilla mp3 mpeg mplayer musepack musicbrainz mysql nas ncurses network nls nptl nvidia ogg oggvorbis opengl pam pcre pda pdf pdflib perl plotutils png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session sms sndfile speex spell spl ssl svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts usb vcd vorbis xchatdccserver xcomposite xemacs xine xml xml2 xmms xorg xpm xv xvid zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pt_BR userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS [ebuild U ] dev-java/swt-3.2 [3.2_rc2] USE="accessibility mozilla opengl -cairo -gnome" 0 kB
Fixed in portage without revbump.
*** Bug 141058 has been marked as a duplicate of this bug. ***
Created attachment 92770 [details] "emerge --info" output hades ~ # emerge -u dev-java/swt Calculating dependencies... done! >>> Emerging (1 of 1) dev-java/swt-3.2 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking swt-3.2-gtk-linux-x86.zip ;-) * Using Generation-1 System VM: blackdown-jre-1.4.2 [ ok ]>>> Unpacking source... * Unpacking src.zip to /var/tmp/portage/swt-3.2/work * Applying swt-3.2-gcc-4.x-warning-fix.patch ... [ ok ] * Applying swt-3.2-cairo-signedness-x86.patch ... [ ok ]>>> Source unpacked. >>> Compiling source in /var/tmp/portage/swt-3.2/work ... * Building AWT library cc -O -Wall -DSWT_VERSION=3232 -DLINUX -DGTK -I/opt/blackdown-jre-1.4.2.03/include -I/opt/blackdown-jre-1.4.2.03/include/linux -fPIC -c -o swt_awt.o swt_awt.c swt_awt.c:12:21: jawt_md.h: No such file or directory swt_awt.c:17: error: syntax error before "jint" swt_awt.c:18: error: syntax error before '*' token swt_awt.c:19: warning: return type defaults to `int' swt_awt.c: In function `Java_org_eclipse_swt_awt_SWT_1AWT_getAWTHandle': swt_awt.c:20: error: `JAWT' undeclared (first use in this function) swt_awt.c:20: error: (Each undeclared identifier is reported only once swt_awt.c:20: error: for each function it appears in.) swt_awt.c:20: error: syntax error before "awt" swt_awt.c:21: error: `JAWT_DrawingSurface' undeclared (first use in this function) swt_awt.c:21: error: `ds' undeclared (first use in this function) swt_awt.c:22: error: `JAWT_DrawingSurfaceInfo' undeclared (first use in this function) swt_awt.c:22: error: `dsi' undeclared (first use in this function) swt_awt.c:23: error: `JAWT_X11DrawingSurfaceInfo' undeclared (first use in this function) swt_awt.c:23: error: `dsi_x11' undeclared (first use in this function) swt_awt.c:24: error: `jint' undeclared (first use in this function) swt_awt.c:24: error: syntax error before "result" swt_awt.c:27: error: `awt' undeclared (first use in this function) swt_awt.c:27: error: `JAWT_VERSION_1_3' undeclared (first use in this function) swt_awt.c:28: warning: implicit declaration of function `JAWT_GetAWT' swt_awt.c:28: error: `env' undeclared (first use in this function) swt_awt.c:29: error: `canvas' undeclared (first use in this function) swt_awt.c:30: error: `NULL' undeclared (first use in this function) swt_awt.c:31: error: `lock' undeclared (first use in this function) swt_awt.c:32: error: `JAWT_LOCK_ERROR' undeclared (first use in this function) swt_awt.c:34: error: syntax error before ')' token swt_awt.c:35: error: `result' undeclared (first use in this function) swt_awt.c:35: error: syntax error before "dsi_x11" swt_awt.c: At top level: swt_awt.c:47: error: syntax error before "void" swt_awt.c:48: error: syntax error before '*' token swt_awt.c:49: warning: return type defaults to `int' swt_awt.c: In function `Java_org_eclipse_swt_awt_SWT_1AWT_setDebug': swt_awt.c:50: error: `JAWT' undeclared (first use in this function) swt_awt.c:50: error: syntax error before "awt" swt_awt.c:51: error: `JAWT_DrawingSurface' undeclared (first use in this function) swt_awt.c:51: error: `ds' undeclared (first use in this function) swt_awt.c:52: error: `JAWT_DrawingSurfaceInfo' undeclared (first use in this function) swt_awt.c:52: error: `dsi' undeclared (first use in this function) swt_awt.c:53: error: `JAWT_X11DrawingSurfaceInfo' undeclared (first use in this function) swt_awt.c:53: error: `dsi_x11' undeclared (first use in this function) swt_awt.c:54: error: `jint' undeclared (first use in this function) swt_awt.c:54: error: syntax error before "lock" swt_awt.c:56: error: `awt' undeclared (first use in this function) swt_awt.c:56: error: `JAWT_VERSION_1_3' undeclared (first use in this function) swt_awt.c:57: error: `env' undeclared (first use in this function) swt_awt.c:58: error: `frame' undeclared (first use in this function) swt_awt.c:59: error: `NULL' undeclared (first use in this function) swt_awt.c:60: error: `lock' undeclared (first use in this function) swt_awt.c:61: error: `JAWT_LOCK_ERROR' undeclared (first use in this function) swt_awt.c:63: error: syntax error before ')' token swt_awt.c:64: warning: implicit declaration of function `XSynchronize' swt_awt.c:64: error: `debug' undeclared (first use in this function) make: *** [swt_awt.o] Error 1 !!! ERROR: dev-java/swt-3.2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile swt-3.2.ebuild, line 105: Called die !!! Failed to build AWT support !!! If you need support, post the topmost build error, and the call stack if relevant.