[MacPorts] #59197: disktype @9: builds universal when it should not
MacPorts
noreply at macports.org
Mon Oct 7 12:04:26 UTC 2019
#59197: disktype @9: builds universal when it should not
------------------------+----------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.1
Keywords: | Port: disktype
------------------------+----------------------
disktype fails to build on Snow Leopard i386 because, although MacPorts
did not request it, an i386/ppc universal build is attempted, and now that
we are using clang 8, PowerPC builds are no longer possible:
{{{
---> Building disktype
DEBUG: Executing org.macports.build (disktype)
DEBUG: Environment:
CC='/opt/local/bin/clang-mp-8.0'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_sysutils_disktype/disktype/work/.CC_PRINT_OPTIONS'
CFLAGS='-Os -arch i386'
CPATH='/opt/local/include'
DEVELOPER_DIR='/Developer'
LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch i386'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.6'
Executing: cd
"/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_sysutils_disktype/disktype/work/disktype-9"
&& /usr/bin/make -j4 -w all
DEBUG: system: cd
"/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_sysutils_disktype/disktype/work/disktype-9"
&& /usr/bin/make -j4 -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_sysutils_disktype/disktype/work/disktype-9'
/opt/local/bin/clang-mp-8.0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_MACOS_TYPE -DUSE_IOCTL_DARWIN -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -Os -arch i386 -Wall -arch i386 -arch ppc
-c main.c
/opt/local/bin/clang-mp-8.0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_MACOS_TYPE -DUSE_IOCTL_DARWIN -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -Os -arch i386 -Wall -arch i386 -arch ppc
-c lib.c
/opt/local/bin/clang-mp-8.0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_MACOS_TYPE -DUSE_IOCTL_DARWIN -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -Os -arch i386 -Wall -arch i386 -arch ppc
-c buffer.c
/opt/local/bin/clang-mp-8.0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_MACOS_TYPE -DUSE_IOCTL_DARWIN -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -Os -arch i386 -Wall -arch i386 -arch ppc
-c file.c
fatal error: error in backend: Darwin is no longer supported for PowerPC
clang: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
}}}
The port should build for the requested architectures.
--
Ticket URL: <https://trac.macports.org/ticket/59197>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list