Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#44259 closed defect (fixed)

texlive-bin @2014_1: checking requested system `libpaper' library... failed

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: texlive-bin

Description

bash-3.2$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.7.5
BuildVersion:   11G63
bash-3.2$ 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
bash-3.2$ xcodebuild -version
Xcode 4.3.3
Build version 4E3002
bash-3.2$ 

From the main.log:

checking requested system `libpaper' library... failed
configure: error: some requested system libraries failed

Attachments (2)

main.log (41.8 KB) - added by ryandesign (Ryan Carsten Schmidt) 10 years ago.
config.log (64.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 10 years ago.

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

From the config.log:

configure:19830: checking requested system `libpaper' library
configure:19845: /usr/bin/clang -o conftest -pipe -Os -arch x86_64  -isystem/Volumes/Data/macports/lion/include -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lpaper  >&5
ld: library not found for -lpaper
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This old version of clang does not honor the LIBRARY_PATH environment variable, and this compiler invocation is missing the -L${prefix}/lib flag.

Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: config.log added

comment:2 Changed 10 years ago by drkp (Dan Ports)

Can we just blacklist this clang version? Do you recall which versions were affected?

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

We seem to be missing Xcode 4.4 info from XcodeVersionInfo but IIRC Xcode 4.4's clang fixed it.

It would be preferable to add the missing -L flag, rather than make the user install a whole new compiler.

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

comment:5 Changed 10 years ago by drkp (Dan Ports)

That was easier than I was expecting it to be. :)

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Me too!

Note: See TracTickets for help on using tickets.