Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#35805 closed defect (duplicate)

cdrtools: error: call to 'SHA384Pad' is ambiguous

Reported by: press88@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: mountainlion Cc: bytestorm@…
Port: cdrtools

Description (last modified by ryandesign (Ryan Carsten Schmidt))

sudo port install dvdrw-tools
--->  Computing dependencies for dvdrw-tools
--->  Dependencies to be installed: cdrtools
--->  Building cdrtools
Error: The following programs did not build: cdda2wav
Error: org.macports.build for port cdrtools returned: build failed
Error: Failed to install cdrtools
Please see the log file for port cdrtools for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_cdrtools/cdrtools/main.log
Error: The following dependencies were not installed: cdrtools
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port dvdrw-tools failed

Change History (2)

comment:1 Changed 12 years ago by press88@…

version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (cdrtools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (cdrtools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (cdrtools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (cdrtools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (cdrtools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (cdrtools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (cdrtools)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Fri Aug 24 00:38:35 CEST 2012
:notice:build --->  Building cdrtools
:debug:build Executing org.macports.build (cdrtools)
:debug:build port disallows a parallel build
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_cdrtools/cdrtools/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_cdrtools/cdrtools/work/cdrtools-3.00" && smake all CC=/usr/bin/clang'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_cdrtools/cdrtools/work/cdrtools-3.00" && smake all CC=/usr/bin/clang 
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/conf"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/inc"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/align_test.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/avoffset.mk"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/include"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/include/schily"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libschily"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libschily/libschily.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libschily/libschily_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libschily/noshlschily.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libdeflt"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libdeflt/libdeflt.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libdeflt/libdeflt_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libdeflt/noshldeflt.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libscg"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libscg/libscg.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libscg/libscg_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libscg/noshlscg.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libscg/scg"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/lib"
:info:build NOTICE: Partial source (SRCROOT/lib) missing
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libcdrdeflt"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libcdrdeflt/libcdrdeflt.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libcdrdeflt/libcdrdeflt_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libcdrdeflt/noshlcdrdeflt.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libedc"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libedc/libedc.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libedc/libedc_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libedc/libedc_dec.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libedc/libedc_dec_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libedc/noshledc.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libedc/noshledc_dec.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libfile"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libfile/libfile.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libfile/libfile_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libfile/noshlfile.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libfind"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libfind/libfind.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libfind/libfind_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libfind/noshlfind.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libhfs_iso"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libhfs_iso/libhfs.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libhfs_iso/libhfs_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libhfs_iso/noshlhfs.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libmdigest"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libmdigest/mdigest.mk"
:info:build clang: warning: argument unused during compilation: '-fexpensive-optimizations'
:info:build sha2.c:1001:2: error: call to 'SHA384Pad' is ambiguous
:info:build         SHA384Pad(context);
:info:build         ^~~~~~~~~
:info:build ../include/schily/sha2.h:107:13: note: candidate function
:info:build extern void SHA384Pad           __PR((SHA2_CTX *));
:info:build             ^
:info:build sha2.c:969:14: note: candidate function
:info:build #pragma weak SHA384Pad = SHA512Pad
:info:build              ^
:info:build 1 error generated.
:info:build smake: Operation not permitted. *** Code 1 from command line for target 'sha2.o'.
:info:build smake: Couldn't make 'all'.
:info:build smake: Leaving  'smake'[2] from directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_cdrtools/cdrtools/work/cdrtools-3.00/libmdigest'
:info:build smake: Default commandline target: 'all'
:info:build smake: Doing                       exit(1)
:info:build .../usr/bin/clang   -O -O3  -fexpensive-optimizations  -DSCHILY_BUILD -IOBJ/i386-darwin-cc -I../incs/i386-darwin-cc -I../include   -DUSE_PG -DSHA2_UNROLL_TRANSFORM  -c -o OBJ/i386-darwin-cc/sha2.o sha2.c  
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libmdigest/mdigest_p.mk"
:info:build sha2.c:1001:2: error: call to 'SHA384Pad' is ambiguous
:info:build         SHA384Pad(context);
:info:build         ^~~~~~~~~
:info:build ../include/schily/sha2.h:107:13: note: candidate function
:info:build extern void SHA384Pad           __PR((SHA2_CTX *));
:info:build             ^
:info:build sha2.c:969:14: note: candidate function
:info:build #pragma weak SHA384Pad = SHA512Pad
:info:build              ^
:info:build 1 error generated.
:info:build smake: Operation not permitted. *** Code 1 from command line for target 'sha2.o'.
:info:build smake: Couldn't make 'all'.
:info:build smake: Leaving  'smake'[2] from directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_cdrtools/cdrtools/work/cdrtools-3.00/libmdigest'
:info:build smake: Default commandline target: 'all'
:info:build smake: Doing                       exit(1)
:info:build .../usr/bin/clang -pg  -O   -DSCHILY_BUILD -IOBJ/i386-darwin-cc/profiled -I../incs/i386-darwin-cc -I../include   -DUSE_PG -DSHA2_UNROLL_TRANSFORM  -c -o OBJ/i386-darwin-cc/profiled/sha2.o sha2.c  
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libmdigest/noshlmdigest.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libparanoia"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libparanoia/paranoia.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libparanoia/paranoia_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libparanoia/noshlparanoia.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/librscg"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/librscg/librscg.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/librscg/librscg_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/librscg/noshlrscg.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libscgcmd"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libscgcmd/libscgcmd.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libscgcmd/libscgcmd_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libscgcmd/noshlscgcmd.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libsiconv"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libsiconv/libsiconv.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libsiconv/libsiconv_p.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/libsiconv/noshlsiconv.mk"
:info:build 	==> NO shared libs on this platform (yet)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/libsiconv/tables"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/btcflash"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/cdda2wav"
:info:build 	==> LINKING "OBJ/i386-darwin-cc/cdda2wav"
:info:build ld: library not found for -lmdigest
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build smake: Operation not permitted. *** Code 1 from command line for target 'OBJ/i386-darwin-cc/cdda2wav'.
:info:build smake: The following command caused the error:
:info:build echo "	==> LINKING \"OBJ/i386-darwin-cc/cdda2wav\""; cc -o OBJ/i386-darwin-cc/cdda2wav OBJ/i386-darwin-cc/cdda2wav.o OBJ/i386-darwin-cc/interface.o OBJ/i386-darwin-cc/semshm.o OBJ/i386-darwin-cc/resample.o  OBJ/i386-darwin-cc/scsi_scan.o  OBJ/i386-darwin-cc/toc.o OBJ/i386-darwin-cc/wav.o OBJ/i386-darwin-cc/sun.o OBJ/i386-darwin-cc/raw.o OBJ/i386-darwin-cc/setuid.o OBJ/i386-darwin-cc/ringbuff.o  OBJ/i386-darwin-cc/sndconfig.o OBJ/i386-darwin-cc/scsi_cmds.o OBJ/i386-darwin-cc/aiff.o OBJ/i386-darwin-cc/aifc.o  OBJ/i386-darwin-cc/scsi_cdr.o OBJ/i386-darwin-cc/cd_misc.o OBJ/i386-darwin-cc/ioctl.o OBJ/i386-darwin-cc/base64.o  OBJ/i386-darwin-cc/parse.o	 -L../libs/i386-darwin-cc -L../libs/i386-darwin-cc   -framework IOKit -framework CoreFoundation  -lscgcmd -lrscg -lscg  -lparanoia -lcdrdeflt -ldeflt -lmdigest -lschily    
:info:build smake: Couldn't make 'all'.
:info:build smake: Leaving  'smake'[1] from directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_cdrtools/cdrtools/work/cdrtools-3.00/cdda2wav'
:info:build smake: Default commandline target: 'all'
:info:build smake: Doing                       exit(1)
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/cdrecord"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/cmd"
:info:build NOTICE: Partial source (SRCROOT/cmd) missing
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/mkisofs"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/mkisofs/diag"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/mkisofs/diag/dump.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/mkisofs/diag/isodump.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/mkisofs/diag/isoinfo.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/mkisofs/diag/isovfy.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/mkisofs/diag/isodebug.mk"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/readcd"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/rscsi"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/scgcheck"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/scgskeleton"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/man"
:info:build 	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/man/man4"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/man/man4/makefiles.mk"
:info:build 	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/man/man4/makerules.mk"
:debug:build Executing proc-post-org.macports.build-build-0
:error:build The following programs did not build: cdda2wav
:error:build org.macports.build for port cdrtools returned: build failed
:debug:build Error code: NONE
:debug:build Backtrace: build failed
    while executing
"$post $targetname"
:info:build Warning: targets not executed for cdrtools: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install cdrtools
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:build Please see the log file for port cdrtools for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_cdrtools/cdrtools/main.log

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: bytestorm@… added; press88@… removed
Description: modified (diff)
Keywords: mountainlion added
Resolution: duplicate
Status: newclosed
Summary: cdrtools fails to build on Mountain Lion 10.8cdrtools: error: call to 'SHA384Pad' is ambiguous

Remember to use WikiFormatting when writing in Trac. Also remember to search for existing issues. This is a duplicate of #35377.

Note: See TracTickets for help on using tickets.