pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/51257 CVS commit: pkgsrc/sysutils/cdrtools



The following reply was made to PR pkg/51257; it has been noted by GNATS.

From: Matthias Scheler <tron%zhadum.org.uk@localhost>
To: Joerg Sonnenberger <joerg%bec.de@localhost>
Cc: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Subject: Re: PR/51257 CVS commit: pkgsrc/sysutils/cdrtools
Date: Wed, 20 Jul 2016 18:31:40 +0100

 On Wed, Jul 20, 2016 at 11:28:02AM +0200, Joerg Sonnenberger wrote:
 > On Tue, Jul 19, 2016 at 04:55:01PM +0000, Matthias Scheler wrote:
 > >  >  Can you please at least provide a proper bug report? Without even the
 > >  >   work.log, it is impossible to tell what is going on.
 > >  
 > >  Here is the ".work.log":
 > >  
 > >  [*] cc -o OBJ/i386-darwin-cc/scgskeleton OBJ/i386-darwin-cc/skel.o OBJ/i386=
 > >  -darwin-cc/io.o OBJ/i386-darwin-cc/cd_misc.o OBJ/i386-darwin-cc/scsi_cdr.o =
 > >  OBJ/i386-darwin-cc/scsi_scan.o OBJ/i386-darwin-cc/misc.o -L../libs/i386-dar=
 > >  win-cc -L../libs/i386-darwin-cc -L/usr/local/lib -framework IOKit -framewor=
 > >  k CoreFoundation -liconv -L/usr/lib -L/opt/pkg/lib -lscgcmd -lrscg -lscg -l=
 > >  cdrdeflt -ldeflt -lschily
 > >  <.> /usr/bin/clang -o OBJ/i386-darwin-cc/scgskeleton OBJ/i386-darwin-cc/ske=
 > >  l.o OBJ/i386-darwin-cc/io.o OBJ/i386-darwin-cc/cd_misc.o OBJ/i386-darwin-cc=
 > >  /scsi_cdr.o OBJ/i386-darwin-cc/scsi_scan.o OBJ/i386-darwin-cc/misc.o -L../l=
 > >  ibs/i386-darwin-cc -framework IOKit -framework CoreFoundation -liconv -L/ob=
 > >  jdir/tron/sysutils/cdrtools/work.excalibur/.buildlink/lib -lscgcmd -lrscg -=
 > >  lscg -lcdrdeflt -ldeflt -lschily -Qunused-arguments -m64 -I/objdir/tron/sys=
 > >  utils/cdrtools/work.excalibur/.buildlink/include
 > 
 > Well, the problem clearly seems to be the -liconv being too early.
 > cwrappers don't force -L${PREFIX}/lib early.
 
 I don't think that is the cause of the build problem. Mac OS X (at least on
 my Mac) does *not* use the "libconv" package. And the system library is
 available for both 32bit and 64bit:
 
 tron@excalibur:~>file /usr/lib/libiconv.dylib
 /usr/lib/libiconv.dylib: Mach-O universal binary with 2 architectures
 /usr/lib/libiconv.dylib (for architecture i386):	Mach-O dynamically linked shared library i386
 /usr/lib/libiconv.dylib (for architecture x86_64):	Mach-O 64-bit dynamically linked shared library x86_64
 
 And this is the only copy of "libiconv.dylib" that is available on the sytem.
 
 	Kind regards
 
 -- 
 Matthias Scheler                                 https://zhadum.org.uk/
 


Home | Main Index | Thread Index | Old Index