Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432680 - www-client/seamonkey-2.11 failed to build on ppc
Summary: www-client/seamonkey-2.11 failed to build on ppc
Status: RESOLVED DUPLICATE of bug 427612
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: https://bugs.webkit.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2012-1948
  Show dependency tree
 
Reported: 2012-08-25 06:49 UTC by Michael Weber (RETIRED)
Modified: 2012-08-30 22:33 UTC (History)
2 users (show)

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


Attachments
http://bastet.m.xmw.de/build/www-client/seamonkey-2.11:20120824-215300.log (file_432680.txt,163.75 KB, text/plain)
2012-08-25 06:51 UTC, Michael Weber (RETIRED)
Details
ppc patch (file_432680.txt,460 bytes, patch)
2012-08-25 08:19 UTC, Michael Weber (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weber (RETIRED) gentoo-dev 2012-08-25 06:49:03 UTC
In file included from /var/tmp/portage/www-client/seamonkey-2.11/work/comm-release/mozilla/mfbt/double-conversion/bignum-dtoa.h:31:0,
                 from /var/tmp/portage/www-client/seamonkey-2.11/work/comm-release/mozilla/mfbt/double-conversion/bignum-dtoa.cc:30:
/var/tmp/portage/www-client/seamonkey-2.11/work/comm-release/mozilla/mfbt/double-conversion/utils.h:67:2: error: #error Target architecture was not detected as supported by Double-Conversion.
make[5]: *** [bignum-dtoa.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/www-client/seamonkey-2.11/work/comm-release/seamonk/mozilla/mfbt'
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-08-25 06:51:48 UTC
Created attachment 322156 [details]
http://bastet.m.xmw.de/build/www-client/seamonkey-2.11:20120824-215300.log


Portage 2.1.11.10 (default/linux/powerpc/ppc32/10.0/developer, gcc-4.5.3, glibc-2.14.1-r3, 3.3.8-gentoo-bastet.1 ppc)
=================================================================
System uname: Linux-3.3.8-gentoo-bastet.1-ppc-7455,_altivec_supported-with-gentoo-2.1
Timestamp of tree: Wed, 22 Aug 2012 14:30:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.8, 2.7.3-r2, 3.1.5, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo xmw
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -mtune=powerpc -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /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.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/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="-O2 -mcpu=7400 -maltivec -mabi=altivec -mtune=powerpc -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms sign split-log strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en en_US en_GB"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/xmw"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa altivec apache2 bash-completion berkdb bluetooth bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif git gpm gtk iconv ipv6 jbig jpeg jpeg2k lcms libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf perl png policykit ppc ppds pppd python qt3support qt4 readline sdl session snmp spell sqlite ssl startup-notification subversion svg tcl tcpd threads tiff tk truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets xcb xml xv xvid zlib zsh-completion" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_US en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_5 python2_6 python2_7 python3_1 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="r128 fbdev" 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.5 2.6 2.7 3.1 3.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Michael Weber (RETIRED) gentoo-dev 2012-08-25 07:07:12 UTC
I've found the upstream bug report (URL) and currently test the patch mentioned over there.
Comment 3 Michael Weber (RETIRED) gentoo-dev 2012-08-25 08:19:48 UTC
Created attachment 322172 [details, diff]
ppc patch

I've used `echo | gcc -v -E -dM -` to dig for an appropriate macro on ppc32,
My test code for double-conversion (as mentioned in comm-release/mozilla/mfbt/double-conversion/utils.h) was https://xmw.de/s/5=g0.

I ask on #-powerpc for the ppc64 variant.
Comment 4 Michael Weber (RETIRED) gentoo-dev 2012-08-25 10:57:47 UTC
(In reply to comment #3)
> I ask on #-powerpc for the ppc64 variant.

The PPC macro is fine for ppc64, too. Thanks to Sphericus
Comment 5 Jory A. Pratt gentoo-dev 2012-08-28 21:04:23 UTC
Please check for the same bug in firefox before filling a new bug.

*** This bug has been marked as a duplicate of bug 427612 ***
Comment 6 Michael Weber (RETIRED) gentoo-dev 2012-08-30 22:33:08 UTC
(In reply to comment #5)
> Please check for the same bug in firefox before filling a new bug.

Ok, please fix the bug description and do not lose blockers on other bugs.