Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237949 - nspluginwrapper fails to compile: error: bad value (generic) for -mtune= switch
Summary: nspluginwrapper fails to compile: error: bad value (generic) for -mtune= switch
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
: 237951 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-17 18:44 UTC by Greg
Modified: 2009-08-21 15:56 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg 2008-09-17 18:44:01 UTC
Emerging nswrapper ||(0.9.91.5-r1 1.0.0 1.1.0) fails on compilation with "error: bad value (generic) for -mtune= switch"

Reproducible: Always

Steps to Reproduce:
1.emerge nspluginwrapper

Actual Results:  
Errors during compilation:

gcc -std=c99 -m32 -O2 -g -mtune=generic -o npviewer-utils.o -c /var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/utils.c -I. -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0 -m32 -O2 -g -mtune=generic -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/lsb-build/headers -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/lsb-build/headers/glib-2.0 -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/lsb-build/headers/gtk-2.0 -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi/nspr -DBUILD_VIEWER
gcc -std=c99 -m32 -O2 -g -mtune=generic -o npviewer-npruntime.o -c /var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/npruntime.c -I. -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0 -m32 -O2 -g -mtune=generic -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/lsb-build/headers -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/lsb-build/headers/glib-2.0 -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/lsb-build/headers/gtk-2.0 -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi/nspr -DBUILD_VIEWER
g++ -m32 -O2 -g -mtune=generic -o npviewer-cxxabi-compat.o -c /var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/cxxabi-compat.cpp -I. -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0 -m32 -O2 -g -mtune=generic -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/lsb-build/headers -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/lsb-build/headers/glib-2.0 -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/lsb-build/headers/gtk-2.0 -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi -I/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi/nspr -DBUILD_VIEWER
/var/tmp/portage/net-www/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/cxxabi-compat.cpp:1: error: bad value (generic) for -mtune= switch
make: *** [npviewer-cxxabi-compat.o] Error 1
make: *** Waiting for unfinished jobs....
 * 
 * ERROR: net-www/nspluginwrapper-1.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2421:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/net-www:nspluginwrapper-1.0.0:20080917-183944.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-www/nspluginwrapper-1.0.0/temp/environment'.
 * 


Expected Results:  
It should have compiled then installed.

emerge --info
Portage 2.2_rc8 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-Dual_Core_AMD_Opteron-tm-_Processor_875-with-glibc2.2.5
Timestamp of tree: Tue, 16 Sep 2008 01:45:05 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.hoobly.com/ http://gentoo.arcticnetwork.ca/source/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acl alsa amd64 berkdb bzip2 cli cracklib crypt doc dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly offensive ogg openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl symlink sysfs tcpd unicode vim-syntax vorbis xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-17 18:55:27 UTC
*** Bug 237951 has been marked as a duplicate of this bug. ***
Comment 2 Patrick McLean gentoo-dev 2009-08-21 15:56:16 UTC
please test and reopen if this is still happening with www-plugins/nspluginwrapper-1.2.2