Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137998 - app-portage/genflags - syntax error in host2flags
Summary: app-portage/genflags - syntax error in host2flags
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal minor (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-25 19:36 UTC by Jared Greenwald
Modified: 2009-04-17 04:11 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 Jared Greenwald 2006-06-25 19:36:55 UTC
# emerge --info
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -fforce-addr -maccumulate-outgoing-args -falign-functions=16 -falign-jumps=16 -falign-loops=16 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ffast-math -fprefetch-loop-arrays -pipe -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acpi akode alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cddb cdr cli cpudetection crypt css cups dri dvd dvdr dvdread emboss encode font-server fontconfig foomaticdb fortran gdbm gecko-sdk gif gimpprint glitz gnutls gpm gstreamer gtk gtk2 gtkhtml hal imlib ipv6 isdnlog java jpeg kde kdeenablefinal kdexdeltas ldap libg++ libwww logitech-mouse mad mikmod mmx mmxext motif mozilla moznoxft mp3 mpeg ncurses nptl nptlonly nsplugin numeric nvidia ogg oggvorbis opengl oss pam pcre pda pdf pdflib perl php png ppds pppd python qt quicktime rdesktop readline real reflection ruby samba sdl sensord session slp smooth spell spl sql sse ssl subversion svg symlink tcpd threads tidy tiff truetype truetype-fonts type1-fonts vcd visualization vorbis win32codecs wmf xine xinerama xml xml2 xorg xscreensaver xv zeroconf zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
===============================================================================
# host2flags -m x86 -s athon-xp
/usr/sbin/host2flags: line 119: =: command not found
CHOST=""
CFLAGS="-march= -O3 -pipe"
CXXFLAGS="-march= -O3 -pipe"

This script in general seems more complicated than it needs to be, imho.  I tried taking a quick look at the source to see where it was failing, but it wasn't immediately obvious.
Comment 1 solar (RETIRED) gentoo-dev 2006-06-25 19:48:20 UTC
Whay provides /usr/sbin/host2flags ?
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2006-06-25 22:56:35 UTC
nothing tools-portage maintains.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-26 02:39:37 UTC
No idea what's this about. When filing bugs, always post ebuild name and version in summary.
Comment 4 Jared Greenwald 2007-01-06 11:28:11 UTC
Should be app-portage/genflags - apologies.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-01-06 11:34:24 UTC
Hmmm... :))
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-17 04:11:09 UTC
Mask message said:

# Robin H. Johnson <robbat2@gentoo.org> (20 Oct 2008)
# Masked for removal in 30 days (see bugs #120220, #137998, #170782)
# genflags should never have been born.  Output needs to be specific per GCC
# version, and that's a big change.
app-portage/genflags

so treecleaners removed it.