Opened 5 years ago

Last modified 5 years ago

#58479 new defect

chasen-base @2.3.3: can't build with ccache

Reported by: chrstphrchvz (Christopher Chavez) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: chasen-base

Description

At some point the build tries invoking ccache without specifying the compiler command (/usr/bin/clang++):

ccache -dynamiclib -flat_namespace -undefined suppress -o .libs/libchasen.0.0.1.dylib  block.lo chalib.lo connect.lo dartsdic.lo getid.lo getopt.lo grammar.lo init.lo iotool.lo jfgets.lo katuyou.lo lisp.lo literal.lo mmap.lo parse.lo print.lo tokenizer.lo  -L/opt/local/lib -liconv -lc -headerpad_max_install_names -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -install_name  /opt/local/lib/libchasen.0.dylib -compatibility_version 1 -current_version 1.1
ccache: invalid option -- d

Attachments (1)

main.log (109.7 KB) - added by chrstphrchvz (Christopher Chavez) 5 years ago.

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Attachment: main.log added

comment:1 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Summary: chasen-base: can't build with ccachechasen-base @2.3.3: can't build with ccache

comment:2 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Version: 2.5.4

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

It looks like this is happening at the point where it is creating the library with the bundled libtool. That bundled libtool may not understand multiword $CC / $CXX variables. This problem should be reported to the authors of chasen-base to fix it. We may be able to work around the problem by telling the build to use MacPorts libtool instead.

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

It looks like version 2.4.5 is available. We should try updating the port to that version first.

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

If updating to the latest version doesn't help, using autoreconf might.

Note: See TracTickets for help on using tickets.