[MacPorts] #69895: base does not handle dependencies correctly from tests variant

MacPorts noreply at macports.org
Fri May 3 15:54:07 UTC 2024


#69895: base does not handle dependencies correctly from tests variant
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  base          |    Version:  2.9.3
Resolution:                |   Keywords:
      Port:                |
---------------------------+--------------------

Comment (by jmroot):

 Can't reproduce with a set of simple test ports.
 {{{
 % port deps testport1
 testport1 @1.0_0 has no dependencies.
 % port deps testport1 +tests
 Full Name: testport1 @1.0_0+tests
 Test Dependencies:    testport2
 % port deps testport2
 Full Name: testport2 @1.1_0
 Library Dependencies: testport3
 % sudo port test testport1 +tests
 --->  Computing dependencies for testport1
 --->  Dependencies to be installed: testport2 testport3
 --->  Fetching archive for testport3
 --->  Attempting to fetch testport3-1.0_0.darwin_23.x86_64.tbz2 from
 file:///opt/local/var/macports/packages/testport3
 --->  Fetching distfiles for testport3
 --->  Verifying checksums for testport3
 --->  Extracting testport3
 --->  Configuring testport3
 --->  Building testport3
 --->  Staging testport3 into destroot
 --->  Installing testport3 @1.0_0
 --->  Activating testport3 @1.0_0
 --->  Cleaning testport3
 --->  Fetching archive for testport2
 --->  Attempting to fetch testport2-1.1_0.darwin_23.x86_64.tbz2 from
 file:///opt/local/var/macports/packages/testport2
 --->  Fetching distfiles for testport2
 --->  Verifying checksums for testport2
 --->  Extracting testport2
 --->  Configuring testport2
 --->  Building testport2
 --->  Staging testport2 into destroot
 --->  Installing testport2 @1.1_0
 --->  Activating testport2 @1.1_0
 --->  Cleaning testport2
 --->  Fetching distfiles for testport1
 --->  Verifying checksums for testport1
 --->  Extracting testport1
 --->  Configuring testport1
 --->  Building testport1
 --->  Staging testport1 into destroot
 --->  Testing testport1
 Warning: testport1 is configured to build for the architecture(s)
 'x86_64', but did not install any Mach-O files.
 }}}
 Can you give a reproduction recipe that only uses versions of ports that
 exist in the current macports-ports master branch? Preferably ones that
 don't have large dependency lists?

-- 
Ticket URL: <https://trac.macports.org/ticket/69895#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list