Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105855 - gcc-config-1.3.12-r2 ebuild doesn't like spaces in make.conf
Summary: gcc-config-1.3.12-r2 ebuild doesn't like spaces in make.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 14:15 UTC by Attila Stehr
Modified: 2005-10-31 08:48 UTC (History)
0 users

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 Attila Stehr 2005-09-13 14:15:47 UTC
magic atti # emerge -vD gcc-config
Calculating dependencies  ...done!
>>> emerge (1 of 1) sys-devel/gcc-config-1.3.12-r2 to /
>>> md5 files   ;-) gcc-config-1.3.10-r1.ebuild
>>> md5 files   ;-) gcc-config-1.3.12.ebuild
>>> md5 files   ;-) gcc-config-1.3.11-r4.ebuild
>>> md5 files   ;-) gcc-config-1.3.11-r3.ebuild
>>> md5 files   ;-) gcc-config-1.3.12-r1.ebuild
>>> md5 files   ;-) gcc-config-1.3.12-r2.ebuild
>>> md5 files   ;-) files/digest-gcc-config-1.3.10-r1
>>> md5 files   ;-) files/digest-gcc-config-1.3.12
>>> md5 files   ;-) files/digest-gcc-config-1.3.11-r4
>>> md5 files   ;-) files/gcc-config-1.3.10
>>> md5 files   ;-) files/wrapper-1.4.7.c
>>> md5 files   ;-) files/wrapper-1.4.5.c
>>> md5 files   ;-) files/wrapper-1.4.6.c
>>> md5 files   ;-) files/gcc-config-1.3.12
>>> md5 files   ;-) files/gcc-config-1.3.11
>>> md5 files   ;-) files/digest-gcc-config-1.3.11-r3
>>> md5 files   ;-) files/digest-gcc-config-1.3.12-r1
>>> md5 files   ;-) files/digest-gcc-config-1.3.12-r2
>>> Unpacking source...
>>> Source unpacked.
>>> Test phase [enabled]: sys-devel/gcc-config-1.3.12-r2
>>> Test phase [none]: sys-devel/gcc-config-1.3.12-r2

>>> Install gcc-config-1.3.12-r2 into
/var/tmp/portage/gcc-config-1.3.12-r2/image/ category sys-devel
man:
prepallstrip:
strip: x86_64-pc-linux-gnu-strip --strip-unneeded
strip: x86_64-pc-linux-gnu-strip --strip-unneeded
   usr/lib/misc/gcc-config
>>> Completed installing gcc-config-1.3.12-r2 into
/var/tmp/portage/gcc-config-1.3.12-r2/image/

>>> Merging sys-devel/gcc-config-1.3.12-r2 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/gcc-config
--- /usr/lib/
--- /usr/lib/misc/
>>> /usr/lib/misc/gcc-config
//etc/make.conf: line 4: CHOST: command not found
//etc/make.conf: line 5: CFLAGS: command not found
//etc/make.conf: line 7: CXXFLAGS: command not found
//etc/make.conf: line 10: MAKEOPTS: command not found
//etc/make.conf: line 11: FEATURES: command not found
//etc/make.conf: line 41: USE: command not found
//etc/make.conf: line 4: CHOST: command not found
//etc/make.conf: line 5: CFLAGS: command not found
//etc/make.conf: line 7: CXXFLAGS: command not found
//etc/make.conf: line 10: MAKEOPTS: command not found
//etc/make.conf: line 11: FEATURES: command not found
//etc/make.conf: line 41: USE: command not found
 * Switching native-compiler to x86_64-pc-linux-gnu-3.4.4 ...                  
                                                             [ ok ]>>>
Regenerating /etc/ld.so.cache...


Exiting on signal 2

---/etc/make.conf-------------------------------------->

magic atti # cat /etc/make.conf.recent
# These settings were set by the catalyst build script that automatically built
this stage
# Please consult /etc/make.conf.example for a more detailed example

CHOST           ="x86_64-pc-linux-gnu"
CFLAGS          ="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
#CFLAGS         ="-march=athlon64 -O1 -pipe -fomit-frame-pointer -g -ggdb3"
CXXFLAGS        ="${CFLAGS}"
#LDFLAGS        ="-Wl,-O1"

MAKEOPTS        ="-j2"
FEATURES        ="candy severe sfperms test"
# FEATURES      ="candy severe sfperms"

PORT_LOGDIR=/var/log/portage

# we have: amd64
# graphics: dga gnome gtk gtk2 opengl svga X
# x-specific: dlloader xprint
# gnome specific: dbus hal howl
# mplayer specific: dvdread encode matroska sdl
# firefox: mozdevelop mozsvg -java -mozilla mozcalendar
# printing: cups, foomaticdb, gimpprint, ppds
# misc hardware: acpi cdr dvd dvdr usb
# compression support: bzlib lzo
# language support: nls unicode
# sound: aac alsa audiofile dts flac libsamplerate sndfile
# audio support: mikmod oggvorbis openal
# image support: gif jpeg jpeg2k mng png svg tga yv12 openexr ... exif
# video support: avi mjpeg mpeg quicktime real xvid xvmc ffmpeg theora
# more security: hardened memlimit pam ssl tcpd
# links2 specific: directfb fbcon javascript
# misc sw: crypt emacs on-the-fly-crypt pda pdflib tidy truetype videos lcms
sysfs tetex toolbar xmms xtermtoolbar
# performance: 3dnowext nvidia   mmap ithreads nptl threads
# quality: mad
# always test: test
# always update kernel: symlink
# nptlonly
# FS: fat, ntfs, reiserfs
# other: a52 dpms dmalloc fame firefox mpi

USE             ="amd64 3dnowext a52 aac acpi alsa audiofile avi bzlib cdr crypt
cups dbus dga directfb dlloader dmalloc dpms dts dvd dvdr dvdread emacs encode
exif fame fat fbcon ffmpeg firefox flac foomaticdb gif gimpprint gnome gtk gtk2
hal hardened howl ithreads javascript jpeg jpeg2k lcms libsamplerate lzo mad
matroska memlimit mikmod mjpeg mmap mng mozcalendar mozdevelop mozsvg mpeg mpi
nls nptl nptlonly ntfs nvidia oggvorbis on-the-fly-crypt openal openexr opengl
pam pda pdflib png ppds qt quicktime real reiserfs sdl sndfile ssl svg svga
symlink tcpd test tetex tga theora threads tidy toolbar truetype unicode usb
videos wmf X xmms xprint xtermtoolbar xvid xvmc yv12 -java -mozilla"

CONFIG_PROTECT_MASK=/etc/conf.d/gpm
CONFIG_PROTECT_MASK=/usr/X11R6/bin/startx

GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"


ALSA_CARDS="via82xx"

LANG="de_DE@euro"
LC_ALL="de_DE@euro"
GDM_LANG="de_DE@euro"
LINGUAS="de"

<-------------------------------------------------


Reproducible: Always
Steps to Reproduce:
emerge -vD gcc-config



Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox severe sfperms strict test"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 audiofile avi berkdb bitmap-fonts bzlib cdr crypt
cups curl dbus dga directfb dlloader dmalloc dpms dts dvd dvdr dvdread eds emacs
emboss encode esd exif fam fame fat fbcon ffmpeg firefox flac foomaticdb fortran
gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal hardened howl imagemagick
imlib ipv6 ithreads javascript jpeg jpeg2k kde lcms libsamplerate libwww lzo lzw
lzw-tiff mad matroska memlimit mikmod mjpeg mmap mng mozcalendar mozdevelop
mozsvg mp3 mpeg mpi ncurses nls nptl nptlonly ntfs nvidia ogg oggvorbis
on-the-fly-crypt openal openexr opengl pam pda pdflib perl png ppds python qt
quicktime readline real reiserfs sdl slang sndfile spell ssl svg symlink tcltk
tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts
type1-fonts unicode usb userlocales videos vorbis wmf xine xml2 xmms xpm xprint
xtermtoolbar xv xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-09-16 08:44:37 UTC
here's a thought, dont use spaces :p
Comment 2 Attila Stehr 2005-09-16 12:29:05 UTC
Please take a look on bug 105069 as well.

----------

S. van Boven:

You solved bug 105069. :) so I added you to the CC-list since I hope you are the
right contact in this case as well. I apologize if you are not!

----------

(In reply to comment #1)
> here's a thought, dont use spaces :p

Is that the bugs solution? >:-\


Regards
Comment 3 Attila Stehr 2005-09-16 13:23:32 UTC
note: 
Since Stephan is no gentoo dev and didn't write the gcc-config (-script ?) he
can't help here. Now I ask for an assignment from your side!

Regards
Comment 4 SpanKY gentoo-dev 2005-09-17 21:51:25 UTC
fixed in cvs
Comment 5 Attila Stehr 2005-09-18 11:23:10 UTC
Nice. Thank you!
Comment 6 SpanKY gentoo-dev 2005-10-31 07:36:02 UTC
*** Bug 111022 has been marked as a duplicate of this bug. ***
Comment 7 Attila Stehr 2005-10-31 08:18:28 UTC
I will reopen this bug until the fix is in the portage tree (stable version)!
Comment 8 SpanKY gentoo-dev 2005-10-31 08:27:08 UTC
it is in stable version (1.3.12-r2)
Comment 9 Attila Stehr 2005-10-31 08:37:41 UTC
>>> original instance of package unmerged safely.
 * Switching native-compiler to x86_64-pc-linux-gnu-3.4.4 ...                  
                                                             [ ok ]>>>
Regenerating /etc/ld.so.cache...
>>> sys-devel/gcc-config-1.3.12-r2 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

magic atti # date
Mo Okt 31 17:35:12 CET 2005
magic atti # gcc-config 5
/usr/bin/gcc-config: line 100: -n: command not found
 * /usr/bin/gcc-config: Could not get portage CHOST!
 * /usr/bin/gcc-config: You should verify that CHOST is set in one of these places:
 * /usr/bin/gcc-config:  - //etc/make.conf
 * /usr/bin/gcc-config:  - active environment
magic atti # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built
this stage
# Please consult /etc/make.conf.example for a more detailed example

CHOST           ="x86_64-pc-linux-gnu"
CFLAGS          ="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
#CFLAGS         ="-march=athlon64 -O1 -pipe -fomit-frame-pointer -g -ggdb3"
CXXFLAGS        ="${CFLAGS}"
#LDFLAGS        ="-Wl,-O1"

MAKEOPTS        ="-j2"
FEATURES        ="candy severe sfperms test"
# FEATURES      ="candy severe sfperms"
Comment 10 SpanKY gentoo-dev 2005-10-31 08:48:33 UTC
that is a different bug, not a bug in handling spaces in make.conf