Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12849 - ntp r2 ebuild fails
Summary: ntp r2 ebuild fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-28 13:20 UTC by Joel Hill (RETIRED)
Modified: 2003-02-04 19:42 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 Joel Hill (RETIRED) gentoo-dev 2002-12-28 13:20:57 UTC
source='ntp_config.c' object='ntp_config.o' libtool=no \
depfile='.deps/ntp_config.Po' tmpdepfile='.deps/ntp_config.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref 
  -march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe
-Wall -Wcast-qual -Wmissing-prototypes  -Wshadow -Wstrict-prototypes -pipe -c
`test -f ntp_config.c || echo './'`ntp_config.c
source='ntp_control.c' object='ntp_control.o' libtool=no \
depfile='.deps/ntp_control.Po' tmpdepfile='.deps/ntp_control.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref 
  -march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe
-Wall -Wcast-qual -Wmissing-prototypes  -Wshadow -Wstrict-prototypes -pipe -c
`test -f ntp_control.c || echo './'`ntp_control.c
ntp_config.c:130: `CONFIG_PHONE' undeclared here (not in a function)
ntp_config.c:130: initializer element is not constant
ntp_config.c:130: (near initialization for `keywords[21].keytype')
ntp_config.c:130: initializer element is not constant
ntp_config.c:130: (near initialization for `keywords[21]')
ntp_config.c:131: initializer element is not constant
ntp_config.c:131: (near initialization for `keywords[22]')
ntp_config.c:132: initializer element is not constant
ntp_config.c:132: (near initialization for `keywords[23]')
ntp_config.c:133: initializer element is not constant
ntp_config.c:133: (near initialization for `keywords[24]')
ntp_config.c:134: initializer element is not constant
ntp_config.c:134: (near initialization for `keywords[25]')
ntp_config.c:135: initializer element is not constant
ntp_config.c:135: (near initialization for `keywords[26]')
ntp_config.c:136: initializer element is not constant
ntp_config.c:136: (near initialization for `keywords[27]')
ntp_config.c:137: initializer element is not constant
ntp_config.c:137: (near initialization for `keywords[28]')
ntp_config.c:138: initializer element is not constant
ntp_config.c:138: (near initialization for `keywords[29]')
ntp_config.c:139: initializer element is not constant
ntp_config.c:139: (near initialization for `keywords[30]')
ntp_config.c:140: initializer element is not constant
ntp_config.c:140: (near initialization for `keywords[31]')
ntp_config.c:141: initializer element is not constant
ntp_config.c:141: (near initialization for `keywords[32]')
ntp_config.c:142: initializer element is not constant
ntp_config.c:142: (near initialization for `keywords[33]')
ntp_config.c:143: initializer element is not constant
ntp_config.c:143: (near initialization for `keywords[34]')
source='ntp_crypto.c' object='ntp_crypto.o' libtool=no \
depfile='.deps/ntp_crypto.Po' tmpdepfile='.deps/ntp_crypto.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref 
  -march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe
-Wall -Wcast-qual -Wmissing-prototypes  -Wshadow -Wstrict-prototypes -pipe -c
`test -f ntp_crypto.c || echo './'`ntp_crypto.c
source='ntp_filegen.c' object='ntp_filegen.o' libtool=no \
depfile='.deps/ntp_filegen.Po' tmpdepfile='.deps/ntp_filegen.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref 
  -march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe
-Wall -Wcast-qual -Wmissing-prototypes  -Wshadow -Wstrict-prototypes -pipe -c
`test -f ntp_filegen.c || echo './'`ntp_filegen.c
ntp_config.c: In function `getconfig':
ntp_config.c:1619: `CONFIG_PHONE' undeclared (first use in this function)
ntp_config.c:1619: (Each undeclared identifier is reported only once
ntp_config.c:1619: for each function it appears in.)
make[2]: *** [ntp_config.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/ntp-4.1.1b-r2/work/ntp-4.1.1b/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ntp-4.1.1b-r2/work/ntp-4.1.1b'
make: *** [all] Error 2

!!! ERROR: net-misc/ntp-4.1.1b-r2 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)


Thanks Martin I dont get whats going on there?
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-28 15:21:00 UTC
Maybe try to down a bit on the CFLAGS, or check that you do not have -j set
too high ... try MAKEOPTS=-j1:

 # MAKEOPTS="-j1" CFLAGS="-march=athlon -O2 -pipe" emerge ntp

Also include the info of:

 # emerge info

Thanks.
Comment 2 Joel Hill (RETIRED) gentoo-dev 2002-12-28 15:55:15 UTC
source='cmd_args.c' object='cmd_args.o' libtool=no \
depfile='.deps/cmd_args.Po' tmpdepfile='.deps/cmd_args.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref 
  -march=athlon -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes  -Wshadow
-Wstrict-prototypes -pipe -c `test -f cmd_args.c || echo './'`cmd_args.c
source='map_vme.c' object='map_vme.o' libtool=no \
depfile='.deps/map_vme.Po' tmpdepfile='.deps/map_vme.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref 
  -march=athlon -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes  -Wshadow
-Wstrict-prototypes -pipe -c `test -f map_vme.c || echo './'`map_vme.c
source='ntp_config.c' object='ntp_config.o' libtool=no \
depfile='.deps/ntp_config.Po' tmpdepfile='.deps/ntp_config.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref 
  -march=athlon -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes  -Wshadow
-Wstrict-prototypes -pipe -c `test -f ntp_config.c || echo './'`ntp_config.c
ntp_config.c:130: `CONFIG_PHONE' undeclared here (not in a function)
ntp_config.c:130: initializer element is not constant
ntp_config.c:130: (near initialization for `keywords[21].keytype')
ntp_config.c:130: initializer element is not constant
ntp_config.c:130: (near initialization for `keywords[21]')
ntp_config.c:131: initializer element is not constant
ntp_config.c:131: (near initialization for `keywords[22]')
ntp_config.c:132: initializer element is not constant
ntp_config.c:132: (near initialization for `keywords[23]')
ntp_config.c:133: initializer element is not constant
ntp_config.c:133: (near initialization for `keywords[24]')
ntp_config.c:134: initializer element is not constant
ntp_config.c:134: (near initialization for `keywords[25]')
ntp_config.c:135: initializer element is not constant
ntp_config.c:135: (near initialization for `keywords[26]')
ntp_config.c:136: initializer element is not constant
ntp_config.c:136: (near initialization for `keywords[27]')
ntp_config.c:137: initializer element is not constant
ntp_config.c:137: (near initialization for `keywords[28]')
ntp_config.c:138: initializer element is not constant
ntp_config.c:138: (near initialization for `keywords[29]')
ntp_config.c:139: initializer element is not constant
ntp_config.c:139: (near initialization for `keywords[30]')
ntp_config.c:140: initializer element is not constant
ntp_config.c:140: (near initialization for `keywords[31]')
ntp_config.c:141: initializer element is not constant
ntp_config.c:141: (near initialization for `keywords[32]')
ntp_config.c:142: initializer element is not constant
ntp_config.c:142: (near initialization for `keywords[33]')
ntp_config.c:143: initializer element is not constant
ntp_config.c:143: (near initialization for `keywords[34]')
ntp_config.c: In function `getconfig':
ntp_config.c:1619: `CONFIG_PHONE' undeclared (first use in this function)
ntp_config.c:1619: (Each undeclared identifier is reported only once
ntp_config.c:1619: for each function it appears in.)
make[2]: *** [ntp_config.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/ntp-4.1.1b-r2/work/ntp-4.1.1b/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ntp-4.1.1b-r2/work/ntp-4.1.1b'
make: *** [all] Error 2

!!! ERROR: net-misc/ntp-4.1.1b-r2 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)


bit the dust once again

Heres Emerge info

Portage 2.0.46-r4 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-lolo-r1_pre8 i686 AMD Duron(tm) processor
USE="x86 oss 3dnow apm avi crypt cups encode gif java jpeg libg++ libwww mikmod
mmx mpeg ncurses nls pdflib png qtmt spell truetype xml2 xmms xv zlib gdbm
berkdb slang readline svga tcltk guile sdl tcpd pam ssl perl python esd imlib
oggvorbis motif opengl X gtk2 gtk gtkhtml quicktime -gpm -qt -arts -gnome -kde
-alsa"
ARCH="x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe"
CXXFLAGS="-march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer
-pipe -Wno-deprecated"
ACCEPT_KEYWORDS="x86 ~x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j3"
JDK_HOME="/opt/blackdown-jdk-1.4.1_beta"
JAVA_HOME="/opt/blackdown-jdk-1.4.1_beta"
AUTOCLEAN="yes"
SYNC="rsync://rsync5.us.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"


Thanks Martin
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-28 17:55:51 UTC
Dunno, CONFIG_PHONE is defined in ${S}/include/ntp_config.h, and that seems
to be included fine.  I cannot see a weird #ifdef or such which could cause
it to fail ...  Maybe just for the fun try to add '-I/usr/include' to your
CFLAGS ?
Comment 4 Joel Hill (RETIRED) gentoo-dev 2002-12-29 13:05:31 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref 
  -march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe
-I/usr/include -Wall -Wcast-qual -Wmissing-prototypes  -Wshadow
-Wstrict-prototypes -pipe -c `test -f ntp_control.c || echo './'`ntp_control.c
ntp_config.c:130: `CONFIG_PHONE' undeclared here (not in a function)
ntp_config.c:130: initializer element is not constant
ntp_config.c:130: (near initialization for `keywords[21].keytype')
ntp_config.c:130: initializer element is not constant
ntp_config.c:130: (near initialization for `keywords[21]')
ntp_config.c:131: initializer element is not constant
ntp_config.c:131: (near initialization for `keywords[22]')
ntp_config.c:132: initializer element is not constant
ntp_config.c:132: (near initialization for `keywords[23]')
ntp_config.c:133: initializer element is not constant
ntp_config.c:133: (near initialization for `keywords[24]')
ntp_config.c:134: initializer element is not constant
ntp_config.c:134: (near initialization for `keywords[25]')
ntp_config.c:135: initializer element is not constant
ntp_config.c:135: (near initialization for `keywords[26]')
ntp_config.c:136: initializer element is not constant
ntp_config.c:136: (near initialization for `keywords[27]')
ntp_config.c:137: initializer element is not constant
ntp_config.c:137: (near initialization for `keywords[28]')
ntp_config.c:138: initializer element is not constant
ntp_config.c:138: (near initialization for `keywords[29]')
ntp_config.c:139: initializer element is not constant
ntp_config.c:139: (near initialization for `keywords[30]')
ntp_config.c:140: initializer element is not constant
ntp_config.c:140: (near initialization for `keywords[31]')
ntp_config.c:141: initializer element is not constant
ntp_config.c:141: (near initialization for `keywords[32]')
ntp_config.c:142: initializer element is not constant
ntp_config.c:142: (near initialization for `keywords[33]')
ntp_config.c:143: initializer element is not constant
ntp_config.c:143: (near initialization for `keywords[34]')
source='ntp_crypto.c' object='ntp_crypto.o' libtool=no \
depfile='.deps/ntp_crypto.Po' tmpdepfile='.deps/ntp_crypto.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref 
  -march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe
-I/usr/include -Wall -Wcast-qual -Wmissing-prototypes  -Wshadow
-Wstrict-prototypes -pipe -c `test -f ntp_crypto.c || echo './'`ntp_crypto.c
source='ntp_filegen.c' object='ntp_filegen.o' libtool=no \
depfile='.deps/ntp_filegen.Po' tmpdepfile='.deps/ntp_filegen.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref 
  -march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe
-I/usr/include -Wall -Wcast-qual -Wmissing-prototypes  -Wshadow
-Wstrict-prototypes -pipe -c `test -f ntp_filegen.c || echo './'`ntp_filegen.c
ntp_config.c: In function `getconfig':
ntp_config.c:1619: `CONFIG_PHONE' undeclared (first use in this function)
ntp_config.c:1619: (Each undeclared identifier is reported only once
ntp_config.c:1619: for each function it appears in.)
make[2]: *** [ntp_config.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/ntp-4.1.1b-r2/work/ntp-4.1.1b/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ntp-4.1.1b-r2/work/ntp-4.1.1b'
make: *** [all] Error 2

!!! ERROR: net-misc/ntp-4.1.1b-r2 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)


I give up thanks anyways Martin ill ave to talk to Brandon
Comment 5 Joel Hill (RETIRED) gentoo-dev 2002-12-31 14:52:49 UTC
portage rolled back to r1
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-31 15:18:05 UTC
Portage issue ?  Sorry, been offline for day or two, and evo is borked again :/