-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 5/1/11 3:02 PM, Graham Reed wrote: > I'm dealing with the same issue; the fink cdrecord just wouldn't work under > 10.6. > > Two things I've found so far: > > - Building cdrtools-3.01a04 "outside" of fink works fine. > > - Building it "inside" fink produces a binary which only works when it isn't > installed in /sw/bin. > > It seems OS X 10.6 thinks /sw/bin is "special"; just moving /sw/bin/cdrecord > to (say) /sw/sbin/cdrecord produces a working one. >
I don't think OS X is the problem--this doesn't happen on any other package. Maybe there's a "sbin" that isn't getting > Copying my working cdrecord to /sw/bin/george (to test the hypothesis that > it's the directory name not the file name) doesn't work. > > So, Something Somewhere has happened to /sw/bin. I don't know what it is; I > rather doubt it has anything to do with the Fink project itself. I don't see > any 'flags' (ls -lOd / /sw /sw/bin) to get in the way. > > 'dtruss' on the /sw/bin vs. the one installed elsewhere shows very different > startup paths; this makes me think something in before main() is Making > Choices and nuking out privileges--even when you run the program via 'sudo' > in the first place! > > I suggest, therefore, that you do "sudo mv /sw/bin/cdrecord > /sw/sbin/cdrecord" and give that a shot. If my hypothesis is right, it will > start working again. > (Though we normally recommend that you don't mv stuff in the Fink tree) > Patch to the info file: > > --- ./unstable/main/finkinfo/utils/cdrtools.info 2010-04-02 > 00:45:15.000000000 -0400 > +++ ./local/main/finkinfo/utils/cdrtools.info 2011-05-01 14:29:04.000000000 > -0400 > @@ -1,8 +1,8 @@ > Package: cdrtools > -Version: 2.01.01 > -Revision: 10.4.77 > -Source: ftp://ftp.berlios.de/pub/cdrecord/alpha/%n-%va77.tar.bz2 > -Source-MD5: 0564e79a18d9a6768dbbb02a7717c5ab > +Version: 3.01 > +Revision: 0.4 > +Source: ftp://ftp.berlios.de/pub/cdrecord/alpha/%n-%va04.tar.bz2 > +Source-MD5: 05b058021ca24cfc3c334fbb94be2e3d > SourceDirectory: %n-%v > Replaces: cdrtools-beta > Conflicts: cdrtools-beta > @@ -31,13 +31,12 @@ > CompileScript: make GMAKE_NOWARN=true > InstallScript: << > cp README* READMEs/ || true > - cd cdda2wav; make INS_BASE=%i MANDIR=share/man GMAKE_NOWARN=true install > - cd cdrecord; make INS_BASE=%i MANDIR=share/man GMAKE_NOWARN=true install > - cd mkisofs; make INS_BASE=%i MANDIR=share/man GMAKE_NOWARN=true install > - cd readcd; make INS_BASE=%i MANDIR=share/man GMAKE_NOWARN=true install > - cd mkisofs/diag; make INS_BASE=%i MANDIR=share/man GMAKE_NOWARN=true > install > + cd cdda2wav; make INS_BASE=%i INS_KBASE=%i INS_RBASE=%i GMAKE_NOWARN=true > install > + cd cdrecord; make INS_BASE=%i INS_KBASE=%i INS_RBASE=%i GMAKE_NOWARN=true > install > + cd mkisofs; make INS_BASE=%i INS_KBASE=%i INS_RBASE=%i GMAKE_NOWARN=true > install > + cd readcd; make INS_BASE=%i INS_KBASE=%i INS_RBASE=%i GMAKE_NOWARN=true > install > + cd mkisofs/diag; make INS_BASE=%i INS_KBASE=%i INS_RBASE=%i > GMAKE_NOWARN=true install > > - chmod a+s %i/bin/cdrecord > mkdir -p %i/etc/default > > rm -f %i/etc/default/cdrecord > > And this patch, on top of the last one, will put cdrecord, readcd, and > cdda2wav in sbin: > > --- ./local/main/finkinfo/utils/cdrtools.info.old 2011-05-01 > 14:44:07.000000000 -0400 > +++ ./local/main/finkinfo/utils/cdrtools.info 2011-05-01 14:48:27.000000000 > -0400 > @@ -26,6 +26,7 @@ > > perl -pi -e 's|IOKit/scsi-commands|IOKit/scsi|' libscg/scsi-mac-iokit.c > > + perl -pi -e 's/\bbin\b/sbin/ if /^INSDIR/;' cdrecord/Makefile > readcd/Makefile cdda2wav/Makefile > << > Depends: cdda2wav (>= %v-%r), cdrecord (>= %v-%r), mkisofs (>= %v-%r), > fink-obsolete-packages > CompileScript: make GMAKE_NOWARN=true > @@ -58,7 +59,7 @@ > Package: cdrecord > Replaces: cdrtools (<= 1.11a27-1), cdrecord-beta > Conflicts: cdrtools (<= 1.11a27-1), cdrecord-beta > - Files: bin/cdrecord bin/readcd share/man/man1/cdrecord.1 > share/man/man1/readcd.1 etc/default/cdrecord share/doc/%n > + Files: sbin/cdrecord sbin/readcd share/man/man1/cdrecord.1 > share/man/man1/readcd.1 etc/default/cdrecord share/doc/%n > DocFiles: AN* INSTALL READMEs/* ABOUT COPYING Changelog START PORTING > COMPILE BUILD > ConfFiles: %p/etc/default/cdrecord > Description: A command line CD/DVD writing tool > @@ -73,7 +74,7 @@ > Package: cdda2wav > Replaces: cdrtools (<= 1.11a27-1), cdda2wav-beta > Conflicts: cdrtools (<= 1.11a27-1), cdda2wav-beta > - Files: bin/cdda2wav share/man/man1/cdda2wav.1 share/doc/%n > + Files: sbin/cdda2wav share/man/man1/cdda2wav.1 share/doc/%n > DocFiles: AN* INSTALL READMEs/* ABOUT COPYING Changelog START PORTING > COMPILE BUILD > Description: Creates files from audio CDs > DescDetail: << > > I can confirm this behavior: Fiona:~ hansen$ /sw32/bin/cdrecord -scanbus Cdrecord-ProDVD-ProBD-Clone 2.01.01a77 (i386-apple-macosx10.4.0) Copyright (C) 1995-2010 J?rg Schilling /sw32/bin/cdrecord: Unknown error: 0. No matching device IOBDServices/15 found.. Cannot open or use SCSI driver. /sw32/bin/cdrecord: For possible targets try 'cdrecord -scanbus'. /sw32/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'. Then after copying the cdrecord executable to the sbin subdirectory of my Fink tree: Fiona:~ hansen$ /sw32/sbin/cdrecord -scanbus Cdrecord-ProDVD-ProBD-Clone 2.01.01a77 (i386-apple-macosx10.4.0) Copyright (C) 1995-2010 J?rg Schilling Using libscg version 'schily-0.9'. scsibus1: 1,0,0 100) 'MATSHITA' 'DVD-R UJ-867 ' 'HB01' Removable CD-ROM 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2921YACgkQB8UpO3rKjQ/Q/gCfRhcElRPfC+xIckX0oMLHcKB7 zNwAn0lEWjFeR9V/KY4hwM39ZPFhAgiN =R8u9 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
