Changes between Version 1 and Version 2 of Ticket #63581


Ignore:
Timestamp:
Oct 7, 2021, 8:13:14 AM (3 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

On my system, conf2struct depends on p5.28-conf-libconfig which does exist.

The conf2struct portfile does not mention a perl version explicitly; it just uses whatever value of perl5.major is exported by the perl5 portgroup. That value is based on the variant of the perl5 port that you have installed, so you have likely installed the perl5 port with the +perl5_26 variant. To fix the problem, reinstall the perl5 port with the +perl5_28 variant. Since that is currently its default variant, you can accomplish this by just running sudo port install perl5. This would probably be a good idea to do anyway since perl 5.26 is old. (Perl 5.28 is old too but it is still the default version used in MacPorts. Once MacPorts moves to a newer default version, the perl5 port should automatically upgrade to that new variant for you when you upgrade ports, now that MacPorts distinguishes between variants you requested explicitly and variants which were merely selected by default.)

In fact the conf2struct port probably should mention a perl version (such as 5.28) specifically since the perl version does get baked into the files that conf2struct installs.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63581

    • Property Status changed from new to assigned
    • Property Owner set to amake
    • Property Port conf2struct added; sslh removed
    • Property Summary changed from sslh cannot build because it depends on conf2struct that depends on p5.26-conf-libconfig (port not available) to conf2struct does not lock down which perl version it uses
  • Ticket #63581 – Description

    v1 v2  
    11sslh cannot build because it depends on conf2struct that depends on p5.26-conf-libconfig that is not available on macports 2.7.1 (Mac OS X 10.14.6)
    22
    3  % port -v install sslh
     3{{{
     4% port -v install sslh
    45--->  Computing dependencies for sslh..
    56Error: Dependency 'p5.26-conf-libconfig' not found.
    67Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
    78Error: Processing of port sslh failed
    8 
     9}}}
     10{{{
    911% port info sslh
    1012sslh @1.22c (net, security, www)
     
    2022Maintainers:          Email: amake@macports.org, GitHub: amake
    2123                      Policy: openmaintainer
    22 
    23 
     24}}}
     25{{{
    2426% port info conf2struct
    2527conf2struct @1.5 (devel)
     
    3335Maintainers:          Email: amake@macports.org, GitHub: amake
    3436                      Policy: openmaintainer
    35 
    36 
     37}}}
     38{{{
    3739% port info  p5.26-conf-libconfig
    3840Error: Port p5.26-conf-libconfig not found
    39 
     41}}}