Date: Wed, 29 Aug 2012 14:31:18 -0500 From: dweimer <dweimer@dweimer.net> To: Kevin Oberman <kob6558@gmail.com> Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: cdrtools port installation failure Message-ID: <b1f315e7ab2d16ce00ff02b6932484a2@dweimer.net> In-Reply-To: <CAN6yY1tR33bH0xZKqJ=Y2srPq2ihQ0DPWPhZXRv4fCFxcKGD6Q@mail.gmail.com> References: <9fa99b69aab3afdd72f5776406eb1b65@dweimer.net> <CAN6yY1tR33bH0xZKqJ=Y2srPq2ihQ0DPWPhZXRv4fCFxcKGD6Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 -- Thanks, Dean E. Weimer http://www.dweimer.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1f315e7ab2d16ce00ff02b6932484a2>