Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58657 closed defect (worksforme)

pangomm @2.42.0 requires pangocairo >1.41 but macports only provides 1.40.12

Reported by: MStraeten (Martin Straeten) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: pangomm pango

Description (last modified by ryandesign (Ryan Carsten Schmidt))

:info:configure configure: error: Package requirements (glibmm-2.4 >= 2.48.0 cairomm-1.0 >= 1.2.2 pangocairo >= 1.41.0) were not met:
:info:configure Requested 'pangocairo >= 1.41.0' but installed version of Pango Cairo is 1.40.12

actions done: sudo port install pango +quartz +x11 sudo port install pangomm former cleaning: sudo port -fp uninstall installed didn't help

Change History (7)

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

Cc: ryandesign added
Owner: set to dbevans
Port: pangomm pango added
Status: newassigned
Summary: pangomm (2.42) requires pango >1.41 . but macports only installs pango 1.40.12pangomm @2.42.0 requires pangocairo >1.41 but macports only provides 1.40.12

Seems a bit strange.

% port info --version pango
version: 1.42.4

comment:2 Changed 5 years ago by MStraeten (Martin Straeten)

at my system:

port info --version pango
version: 1.40.12
Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Description: modified (diff)

Then either your ports tree is over 20 months old, since we updated pango to 1.40.13 in October 2017 and are currently at 1.42.4 (to fix this, run sudo port selfupdate) or else you have a local copy of an older pango portfile (to fix this, delete your local portfile). If you're not sure, attach your main.log file and we can take a look at it.

comment:4 Changed 5 years ago by MStraeten (Martin Straeten)

several sudo port selfupdate and sudo port upgrade outdated didnt result in an updated pango.
only brute force helped: complete uninstall of macports and reinstall

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Resolution: worksforme
Status: assignedclosed

Guess we'll never know what was misconfigured then.

comment:6 Changed 5 years ago by MStraeten (Martin Straeten)

after multiple reinstallations of macports and some port installations as described in https://github.com/darktable-org/darktable/blob/master/packaging/macosx/BUILD.txt line 35 i have a guess:
pango is installed as a dependency of gtk3. before installing gtk3 port info pango gives 1.42.4, after it it gives 1.40.12.

darktable reccomends following options in /opt/local/etc/macports/variants.conf:

+no_gnome +no_x11 +quartz -x11 -gnome

--> removing both x11 options changes the behaviour during gtk3 installation: pango 1.42.4 isn't longer replaced.

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

MacPorts only knows about one version of a port: the version currently in the ports tree. So right now, if you are using an up to date copy of our ports collection, it is only possible to install pango 1.42.4. It is not possible to install any other version.

The darktable packaging instructions you referred to instruct you to add the ports directory in your home directory to sources.conf. Therefore I suspect that you have an older pango portfile for version 1.40.12 in (probably the x11 subdirectory of) the ports directory in your home directory, and the solution would be to remove that.

Note: See TracTickets for help on using tickets.