Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524556 - www-client/firefox-32.0 on HPPA - ../../dist/include/js/Value.h:339:1: error: 'jsval_layout' was not declared in this scope
Summary: www-client/firefox-32.0 on HPPA - ../../dist/include/js/Value.h:339:1: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-05 21:41 UTC by Jeroen Roovers (RETIRED)
Modified: 2014-10-17 11:30 UTC (History)
1 user (show)

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


Attachments
www-client:firefox-32.0:20141005-134240.log.xz (www-client:firefox-32.0:20141005-134240.log.xz,65.83 KB, application/x-xz)
2014-10-05 21:42 UTC, Jeroen Roovers (RETIRED)
Details
firefox-32.0-hppa.patch (firefox-32.0-hppa.patch,363 bytes, patch)
2014-10-06 09:17 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2014-10-05 21:41:24 UTC
In file included from ../../dist/include/js/CallArgs.h:39:0,
                 from ../../dist/include/js/CallNonGenericMethod.h:12,
                 from /mnt/alt/portage/www-client/firefox-32.0/work/mozilla-release/js/src/NamespaceImports.h:15,
                 from /mnt/alt/portage/www-client/firefox-32.0/work/mozilla-release/js/src/gc/Barrier.h:10,
                 from /mnt/alt/portage/www-client/firefox-32.0/work/mozilla-release/js/src/jsatom.h:14,
                 from /mnt/alt/portage/www-client/firefox-32.0/work/mozilla-release/js/src/vm/Runtime.h:20,
                 from /mnt/alt/portage/www-client/firefox-32.0/work/mozilla-release/js/src/jscntxt.h:15,
                 from /mnt/alt/portage/www-client/firefox-32.0/work/mozilla-release/js/src/vm/RegExpObject.h:13,
                 from /mnt/alt/portage/www-client/firefox-32.0/work/mozilla-release/js/src/builtin/RegExp.h:10,
                 from /mnt/alt/portage/www-client/firefox-32.0/work/mozilla-release/js/src/builtin/RegExp.cpp:7:
../../dist/include/js/Value.h:339:1: error: 'jsval_layout' was not declared in this scope
../../dist/include/js/Value.h:866:15: error: 'jsval_layout' does not name a type
[and so on]


Sun Oct  5 23:40:19 CEST 2014
emerge --info www-client/firefox
Portage 2.2.8-r2 (default/linux/hppa/13.0, gcc-4.7.3, glibc-2.19-r1, 3.14.4-gentoo-JeR parisc)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.4-gentoo-JeR-parisc-PA8700_-PCX-W2-with-gentoo-2.2
KiB Mem:     2071260 total,     19592 free
KiB Swap:    1006772 total,    761960 free
Timestamp of tree: Sun, 05 Oct 2014 09:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 hppa2.0-unknown-linux-gnu [enabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p51
dev-lang/python:          2.6.8-r3, 2.7.7, 3.2.5-r3, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.21.1-r1, 2.22-r1, 2.23.1, 2.23.2, 2.24-r3
sys-devel/gcc:            4.4.5, 4.4.6-r1, 4.4.7, 4.5.1-r1, 4.5.2, 4.5.3-r2, 4.5.4, 4.6.2, 4.6.3, 4.7.0, 4.7.1, 4.7.2, 4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo JeR
Installed sets: @system
ACCEPT_KEYWORDS="hppa"
ACCEPT_LICENSE="*"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-mschedule=8000 -march=2.0 -g -Wall -O2 -Wno-comment -pipe"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/distcc/bin /usr/lib/python2.6/site-packages/buildbot/status/web /usr/lib/python2.7/site-packages/buildbot/status/web /usr/share/gnupg/qualified.txt /var/bind /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/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="-mschedule=8000 -march=2.0 -g -Wall -O2"
DISTDIR="/world/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs buildpkg compressdebug config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-mschedule=8000 -march=2.0 -g -Wall -O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ http://mirror.leaseweb.com/gentoo/ "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/keeps/gentoo/packages/elmer"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/alt"
PORTDIR="/world/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aacplus aalib abyss accessibility acl ads afterimage agg alsa amr amrnb amrwb anacron ao aoss apis apng ares artist-screen asf ass assistant async asyncns audiofile augeas automount avfs bash-completion berkdb bidi bittorrent bittorrent-external bl bluetooth bzip2 c++ cairo captury catalogs cblas cdb cdio cdr chardet cjk clarens cleartype cli cman colors contrast cpath cracklib crypt cue cups curl custom-cflags custom-cxxflags cxx dbi dbtool dbus designer designer-plugin device-mapper dga dia dirac directfb djbfft djvu domainkeys dri drm dts dv dvd dvdr dvdread ebook edl egl elf emacs enca encode esd ewf examples exceptions exif expat extras facebook fam fame fastbuild fastcgi fbcon ffmpeg filter fits flac fltk fluidsynth fontconfig foomaticdb fortran fpx frei0r ftp fts3 fusion galago games gcrypt gd gdbm geant4 geoip ggi gif gimp gimpprint glep glib glut gmp gnokii gnutls gphoto2 gpm gps gs gsl gsm gtk gtk2 gtk3 gtkhtml gudev guidexml guile hal hepmc hesiod hotpixels hppa hwdb i18n ical icecast iconv icu idea idn imagemagick imlib indi inotify inquisitio introspection ipv6 isc ithreads jabber jack javascript jbig jingle jpeg jpeg2k judy kate kmod kpathsea lame lapack lasi lastfmradio latex lcms ldap leim lensfun libass libcaca libffi libmms libnl libotf libsamplerate libssh2 libwww live logrotate logwatch lua lyrics-screen lzma lzo m17n-lib mad manhole matroska mbrola mem-scramble memcache metapost metis mhash midi mikmod mmap mms mng modplug modules motif mozbranding mp3 mpg123 mpi mplayer mssql mtp mudflap multislot musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas natspec ncurses netpbm nettle network-cron nfconntrack nfs nls nntp nova nptl nsplugin ntlm objc objc++ objc-gc offensive ogg old-output openal openexr opengl openmp openssl optimization oss ots overlays pam pango pbs pch pcre pdf pdo-external php pipe pkcs11 plasma plotutils plugins png portage portaudio postgres povray ppds pulseaudio python pyzord qalculate qdbm qt3support qt4 quicktime quotas quvi raw readline recode rle romio rpc rrdtool rtc rtmp samba sasl scale0tilt scanner scim sdl seamonkey secure-delete server session sid skk slp smi sms sndfile snmp soap socks5 song-screen soundex soundtouch speex spell spidermonkey spoof-source sqlite sqlite2 srt srtp ssh ssl startup-notification strong-optimization subtitles subversion suhosin supernodal svg swat sysfs syslog system-sqlite talkfilters tcl tcpd test texi2html tftp tga theora threads thumbnail thunar-vfs tidy tiff timezone timidity tk tokyocabinet tools truetype tslib tunepimp twolame udev unicode unzip urandom usb userlocales utempter utf v4l v4l2 vala vanim vcd vim-syntax vorbis watchdog wavpack webdav webinstall webp wildmidi winbind wlan wma wmf xanim xcb xchattext xcomposite xetex xface xft xlisten xml xml2 xmp xmpi xnest xpm xrandr xscreensaver xsettings xv xvfb xvid yaml zip zip-external zlib" ALSA_CARDS="ad1889 usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="nfs syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa tek4957 tslib ur98 wacom void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en nl he" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="stifb fbdev none dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

www-client/firefox-29.0.1 was built with the following:
USE="alsa custom-cflags dbus minimal pulseaudio startup-notification system-sqlite test -bindist (-custom-optimization) -debug -gstreamer -hardened -jit (-libnotify) (-pgo) (-selinux) -system-cairo -system-icu -system-jpeg (-wifi)" LINGUAS="he nl -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lt -lv -mai -mk -ml -mr -nb_NO -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW -zu"
CFLAGS="-mschedule=8000 -march=2.0 -pipe -Wall -Wno-comment"
CXXFLAGS="-mschedule=8000 -march=2.0 -pipe -Wall"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-05 21:42:21 UTC
Created attachment 386102 [details]
www-client:firefox-32.0:20141005-134240.log.xz
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-06 09:17:13 UTC
Created attachment 386128 [details, diff]
firefox-32.0-hppa.patch

This is part of the work. I think I will need to add something else there to properly "detect" HPPA.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-06 09:17:53 UTC
Comment on attachment 386102 [details]
www-client:firefox-32.0:20141005-134240.log.xz

Wait, no. I did add the other chunk in that patch.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-06 10:34:08 UTC
Comment on attachment 386128 [details, diff]
firefox-32.0-hppa.patch

The second chunk I tested, and it seems to work. The first chunk I added later, but it doesn't seem to fix this problem:

src_configure():
cross compiling from hppa64-unknown-linux-gnu to hppa2.0-unknown-linux-gnu

No you're not. You simply read `uname -m' and ignored CHOST/CTARGET.

Immediately followed by:
checking for host c compiler... checking for cc... cc
cc
checking for host c++ compiler... checking for c++... c++
c++

Where did my CC/CXX go?
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2014-10-06 14:33:02 UTC
(In reply to Jeroen Roovers from comment #4)
> Comment on attachment 386128 [details, diff] [details, diff]
> firefox-32.0-hppa.patch
> 
> The second chunk I tested, and it seems to work. The first chunk I added
> later, but it doesn't seem to fix this problem:
> 
> src_configure():
> cross compiling from hppa64-unknown-linux-gnu to hppa2.0-unknown-linux-gnu
> 
> No you're not. You simply read `uname -m' and ignored CHOST/CTARGET.
> 
> Immediately followed by:
> checking for host c compiler... checking for cc... cc
> cc
> checking for host c++ compiler... checking for c++... c++
> c++
> 
> Where did my CC/CXX go?


... so is this an issue with the old autoconf-2.13 configure scripts or the way that portage is/should be passing CC / CXX / etc?
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-06 16:16:26 UTC
(In reply to Ian Stakenvicius from comment #5)
> ... so is this an issue with the old autoconf-2.13 configure scripts or the
> way that portage is/should be passing CC / CXX / etc?

I don't know. As the build log shows, most of the time the proper compilers get used. You should be able to check that yourself.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-06 16:27:33 UTC
The patch is unrelated to the build system picking the right compiler. The first chunk of the patch should simply ensure that a HPPA system is recognised even when `uname -m' returns parisc64 (which would be a 64-bit kernel with a 32-bit userland, so it would change nothing for firefox anyway).
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-15 21:20:32 UTC
ping
Comment 9 Ian Stakenvicius (RETIRED) gentoo-dev 2014-10-15 21:22:28 UTC
pong; tomorrow's project, i promise.  Since 32 was dropped I'll test with 33 on hake and see if I can sort it out.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-15 21:37:19 UTC
The same patch applies to 33.0.
Comment 11 Ian Stakenvicius (RETIRED) gentoo-dev 2014-10-16 21:13:01 UTC
Fixed for firefox-33 , will confirm for firefox-31.2 before I close the bug.
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-17 09:20:56 UTC
The same patch applies to 31.2.0.