Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 239853

Summary: dev-tcltk/blt-2.4z-r2 - tc-export: invalid export variable 'CFLAGS'
Product: Gentoo Linux Reporter: David Sveningsson <eXt>
Component: New packagesAssignee: TCL/TK Project <tcltk>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: env
build log

Description David Sveningsson 2008-10-05 09:03:44 UTC
* ERROR: dev-tcltk/blt-2.4z-r2 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2441:  Called tc-export 'CC' 'CFLAGS'
 * environment, line 2666:  Called die
 * The specific snippet of code:
 * [[ $(type -t tc-get${var}) != "function" ]] && die "tc-export: invalid export variable '${var}'";
 * The die message:
 * tc-export: invalid export variable 'CFLAGS'
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-tcltk/blt-2.4z-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/blt-2.4z-r2/temp/environment'.
 * 


Portage 2.2_rc11 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-x86_64-AMD_Phenom-tm-_9600_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Sun, 05 Oct 2008 07:34:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
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.63
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.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -pipe -msse3 -g -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/env /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/shutdown"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -Os -pipe -msse3 -g -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="ccache distlocks installsources parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict stricter unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp.port80.se/gentoo/ "
LC_ALL="sv_SE.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="sv SE sv_SE en"
MAKEOPTS="-j4"
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/local/portage/layman/mozilla /usr/local/portage/layman/sunrise /usr/local/portage/layman/x11 /usr/local/portage/layman/java-overlay /usr/local/portage/layman/ext-devlibs /usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa amd64 bash-completion berkdb bzip2 cjk cli cracklib crypt cups dbus debug dri emacs exif ffmpeg firefox flac fortran gdbm gif glitz gnutls gpm gtk iconv id3tag ipv6 isdnlog java5 java6 jpeg jpeg2k latex lcms midi mmx mmxext mp3 mplayer mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam paste64 pcre perl png pppd python readline reflection session spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode wmf xml xorg xpm xv zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel" 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 auth_digest ident imagemap log_forensic" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv SE sv_SE en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Sveningsson 2008-10-05 09:04:50 UTC
Created attachment 167261 [details]
env
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-05 19:34:09 UTC
You seem incapable of recognising the *real* build error as you omit that in your Description. So please:

1) attach the entire build log
2) refrain from CC'ing whom you think should be CC'd. There's an amount of QA that goes into bug report assignment that you obviously don't care about. Shortcutting that QA process burdens the proper assignees more than it helps resolve bugs sooner.
Comment 3 David Sveningsson 2008-10-05 21:12:33 UTC
Created attachment 167389 [details]
build log

There is no more, see attached build.log
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-07 03:31:02 UTC
Thanks.
Comment 5 Federico Ferri (RETIRED) gentoo-dev 2009-08-08 01:03:58 UTC
does -r4 fix?