Opened 5 years ago

Closed 5 years ago

#59223 closed defect (duplicate)

qt5-qtwebengine: Unable to open port: invalid command name "compiler_blacklist_versions._get_compiler_version"

Reported by: mf2k (Frank Schima) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc: hapaguy (Brian Kurt Fujikawa), majoc-at-astro (majoc-at-astro), Quibizo
Port: qt5-qtwebengine

Description

Must be a typo somewhere:

$ sudo port upgrade qt5-qtwebengine
Error: Unable to open port: invalid command name "compiler_blacklist_versions._get_compiler_version"
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Attachments (1)

libvpx.info.out (1.5 KB) - added by majoc-at-astro (majoc-at-astro) 5 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Version: 2.6.99

comment:2 Changed 5 years ago by hapaguy (Brian Kurt Fujikawa)

Cc: hapaguy added

comment:3 Changed 5 years ago by jmroot (Joshua Root)

Please use -d to get a backtrace.

comment:4 Changed 5 years ago by majoc-at-astro (majoc-at-astro)

Cc: majoc-at-astro added

comment:5 Changed 5 years ago by majoc-at-astro (majoc-at-astro)

The errors I'm seeing in our nightly builds, in this and ten other cases, show symptoms of the form:

--->  Computing dependencies for qt5-qtwebengineError: Unable to execute port: invalid command name "compiler_blacklist_versions._get_compiler_version"

(The other instances include ffmpeg, gstreamer1-gst-plugins-bad, and gimp2.) I've grepped the ports tree, and found:

ports/multimedia/libvpx/Portfile:    (${configure.compiler} eq "clang" && [compiler_blacklist_versions._get_compiler_version ${configure.compiler}] > 602)} {

.... thence:

 $ port info libvpx
Error: Unable to open port: invalid command name "compiler_blacklist_versions._get_compiler_version"

Please see also the enclosed file, for the output of port -d info libvpx.

Hope this helps. Please let me know if there's other info you need, eg the output of port -d rdeps qt5-qtwebengine.

Changed 5 years ago by majoc-at-astro (majoc-at-astro)

Attachment: libvpx.info.out added

comment:6 Changed 5 years ago by majoc-at-astro (majoc-at-astro)

It seems libvpx had been fixed (see #59226) before I chipped in. Waiting for the fix to propagate to our build servers for final confirmation; in the meantime, hiding my embarrassement for not checking for that first.

comment:7 Changed 5 years ago by Quibi (Quibizo)

In my case, libvorbis @1.3.6_0+universal is also failing like libvpx did: invalid command name "compiler_blacklist_versions._get_compiler_version". Just for the record.

comment:8 in reply to:  7 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: Quibizo added

libvpx was fixed in 0935a2273ec97041947316e6ed825b484337cf98/macports-ports.

The qt5 Portfile doesn't include the compiler_blacklist_versions portgroup so it doesn't itself use this now-deleted function. But it does depend on libvpx, so presumably that's why you saw the error.

Replying to Quibi:

In my case, libvorbis @1.3.6_0+universal is also failing like libvpx did: invalid command name "compiler_blacklist_versions._get_compiler_version". Just for the record.

The libvorbis Portfile doesn't include the compiler_blacklist_versions portgroup and doesn't have libvpx in its dependencies. Perhaps you have a locally modified copy of the Portfile?

comment:9 Changed 5 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed

Seems like this was really libvpx, so closing.

Note: See TracTickets for help on using tickets.