[MacPorts] #38681: mdmg seems to get confused when deps have variants on by default
#38681: mdmg seems to get confused when deps have variants on by default --------------------------+-------------------------------- Reporter: rogerdpack@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: mdmg | Port: --------------------------+-------------------------------- Hello. I have this port: $ port deps rdp-projects Full Name: rdp-projects @0_6 Fetch Dependencies: subversion Library Dependencies: ffmpeg, gocr, ImageMagick, mplayer-edl If I run, for instance, $ sudo port mdmg -f rdp-projects it happily builds and works, and creates a dmg file. So far so good. If I then re-run that same command, this is what I then get: $ sudo port mdmg -f rdp-projects ---> Computing dependencies for rdp-projects ---> Creating pkg for rdp-projects-0 ---> Package for rdp-projects-0 is up-to-date ... Error: Requested variants "+gpl2" do not match original selection "". Please use the same variants again, perform 'port clean ffmpeg' or specify the force option (-f). Error: org.macports.mpkg for port rdp-projects returned: Processing of port ffmpeg failed Please see the log file for port rdp-projects for details: /opt/rdp_project_local/var/macports/logs /_Users_rogerdpack_dev_mplayer- svn_mplayer_patches_port_dir_multimedia_rdp-projects/rdp-projects/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port rdp-projects failed (as a note, specifying -f for force apparently does nothing to help here) $ port clean ffmpeg does "temporarily" overcome the problem, so that it works again once, but then some other dependency will fail in like manner, like perl5. So if I then run a "port clean perl" and try it again, ffmpeg now fails again, since it's "unclean" from the previous run. So I have to manually, one after another figure out all the dependencies, and clean them all (or clean all installed) first. Anyway appears this has been seen before: https://lists.macosforge.org/pipermail/macports- users/2009-December/018201.html though I didn't see a resolution. Anyway, see if you can reproduce it. Thanks! -roger- -- Ticket URL: <https://trac.macports.org/ticket/38681> MacPorts <http://www.macports.org/> Ports system for OS X
#38681: mdmg seems to get confused when deps have variants on by default ---------------------------+-------------------------------- Reporter: rogerdpack@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: mdmg Port: | ---------------------------+-------------------------------- Changes (by ryandesign@…): * component: ports => base Old description:
Hello. I have this port:
$ port deps rdp-projects Full Name: rdp-projects @0_6 Fetch Dependencies: subversion Library Dependencies: ffmpeg, gocr, ImageMagick, mplayer-edl
If I run, for instance,
$ sudo port mdmg -f rdp-projects
it happily builds and works, and creates a dmg file. So far so good.
If I then re-run that same command, this is what I then get:
$ sudo port mdmg -f rdp-projects ---> Computing dependencies for rdp-projects ---> Creating pkg for rdp-projects-0 ---> Package for rdp-projects-0 is up-to-date ... Error: Requested variants "+gpl2" do not match original selection "". Please use the same variants again, perform 'port clean ffmpeg' or specify the force option (-f). Error: org.macports.mpkg for port rdp-projects returned: Processing of port ffmpeg failed Please see the log file for port rdp-projects for details: /opt/rdp_project_local/var/macports/logs /_Users_rogerdpack_dev_mplayer- svn_mplayer_patches_port_dir_multimedia_rdp-projects/rdp- projects/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port rdp-projects failed
(as a note, specifying -f for force apparently does nothing to help here)
$ port clean ffmpeg does "temporarily" overcome the problem, so that it works again once, but then some other dependency will fail in like manner, like perl5. So if I then run a "port clean perl" and try it again, ffmpeg now fails again, since it's "unclean" from the previous run. So I have to manually, one after another figure out all the dependencies, and clean them all (or clean all installed) first.
Anyway appears this has been seen before: https://lists.macosforge.org/pipermail/macports- users/2009-December/018201.html though I didn't see a resolution.
Anyway, see if you can reproduce it. Thanks! -roger-
New description: Hello. I have this port: {{{ $ port deps rdp-projects Full Name: rdp-projects @0_6 Fetch Dependencies: subversion Library Dependencies: ffmpeg, gocr, ImageMagick, mplayer-edl }}} If I run, for instance, {{{ $ sudo port mdmg -f rdp-projects }}} it happily builds and works, and creates a dmg file. So far so good. If I then re-run that same command, this is what I then get: {{{ $ sudo port mdmg -f rdp-projects ---> Computing dependencies for rdp-projects ---> Creating pkg for rdp-projects-0 ---> Package for rdp-projects-0 is up-to-date ... Error: Requested variants "+gpl2" do not match original selection "". Please use the same variants again, perform 'port clean ffmpeg' or specify the force option (-f). Error: org.macports.mpkg for port rdp-projects returned: Processing of port ffmpeg failed Please see the log file for port rdp-projects for details: /opt/rdp_project_local/var/macports/logs /_Users_rogerdpack_dev_mplayer- svn_mplayer_patches_port_dir_multimedia_rdp-projects/rdp-projects/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port rdp-projects failed }}} (as a note, specifying -f for force apparently does nothing to help here) {{{$ port clean ffmpeg}}} does "temporarily" overcome the problem, so that it works again once, but then some other dependency will fail in like manner, like perl5. So if I then run a "{{{port clean perl}}}" and try it again, ffmpeg now fails again, since it's "unclean" from the previous run. So I have to manually, one after another figure out all the dependencies, and clean them all (or clean all installed) first. Anyway appears this has been seen before: https://lists.macosforge.org/pipermail/macports- users/2009-December/018201.html though I didn't see a resolution. Anyway, see if you can reproduce it. [[br]] Thanks! [[br]] -roger- -- -- Ticket URL: <https://trac.macports.org/ticket/38681#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38681: mdmg seems to get confused when deps have variants on by default ---------------------------+-------------------------------- Reporter: rogerdpack@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: mdmg Port: | ---------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [ticket:38681 rogerdpack@…]:
{{{ $ sudo port mdmg -f rdp-projects }}}
(as a note, specifying -f for force apparently does nothing to help here)
The `-f` flag (and other single-letter flags) are global and have no effect unless placed immediately after the word `port`, before the verb, so in this case, `sudo port -f mdmg ...`, however I'm not aware of any reason to use the `-f` flag with the `mdmg` verb. The `-f` flag can be dangerous and should only be used in a few specific instances, and where you understand its consequences. For example, in this case, the message says the variants don't match; using the `-f` flag to override this error will cause the port to claim to have been installed with one variant but to actually get installed with a different variant, which is probably not what you want. -- Ticket URL: <https://trac.macports.org/ticket/38681#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38681: mdmg seems to get confused when deps have variants on by default ---------------------------+-------------------------------- Reporter: rogerdpack@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: mdmg Port: | ---------------------------+-------------------------------- Comment (by ryandesign@…): This bug might be a duplicate of #35093. -- Ticket URL: <https://trac.macports.org/ticket/38681#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38681: mdmg seems to get confused when deps have variants on by default ---------------------------+-------------------------------- Reporter: rogerdpack@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: duplicate | Keywords: mdmg Port: | ---------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate -- Ticket URL: <https://trac.macports.org/ticket/38681#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts