[MacPorts] #54861: mlt-qt5 install fails with the message "Package Qt5Core was not found in the pkg-config search path."

MacPorts noreply at macports.org
Mon Sep 18 10:55:35 UTC 2017


#54861: mlt-qt5 install fails with the message "Package Qt5Core was not found in
the pkg-config search path."
--------------------+-----------------
 Reporter:  wilya7  |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:
--------------------+-----------------
 Hello. I am not a developer, so I apologize for any mistake in this
 report. I could not find any other bug report on the trac site about mlt-
 qt5 not being able to be installed, so here is my report.

 While doing a clean up with the command

 '''port -f clean --all all'''

 I got the script failing with the message:

 '''Package Qt5Core was not found in the pkg-config search path.'''

 while processing mlt-qt5 package.

 If I try:

 '''port -d install mlt-qt5'''

 I get:

 {{{
 DEBUG: Copying /Users/cfusco/Library/Preferences/com.apple.dt.Xcode.plist
 to /opt/local/var/macports/home/Library/Preferences
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/mlt
 DEBUG: OS darwin/16.7.0 (Mac OS X 10.12) arch i386
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Sourcing PortGroup muniversal 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Re-registering default for supported_archs
 DEBUG: Sourcing PortGroup qt5 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/qt5-1.0.tcl
 DEBUG: Package Qt5Core was not found in the pkg-config search path.
 Perhaps you should add the directory containing `Qt5Core.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'Qt5Core' found
     while executing
 "exec ${prefix}/bin/pkg-config --modversion Qt5Core"
     (procedure "qt5.active_version" line 4)
     invoked from within
 "qt5.active_version"
     invoked from within
 "if {${subport} eq "${name}"} {
     conflicts       ${name}-qt5
     PortGroup       qt4 1.0
 } else {
     conflicts       ${name}
     PortGroup       qt..."
     (file "Portfile" line 37)
     invoked from within
 "source Portfile"
     invoked from within
 "$workername eval {source Portfile}"
     (procedure "mportopen" line 41)
     invoked from within
 "mportopen $porturl [array get options] [array get requested_variations]"
 Error: Unable to open port: Package Qt5Core was not found in the pkg-
 config search path.
 Perhaps you should add the directory containing `Qt5Core.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'Qt5Core' found

 }}}

 this is my sw_vers output:


 {{{
 ProductName:    Mac OS X
 ProductVersion: 10.12.6
 BuildVersion:   16G29

 }}}

 I hope this report will be helpful. Thank you for your fantastic work on
 Macport.

--
Ticket URL: <https://trac.macports.org/ticket/54861>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list