Opened 2 years ago
Last modified 2 years ago
#65761 new defect
libtextstyle: Can't be built on Rosetta when non Rosetta xz is installed
Reported by: | catap (Kirill A. Korinsky) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | libtextstyle |
Description
How to reproduce:
snow-leopard:~ catap$ sudo port -N install --unrequested xz ---> Computing dependencies for xz ---> Dependencies to be installed: gettext-runtime libcxx libiconv ---> Fetching archive for libcxx ---> Attempting to fetch libcxx-5.0.1_5+emulated_tls+universal.darwin_10.i386-x86_64.tbz2 from http://packages.macports.org/libcxx ---> Attempting to fetch libcxx-5.0.1_5+emulated_tls+universal.darwin_10.i386-x86_64.tbz2.rmd160 from http://packages.macports.org/libcxx ---> Installing libcxx @5.0.1_5+emulated_tls+universal ---> Activating libcxx @5.0.1_5+emulated_tls+universal ---> Cleaning libcxx ---> Fetching archive for libiconv ---> Attempting to fetch libiconv-1.17_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/libiconv ---> Attempting to fetch libiconv-1.17_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/libiconv ---> Installing libiconv @1.17_0 ---> Activating libiconv @1.17_0 ---> Cleaning libiconv ---> Fetching archive for gettext-runtime ---> Attempting to fetch gettext-runtime-0.21_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/gettext-runtime ---> Attempting to fetch gettext-runtime-0.21_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/gettext-runtime ---> Installing gettext-runtime @0.21_0 ---> Activating gettext-runtime @0.21_0 ---> Cleaning gettext-runtime ---> Fetching archive for xz ---> Attempting to fetch xz-5.2.6_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/xz ---> Attempting to fetch xz-5.2.6_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/xz ---> Installing xz @5.2.6_0 ---> Activating xz @5.2.6_0 ---> Cleaning xz ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found. snow-leopard:~ catap$ sudo port -s install --unrequested libtextstyle build_arch=ppc universal_archs= cxx_stdlib=libstdc++ Error: Cannot install libtextstyle for the arch 'ppc' because Error: its dependency libiconv is only installed for the arch 'x86_64' Error: and the configured universal_archs 'x86_64 i386' are not sufficient. Error: Unable to execute port: architecture mismatch snow-leopard:~ catap$
Change History (4)
comment:1 Changed 2 years ago by catap (Kirill A. Korinsky)
comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | Can't be build on Rosetta when non Rosetta xz is installed → libtextstyle: Can't be built on Rosetta when non Rosetta xz is installed |
---|
I don't know what to do with this bug report. MacPorts isn't designed for picking and choosing build architectures on a port-by-port basis like that. Use the same build_arch and universal_archs settings (in macports.conf) for building all ports in a given MacPorts prefix and don't override them on the command line.
comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
If you want to build things for ppc on Snow Leopard, either for some ports (which as I say is unsupported and fraught with peril) or for all ports, then set build_arch
to ppc
and add ppc
to universal_archs
(so universal_archs x86_64 i386 ppc
). If you change the value of universal_archs
, you should manually rebuild (or uninstall and reinstall) any ports that were already built universal with the previous set of universal archs. (MacPorts doesn't expect you to change it after ports have been installed.)
Well,
sudo port install --unrequested gcc12 build_arch=ppc universal_archs= cxx_stdlib=libstdc++
fails onlibtextstyle
as: