Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20054 - capi4k-utils-20021026: emerge error
Summary: capi4k-utils-20021026: emerge error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
: 20159 22825 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-27 12:20 UTC by Torsten Veller (RETIRED)
Modified: 2003-08-28 15:38 UTC (History)
4 users (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 Torsten Veller (RETIRED) gentoo-dev 2003-04-27 12:20:51 UTC
I don't know what's going on, but this is what i am seeing:

>>> emerge (1 of 1) net-dialup/capi4k-utils-20021026 to /
>>> md5 ;-) capi4k-utils-2002-10-26.tar.gz
>>> Unpacking source...
>>> Unpacking capi4k-utils-2002-10-26.tar.gz to
/var/tmp/portage/capi4k-utils-20021026/work
>>> Source unpacked.
perl scripts/mk_autoconf.pl
Selected subdirs: capi20 capiinfo avmb1 capiinit rcapid capifax pppdcapiplugin

Running configure in capi20 ...

creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp ) works... yes
checking whether the C compiler (gcc -march=athlon-xp ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for object suffix... (cached) o
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for unistd.h... yes
checking for linux/capi.h... yes
checking for select... yes
updating cache ./config.cache
creating ./config.status
creating Makefile

Running configure in capiinfo ...

configure: error: expected an absolute directory name for --datadir:
make[1]: Entering directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils'

WARNING! Configure in capiinfo failed, disabling package

cp: Aufruf von stat f
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2003-04-27 12:20:51 UTC
I don't know what's going on, but this is what i am seeing:

>>> emerge (1 of 1) net-dialup/capi4k-utils-20021026 to /
>>> md5 ;-) capi4k-utils-2002-10-26.tar.gz
>>> Unpacking source...
>>> Unpacking capi4k-utils-2002-10-26.tar.gz to
/var/tmp/portage/capi4k-utils-20021026/work
>>> Source unpacked.
perl scripts/mk_autoconf.pl
Selected subdirs: capi20 capiinfo avmb1 capiinit rcapid capifax pppdcapiplugin

Running configure in capi20 ...

creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp ) works... yes
checking whether the C compiler (gcc -march=athlon-xp ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for object suffix... (cached) o
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for unistd.h... yes
checking for linux/capi.h... yes
checking for select... yes
updating cache ./config.cache
creating ./config.status
creating Makefile

Running configure in capiinfo ...

configure: error: expected an absolute directory name for --datadir:
make[1]: Entering directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils'

WARNING! Configure in capiinfo failed, disabling package

cp: Aufruf von stat für »etc/Makefile.disabled« nicht möglich: Datei oder
Verzeichnis nicht gefunden
make[1]: *** [cfgerror] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils'

Running configure in avmb1 ...
configure: error: expected an absolute directory name for --datadir:
make[1]: Entering directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils'

WARNING! Configure in avmb1 failed, disabling package

cp: Aufruf von stat für »etc/Makefile.disabled« nicht möglich: Datei oder
Verzeichnis nicht gefunden
make[1]: *** [cfgerror] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils'

Running configure in capiinit ...

creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a BSD compatible install... /bin/install -c
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp ) works... yes
checking whether the C compiler (gcc -march=athlon-xp ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for linux/capi.h... yes
checking for capi20.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged

Running configure in rcapid ...

configure: error: expected an absolute directory name for --datadir:
make[1]: Entering directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils'

WARNING! Configure in rcapid failed, disabling package

cp: Aufruf von stat für »etc/Makefile.disabled« nicht möglich: Datei oder
Verzeichnis nicht gefunden
make[1]: *** [cfgerror] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils'

Running configure in capifax ...

creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a BSD compatible install... /bin/install -c
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp ) works... yes
checking whether the C compiler (gcc -march=athlon-xp ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/ioctl.h... yes
checking for unistd.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h

Running make config in pppdcapiplugin ...

make[1]: Entering directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils/pppdcapiplugin'
nothing to configure
make[1]: Leaving directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils/pppdcapiplugin'
set -e; for i in `echo  capi20 capiinfo avmb1 capiinit rcapid capifax
pppdcapiplugin`; do make -C $i all; done
make[1]: Entering directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils/capi20'
gcc -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\" -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1  -I. -I.      -march=athlon-xp -c capidyn.c
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\"
-DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_UNISTD_H=1 -DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1  -I. -I.     
-march=athlon-xp -c capi20.c
capidyn.c:401:19: warning: extra tokens at end of #undef directive
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\"
-DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_UNISTD_H=1 -DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1  -I. -I.     
-march=athlon-xp -c capifunc.c
mkdir .libs
gcc -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\" -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1 -I. -I. -march=athlon-xp -c capi20.c 
-fPIC -DPIC -o .libs/capi20.lo
rm -f .libs/capifunc.lo
gcc -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\" -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1 -I. -I. -march=athlon-xp -c capifunc.c 
-fPIC -DPIC -o .libs/capifunc.lo
gcc -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\" -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1 -I. -I. -march=athlon-xp -c capifunc.c -o
capifunc.o >/dev/null 2>&1
gcc -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\" -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1 -I. -I. -march=athlon-xp -c capi20.c -o
capi20.o >/dev/null 2>&1
mv -f .libs/capifunc.lo capifunc.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\"
-DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_UNISTD_H=1 -DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1  -I. -I.     
-march=athlon-xp -c convert.c
mv -f .libs/capi20.lo capi20.lo
rm -f libcapi20dyn.a
ar cru libcapi20dyn.a capidyn.o
ranlib libcapi20dyn.a
rm -f .libs/convert.lo
gcc -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\" -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1 -I. -I. -march=athlon-xp -c convert.c 
-fPIC -DPIC -o .libs/convert.lo
gcc -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\" -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1 -I. -I. -march=athlon-xp -c convert.c -o
convert.o >/dev/null 2>&1
mv -f .libs/convert.lo convert.lo
/bin/sh ./libtool --mode=link gcc  -march=athlon-xp  -o libcapi20.la -rpath
/usr/lib -version-info 2:6:0 capi20.lo capifunc.lo convert.lo
rm -fr .libs/libcapi20.la .libs/libcapi20.* .libs/libcapi20.*
gcc -shared  capi20.lo capifunc.lo convert.lo   -Wl,-soname -Wl,libcapi20.so.2
-o .libs/libcapi20.so.2.0.6
(cd .libs && rm -f libcapi20.so.2 && ln -s libcapi20.so.2.0.6 libcapi20.so.2)
(cd .libs && rm -f libcapi20.so && ln -s libcapi20.so.2.0.6 libcapi20.so)
ar cru .libs/libcapi20.a  capi20.o capifunc.o convert.o
ranlib .libs/libcapi20.a
creating libcapi20.la
(cd .libs && rm -f libcapi20.la && ln -s ../libcapi20.la libcapi20.la)
make[1]: Leaving directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils/capi20'
make[1]: Entering directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils/capiinfo'
make[1]: *** Keine Regel, um »all« zu erstellen.  Schluss.
make[1]: Leaving directory
`/var/tmp/portage/capi4k-utils-20021026/work/capi4k-utils/capiinfo'
make: *** [subtargets] Fehler 2

!!! ERROR: net-dialup/capi4k-utils-20021026 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)

bash-2.05b# emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gaming-r2 i686 AMD Duron(tm) processor
GENTOO_MIRRORS="http://gentoo.linux.no/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/:/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline arts tetex aalib svga tcltk mysql X sdl gpm tcpd pam ssl
perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap cdr
scanner acpi dga dvd imap innodb lirc maildir mule oav sasl sse tiff usb wmf
xface xml -java -libwww -gnome"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp"
CXXFLAGS="-march=athlon-xp"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox buildpkg ccache"


Reproducible: Always
Steps to Reproduce:
1. 
2.
3.
Comment 2 sf 2003-04-28 05:48:47 UTC
Same error here.

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.9 i686 AMD-K7(tm) Processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 avi encode gnome libg++ mikmod mpeg quicktime xmms gtkhtml gdbm berkdb slang arts bonobo guile sdl perl python esd imlib oggvorbis qt motif opengl -3dfx -3dnow aalib -acl acpi -afs alsa apache2 apm cdr crypt cups dga directfb doc -ev6 fbcon gif ggi gphoto gpm gtk gtk2 -icc -icc-pgo imap +innodb ipv6 java jikes jpeg kde kerberos lcms ldap libwww -matrox -maildir -mbox mmx mozilla mozsvg mysql ncurses nls odbc oss pam -pcmcia pdflib pic pci png postgres readline samba sasl scanner sgml slp snmp socks5 spell -sse ssl -static -svga tcpd tetex tiff truetype -voodoo3 wmf X xml xml2 xv zlib"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -fomit-frame-pointer -finline-limit=100 -pipe"
CXXFLAGS="-march=i586 -O3 -fomit-frame-pointer -finline-limit=100 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox buildpkg ccache userpriv usersandbox"
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-04-29 10:44:11 UTC
*** Bug 20159 has been marked as a duplicate of this bug. ***
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-04-29 16:15:54 UTC
added to package.mask
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-06-14 15:48:09 UTC
*** Bug 22825 has been marked as a duplicate of this bug. ***
Comment 6 Brandy Westcott (RETIRED) gentoo-dev 2003-08-28 03:33:18 UTC
There are a number of errors in this version: 
 
1. the capiinfo configure script demands that all paths are absolute. 
	However the CONFIG_DATADIR directory is not set in .config 
2. rcapid contains references to a now-unused acinclude.m4 
3. autotools timestamp skews exist in capiinfo/ and rcapid/ 
 
Fortunately they all can be fixed with the inclusion of the following lines in the 
capi4k-utils-20021026 ebuild. 
 
	cd ${S} 
	echo "CONFIG_DATADIR='/usr/share'" >> .config 
	sed -i -e "s:acinclude.m4::" rcapid/Makefile.in 
	touch capiinfo/configure capiinfo/aclocal.m4 capiinfo/Makefile.in 
	touch rcapid/configure rcapid/aclocal.m4 
 
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-08-28 03:57:37 UTC
feel free to fix this
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-08-28 15:38:00 UTC
in cvs

thx