Opened 20 months ago

Last modified 19 months ago

#67187 new defect

cmark: library install name contains full version number

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: cjones051073 (Chris Jones)
Port: cmark

Description

The install name of cmark's library contains the full version number:

% otool -L /opt/local/lib/libcmark.dylib       
/opt/local/lib/libcmark.dylib:
	/opt/local/lib/libcmark.0.30.3.dylib (compatibility version 0.30.3, current version 0.30.3)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.100.3)

So any time the version of the cmark port is increased, all ports that link with the library must be revbumped. That didn't happen when it was updated to 0.30.3 a couple days ago so those ports are broken now, for example:

% sudo port rev-upgrade
Password:
--->  Scanning binaries for linking errors
--->  Found 6 broken files, matching files to ports      
--->  Found 2 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 Aseprite @1.2.37
 mkvtoolnix-devel @75.0.0+qtgui
Continue? [Y/n]: n

Change History (4)

comment:1 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

comment:2 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

It was already reported to them back in January 2018; they seem to be in no rush to fix it.

The ports that depend on cmark are:

% port file all|sort -u|xargs grep -il ':cmark\b'|sed -E 's,^.*/([^/]+)/Portfile$,\1,'
Aseprite
mkvtoolnix-devel
mkvtoolnix
nheko

cmark was updated to 0.30.3 in [6a75bc9f316d060cfc2b3b065fac8796fb784596/macports-ports].

nheko was revbumped after that in [f2fdd95d7ae67ab3e9885c05928f52ec280032f9/macports-ports].
mkvtoolnix was updated after that in [dd2e798281fda18bda804956324bdac57bf82f31/macports-ports].

I'll revbump the other two and add a comment to cmark to remind us to do this in the future.

comment:3 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

In ccf576afc6ed4eefae58c0204629ef79ff3ff418/macports-ports (master):

mkvtoolnix-devel: Rebuild with cmark 0.30.3

See: #67187

comment:4 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

In de8ebdffbeb86086df4e328126dffb2b0348bc65/macports-ports (master):

cmark: Add comment about revbumping dependents

See: #67187

Note: See TracTickets for help on using tickets.