Opened 11 years ago

Last modified 6 years ago

#38105 new defect

argyll @1.3.2_2: cannot link to tiff

Reported by: axone-zero Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: argyll

Description

Agryll fails to build on my OS X 10.7.5 machine with Xcode 4.6, compiler apple-gcc42 (llvm-gcc42, gcc45).

:info:build Link_ imdi/imdi_make 
:info:build spectro/munki_imp.c:2508:7: warning: implicit declaration of function 'munki_average_multimeas' is invalid in C99 [-Wimplicit-function-declaration]
:info:build         rv = munki_average_multimeas(p, sens, multimes, nummeas, &sensavg, darkthresh);     
:info:build              ^
:info:build ld: library not found for -ltiff
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build spectro/munki_imp.c:4311:49: warning: invalid conversion specifier 'k' [-Wformat-invalid-specifier]

Attachments (1)

main.log (58.9 KB) - added by axone-zero 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by axone-zero

Attachment: main.log added

comment:1 Changed 11 years ago by axone-zero

sudo port selfupdate
sudo port upgrade outdated

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Port: argyll added
Summary: Agryll: ld: library not found for -ltiffargyll @1.3.2_2: cannot link to tiff

Thanks for the ticket.

comment:3 in reply to:  description Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to mitroshin@…:

compiler apple-gcc42 (llvm-gcc42, gcc45).

[snip]

:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

The error clearly shows the compiler being used is clang, as we would expect on this version of Xcode.

It builds fine for me on OS X 10.8.2 with Xcode 4.6. Please verify what version of clang you have by running clang -v. With Xcode 4.6 it should be "Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)". If it's older, please open Xcode.app, go to Preferences, then Downloads, and update the command line tools there. Then sudo port clean argyll and try again.

Please also (first) run sudo port selfupdate to receive some cleanups I just committed to the argyll port.

comment:4 Changed 11 years ago by axone-zero

Yes, after update command line - argyll builds fine.

clang -v
Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix

...update command line...

clang -v
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix

Thanks!

Last edited 11 years ago by axone-zero (previous) (diff)

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Ok, could be old clang's lack of understanding of LIBRARY_PATH. I should try to verify this on my Xcode 4.3.3. system.

comment:6 Changed 6 years ago by lbschenkel (Leonardo Brondani Schenkel)

Can I close this, Ryan? In case this happens with latest version in the ports tree it can be reopened.

Note: See TracTickets for help on using tickets.