Opened 18 months ago
Closed 18 months ago
#67480 closed defect (fixed)
darwin-xtools incorrectly tries to build universal variant, passing archflags together, and lies about being installed as universal
Reported by: | barracuda156 | Owned by: | catap (Kirill A. Korinsky) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | darwin-xtools |
Description
The port passes archflags together, but gcc10-bootstrap
does not support that. It should either be fixed (which is desirable) or otherwise universal to be disabled until fixed.
gcc: warning: x86_64 conflicts with i386 (arch flags ignored) [ 17%] Building C object cctools/libstuff/CMakeFiles/stuff.dir/breakout.c.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_darwin-xtools/darwin-xtools/work/build/cctools/libstuff && /opt/local/libexec/gcc10-bootstrap/bin/gcc -DALLOW_64BIT_LEB_ON_32B_TARGET=1 -DIN_CCTOOLS -DPACKAGE_VERSION=\"unpackaged\" -DXTOOLS_VERSION=\"3.3.1\" -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D__private_extern__="__attribute__((__visibility__(\"hidden\")))" -isystem /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-6446947f3e99db52a40b30a38f36b9ae33492aea/tapilite/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_darwin-xtools/darwin-xtools/work/build/host-includes -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_darwin-xtools/darwin-xtools/work/build/include -isystem /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-6446947f3e99db52a40b30a38f36b9ae33492aea/macho-target-includes -I/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-6446947f3e99db52a40b30a38f36b9ae33492aea/libyaml/include -I/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-6446947f3e99db52a40b30a38f36b9ae33492aea/cctools/include -pipe -Os -DNDEBUG -Wno-deprecated -O3 -DNDEBUG -arch x86_64 -arch i386 -mmacosx-version-min=10.6 -fno-common -o CMakeFiles/stuff.dir/breakout.c.o -c /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-6446947f3e99db52a40b30a38f36b9ae33492aea/cctools/libstuff/breakout.c gcc: warning: x86_64 conflicts with i386 (arch flags ignored)
The port also lies about being installed as universal:
---> Installing darwin-xtools @3.3.0_0+universal Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_darwin-xtools/darwin-xtools/work/destroot" && /usr/bin/tar -cvf - . | /usr/bin/bzip2 -c9 > /opt/local/var/macports/software/darwin-xtools/darwin-xtools-3.3.0_0+universal.darwin_10.i386-x86_64.tbz2 a . a ./+COMMENT a ./+CONTENTS a ./+DESC a ./+PORTFILE a ./+STATE a ./opt a ./opt/local a ./opt/local/libexec a ./opt/local/libexec/darwin-xtools a ./opt/local/libexec/darwin-xtools/bin a ./opt/local/libexec/darwin-xtools/bin/ar a ./opt/local/libexec/darwin-xtools/bin/arm a ./opt/local/libexec/darwin-xtools/bin/as a ./opt/local/libexec/darwin-xtools/bin/check_dylib a ./opt/local/libexec/darwin-xtools/bin/checksyms a ./opt/local/libexec/darwin-xtools/bin/cmpdylib a ./opt/local/libexec/darwin-xtools/bin/codesign_allocate a ./opt/local/libexec/darwin-xtools/bin/ctf_insert a ./opt/local/libexec/darwin-xtools/bin/dyldinfo a ./opt/local/libexec/darwin-xtools/bin/i386 a ./opt/local/libexec/darwin-xtools/bin/indr a ./opt/local/libexec/darwin-xtools/bin/install_name_tool a ./opt/local/libexec/darwin-xtools/bin/ld a ./opt/local/libexec/darwin-xtools/bin/libtool a ./opt/local/libexec/darwin-xtools/bin/lipo a ./opt/local/libexec/darwin-xtools/bin/machocheck a ./opt/local/libexec/darwin-xtools/bin/nm a ./opt/local/libexec/darwin-xtools/bin/nmedit a ./opt/local/libexec/darwin-xtools/bin/ObjectDump a ./opt/local/libexec/darwin-xtools/bin/otool a ./opt/local/libexec/darwin-xtools/bin/pagestuff a ./opt/local/libexec/darwin-xtools/bin/ppc a ./opt/local/libexec/darwin-xtools/bin/ppc64 a ./opt/local/libexec/darwin-xtools/bin/ranlib a ./opt/local/libexec/darwin-xtools/bin/rebase a ./opt/local/libexec/darwin-xtools/bin/redo_prebinding a ./opt/local/libexec/darwin-xtools/bin/seg_addr_table a ./opt/local/libexec/darwin-xtools/bin/seg_hack a ./opt/local/libexec/darwin-xtools/bin/segedit a ./opt/local/libexec/darwin-xtools/bin/size a ./opt/local/libexec/darwin-xtools/bin/strings a ./opt/local/libexec/darwin-xtools/bin/strip a ./opt/local/libexec/darwin-xtools/bin/unwinddump a ./opt/local/libexec/darwin-xtools/bin/x86_64 a ./opt/local/libexec/darwin-xtools/bin/x86_64/as a ./opt/local/libexec/darwin-xtools/bin/ppc64/as a ./opt/local/libexec/darwin-xtools/bin/ppc/as a ./opt/local/libexec/darwin-xtools/bin/i386/as a ./opt/local/libexec/darwin-xtools/bin/arm/as ---> Activating darwin-xtools @3.3.0_0+universal x ./ x ./+COMMENT x ./+CONTENTS x ./+DESC x ./+PORTFILE x ./+STATE x ./opt/ x ./opt/local/ x ./opt/local/libexec/ x ./opt/local/libexec/darwin-xtools/ x ./opt/local/libexec/darwin-xtools/bin/ x ./opt/local/libexec/darwin-xtools/bin/ar x ./opt/local/libexec/darwin-xtools/bin/arm/ x ./opt/local/libexec/darwin-xtools/bin/as x ./opt/local/libexec/darwin-xtools/bin/check_dylib x ./opt/local/libexec/darwin-xtools/bin/checksyms x ./opt/local/libexec/darwin-xtools/bin/cmpdylib x ./opt/local/libexec/darwin-xtools/bin/codesign_allocate x ./opt/local/libexec/darwin-xtools/bin/ctf_insert x ./opt/local/libexec/darwin-xtools/bin/dyldinfo x ./opt/local/libexec/darwin-xtools/bin/i386/ x ./opt/local/libexec/darwin-xtools/bin/indr x ./opt/local/libexec/darwin-xtools/bin/install_name_tool x ./opt/local/libexec/darwin-xtools/bin/ld x ./opt/local/libexec/darwin-xtools/bin/libtool x ./opt/local/libexec/darwin-xtools/bin/lipo x ./opt/local/libexec/darwin-xtools/bin/machocheck x ./opt/local/libexec/darwin-xtools/bin/nm x ./opt/local/libexec/darwin-xtools/bin/nmedit x ./opt/local/libexec/darwin-xtools/bin/ObjectDump x ./opt/local/libexec/darwin-xtools/bin/otool x ./opt/local/libexec/darwin-xtools/bin/pagestuff x ./opt/local/libexec/darwin-xtools/bin/ppc/ x ./opt/local/libexec/darwin-xtools/bin/ppc64/ x ./opt/local/libexec/darwin-xtools/bin/ranlib x ./opt/local/libexec/darwin-xtools/bin/rebase x ./opt/local/libexec/darwin-xtools/bin/redo_prebinding x ./opt/local/libexec/darwin-xtools/bin/seg_addr_table x ./opt/local/libexec/darwin-xtools/bin/seg_hack x ./opt/local/libexec/darwin-xtools/bin/segedit x ./opt/local/libexec/darwin-xtools/bin/size x ./opt/local/libexec/darwin-xtools/bin/strings x ./opt/local/libexec/darwin-xtools/bin/strip x ./opt/local/libexec/darwin-xtools/bin/unwinddump x ./opt/local/libexec/darwin-xtools/bin/x86_64/ x ./opt/local/libexec/darwin-xtools/bin/x86_64/as x ./opt/local/libexec/darwin-xtools/bin/ppc64/as x ./opt/local/libexec/darwin-xtools/bin/ppc/as x ./opt/local/libexec/darwin-xtools/bin/i386/as x ./opt/local/libexec/darwin-xtools/bin/arm/as ---> Cleaning darwin-xtools
But:
10:~ svacchanda$ file /opt/local/libexec/darwin-xtools/bin/as /opt/local/libexec/darwin-xtools/bin/as: Mach-O 64-bit executable x86_64 10:~ svacchanda$ file /opt/local/libexec/darwin-xtools/bin/ld /opt/local/libexec/darwin-xtools/bin/ld: Mach-O 64-bit executable x86_64
Change History (1)
comment:1 Changed 18 months ago by catap (Kirill A. Korinsky)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In 50c00f72a29d3e1a47a298fc5fec65ce8faf0172/macports-ports (master):