Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 156716

Summary: dev-java/swt-3.2.1 fails to build on ~amd64 with seamonkey
Product: Gentoo Linux Reporter: ron widler <ron>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal CC: david.gurvich
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ron widler 2006-11-30 12:55:32 UTC
hi,

compiling swt it the USE flag "seamonkey" enabled fails with the following output:

<snip>
...
 * Building the Mozilla component
...
In file included from xpcom_profile_structs.h:29,
                 from xpcom_profile.cpp:30:
xpcom_profile.h:34:22: error: nsCOMPtr.h: No such file or directory
xpcom_profile.h:35:41: error: nsProfileDirServiceProvider.h: No such file or directory
</snip>

even though i got them on my system:

/usr/lib64/seamonkey/include/xpcom/nsCOMPtr.h
/usr/lib64/mozilla-firefox/include/xpcom/nsCOMPtr.h

with "seamonkey" disabled it compiles fine.

regards
ron

more info:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""

emerge --info:
Portage 2.1.2_rc2-r3 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-suspend2-mobsound x86_64)
=================================================================
System uname: 2.6.18-suspend2-mobsound x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.6
Last Sync: Thu, 30 Nov 2006 18:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe"
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/spool/PBS /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE"
LINGUAS="de en_GB en de_AT uk"
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/portage/local/layman/voip /usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/portage/local/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac aalib accessibility acct acl acpi aiglx aim allegro alsa amd amr amrr amuled ao aotuv apache2 artswrappersuid asf audiofile autoipd automount avahi bash-completion bcmath bcp beagle berkdb bidi bitmap-fonts bjam bl bonjour bookmarks bzip2 cairo canna caps cdda cddb cdparanoia cdr cgi charconv chardet cjk cli codecs colordiff corba cpudetection cracklib crypt cups curl curlwrappers cvs cvsgraph daap dbi dbm dbus dga dio directfb djvu dlloader dri dssi dts dv dvd dvdnav dvdr dvdread dxr3 eds eeprom elibc_glibc encode enscript exif expat fame fastcgi fbcon ffmpeg fftw firefox flac fluidsynth font-server fontconfig foomaticdb fortran fping fpx ftp fuse gadu gaim gajim galago gd gdbm geoip ggi gif gimp gimpprint glitz gnokii gnome gnome-print gnomecanvas gnomedb gnutls gphoto2 gpm gps graphviz gs gsl gstreamer gtk gtk2 gtkhtml guile gzip h323 hal hddtemp howl-compat iconv idea idn ieee1394 ifp image imagemagick imap imlib inkjar innodb input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_wacom iodbc ipod iproute2 ipv6 irda isdnlog ithreads jabber jack jack-tmpfs jackmidi java javascript jbig jfs john joystick jpeg jpeg2k jython kde kerberos kernel_linux kipi krb4 ladspa lame lash lcd lcms ldap lesstif libcaca libclamav libedit libg++ libnotify libsamplerate libwww linguas_de linguas_de_AT linguas_en linguas_en_GB linguas_uk lirc lirc_devices_com4 lm_sensors logitech-mouse logrotate lua lynxkeymap lzo lzw mad matroska md5sum mdnsresponder-compat meanwhile mhash mikmod mime mixer mjpeg mmap mng mod modplug mono mouse mozbranding mozcalendar mozsha1 mozsvg mp3 mp3rtp mp4 mp4live mpd mpeg mpeg2 mplayer mpm-worker msession msn mtp musepack musicbrainz mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas ncurses net netjack netmeeting netpbm network nfs njb nls nptl nptlonly ntfs ntp numeric nvram oav ocaml odbc offensive office ogg oggvorbis openct openexr opengl opera osc oss pam pango pbs pccts pcre pcsc-lite pda pdf perl php physfs pike plugins png ppds pppd pulseaudio pyste python qmax qq qt3 qt4 quicktime quotas readline realmedia recode reflection reiser4 reiserfs remote rewrite rhino rle rtc rtsp ruby samba samplerate scanner sdl sdl-sound sdlaudio seamonkey sensord serial session shaper shout sid silc sitemisc skins slang slp sndfile snmp snortsam sockets socks5 softquota sound sox spamassassin speex spell spl sql sqlite sqlite3 ssl startup-notification stats stream streamzap submenu subtitles subversion svg svgz swat sysfs systray szip t1lib taglib tcl tcltk tcpd tga theora threads tidy tiff timidity tk trayicon truetype truetype-fonts type1-fonts ucs2 ucs4 udev uim unicode unzip usb userland_GNU utempter uudeview uuencode v4l v4l2 vcd vfat vhosts video_cards_ati video_cards_fglrx video_cards_radeon video_cards_v4l video_cards_vesa video_cards_vga vim vim-syntax virus-scan visual visualization vlm vnc vorbis vorbis-psy vroot wavpack web webdav wifi winbind wireshark wma wmf wmp wordperfect wxwindows x264 xanim xattr xcf xfs xine xinerama xinetd xml xml2 xmlreader xmlwriter xmpi xorg xosd xpm xprint xrandr xscreensaver xsettings xsl xslt xv xvid yv12 zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-11-30 13:03:23 UTC
Could you test the patches attached to bug 155725 if they work?
Comment 2 ron widler 2006-11-30 13:27:40 UTC
yes that fixed it.

sorry for that unnecessary bug report, for some reason i misinterpreted the "affix 'ALL' to your entry" on the starting page and wondered 'cause it found no bugs...

thanks
ron
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-11-30 16:41:52 UTC
(In reply to comment #2)
> yes that fixed it.

Great. Patches commited to CVS, should hit the RSYNC mirrors in few hours.

> sorry for that unnecessary bug report, for some reason i misinterpreted the
> "affix 'ALL' to your entry" on the starting page and wondered 'cause it found
> no bugs...

So I'm not alone who thinks affix is not right, when it's actually prefix :) Filled a bug about it, so it hopefully is fixed with new bugzilla setup.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-05 23:42:32 UTC
*** Bug 157280 has been marked as a duplicate of this bug. ***
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-06 04:01:32 UTC
changing the dupe
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-06 04:02:32 UTC

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