Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211816 - app-misc/irtrans-irclient-5.9.07 doesn't compile - bad value for -march= switch
Summary: app-misc/irtrans-irclient-5.9.07 doesn't compile - bad value for -march= switch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joerg Bornkessel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 18:23 UTC by Pertti Kosunen
Modified: 2008-03-07 18:16 UTC (History)
2 users (show)

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


Attachments
app-misc/irtrans-irclient-5.9.07-r1.ebuild (irtrans-irclient-5.9.07-r1.ebuild,967 bytes, text/plain)
2008-03-05 08:19 UTC, Mario Fetka (geos_one)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pertti Kosunen 2008-02-28 18:23:36 UTC
app-misc/irtrans-irclient-5.9.07 install fails, maybe problem with cflags or Makefile.

Reproducible: Always

Steps to Reproduce:
1. "emerge irtrans-irclient"
Actual Results:  
# emerge irtrans-irclient
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-misc/irtrans-irclient-5.9.07 to /
 * irserver-src-5.9.07.tar.gz RMD160 SHA1 SHA256 size ;-) ...             [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking irserver-src-5.9.07.tar.gz ;-) ...                            [ ok ]
>>> Unpacking source...
>>> Unpacking irserver-src-5.9.07.tar.gz to /var/tmp/portage/app-misc/irtrans-irclient-5.9.07/work
 * Applying irtrans-irclient-5.9.01-missing-include.diff ...              [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-misc/irtrans-irclient-5.9.07/work ...
client.c:1: error: bad value (k8 -O2 -pipe -DLINUX -Icommon) for -march= switch
client.c:1: error: bad value (k8 -O2 -pipe -DLINUX -Icommon) for -mtune= switch
 * 
 * ERROR: app-misc/irtrans-irclient-5.9.07 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2376:  Called die
 * The specific snippet of code:
 *       $(tc-getCC) "${CFLAGS}" -o irclient client.c || die "irclient compile failed";
 *  The die message:
 *   irclient compile failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/ports/app-misc:irtrans-irclient-5.9.07:20080228-175746.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/irtrans-irclient-5.9.07/temp/environment'.
 * 

 * Messages for package app-misc/irtrans-irclient-5.9.07:

 * 
 * ERROR: app-misc/irtrans-irclient-5.9.07 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2376:  Called die
 * The specific snippet of code:
 *       $(tc-getCC) "${CFLAGS}" -o irclient client.c || die "irclient compile failed";
 *  The die message:
 *   irclient compile failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/ports/app-misc:irtrans-irclient-5.9.07:20080228-175746.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/irtrans-irclient-5.9.07/temp/environment'.
 * 

Expected Results:  
Port should install.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 2800+
Timestamp of tree: Wed, 27 Feb 2008 14:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/vdr-1.5 /usr/portage/local/layman/vdr-testing /usr/portage/local/layman/vdr-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa alsaplayer amd64 aotuv avi berkdb bitmap-fonts cli cracklib crypt dri dts dvb dvd dvdread encode flac fortran gdbm gif gpm iconv isdnlog jpeg lirc mad midi mmx mp3 mp4 mpeg mudflap musepack ncurses nls nptl nptlonly nvidia ogg openmp oss pam pcre perl png pppd python readline reflection session spl sse sse2 tcpd tiff truetype truetype-fonts type1-fonts unicode vdr vorbis x264 xorg xv xvid xvmc 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 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" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mario Fetka (geos_one) 2008-02-29 14:19:15 UTC
could you post your CFLAG line from you make.conf
Comment 2 Pertti Kosunen 2008-03-01 16:38:52 UTC
(In reply to comment #1)
> could you post your CFLAG line from you make.conf

CFLAGS="-march=k8 -O2 -pipe"
Comment 3 Pertti Kosunen 2008-03-03 17:43:14 UTC
Not AMD64 specific, also i386 has same problem.

(CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer")
------------------------------------------------
# emerge app-misc/irtrans-irclient
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-misc/irtrans-irclient-5.9.07 to /
 * irserver-src-5.9.07.tar.gz RMD160 SHA1 SHA256 size ;-) ...             [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking irserver-src-5.9.07.tar.gz ;-) ...                            [ ok ]
>>> Unpacking source...
>>> Unpacking irserver-src-5.9.07.tar.gz to /var/tmp/portage/app-misc/irtrans-irclient-5.9.07/work
 * Applying irtrans-irclient-5.9.01-missing-include.diff ...              [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-misc/irtrans-irclient-5.9.07/work ...
client.c:1: error: bad value (prescott -O2 -pipe -fomit-frame-pointer -DLINUX -Icommon) for -march= switch
client.c:1: error: bad value (prescott -O2 -pipe -fomit-frame-pointer -DLINUX -Icommon) for -mtune= switch
 * 
 * ERROR: app-misc/irtrans-irclient-5.9.07 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2317:  Called die
 * The specific snippet of code:
 *       $(tc-getCC) "${CFLAGS}" -o irclient client.c || die "irclient compile failed";
 *  The die message:
 *   irclient compile failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/ports/app-misc:irtrans-irclient-5.9.07:20080303-174006.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/irtrans-irclient-5.9.07/temp/environment'.
 * 

 * Messages for package app-misc/irtrans-irclient-5.9.07:

 * 
 * ERROR: app-misc/irtrans-irclient-5.9.07 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2317:  Called die
 * The specific snippet of code:
 *       $(tc-getCC) "${CFLAGS}" -o irclient client.c || die "irclient compile failed";
 *  The die message:
 *   irclient compile failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/ports/app-misc:irtrans-irclient-5.9.07:20080303-174006.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/irtrans-irclient-5.9.07/temp/environment'.
 * 
Comment 4 Mario Fetka (geos_one) 2008-03-05 08:19:02 UTC
Created attachment 145334 [details]
app-misc/irtrans-irclient-5.9.07-r1.ebuild

excuse me for responding that late but i am moving house at the moment so chaos and more ...

this is the corrected ebuild for the error 

joerg could you plz upload the corrected ebuild!

(mod's: remove quote's around CFLAGS)

Mario
Comment 5 Joerg Bornkessel (RETIRED) gentoo-dev 2008-03-05 19:59:03 UTC
done, removed the qouting marks on 5.9.04 5.9.07 ebuild versions.
can someone confirm , if it works now ?
( plz give 1/2 hour to sync the fixed ebuild on all rsync servers )

Mario,
can you check the app-misc/irtrans-irserver ebuilds to, for some stubid qouting marks ?
Comment 6 Mario Fetka (geos_one) 2008-03-06 09:49:13 UTC
(In reply to comment #5)
> Mario,
> can you check the app-misc/irtrans-irserver ebuilds to, for some stubid qouting
> marks ?
> 
the irserver package dont have those missplaced qouting marks
Comment 7 Pertti Kosunen 2008-03-07 12:24:57 UTC
Works ok here now, thanks for all.
Comment 8 Joerg Bornkessel (RETIRED) gentoo-dev 2008-03-07 18:16:34 UTC
Thanks for pointing out this error,
thanks for testing again,
....


:)