[MacPorts] #66206: Impossible to build a port libxml2 @2.10.3_1 because all compilers depend on this port.

MacPorts noreply at macports.org
Wed Nov 9 01:58:27 UTC 2022


#66206: Impossible to build a port libxml2 @2.10.3_1 because all compilers depend
on this port.
-------------------------+-----------------------
  Reporter:  cave-canem  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.0
Resolution:              |   Keywords:  Mavericks
      Port:  libxml2     |
-------------------------+-----------------------

Comment (by cave-canem):

 Joshua Root, '''see:'''


 {{{
 sudo port -vd upgrade -n --force libxml2
 ...
 DEBUG: Environment:
 CC='/usr/bin/clang'
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/MacPorts/var/macports/build/_opt_macports-
 ports_textproc_libxml2/libxml2/work/.CC_PRINT_OPTIONS'
 CFLAGS='-pipe -Os -arch x86_64'
 CPATH='/opt/MacPorts/include'
 CPPFLAGS='-I/opt/MacPorts/include'
 CXX='/usr/bin/clang++'
 CXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
 DEVELOPER_DIR='/Library/Developer/CommandLineTools'
 F90FLAGS='-pipe -Os -m64'
 FCFLAGS='-pipe -Os -m64'
 FFLAGS='-pipe -Os -m64'
 INSTALL='/usr/bin/install -c'
 LDFLAGS='-L/opt/MacPorts/lib -Wl,-headerpad_max_install_names -arch
 x86_64'
 LIBRARY_PATH='/opt/MacPorts/lib'
 MACOSX_DEPLOYMENT_TARGET='10.9'
 OBJC='/usr/bin/clang'
 OBJCFLAGS='-pipe -Os -arch x86_64'
 OBJCXX='/usr/bin/clang++'
 OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
 Executing:  cd "/opt/MacPorts/var/macports/build/_opt_macports-
 ports_textproc_libxml2/libxml2/work/libxml2-2.10.3" && ./configure
 --prefix=/opt/MacPorts --disable-silent-rules --enable-static --with-ftp
 --with-icu --without-python
 DEBUG: system:  cd "/opt/MacPorts/var/macports/build/_opt_macports-
 ports_textproc_libxml2/libxml2/work/libxml2-2.10.3" && ./configure
 --prefix=/opt/MacPorts --disable-silent-rules --enable-static --with-ftp
 --with-icu --without-python
 checking build system type... x86_64-apple-darwin13.4.0
 checking host system type... x86_64-apple-darwin13.4.0
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a race-free mkdir -p... /opt/MacPorts/bin/gmkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking whether make supports nested variables... yes
 checking whether to enable maintainer-specific portions of Makefiles...
 yes
 checking whether make supports nested variables... (cached) yes
 }}}
 [[span(style=color: #FF0000, checking for gcc... /usr/bin/clang)]]

 [[span(style=color: #FF0000,checking whether the C compiler works... no)]]
 {{{
 configure: error: in `/opt/MacPorts/var/macports/build/_opt_macports-
 ports_textproc_libxml2/libxml2/work/libxml2-2.10.3':
 configure: error: C compiler cannot create executables
 See `config.log' for more details
 Command failed:  cd "/opt/MacPorts/var/macports/build/_opt_macports-
 ports_textproc_libxml2/libxml2/work/libxml2-2.10.3" && ./configure
 --prefix=/opt/MacPorts --disable-silent-rules --enable-static --with-ftp
 --with-icu --without-python
 Exit code: 77
 Error: Failed to configure libxml2: consult
 /opt/MacPorts/var/macports/build/_opt_macports-
 ports_textproc_libxml2/libxml2/work/libxml2-2.10.3/config.log
 Error: Failed to configure libxml2: configure failure: command execution
 failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: configure failure: command execution failed
     while executing
 "$procedure $targetname"
 Error: See /opt/MacPorts/var/macports/logs/_opt_macports-
 ports_textproc_libxml2/libxml2/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

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


More information about the macports-tickets mailing list