Opened 12 months ago

Last modified 12 months ago

#67474 assigned defect

ld64 +xtools wants tapi and claims it cannot be built on powerpc

Reported by: barracuda156 Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: xtools

Description

Not sure why this happens, but this is a wrong behavior. Firstly, we do not need libtapi here. Secondly, it does build on PPC, certainly so.

sergey-fedorovs-power-mac-g5:~ svacchanda$ sudo port -v -n upgrade --enforce-variants ld64 -ld64_97 +xtools
Warning: configured user/group macports does not exist, will build as root
--->  Computing dependencies for ld64..
Error: Cannot install ld64-latest for the arch 'powerpc' because
Error: its dependency libtapi does not build for the required arch by default
Error: and does not have a universal variant.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.

Change History (2)

comment:1 Changed 12 months ago by barracuda156

UPD. Ah, this works:

--->  Installing ld64-xtools @1_4
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-xtools/work/destroot" && /usr/bin/tar -cvf - . | /opt/local/bin/lbzip2 -c9 > /opt/local/var/macports/software/ld64-xtools/ld64-xtools-1_4.darwin_10.ppc.tbz2 
./
./+COMMENT
./+CONTENTS
./+DESC
./+PORTFILE
./+STATE
./opt/
./opt/local/
./opt/local/bin/
./opt/local/bin/dyldinfo-xtools
./opt/local/bin/ld-xtools
./opt/local/bin/machocheck-xtools
./opt/local/bin/ObjectDump-xtools
./opt/local/bin/unwinddump-xtools
--->  Activating ld64-xtools @1_4
x ./
x ./+COMMENT
x ./+CONTENTS
x ./+DESC
x ./+PORTFILE
x ./+STATE
x ./opt/
x ./opt/local/
x ./opt/local/bin/
x ./opt/local/bin/dyldinfo-xtools
x ./opt/local/bin/ld-xtools
x ./opt/local/bin/machocheck-xtools
x ./opt/local/bin/ObjectDump-xtools
x ./opt/local/bin/unwinddump-xtools
--->  Cleaning ld64-xtools

sergey-fedorovs-power-mac-g5:~ svacchanda$ sudo port -v -n upgrade --enforce-variants ld64 -ld64_97 +ld64_xtools
Warning: configured user/group macports does not exist, will build as root
--->  Computing dependencies for ld64.
--->  Fetching distfiles for ld64
--->  Verifying checksums for ld64
--->  Extracting ld64
--->  Configuring ld64
--->  Building ld64
--->  Staging ld64 into destroot
. changed
	gid expected 0 found 80 modified
./usr missing (created)
. . .
--->  Cleaning ld64
--->  Removing work directory for ld64
--->  Computing dependencies for ld64.
Warning: configured user/group macports does not exist, will build as root
--->  Deactivating ld64 @3_4+ld64_97
--->  Cleaning ld64
--->  Removing work directory for ld64
--->  Activating ld64 @3_4+ld64_xtools

But kinda not obvious it should be done this way.

Last edited 12 months ago by barracuda156 (previous) (diff)

comment:2 Changed 12 months ago by barracuda156

Apparently darwin-xtools links to libtapi if finds it:

-- *Top Level* including /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_darwin-xtools/darwin-xtools/work/darwin-xtools-6f6c04e8b25497851f6a5979a6e96023fffe22df/tapilite/include
-- TAPI version: 2.0.3
-- APPLE Tapi version: 1000.10.8
-- *LD64* including /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_darwin-xtools/darwin-xtools/work/darwin-xtools-6f6c04e8b25497851f6a5979a6e96023fffe22df/tapilite/include
-- Configuring done

UPD. Nop, this is its internal tapi.

Last edited 12 months ago by barracuda156 (previous) (diff)
Note: See TracTickets for help on using tickets.