Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#57607 closed defect (fixed)

exact-image @1.0.1+universal: Not all tested STL headers are present - please install them.

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: exact-image

Description

Building exact-image @1.0.1+universal on my High Sierra machine:

checking whether the C++ compiler works ... yes
checking for C++ STL support ... yes
checking for C++ templates ... yes
checking for C++ template specialization ... yes
checking for C++ partial template specialization ... yes
checking whether C++ supports templates ... yes
checking for header iostream ... not found
checking for header string ... not found
checking for header iostream ... not found
checking for header sstream ... not found
checking for header fstream ... not found
Not all tested STL headers are present - please install them.

config.log shows:

clang: error: cannot use 'c++-cpp-output' output with multiple -arch options

Attachments (2)

main.log (13.8 KB) - added by ryandesign (Ryan Carsten Schmidt) 6 years ago.
config.log (2.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: config.log added

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

Keywords: haspatch added
Owner: set to ryandesign
Status: assignedaccepted

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

In 1ae251435b95d7111cc6f6f46fee2a6b45bca968/macports-ports (master):

exact-image: Link static library with ar not ld

This is needed to support building universal.

See: #57607

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

Resolution: fixed
Status: acceptedclosed

In 651684e926fca9fe38c8f7351a3ba56c366cad12/macports-ports (master):

exact-image: Use better flags when configuring

Use CPPFLAGS and CFLAGS/CXXFLAGS for most configure tests that involve
the compiler.

Use only CPPFLAGS when checking headers. Using CFLAGS/CXXFLAGS as well
would cause a configure failure when using the universal variant.

Closes: #57607

Instead of checking $1 for an exact string match of "cc" or "c++", check
only the first word of $1, because in some use cases $1 also contains
some flags.

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

In 8205f1dff9de995935ac84b1c6393608d8feba56/macports-ports (master):

exact-image: Build with MacPorts CFLAGS/CXXFLAGS

Needed to use the right -arch flags, which is needed to build universal.

Because this also now causes MacPorts optimization flags and C++ stdlib
flags to be used, increase the revision to rebuild.

See: #57607

Note: See TracTickets for help on using tickets.