Opened 3 years ago

Last modified 3 years ago

#56644 new defect

HandBrakeCLI, AtomicParsley, p5-encode-detect are using libstdc++ (this installation is configured to use libc++)

Reported by: letaage Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: Cc: larryv (Lawrence Velázquez), ryandesign (Ryan Schmidt)
Port: HandBrakeCLI, AtomicParsley, p5-encode-detect

Description

After upgrading to macports 2.5 my installation is left with 3 broken ports, despite them recompiling without any apparatus errors. The ports in question are HandBrakeCLI, AtomicParsley and p5.26-encode-detect.

Macports detected them as broken after upgrading to 2.5.0 despite the affected ports not being upgraded at the time. It then tried to recompile them 3 times without success. They all seem to work despite this problem.

But now every time I upgrade or install anything macports finds the same 3 broken ports and goes through the whole process of recompiling them all 3 times, ultimately not resolving the problem.

I have upgraded to macports 2.5.2 but the problem still persists.

The ports were not broken before upgrading to 2.5, is there a bug in the new version, or in the portfile?

Attached is a debug log of what I see, zipped due to size.

Attachments (1)

debug.txt.gz (311.4 KB) - added by letaage 3 years ago.
Gzipped debug file

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by letaage

Attachment: debug.txt.gz added

Gzipped debug file

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

Keywords: Broken ports removed
Port: p5-encode-detect. added; p5.26-encode-detect. removed
Summary: Broken ports after upgrade to macports 2.5HandBrakeCLI, AtomicParsley, p5-encode-detect are using libstdc++ (this installation is configured to use libc++)

Replying to letaage:

The ports were not broken before upgrading to 2.5, is there a bug in the new version, or in the portfile?

The ports are no more broken now than they were before. But MacPorts 2.5 includes a new definition of "broken" that wasn't checked for in earlier versions of MacPorts.

What version of macOS and Xcode do you use?

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

Port: p5-encode-detect added; p5-encode-detect. removed

I see in the log you're using OS X 10.8.5.

Each port may experience this problem for a different reason; they each need separate fixes. So in future please file a new ticket for each affected port.

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

In 1b32eef6c4ebe029009000fe74e07bb60ba98d64/macports-ports (master):

p5-encode-detect: Use MacPorts CXXFLAGS

Now builds for the right architecture, with the right optimization
flags, and for the right C++ standard library.

See: #56644

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

In df24b596fb794acf93b324270528591ada638868/macports-ports (master):

AtomicParsley: Use MacPorts CXXFLAGS

Now builds with the right C++ standard library.

See: #56644

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

Cc: larryv added

The remaining port, HandBrakeCLI, unfortunately has a very complicated build system, already has numerous patches by its maintainer, and is outdated, does not build on recent systems, and has numerous open tickets. I'm Ccing the maintainer now, but he hasn't been seen in MacPorts for 18 months so he may not get the message or may not be able to help.

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

Cc: ryandesign added
Note: See TracTickets for help on using tickets.