[MacPorts] #35723: cdrtools prevents build of stegdetect
#35723: cdrtools prevents build of stegdetect ---------------------------------+------------------------------------------ Reporter: ww.galen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: stegdetect cdrtools | Port: stegdetect ---------------------------------+------------------------------------------ When port cdrtools @3.00_1 (and likely other versions) is active, stegdetect fails to build. The log for stegdetect contains the following relevant lines (entire log is attached): {{{ :info:build /usr/bin/gcc-4.2 -O2 -Wall -g -L/opt/local/lib -arch x86_64 -o stegbreak common.o jphide_table.o util.o stegbreak.o break_jphide.o break_outguess.o break_jsteg.o cfg.o rpp.o rules.o bf_skey.o db.o arc4.o md5.o ./jpeg-6b/libjpeg.a -L./file -lfile bf_enc.o ./jpeg-6b/libjpeg.a :info:build Undefined symbols: :info:build "_noprint", referenced from: :info:build _detect_print in stegdetect.o :info:build "_file_init", referenced from: :info:build _main in stegdetect.o :info:build "_file_process", referenced from: :info:build _detect_print in stegdetect.o :info:build ld: symbol(s) not found :info:build collect2: ld returned 1 exit status }}} The missing symbols are defined in ./file/libfile.a. In /opt/local/lib/, there's another libfile.a that's part of the cdrtools port. Since "-L/opt/local/lib" comes before "-L./file" in the build command, the linker links against the wrong libfile.a. == Workarounds == 1. deactivate cdrtools, 2. install stegdetect, 3. activate cdrtools -- Ticket URL: <https://trac.macports.org/ticket/35723> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35723: cdrtools prevents build of stegdetect -------------------------+-------------------------------- Reporter: ww.galen@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: stegdetect | -------------------------+-------------------------------- Changes (by jmr@…): * keywords: stegdetect cdrtools => * status: new => closed * resolution: => fixed Comment: r98557 -- Ticket URL: <https://trac.macports.org/ticket/35723#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts