[MacPorts] #27231: mpkg created with universal variant aren't completely universal
#27231: mpkg created with universal variant aren't completely universal ----------------------------------+----------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Hi, Using the command to build a tiff (libtiff) mkpg results in a metapackage where only the tiff package is universal. The other two jpeg and zlib, contain only the default platform x86_64. The workaround to build jpeg and zlib packages alone and then the tiff metapackage doesn't work either. That's the error: sudo port mpkg tiff +universal ---> Computing dependencies for tiff ---> Creating pkg for tiff-3.9.4 ---> Package for tiff-3.9.4 is up-to-date Error: Requested variants "" do not match original selection "+universal". Please use the same variants again, perform 'port clean jpeg' or specify the force option (-f). Error: Requested variants "" do not match original selection "+universal". Please use the same variants again, perform 'port clean zlib' or specify the force option (-f). Using the force option nothing changes (same error). Cleaning the packages they are rebuilt with default platform only (x86_64) without any error or warning reported. In the macports.conf file is told to build all three paltforms x86_64 i386 and ppc (universal_archs x86_64 i386 ppc). If possible, I'd like to know any workaround. Best regards, Luca Severini -- Ticket URL: <https://trac.macports.org/ticket/27231> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27231: mpkg created with universal variant aren't completely universal ----------------------------------+----------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Description changed by ryandesign@…: Old description:
Hi,
Using the command to build a tiff (libtiff) mkpg results in a metapackage where only the tiff package is universal. The other two jpeg and zlib, contain only the default platform x86_64.
The workaround to build jpeg and zlib packages alone and then the tiff metapackage doesn't work either. That's the error: sudo port mpkg tiff +universal ---> Computing dependencies for tiff ---> Creating pkg for tiff-3.9.4 ---> Package for tiff-3.9.4 is up-to-date Error: Requested variants "" do not match original selection "+universal". Please use the same variants again, perform 'port clean jpeg' or specify the force option (-f). Error: Requested variants "" do not match original selection "+universal". Please use the same variants again, perform 'port clean zlib' or specify the force option (-f).
Using the force option nothing changes (same error). Cleaning the packages they are rebuilt with default platform only (x86_64) without any error or warning reported.
In the macports.conf file is told to build all three paltforms x86_64 i386 and ppc (universal_archs x86_64 i386 ppc).
If possible, I'd like to know any workaround.
Best regards,
Luca Severini
New description: Hi, Using the command to build a tiff (libtiff) mkpg results in a metapackage where only the tiff package is universal. The other two jpeg and zlib, contain only the default platform x86_64. The workaround to build jpeg and zlib packages alone and then the tiff metapackage doesn't work either. That's the error: {{{ sudo port mpkg tiff +universal ---> Computing dependencies for tiff ---> Creating pkg for tiff-3.9.4 ---> Package for tiff-3.9.4 is up-to-date Error: Requested variants "" do not match original selection "+universal". Please use the same variants again, perform 'port clean jpeg' or specify the force option (-f). Error: Requested variants "" do not match original selection "+universal". Please use the same variants again, perform 'port clean zlib' or specify the force option (-f). }}} Using the force option nothing changes (same error). Cleaning the packages they are rebuilt with default platform only (x86_64) without any error or warning reported. In the macports.conf file is told to build all three paltforms x86_64 i386 and ppc (universal_archs x86_64 i386 ppc). If possible, I'd like to know any workaround. Best regards, Luca Severini -- -- Ticket URL: <https://trac.macports.org/ticket/27231#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27231: mpkg created with universal variant aren't completely universal ----------------------------------+----------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * component: ports => base Comment: I see the same thing. In a new MacPorts installation, with universal_archs set to x86_64 i386 ppc in macports.conf and +universal in variants.conf, I get this: {{{ $ sudo /test-mp/bin/port mpkg tiff Password: ---> Computing dependencies for tiff ---> Dependencies to be installed: jpeg zlib ---> Fetching jpeg ---> Verifying checksum(s) for jpeg ---> Extracting jpeg ---> Configuring jpeg ---> Building jpeg ---> Staging jpeg into destroot ---> Installing jpeg @8b_0+universal ---> Activating jpeg @8b_0+universal ---> Cleaning jpeg ---> Fetching zlib ---> Verifying checksum(s) for zlib ---> Extracting zlib ---> Applying patches to zlib ---> Configuring zlib ---> Building zlib ---> Staging zlib into destroot ---> Installing zlib @1.2.5_0+universal ---> Activating zlib @1.2.5_0+universal ---> Cleaning zlib ---> Fetching tiff ---> Verifying checksum(s) for tiff ---> Extracting tiff ---> Configuring tiff ---> Building tiff ---> Staging tiff into destroot ---> Creating pkg for tiff-3.9.4 ---> Fetching jpeg ---> Verifying checksum(s) for jpeg ---> Extracting jpeg ---> Configuring jpeg ---> Building jpeg ---> Staging jpeg into destroot ---> Creating pkg for jpeg-8b ---> Fetching zlib ---> Verifying checksum(s) for zlib ---> Extracting zlib ---> Applying patches to zlib ---> Configuring zlib ---> Building zlib ---> Staging zlib into destroot ---> Creating pkg for zlib-1.2.5 }}} I find it curious that it builds and installs jpeg and zlib universal, then builds them again, apparently nonuniversal. The versions that end up installed by MacPorts are universal, but if I then delete that prefix and reinstall from the mpkg, only tiff is universal, and its dependencies are x86_64 only. -- Ticket URL: <https://trac.macports.org/ticket/27231#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27231: mpkg created with universal variant aren't completely universal ----------------------------------+----------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by jmr@…): Try after r73303. -- Ticket URL: <https://trac.macports.org/ticket/27231#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27231: mpkg created with universal variant aren't completely universal ----------------------------------+----------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by lucaseverini@…): Replying to [comment:3 jmr@…]:
Try after r73303.
I tried after r73303. Nothing seems to be changed. Same errors or, after the suggested cleaning, the mpkg has the zlib and jpeg dependencies are x86_64 only Luca:~ sudo port mpkg tiff +universal ---> Computing dependencies for tiff ---> Creating pkg for tiff-3.9.4 ---> Package for tiff-3.9.4 is up-to-date ---> Fetching jpeg ---> Verifying checksum(s) for jpeg ---> Extracting jpeg ---> Configuring jpeg ---> Building jpeg ---> Staging jpeg into destroot ---> Creating pkg for jpeg-8b ---> Fetching zlib ---> Verifying checksum(s) for zlib ---> Extracting zlib ---> Applying patches to zlib ---> Configuring zlib ---> Building zlib ---> Staging zlib into destroot ---> Creating pkg for zlib-1.2.5 Luca:~ sudo port clean zlib ---> Cleaning zlib Luca:~ sudo port clean jpeg ---> Cleaning jpeg Luca:~ sudo port clean tiff ---> Cleaning tiff Luca:~ sudo port pkg jpeg +universal ---> Fetching jpeg ---> Verifying checksum(s) for jpeg ---> Extracting jpeg ---> Configuring jpeg ---> Building jpeg ---> Staging jpeg into destroot ---> Creating pkg for jpeg-8b Luca:~ sudo port pkg zlib +universal ---> Fetching zlib ---> Verifying checksum(s) for zlib ---> Extracting zlib ---> Applying patches to zlib ---> Configuring zlib ---> Building zlib ---> Staging zlib into destroot ---> Creating pkg for zlib-1.2.5 Luca:~ sudo port mpkg tiff +universal ---> Computing dependencies for tiff ---> Fetching tiff ---> Verifying checksum(s) for tiff ---> Extracting tiff ---> Configuring tiff ---> Building tiff ---> Staging tiff into destroot ---> Creating pkg for tiff-3.9.4 Error: Requested variants "" do not match original selection "+universal". Please use the same variants again, perform 'port clean jpeg' or specify the force option (-f). Error: Requested variants "" do not match original selection "+universal". Please use the same variants again, perform 'port clean zlib' or specify the force option (-f). -- Ticket URL: <https://trac.macports.org/ticket/27231#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27231: mpkg created with universal variant aren't completely universal ----------------------------------+----------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by jmr@…): Odd, it seems to work for me now. -- Ticket URL: <https://trac.macports.org/ticket/27231#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27231: mpkg created with universal variant aren't completely universal ----------------------------------+----------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by lucaseverini@…): Replying to [comment:5 jmr@…]:
Odd, it seems to work for me now.
I tried again and I have still the same behaviour. However I updated only the portmpkg.tcl file. Is that enough or should I update the complete distribution from the trunk? -- Ticket URL: <https://trac.macports.org/ticket/27231#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27231: mpkg created with universal variant aren't completely universal ----------------------------------+----------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by lucaseverini@…): Replying to [comment:6 lucaseverini@…]:
Replying to [comment:5 jmr@…]:
Odd, it seems to work for me now.
I tried again and I have still the same behaviour. However I updated only the portmpkg.tcl file. Is that enough or should I update the complete distribution from the trunk?
After upgrading to version 1.9.99 building it directly from subversion sources everything now works as expected. Thanks a lot. -- Ticket URL: <https://trac.macports.org/ticket/27231#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27231: mpkg created with universal variant aren't completely universal -----------------------------------+---------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.2 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/27231#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27231: mpkg created with universal variant aren't completely universal -----------------------------------+---------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.9.2 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by jmr@…): * milestone: => MacPorts Future -- Ticket URL: <https://trac.macports.org/ticket/27231#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27231: mpkg created with universal variant aren't completely universal -----------------------------------+---------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.9.2 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Comment(by ryandesign@…): Has duplicate #28420. -- Ticket URL: <https://trac.macports.org/ticket/27231#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27231: mpkg created with universal variant aren't completely universal -----------------------------------+---------------------------------------- Reporter: lucaseverini@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.0.0 Component: base | Version: 1.9.2 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by jmr@…): * milestone: MacPorts Future => MacPorts 2.0.0 -- Ticket URL: <https://trac.macports.org/ticket/27231#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts