From owner-freebsd-stable@FreeBSD.ORG Wed Aug 29 19:31:26 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 5931B1065676 for ; Wed, 29 Aug 2012 19:31:26 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 2BFC08FC08 for ; Wed, 29 Aug 2012 19:31:25 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q7TJVIZR071888 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 29 Aug 2012 14:31:19 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 29 Aug 2012 14:31:18 -0500 From: dweimer To: Kevin Oberman Organization: dweimer.net Mail-Reply-To: In-Reply-To: References: <9fa99b69aab3afdd72f5776406eb1b65@dweimer.net> Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.0 Cc: FreeBSD Stable Subject: Re: cdrtools port installation failure X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net 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 19:31:26 -0000 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 -- Thanks, Dean E. Weimer http://www.dweimer.net/