Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34934 - app-cdr/cdbakeoven-2.0_beta2 does not compile
Summary: app-cdr/cdbakeoven-2.0_beta2 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Lars Weiler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-02 15:42 UTC by Greisberger Christophe
Modified: 2004-09-03 12:01 UTC (History)
3 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 Greisberger Christophe 2003-12-02 15:42:56 UTC
When I try to emerge app-cdr/cdbakeoven, it  
1. gives me warnings about misc missing Makefile.in during the configuration 
2. gives me warnings about the parameters of the "head" command 
3. fails with an unknwn m4 macro 

Reproducible: Always
Steps to Reproduce:
1. emerge cdr/cdbakeoven 
2. 
3. 
Actual Results:  
root # emerge app-cdr/cdbakeoven 
Calculating dependencies ...done! 
>>> emerge (1 of 1) app-cdr/cdbakeoven-2.0_beta2 to / 
>>> md5 src_uri ;-) cdbakeoven-2.0beta2.tar.bz2 
>>> Unpacking source... 
>>> Unpacking cdbakeoven-2.0beta2.tar.bz2 
to /var/tmp/portage/cdbakeoven-2.0_beta2/work 
>>> Source unpacked. 
configure: WARNING: If you wanted to set the --build type, don't use --host. 
    If a cross compiler is detected then cross compile mode will be used. 
checking build system type... i686-pc-linux-gnu 
checking host system type... i686-pc-linux-gnu 
checking target system type... i686-pc-linux-gnu 
checking for a BSD-compatible install... /bin/install -c 
checking for -p flag to install... yes 
checking whether build environment is sane... yes 
checking for gawk... gawk 
checking whether make sets ${MAKE}... yes 
checking for i686-pc-linux-gnu-strip... no 
checking for strip... strip 
checking for style of include used by make... GNU 
checking for i686-pc-linux-gnu-gcc... gcc 
checking for C compiler default output... a.out 
checking whether the C compiler works... yes 
checking whether we are cross compiling... no 
checking for suffix of executables... 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking dependency style of gcc... none 
checking how to run the C preprocessor... gcc -E 
checking for i686-pc-linux-gnu-g++... g++ 
checking whether we are using the GNU C++ compiler... yes 
checking whether g++ accepts -g... yes 
checking dependency style of g++... none 
checking whether g++ supports -Wmissing-format-attribute... yes 
checking whether g++ supports -Wundef... yes 
checking whether g++ supports -Wno-long-long... yes 
checking whether g++ supports -Wnon-virtual-dtor... yes 
checking whether g++ supports -fno-exceptions... yes 
checking whether g++ supports -fno-check-new... yes 
checking whether g++ supports -fno-common... yes 
checking whether g++ supports -fexceptions... yes 
checking how to run the C++ preprocessor... g++ -E 
not using lib directory suffix 
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... nm 
checking for a sed that does not truncate output... 
checking whether ln -s works... yes 
checking how to recognise dependant libraries... pass_all 
checking for ANSI C header files... yes 
checking for sys/types.h... yes 
checking for sys/stat.h... yes 
checking for stdlib.h... yes 
checking for string.h... yes 
checking for memory.h... yes 
checking for strings.h... yes 
checking for inttypes.h... yes 
checking for stdint.h... yes 
checking for unistd.h... yes 
checking dlfcn.h usability... yes 
checking dlfcn.h presence... yes 
checking for dlfcn.h... yes 
checking the maximum length of command line arguments... 32768 
checking command to parse nm output from gcc object... ok 
checking for objdir... .libs 
checking for i686-pc-linux-gnu-ranlib... no 
checking for ranlib... ranlib 
checking for i686-pc-linux-gnu-strip... strip 
checking if gcc static flag  works... no 
checking if gcc supports -fno-rtti -fno-exceptions... no 
checking for gcc option to produce PIC... -fPIC 
checking if gcc PIC flag -fPIC works... yes 
checking if gcc supports -c -o file.o... yes 
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared 
libraries... yes 
checking whether -lc should be explicitly linked in... no 
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... no 
configure: creating libtool 
appending configuration tag "CXX" to libtool 
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared 
libraries... yes 
checking for g++ option to produce PIC... -fPIC 
checking if g++ PIC flag -fPIC works... yes 
checking if g++ supports -c -o file.o... yes 
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared 
libraries... yes 
checking whether -lc should be explicitly linked in... 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 
appending configuration tag "GCJ" to libtool 
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no 
checking for gcj option to produce PIC... -fPIC 
checking if gcj PIC flag -fPIC works... no 
checking if gcj supports -c -o file.o... no 
checking whether the gcj linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared 
libraries... yes 
checking whether -lc should be explicitly linked in... 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 whether g++ supports -Wl,--no-undefined... yes 
checking for msgfmt... /usr/bin/msgfmt 
checking for gmsgfmt... /usr/bin/msgfmt 
checking for xgettext... /usr/bin/xgettext 
checking for strlcat... no 
checking if strlcat needs custom prototype... yes - in libkdefakes 
checking for strlcpy... no 
checking if strlcpy needs custom prototype... yes - in libkdefakes 
checking for main in -lutil... yes 
checking for main in -lcompat... no 
checking for crypt in -lcrypt... yes 
checking for socklen_t... socklen_t 
checking for dnet_ntoa in -ldnet... no 
checking for dnet_ntoa in -ldnet_stub... no 
checking for inet_ntoa... yes 
checking for connect... yes 
checking for remove... yes 
checking for shmat... yes 
checking crt_externs.h usability... no 
checking crt_externs.h presence... no 
checking for crt_externs.h... no 
checking for _NSGetEnviron... no 
checking for sys/types.h... (cached) yes 
checking for stdint.h... (cached) yes 
checking for poll in -lpoll... no 
checking CoreAudio/CoreAudio.h usability... no 
checking CoreAudio/CoreAudio.h presence... no 
checking for CoreAudio/CoreAudio.h... no 
checking if res_init needs -lresolv... yes 
checking if res_init is available... yes 
checking for killpg in -lucb... no 
checking for int... yes 
checking size of int... 4 
checking for long... yes 
checking size of long... 4 
checking for char *... yes 
checking size of char *... 4 
checking for dlopen in -ldl... yes 
checking for shl_unload in -ldld... no 
checking for size_t... yes 
checking size of size_t... 4 
checking for unsigned long... yes 
checking size of unsigned long... 4 
checking sizeof size_t == sizeof unsigned long... yes 
checking for vsnprintf... yes 
checking for snprintf... yes 
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include 
checking for IceConnectionNumber in -lICE... yes 
checking for libXext... yes 
checking for pthread_create in -lpthread... yes 
checking for extra includes... no 
checking for extra libs... no 
checking for libz... -lz 
checking for libpng... -lpng -lz -lm 
checking for libjpeg6b... no 
checking for libjpeg... -ljpeg 
checking for Qt... libraries /usr/qt/3/lib, headers /usr/qt/3/include using -mt 
checking if Qt compiles without flags... no 
checking for moc... /usr/qt/3/bin/moc 
checking for uic... /usr/qt/3/bin/uic 
checking whether uic supports -L ... yes 
checking whether uic supports -nounload ... yes 
checking if Qt needs -ljpeg... no 
checking for rpath... yes 
checking for KDE... libraries /usr/kde/3.1/lib, headers /usr/kde/3.1/include 
checking if UIC has KDE plugins available... yes 
checking for KDE paths... defaults 
checking for dcopidl... /usr/kde/3.1/bin/dcopidl 
checking for dcopidl2cpp... /usr/kde/3.1/bin/dcopidl2cpp 
checking for mcopidl... /usr/kde/3.1/bin/mcopidl 
checking for artsc-config... /usr/kde/3.1/bin/artsc-config 
checking for kde-config... /usr/kde/3.1/bin/kde-config 
checking for meinproc... /usr/kde/3.1/bin/meinproc 
checking for setenv... yes 
checking if setenv needs custom prototype... no 
checking for unsetenv... yes 
checking if unsetenv needs custom prototype... no 
checking if cdbakeoven should be compiled... yes 
configure: creating ./config.status 
fast creating Makefile 
fast creating cdbakeoven/Makefile 
fast creating cdbakeoven/cdboactions/Makefile 
fast creating cdbakeoven/cdbodialogs/Makefile 
fast creating cdbakeoven/cdbosettings/Makefile 
fast creating cdbakeoven/cdbosetuptool/Makefile 
fast creating cdbakeoven/cdboshared/Makefile 
fast creating cdbakeoven/cdboshell/Makefile 
fast creating cdbakeoven/cdboviews/Makefile 
fast creating cdbakeoven/cdboviews/cdboplugins/Makefile 
fast creating cdbakeoven/cdboviews/cdboviewparts/Makefile 
fast creating cdbakeoven/cdboviews/kdedmodule/Makefile 
fast creating cdbakeoven/cdboviews/kioslave/Makefile 
fast creating cdbakeoven/cdboviews/mimetypes/Makefile 
fast creating cdbakeoven/cdbowidgets/Makefile 
fast creating cdbakeoven/icons/Makefile 
fast creating cdbakeoven/toolbar/Makefile 
fast creating po/Makefile 
can't open ./po/Makefile.in: No such file or directory 
fast creating po/af/Makefile 
can't open ./po/af/Makefile.in: No such file or directory 
fast creating po/da/Makefile 
can't open ./po/da/Makefile.in: No such file or directory 
fast creating po/de/Makefile 
can't open ./po/de/Makefile.in: No such file or directory 
fast creating po/en_GB/Makefile 
can't open ./po/en_GB/Makefile.in: No such file or directory 
fast creating po/es/Makefile 
can't open ./po/es/Makefile.in: No such file or directory 
fast creating po/et/Makefile 
can't open ./po/et/Makefile.in: No such file or directory 
fast creating po/fo/Makefile 
can't open ./po/fo/Makefile.in: No such file or directory 
fast creating po/fr/Makefile 
can't open ./po/fr/Makefile.in: No such file or directory 
fast creating po/hu/Makefile 
can't open ./po/hu/Makefile.in: No such file or directory 
fast creating po/it/Makefile 
can't open ./po/it/Makefile.in: No such file or directory 
fast creating po/ja/Makefile 
can't open ./po/ja/Makefile.in: No such file or directory 
fast creating po/nb/Makefile 
can't open ./po/nb/Makefile.in: No such file or directory 
fast creating po/nso/Makefile 
can't open ./po/nso/Makefile.in: No such file or directory 
fast creating po/pl/Makefile 
can't open ./po/pl/Makefile.in: No such file or directory 
fast creating po/pt/Makefile 
can't open ./po/pt/Makefile.in: No such file or directory 
fast creating po/pt_BR/Makefile 
can't open ./po/pt_BR/Makefile.in: No such file or directory 
fast creating po/sv/Makefile 
can't open ./po/sv/Makefile.in: No such file or directory 
fast creating po/tr/Makefile 
can't open ./po/tr/Makefile.in: No such file or directory 
fast creating po/ven/Makefile 
can't open ./po/ven/Makefile.in: No such file or directory 
fast creating po/xh/Makefile 
can't open ./po/xh/Makefile.in: No such file or directory 
fast creating po/xx/Makefile 
can't open ./po/xx/Makefile.in: No such file or directory 
fast creating po/zh_CN/Makefile 
can't open ./po/zh_CN/Makefile.in: No such file or directory 
fast creating po/zu/Makefile 
can't open ./po/zu/Makefile.in: No such file or directory 
config.status: creating config.h 
config.status: executing depfiles commands 
 
Good - your configure finished. Start make now 
 
cd . && make -f admin/Makefile.common configure.in 
make[1]: Entering directory 
`/var/tmp/portage/cdbakeoven-2.0_beta2/work/cdbakeoven-2.0beta2' 
head: `-2' option is obsolete; use `-n 2' 
Try `head --help' for more information. 
head: `-2' option is obsolete; use `-n 2' 
Try `head --help' for more information. 
head: `-2' option is obsolete; use `-n 2' 
Try `head --help' for more information. 
make[1]: Leaving directory 
`/var/tmp/portage/cdbakeoven-2.0_beta2/work/cdbakeoven-2.0beta2' 
cd . 
&& /bin/sh /var/tmp/portage/cdbakeoven-2.0_beta2/work/cdbakeoven-2.0beta2/admin/missing 
--run aclocal-1.6 
cd . && \ 
  /bin/sh /var/tmp/portage/cdbakeoven-2.0_beta2/work/cdbakeoven-2.0beta2/admin/missing 
--run automake-1.6 --foreign  Makefile 
cd . 
&& /bin/sh /var/tmp/portage/cdbakeoven-2.0_beta2/work/cdbakeoven-2.0beta2/admin/missing 
--run autoconf 
configure.in:3: error: m4_defn: undefined macro: _m4_divert_diversion 
aclocal.m4:2082: AC_CHECK_SETENV is expanded from... 
configure.in:3: the top level 
autom4te-2.58: /usr/bin/m4 failed with exit status: 1 
make: *** [configure] Error 1 
make: *** Waiting for unfinished jobs.... 
configure.in: required file `./install-sh' not found 
configure.in: required file `./mkinstalldirs' not found 
configure.in: required file `./missing' not found 
aclocal.m4:2998: required file `./config.guess' not found 
aclocal.m4:2998: required file `./config.sub' not found 
aclocal.m4:5419: required file `./ltmain.sh' not found 
make: *** [Makefile.in] Error 1 
 
!!! ERROR: app-cdr/cdbakeoven-2.0_beta2 failed. 
!!! Function kde_src_compile, Line 137, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 
 

Expected Results:  
Success. 

root # emerge info 
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22) 
================================================================= 
System uname: 2.4.22 i686 AMD Athlon(tm) 
Gentoo Base System version 1.4.3.12 
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops 
-frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /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/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer 
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib acl alsa apm arts avi berkdb bonobo canna cdr cjk crypt cups curl dga 
directfb doc dvb dvd encode fbcon foomaticdb freewnn gdbm ggi gif gphoto2 
gstreamer gtk guile imap imlib jack java joystick jpeg kde libg++ lirc mad maildir mbox 
mmx motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pdflib perl png 
prelude python qt quicktime readline samba scanner sdl slang slp spell sse ssl svga 
tcltk tcpd tetex tiff truetype unicode usb vim-with-x wmf x86 xinerama xml xml2 xmms 
xv zlib" 
 
Installed version of automake: 1.7.8 (it that wrong?)
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-12-02 15:57:57 UTC

*** This bug has been marked as a duplicate of 34922 ***
Comment 2 Sven Blumenstein (RETIRED) gentoo-dev 2004-02-25 08:01:42 UTC
This duplicate is wrong!

Bug 34922 is a totally different issue and the bug described in this report still appears. 

Configure output on sparc64:

[...]
fast creating Makefile
fast creating cdbakeoven/Makefile
fast creating cdbakeoven/cdboactions/Makefile
fast creating cdbakeoven/cdbodialogs/Makefile
fast creating cdbakeoven/cdbosettings/Makefile
fast creating cdbakeoven/cdbosetuptool/Makefile
fast creating cdbakeoven/cdboshared/Makefile
fast creating cdbakeoven/cdboshell/Makefile
fast creating cdbakeoven/cdboviews/Makefile
fast creating cdbakeoven/cdboviews/cdboplugins/Makefile
fast creating cdbakeoven/cdboviews/cdboviewparts/Makefile
fast creating cdbakeoven/cdboviews/kdedmodule/Makefile
fast creating cdbakeoven/cdboviews/kioslave/Makefile
fast creating cdbakeoven/cdboviews/mimetypes/Makefile
fast creating cdbakeoven/cdbowidgets/Makefile
fast creating cdbakeoven/icons/Makefile
fast creating cdbakeoven/toolbar/Makefile
fast creating po/Makefile
can't open ./po/Makefile.in: No such file or directory
fast creating po/af/Makefile
can't open ./po/af/Makefile.in: No such file or directory
fast creating po/da/Makefile
can't open ./po/da/Makefile.in: No such file or directory
fast creating po/de/Makefile
can't open ./po/de/Makefile.in: No such file or directory
fast creating po/en_GB/Makefile
can't open ./po/en_GB/Makefile.in: No such file or directory
fast creating po/es/Makefile
can't open ./po/es/Makefile.in: No such file or directory
fast creating po/et/Makefile
can't open ./po/et/Makefile.in: No such file or directory
fast creating po/fo/Makefile
can't open ./po/fo/Makefile.in: No such file or directory
fast creating po/fr/Makefile
can't open ./po/fr/Makefile.in: No such file or directory
fast creating po/hu/Makefile
can't open ./po/hu/Makefile.in: No such file or directory
fast creating po/it/Makefile
can't open ./po/it/Makefile.in: No such file or directory
fast creating po/ja/Makefile
can't open ./po/ja/Makefile.in: No such file or directory
fast creating po/nb/Makefile
can't open ./po/nb/Makefile.in: No such file or directory
fast creating po/nso/Makefile
can't open ./po/nso/Makefile.in: No such file or directory
fast creating po/pl/Makefile
can't open ./po/pl/Makefile.in: No such file or directory
fast creating po/pt/Makefile
can't open ./po/pt/Makefile.in: No such file or directory
fast creating po/pt_BR/Makefile
can't open ./po/pt_BR/Makefile.in: No such file or directory
fast creating po/sv/Makefile
can't open ./po/sv/Makefile.in: No such file or directory
fast creating po/tr/Makefile
can't open ./po/tr/Makefile.in: No such file or directory
fast creating po/ven/Makefile
can't open ./po/ven/Makefile.in: No such file or directory
fast creating po/xh/Makefile
can't open ./po/xh/Makefile.in: No such file or directory
fast creating po/xx/Makefile
can't open ./po/xx/Makefile.in: No such file or directory
fast creating po/zh_CN/Makefile
can't open ./po/zh_CN/Makefile.in: No such file or directory
fast creating po/zu/Makefile
can't open ./po/zu/Makefile.in: No such file or directory
config.status: creating config.h
config.status: executing depfiles commands

Good - your configure finished. Start make now

cd . && make -f admin/Makefile.common configure.in
make[1]: Entering directory `/var/tmp/portage/cdbakeoven-2.0_beta2/work/cdbakeoven-2.0beta2'
head: `-2' option is obsolete; use `-n 2'
Try `head --help' for more information.
head: `-2' option is obsolete; use `-n 2'
Try `head --help' for more information.
head: `-2' option is obsolete; use `-n 2'
Try `head --help' for more information.
make[1]: Leaving directory `/var/tmp/portage/cdbakeoven-2.0_beta2/work/cdbakeoven-2.0beta2'
cd . && /bin/sh /var/tmp/portage/cdbakeoven-2.0_beta2/work/cdbakeoven-2.0beta2/admin/missing --run aclocal-1.6 
cd . && \
  /bin/sh /var/tmp/portage/cdbakeoven-2.0_beta2/work/cdbakeoven-2.0beta2/admin/missing --run automake-1.6 --foreign  Makefile
cd . && /bin/sh /var/tmp/portage/cdbakeoven-2.0_beta2/work/cdbakeoven-2.0beta2/admin/missing --run autoconf
configure.in:3: error: m4_defn: undefined macro: _m4_divert_diversion
aclocal.m4:2082: AC_CHECK_SETENV is expanded from...
configure.in:3: the top level
autom4te-2.58: /usr/bin/m4 failed with exit status: 1
make: *** [configure] Error 1
make: *** Waiting for unfinished jobs....
configure.in: required file `./install-sh' not found
configure.in: required file `./mkinstalldirs' not found
configure.in: required file `./missing' not found
aclocal.m4:2998: required file `./config.guess' not found
aclocal.m4:2998: required file `./config.sub' not found
aclocal.m4:5419: required file `./ltmain.sh' not found
make: *** [Makefile.in] Error 1

!!! ERROR: app-cdr/cdbakeoven-2.0_beta2 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 3 Sven Blumenstein (RETIRED) gentoo-dev 2004-02-25 08:04:23 UTC
Temporary masked until this bug is fixed.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-09-03 12:01:52 UTC
removed from portage - no local or remote maintainer.