Bug 168780 - dev-java/gnu-classpath-0.93 fails to compile nsplugin
|
Bug#:
168780
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: PPC64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: java@gentoo.org
|
Reported By: corsair@gentoo.org
|
|
Component: Applications
|
|
|
URL:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31017
|
|
Summary: dev-java/gnu-classpath-0.93 fails to compile nsplugin
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-02-28 20:13 0000
|
I've just tried to compile dev-java/gnu-classpath-0.93, but it failed.
# emerge --info
Portage 2.1.2-r9
(default-linux/ppc/ppc64/2007.0/64bit-userland/desktop/970/pmac, gcc-4.1.1,
glibc-2.5-r0, 2.6.19.5 ppc64)
=================================================================
System uname: 2.6.19.5 ppc64 PPC970FX, altivec supported
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 28 Feb 2007 19:30:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
sys-apps/sandbox: 1.2.17
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-r2
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec"
CHOST="powerpc64-unknown-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs distlocks metadata-transfer sandbox sfperms
strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="en_US.UTF8"
LC_ALL="en_US.UTF8"
MAKEOPTS="-j1"
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="X a52 aac aiglx alsa altivec amr apache2 asf avahi bash-completion berkdb
bitmap-fonts boost bzip2 cairo ccache cdinstall cdparanoia cdr cli cracklib
crypt cups curl cvs daap dbus dedicated djvu dri dts dv dvd dvdr dvdread dvi
emboss enca encode escreen exif exo fam ffmpeg firefox flac foomaticdb fortran
fping gcj gd gdbm ggi gif gimp gimpprint glib glitz gmp gnokii gnome gnutls
gphoto2 gpm graphviz gs gstreamer gtk hal hfs highlight iconv idle ieee1394
imagemagick imap imlib ipod ipv6 isdnlog jpeg kdeenablefinal lame latex ldap
libnotify mad matroska mdnsresponder-compat midi mikmod mjpeg motif mozbranding
mp3 mp4 mpeg mplayer mtp multiuser musicbrainz mysql ncurses network nls
no-old-linux nptl nptlonly nsplugin objc objc++ offensive ogg onaccess openal
opengl pam panel-plugin pcre pdf perl php plotutils png ppc64 ppds pppd python
qt3 qt4 quicktime rdesktop readline reflection ruby samba savedconfig scanner
screen sdl session skins slp smp snmp spell spl ssl startup-notification stream
subtitles subversion svg tcltk tcpd teamarena tetex theora threads thumbnail
thunar-vfs tiff trash-panel-plugin trayicon truetype truetype-fonts type1-fonts
unicode upnp usb utempter vcd videos vim-pager vorbis wxwindows x264 xcb
xcomposite xine xml xorg xpm xscreensaver xv xvid xvmc zeroconf zlib"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS,
PORTAGE_RSYNC_EXTRA_OPTS
What does `pkg-config --cflags firefox-plugin` say?
betelgeuse@pena
/var/tmp/portage/dev-java/gnu-classpath-0.93/work/classpath-0.93 $ pkg-config
--cflags firefox-plugin
-I/usr/lib/mozilla-firefox/include/java
-I/usr/lib/mozilla-firefox/include/plugin -I/usr/lib/mozilla-firefox/include
-I/usr/lib/mozilla-firefox/include/xpcom
-I/usr/lib/mozilla-firefox/include/string -I/usr/include/nspr
same error with seamonkey (1.1.1)
# pkg-config --cflags seamonkey-plugin
-I/usr/lib/seamonkey/include/java -I/usr/lib/seamonkey/include/plugin
-I/usr/include/nspr
$ pkg-config --cflags firefox-plugin
-I/usr/lib64/mozilla-firefox/include/java
-I/usr/lib64/mozilla-firefox/include/plugin -I/usr/include/nspr
(In reply to comment #4)
> $ pkg-config --cflags firefox-plugin
> -I/usr/lib64/mozilla-firefox/include/java
> -I/usr/lib64/mozilla-firefox/include/plugin -I/usr/include/nspr
>
This is our problem here. This does not have the needed directories.
betelgeuse@pena ~/patches $ pkg-config --cflags seamonkey-plugin
-I/usr/lib/seamonkey/include/java -I/usr/lib/seamonkey/include/plugin
-I/usr/lib/seamonkey/include -I/usr/lib/seamonkey/include/xpcom
-I/usr/lib/seamonkey/include/string -I/usr/include/nspr
betelgeuse@pena ~/patches $ pkg-config --cflags firefox-plugin
-I/usr/lib/mozilla-firefox/include/java
-I/usr/lib/mozilla-firefox/include/plugin -I/usr/lib/mozilla-firefox/include
-I/usr/lib/mozilla-firefox/include/xpcom
-I/usr/lib/mozilla-firefox/include/string -I/usr/include/nspr
mozilla herd: Any thoughts?
seamonkey 1.0.7: USE="crypt ipv6 java mozcalendar mozdevelop moznoirc"
# pkg-config --cflags seamonkey-plugin
-I/usr/lib/seamonkey/include/java -I/usr/lib/seamonkey/include/plugin
-I/usr/lib/seamonkey/include -I/usr/lib/seamonkey/include/xpcom
-I/usr/lib/seamonkey/include/string -I/usr/include/nspr
firefox 2.0.0.2 USE="filepicker ipv6 java mozbranding mozdevelop xforms"
# pkg-config --cflags firefox-plugin
-I/usr/lib/mozilla-firefox/include/java
-I/usr/lib/mozilla-firefox/include/plugin -I/usr/include/nspr
What firefox version and flags do you have, Petteri?
The missing header should be in xpcom dir.
Committed a patch fixing this to CVS. Sync in an hour or two and it should be
fixed. Thanks for reporting.