Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#65606 closed defect (fixed)

gnutls-devel is not recognized as gnutls by other ports

Reported by: barracuda156 Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), Schamschula (Marius Schamschula)
Port: gnutls

Description

I have installed gnutls-devel, which is supposed to be a replacement for gnutls, however other ports fail to recognize it:

10:~ svacchanda$ sudo port -v install wget
--->  Computing dependencies for wget..
Error: Can't install gnutls because conflicting ports are active: gnutls-devel
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port wget failed

I believe this is a wrong behavior. It should work like with glib and cmake instead: -devel version should be seen as a valid version of the port.

Change History (8)

comment:1 Changed 21 months ago by jmroot (Joshua Root)

This port has no control over how other ports specify their dependencies.

comment:2 in reply to:  1 Changed 21 months ago by barracuda156

Replying to jmroot:

This port has no control over how other ports specify their dependencies.

Got it, thank you. So what would be an appropriate solution? Say, how is it managed for Cmake, when cmake-devel is used it is it installed and cmake otherwise?

comment:3 Changed 21 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:4 Changed 21 months ago by mascguy (Christopher Nielsen)

The fix is to update all dependents to use a path-style dep, which we do for other ports.

I'll take care of, today if possible.

comment:5 Changed 21 months ago by mascguy (Christopher Nielsen)

Cc: MarcusCalhoun-Lopez added; mascguy removed
Owner: changed from Schamschula to mascguy

comment:6 Changed 21 months ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In 14895da0e6a29dcf62d989957132cc9e8ca45bcc/macports-ports (master):

gnutls dependents: use path-style dep
Fixes: #65606

comment:7 Changed 21 months ago by jmroot (Joshua Root)

Cc: Schamschula added

You confirmed that the -devel version is API- and ABI-compatible with the stable version, I presume?

comment:8 in reply to:  7 Changed 21 months ago by mascguy (Christopher Nielsen)

Replying to jmroot:

You confirmed that the -devel version is API- and ABI-compatible with the stable version, I presume?

Well, what's the point of maintaining and supporting a Devel port - apart from being able to test whether it builds - if folks can't eadily test it with dependents?

Upstream releases routinely cause breaking changes, with ffmpeg 5.x being one of the best and latest examples. But it would be much more of a pain-in-the-keister to determine that, without path-style deps.

I'm speaking the obvious, but then, this entire discussion seems a bit left-fieldish. Why the sudden concern with gnutls...?

Last edited 21 months ago by mascguy (Christopher Nielsen) (previous) (diff)
Note: See TracTickets for help on using tickets.