From owner-freebsd-stable@FreeBSD.ORG Wed Aug 29 22:23:38 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB3CD106566B for ; Wed, 29 Aug 2012 22:23:38 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8038FC17 for ; Wed, 29 Aug 2012 22:23:38 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so830963wgb.31 for ; Wed, 29 Aug 2012 15:23:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PhYxpkQbg7n47ohzE8+1Q8kDz7jq39QsJNbuZiHa6rA=; b=C04XOQnSWPv/AE3gVlBAdSPeyqJfhEMu5crBZO+0yUFxbo7V+J4sw1iMFmRDJcIFgk 1JhwcfbANpKtmUNMkJ/UeLIXx2URMAp7EMUE6rLSCUqXOow5gj1lW+X0GIePKDXqpZWF FtVA8pt0L4s5jy7reffnLH9BZoyLvyerCRBd4XFOe5jUKCYTM/+46PoJ1O9sRX9kOMvP CQLtkYAc04SBx4RdCG7ghmAdistxMU67rQXR8ySbWAly/XVvgz2qExgxHzHRPZ5VxkpS lifbFMDPLel+9Dvd28nBwpY0Wz4CrfNaweYusuENwOVpXij9x/P+jshimUuzPPCyjMh3 S5zg== MIME-Version: 1.0 Received: by 10.180.107.103 with SMTP id hb7mr6712588wib.3.1346279017098; Wed, 29 Aug 2012 15:23:37 -0700 (PDT) Received: by 10.223.63.76 with HTTP; Wed, 29 Aug 2012 15:23:37 -0700 (PDT) In-Reply-To: <76d6a3d12030d89690a3b6d28c85f48b@dweimer.net> References: <9fa99b69aab3afdd72f5776406eb1b65@dweimer.net> <76d6a3d12030d89690a3b6d28c85f48b@dweimer.net> Date: Wed, 29 Aug 2012 15:23:37 -0700 Message-ID: From: Kevin Oberman To: dweimer@dweimer.net Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org Subject: Re: cdrtools port installation failure X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2012 22:23:38 -0000 On Wed, Aug 29, 2012 at 1:59 PM, dweimer 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 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 : > > ==> 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