[MacPorts] #48396: demeter @0.9.21 component artemis launch fails
#48396: demeter @0.9.21 component artemis launch fails -----------------------------------+-------------------------------- Reporter: cjmilne+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: perl artemis yosemite | Port: demeter -----------------------------------+-------------------------------- Launching artemis fails with missing perl module on Yosemite (10.10.4): Can't locate Math/Round.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.16.3/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.16.3 /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.16.3 /opt/local/lib/perl5/5.16.3 /darwin-thread-multi-2level /opt/local/lib/perl5/5.16.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/site_perl/5.16.3/darwin-thread-multi- 2level/Demeter/ScatteringPath.pm line 44. BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.16.3 /darwin-thread-multi-2level/Demeter/ScatteringPath.pm line 44. Compilation failed in require at /opt/local/lib/perl5/site_perl/5.16.3 /darwin-thread-multi-2level/Demeter.pm line 324. BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.16.3 /darwin-thread-multi-2level/Demeter/UI/Artemis.pm line 26. Compilation failed in require at /opt/local/bin/artemis line 36. BEGIN failed--compilation aborted at /opt/local/bin/artemis line 36. [3] Exit 2 artemis Installation of p5.16-math-round @0.70.0 (perl) fixes dependency and artemis launches properly. hephaestus and athena are unaffected and work properly without this perl module. This module should likely be added as a dependency. -- Ticket URL: <https://trac.macports.org/ticket/48396> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Changes (by ionic@…): * owner: macports-tickets@… => joe.fowler@… * cc: ionic@… (added) * keywords: perl artemis yosemite => Comment: Please CC the maintainer next time, unless it's a [SpecialMaintainerAddresses pseudo address]. Do not randomly add tags. CC'ing myself, because the maintainer will need someone to commit changes. Also, it would be great if `demeter` could be switched to perl 5.22 (#48365), if possible, too. -- Ticket URL: <https://trac.macports.org/ticket/48396#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by joe.fowler@…): Thanks. I'm attaching a patch to the Portfile that fixes #48396 (the missing dependency). I will look next at the Perl 5.22 upgrade (#48365), but it seems like a big deal and worth having a separate port release for that (assuming I can make it work in the first place). Replying to [comment:1 ionic@…]:
Please CC the maintainer next time, unless it's a [SpecialMaintainerAddresses pseudo address].
Do not randomly add tags.
CC'ing myself, because the maintainer will need someone to commit changes.
Also, it would be great if `demeter` could be switched to perl 5.22 (#48365), if possible, too.
-- Ticket URL: <https://trac.macports.org/ticket/48396#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by ionic@…): Hm, are you sure about `-devel`? It formerly depended on `pX-math-random`, not `pX-math-round`. I haven't checked whether `random` has been really dropped, just pointing it out. Yeah, the `perl5.22` switch can and should come as a separate change. I just wanted to raise awareness. -- Ticket URL: <https://trac.macports.org/ticket/48396#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by joe.fowler@…): Well, it's possible that I misunderstand the relationship between a port and its sub-ports. The reason I dropped p5.16-math-random from the demeter-devel sub-port dependency list is that it was already in the main port's dependencies. Does that covered the sub-port, too? Working on the perl5.22. My computer should be a good test bed for that, as I had no perl 5.22 installed before today. -- Ticket URL: <https://trac.macports.org/ticket/48396#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by ionic@…): Ah, I missed `math-random` being part of the general dependencies. No that's totally fine, ignore my rant. -- Ticket URL: <https://trac.macports.org/ticket/48396#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by joe.fowler@…): No, no. Not a rant! Until today, I have been a maintainer-in-name-only. I had to learn a lot about MacPorts to address this issue. (I hope my notes are detailed enough that it will be easier next time.) Is it kosher to let this port demeter and demeter-devel be equivalent at the moment? The latest official release is brand new this week, so that is what made sense to me. Thanks for supervising and mentoring. -- Ticket URL: <https://trac.macports.org/ticket/48396#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by ionic@…): In the end, that's personal preference of the port maintainer(s). "Some time ago" (years, actually) `glib2` and `glib2-devel` diverged in such a way, that `glib2` was more recent than `glib2-devel`. I made a request at the port maintainer and asked him to at least keep the versions synchronized, if there's currently no new development version available, instead of letting the `-devel` port go stale and be older than the normal port, because people generally install `-devel` ports as they want to use newer versions. Being left "behind" is not something I would expect from a `-devel` port. He initially dismissed the request, but came around later and since tries to sync them up, AFAIK. For me, everything is fine, as long as the `-devel` version is greater or equal the "normal" one. That said, there's no official rule for that, so it's merely my preference. -- Ticket URL: <https://trac.macports.org/ticket/48396#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by ionic@…): Another thing... dependency changes and version updates normally don't mix well (because it's two different changes semantically, unless the dependency changes are "enforced" by/part of the new version.) I'll split them up into separate commits. -- Ticket URL: <https://trac.macports.org/ticket/48396#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by ionic@…): Is `file-which` a missing dependency, too, or new in 0.9.22? -- Ticket URL: <https://trac.macports.org/ticket/48396#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by joe.fowler@…): Right: good idea. If you do the dependency change ''after'' the version update, beware that the revision number will be wrong in the patch that I just submitted to you (by private mail) for the Perl version upgrade. Probably it makes sense to do the dependency change before the version update, though, in which case ignore the above reminder. Replying to [comment:8 ionic@…]:
Another thing... dependency changes and version updates normally don't mix well (because it's two different changes semantically, unless the dependency changes are "enforced" by/part of the new version.)
I'll split them up into separate commits.
-- Ticket URL: <https://trac.macports.org/ticket/48396#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by joe.fowler@…): p5.X-file-which was a missing dependency all along and is ''not'' new with 0.9.22. I discovered this problem by trying to install demeter on a new Mac after I saw this bug ticket. Not only did I reproduce the original poster's bug (missing p5.X-math-round), but also I found a missing p5.X-file-which. Replying to [comment:9 ionic@…]:
Is `file-which` a missing dependency, too, or new in 0.9.22?
-- Ticket URL: <https://trac.macports.org/ticket/48396#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round and p5.*-file-which ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by ionic@…): And what about the former `encoding-fixlatin-xs` in the `-devel` port? Probably just unneeded? There isn't a direct "replacement" in the common dependencies, although there is `encoding-fixlatin`. Given that the main port worked without it, it's probably just removal of cruft? -- Ticket URL: <https://trac.macports.org/ticket/48396#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round and p5.*-file-which ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: demeter | ---------------------------------+-------------------------- Comment (by joe.fowler@…): I agree that this is almost surely crufty, since the primary port works using only encoding-fixlatin as a dependency. Replying to [comment:12 ionic@…]:
And what about the former `encoding-fixlatin-xs` in the `-devel` port? Probably just unneeded? There isn't a direct "replacement" in the common dependencies, although there is `encoding-fixlatin`. Given that the main port worked without it, it's probably just removal of cruft?
-- Ticket URL: <https://trac.macports.org/ticket/48396#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#48396: demeter @0.9.21: missing dependency on p5.*-math-round and p5.*-file-which ---------------------------------+-------------------------- Reporter: cjmilne+macports@… | Owner: joe.fowler@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: demeter | ---------------------------------+-------------------------- Changes (by ionic@…): * status: new => closed * resolution: => fixed Comment: Committed fix for that issue in r139047. Misc. changes (like to `homepage` etc.) that do not impact functionality in r139048. Update to version 0.9.22 in r139049. -- Ticket URL: <https://trac.macports.org/ticket/48396#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts