Opened 13 years ago
Closed 13 years ago
#32215 closed defect (fixed)
ledger build fails with clang
Reported by: | vishketan@… | Owned by: | johnw@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | clang | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | ledger |
Description
Please see attached log file.
Attachments (2)
Change History (8)
Changed 13 years ago by vishketan@…
Changed 13 years ago by vishketan@…
Attachment: | ledger.diff added |
---|
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Owner: | changed from macports-tickets@… to johnw@… |
Port: | ledger added |
Summary: | ledger build fails → ledger build fails with clang |
I see you were using clang. Did you try llvm-gcc-4.2 or gcc-4.2? See ProblemHotlist#compiler. If one of those works, we want to use those instead of a MacPorts compiler.
comment:2 Changed 13 years ago by vishketan@…
sudo port install ledger configure.compiler=llvm-gcc-4.2
fails, but
sudo port install ledger configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2
works.
comment:3 follow-up: 4 Changed 13 years ago by vishketan@…
This also works
sudo port install ledger configure.compiler=llvm-gcc-4.2 configure.cxx=llvm-g++-4.2
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | clang added |
---|
Replying to vishketan@…:
sudo port install ledger configure.compiler=llvm-gcc-4.2
fails
Replying to vishketan@…:
This also works
sudo port install ledger configure.compiler=llvm-gcc-4.2 configure.cxx=llvm-g++-4.2
Those two commands should have produced identical results. Setting configure.cxx manually is only necessary for apple-gcc42 because of bug #31709.
comment:5 Changed 13 years ago by vishketan@…
You are indeed right. I did a port uninstall, clean and then reinstalled with
sudo port install ledger configure.compiler=llvm-gcc-4.2
and it worked!
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks. r87548.
Note: See
TracTickets for help on using
tickets.
A possible fix for the problem