Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96708 - net-dialup/isdn4k-utils-3.7_pre20050329 fails to build
Summary: net-dialup/isdn4k-utils-3.7_pre20050329 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Other
: High normal
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 88604 88605
  Show dependency tree
 
Reported: 2005-06-21 08:31 UTC by Simon Stelling (RETIRED)
Modified: 2005-07-01 15:48 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 Simon Stelling (RETIRED) gentoo-dev 2005-06-21 08:31:45 UTC
configure: creating ./config.status
config.status: creating Rules.make
config.status: creating src/config.h
config.status: creating scripts/eftp.sh
config.status: creating scripts/eftd.sh
config.status: creating examples/eft.conf
set -e; for i in `echo isdnlog/tools/cdb  lib isdnlog/tools/zone isdnlog/tools/dest isdnlog isdnctrl divertctrl iprofd icn pcbit hisax act2000 loop eicon imon imontty ipppstats xmonisdn xisdnload ipppd doc eurofile`; do make -C $i all; donemake[1]: Entering directory `/var/tmp/portage/isdn4k-utils-3.7_pre20050329/work/isdn4k-utils-CVS-2005-03-29/isdnlog/tools/cdb'
cc -E -MM -Wall -ggdb -pipe -Ogdb -pipe -O   *.c >.depend
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
cc1: error: invalid option argument `-Ogdb'
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/var/tmp/portage/isdn4k-utils-3.7_pre20050329/work/isdn4k-utils-CVS-2005-03-29/isdnlog/tools/cdb'
make: *** [subtargets] Error 2

!!! ERROR: net-dialup/isdn4k-utils-3.7_pre20050329 failed.
!!! Function src_compile, Line 108, Exitcode 2
!!! make failed

Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-ggdb -pipe -O"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-ggdb -pipe -O"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache cvs debug distlocks multilib-strict nostrip sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa berkdb bitmap-fonts crypt cups curl debug dvd esd fam flac font-server fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib immqt-bc ipv6 jp2 jpeg kde ldap libwww lzw lzw-tiff mad motif mozilla mp3 mpeg mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam perl png python qt readline ruby slang ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vorbis xml xml2 xmms xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2005-07-01 03:14:55 UTC
hmmm...  
  
CFLAGS="-ggdb -pipe -O"   
CXXFLAGS="-ggdb -pipe -O"  
  
it looks, that your CFLAGS are causing this problem.  
 
from the error message: 
-ggdb -pipe -Ogdb -pipe -O 
^^^^^^^^^^^^^^ <- this is yours 
 
I have to check, why it is constructed this odd way. 
 
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2005-07-01 03:24:01 UTC
hmpf! ;-)  
  
I think I found it. It's the SED for the CFLAGS in the ebuild.   
  
find . -name "Makefile*" -type f | \  
xargs -r sed -i -e "s:^CFLAGS\(.*\)-O[s123456]:CFLAGS\1${CFLAGS}:g" \  
                -e "s:^CFLAGS = -Wall$:CFLAGS = ${CFLAGS}:g" \  
                -e "s:^CFLAGS\(.*\)-g:CFLAGS\1${CFLAGS}:g" || die "sed failed"  
  
the 3rd line seems to replace -g twice. Once for the original content (which is  
correct), a second one in place of yout -ggdb. I try to fix this somehow.  
 
 
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2005-07-01 15:48:39 UTC
fixed in isdn4k-utils-3.7_pre20050626, please test. thanks!