Date: Wed, 29 Aug 2012 15:23:37 -0700 From: Kevin Oberman <kob6558@gmail.com> To: dweimer@dweimer.net Cc: freebsd-stable@freebsd.org Subject: Re: cdrtools port installation failure Message-ID: <CAN6yY1s2=4EmnLNqxxK=m%2B0yi9%2BcqChZ%2BBFMa2PduHHLsPYNiw@mail.gmail.com> In-Reply-To: <76d6a3d12030d89690a3b6d28c85f48b@dweimer.net> References: <9fa99b69aab3afdd72f5776406eb1b65@dweimer.net> <CAN6yY1tR33bH0xZKqJ=Y2srPq2ihQ0DPWPhZXRv4fCFxcKGD6Q@mail.gmail.com> <b1f315e7ab2d16ce00ff02b6932484a2@dweimer.net> <76d6a3d12030d89690a3b6d28c85f48b@dweimer.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 29, 2012 at 1:59 PM, dweimer <dweimer@dweimer.net> wrote: > On 2012-08-29 14:31, dweimer wrote: >> >> On 2012-08-28 15:38, Kevin Oberman wrote: >>> >>> On Tue, Aug 28, 2012 at 8:46 AM, dweimer <dweimer@dweimer.net> wrote: >>>> >>>> Anyone else not able to get cdrtools to install on a Stable System? >>>> >>>> I have just recently synced my source and rebuilt world, and kernel, >>>> then >>>> installed. Now while trying to install the livecd port, the cdrtools >>>> dependency is failing to install. >>>> >>>> The port compiles fine (at least it doesn't stop reporting an error), >>>> but >>>> dies on the installation portion reporting a missing file. >>>> >>>> install: >>>> >>>> >>>> /usr/ports/sysutils/cdrtools/work/cdrtools-3.00/cdda2wav/OBJ/amd64-freebsd-cc/cdda2wav: >>>> No such file or directory *** [do-install] Error code 71 >>>> >>>> There is a cdda2wav.d and cdda2wav.o file in the directory its >>>> searching, >>>> however when I run this on my FreeBSD 9.0-RELEASE-p4 system, there is >>>> also a >>>> cdda2wav file with no extension. >>>> >>>> ls >>>> >>>> >>>> /usr/ports/sysutils/cdrtools/work/cdrtools-3.00/cdda2wav/OBJ/amd64-freebsd-cc/ >>>> Dnull >>>> Inull >>>> aifc.d >>>> aifc.o >>>> aiff.d >>>> aiff.o >>>> base64.d >>>> base64.o >>>> cd_misc.d >>>> cd_misc.o >>>> cdda2wav.d >>>> cdda2wav.o >>>> config.cache >>>> config.log >>>> config.status >>>> interface.d >>>> interface.o >>>> ioctl.d >>>> ioctl.o >>>> lconfig.h >>>> local.cnf >>>> parse.d >>>> parse.o >>>> raw.d >>>> raw.o >>>> resample.d >>>> resample.o >>>> ringbuff.d >>>> ringbuff.o >>>> scsi_cdr.d >>>> scsi_cdr.o >>>> scsi_cmds.d >>>> scsi_cmds.o >>>> scsi_scan.d >>>> scsi_scan.o >>>> semshm.d >>>> semshm.o >>>> setuid.d >>>> setuid.o >>>> sndconfig.d >>>> sndconfig.o >>>> sun.d >>>> sun.o >>>> toc.d >>>> toc.o >>>> wav.d >>>> wav.o >>>> >>>> >>>> -- >>>> Thanks, >>>> Dean E. Weimer >>>> http://www.dweimer.net/ >>> >>> >>> How odd! I can't replicate this at all. >>> >>> I just made cdrtools-3.00_2 and I have: >>> cc -o OBJ/amd64-freebsd-cc/cdda2wav OBJ/amd64-freebsd-cc/cdda2wav.o >>> OBJ/amd64-freebsd-cc/interface.o OBJ/amd64-freebsd-cc/semshm.o >>> OBJ/amd64-freebsd-cc/resample.o OBJ/amd64-freebsd-cc/scsi_scan.o >>> OBJ/amd64-freebsd-cc/toc.o OBJ/amd64-freebsd-cc/wav.o >>> OBJ/amd64-freebsd-cc/sun.o OBJ/amd64-freebsd-cc/raw.o >>> OBJ/amd64-freebsd-cc/setuid.o OBJ/amd64-freebsd-cc/ringbuff.o >>> OBJ/amd64-freebsd-cc/sndconfig.o OBJ/amd64-freebsd-cc/scsi_cmds.o >>> OBJ/amd64-freebsd-cc/aiff.o OBJ/amd64-freebsd-cc/aifc.o >>> OBJ/amd64-freebsd-cc/scsi_cdr.o OBJ/amd64-freebsd-cc/cd_misc.o >>> OBJ/amd64-freebsd-cc/ioctl.o OBJ/amd64-freebsd-cc/base64.o >>> OBJ/amd64-freebsd-cc/parse.o -L../libs/amd64-freebsd-cc >>> -L../libs/amd64-freebsd-cc -L/usr/local/lib -L/usr/local/lib >>> -lscgcmd -lrscg -lscg -lparanoia -lcdrdeflt -ldeflt -lmdigest >>> -lschily -lcam >>> >>> And, as I expected, I find it: >>> # find work/cdrtools-3.00/ -name cdda2wav >>> work/cdrtools-3.00/cdda2wav >>> work/cdrtools-3.00/cdda2wav/OBJ/amd64-freebsd-cc/cdda2wav >>> >>> Look trough the log of your make and see if anything "odd" happened in >>> that step. It should be at the end of the section : >>> ==> MAKING DIRECTORY "OBJ/amd64-freebsd-cc/Inull" >>> ==> CONFIGURING LOCAL RULES "OBJ/amd64-freebsd-cc/local.cnf" >>> and just before: >>> ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/cdrecord" >>> >>> This was on a stable system updated on Aug. 16. >> >> >> Finally had a chance to get back to this today, I haven't updated the >> ports tree or source since the last run. Built again same problem, >> After looking, I did have everything set to build with clang, and >> changed it to use gcc, then bingo it installed. >> >> However the FreeBSD 9.0-RELEASE-p4 system did successfully use clang, >> both systems have world and kernel built with clang. >> >> Will run it again with clang and capture the output of the make operation. >> >> Contents of /etc/make.conf, includes using gcc for cdrtools: >> >> # Use OpenSSL from ports instead of base >> WITH_OPENSSL_PORT=yes >> >> # Avoid Building Ports Against X >> WITHOUT_X11=yes >> >> # Performance related options >> CFLAGS?= -O >> CLFAGS+= -pipe >> >> # Ignore Warnings >> NO_WERROR= >> WERROR= >> >> # ports which will only build with the base system GNU compiler (4.2) >> # the "make index" target also needs this >> .if target(index) | \ >> ${.CURDIR:M*/lang/gcc*} | \ >> ${.CURDIR:M*/lang/ruby*} | \ >> ${.CURDIR:M*/devel/binutils*} | \ >> ${.CURDIR:M*/sysutils/cdrtools*} | \ >> ${.CURDIR:M*/www/squid*} >> USE_GCC?=4.2 >> .endif >> >> # use clang unless gcc is explicitly required >> .if !defined(USE_GCC) >> .if !defined(CC) || ${CC} == "cc" >> CC=clang >> .endif >> .if !defined(CXX) || ${CXX} == "c++" >> CXX=clang++ >> .endif >> .if !defined(CPP) || ${CPP} == "cpp" >> CPP=clang-cpp >> .endif >> .endif >> >> # added by use.perl 2012-08-28 04:04:28 >> PERL_VERSION=5.16.0 > > > This might, be the source of the problem, full output of make install > available here <http://www.dweimer.net/cdrtools-build.out>: > > ==> MAKING "all" ON SUBDIRECTORY "SRCROOT/cdda2wav" > gmake[1]: Entering directory > `/usr/ports/sysutils/cdrtools/work/cdrtools-3.00/cdda2wav' > ./RULES/local.cnf:43: OBJ/amd64-freebsd-cc/Inull: No such file or directory > ./RULES/local.cnf:44: OBJ/amd64-freebsd-cc/local.cnf: No such file or > directory > ==> MAKING DIRECTORY "OBJ/amd64-freebsd-cc" > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT parse.c > \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/parse.d > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT base64.c > \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/base64.d > In file included from base64.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT ioctl.c > \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/ioctl.d > In file included from ioctl.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > ==> MAKING SYMLINKS in . > ln: ./config.guess: File exists > ln: ./config.sub: File exists > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT > cd_misc.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/cd_misc.d > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT > scsi_cdr.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/scsi_cdr.d > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT aifc.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/aifc.d > In file included from aifc.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT aiff.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/aiff.d > In file included from aiff.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT > scsi_cmds.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/scsi_cmds.d > In file included from scsi_cmds.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT > sndconfig.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/sndconfig.d > In file included from sndconfig.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT > ringbuff.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/ringbuff.d > In file included from ringbuff.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT setuid.c > \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/setuid.d > In file included from setuid.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT raw.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/raw.d > In file included from raw.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT sun.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/sun.d > In file included from sun.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT wav.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/wav.d > In file included from wav.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT toc.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/toc.d > In file included from toc.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT > scsi_scan.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/scsi_scan.d > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT > resample.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/resample.d > In file included from resample.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT semshm.c > \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/semshm.d > In file included from semshm.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT > interface.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/interface.d > In file included from interface.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > clang -M -DSCHILY_BUILD -IOBJ/amd64-freebsd-cc -I../incs/amd64-freebsd-cc > -I../include -I/usr/local/include -I/usr/local/include -I../libcdrdeflt > -DFIFO -I../libscg -I../libparanoia -I../cdrecord -DSCHILY_PRINT > cdda2wav.c \ > | sed -e 's;^\(.*\)\.o[ > ]*:;OBJ/amd64-freebsd-cc/\1.o \1.d:;' > OBJ/amd64-freebsd-cc/cdda2wav.d > In file included from cdda2wav.c:2: > ./config.h:34:10: fatal error: 'lconfig.h' file not found > #include "lconfig.h" > ^ > 1 error generated. > > ==> MAKING DIRECTORY "OBJ/amd64-freebsd-cc/Inull" > ==> CONFIGURING LOCAL RULES "OBJ/amd64-freebsd-cc/local.cnf" > creating cache ./config.cache > checking host system type... amd64-unknown-freebsd9.1 Hmm. Color me confused: >> .if target(index) | \ >> ${.CURDIR:M*/lang/gcc*} | \ >> ${.CURDIR:M*/lang/ruby*} | \ >> ${.CURDIR:M*/devel/binutils*} | \ >> ${.CURDIR:M*/sysutils/cdrtools*} | \ >> ${.CURDIR:M*/www/squid*} >> USE_GCC?=4.2 >> .endif This seems to imply that base gcc4.2 will be used to build sysutils/cdrtools, but the build log clearly shows clang being used. All of my ports are built with gcc-4.2 by default, though some have Makefiles that force either gcc-4.6 or clang. The "./config.h:34:10: fatal error: 'lconfig.h' file not found" error is also reported by gcc. But you cut off the log a bit short. cdda2wav is not built in that stage. It is built in the following MAKING DIRECTORY "OBJ/amd64-freebsd-cc/Inull" section, and at the very end of that stage. It is the very last executable built in the lnull stage. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1s2=4EmnLNqxxK=m%2B0yi9%2BcqChZ%2BBFMa2PduHHLsPYNiw>