Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#65369 closed defect (fixed)

gtk-doc has an undeclared runtime dependency on pkg-config

Reported by: tdprime Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: gtk-doc liboil

Description

Starting from a fresh system, sudo port -f uninstall installed Getting failure in liboil when installing Mplayer, sudo port -q install Mplayer

It's a bit of an unlucky coincidence. If I install xorg-server first, then Mplayer, the install finishes without error.

Obviously, the simplest repro is, sudo port -q liboil

...
Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled:
  memcpy: found in liboil-0.3.17/config.log
Error: Failed to destroot liboil: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_liboil/liboil/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port liboil failed

The most significant part of the log seems to be,

:info:destroot FileNotFoundError: [Errno 2] No such file or directory: '/opt/local/bin/pkg-config'

Attachments (1)

main.log (487.4 KB) - added by tdprime 2 years ago.
build log, /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_liboil/liboil/main.log

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by tdprime

Attachment: main.log added

build log, /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_liboil/liboil/main.log

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In ebf6501a277f548c302d23a1616833a12d6d396b/macports-ports (master):

gtk-doc: also needs pkgconfig at runtime

Fixes: #65369

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Port: gtk-doc added
Summary: liboil has an undeclared dependency on pkg-configgtk-doc has an undeclared runtime dependency on pkg-config
Note: See TracTickets for help on using tickets.