[MacPorts] #51711: libarchive @3.2.1 - Build failure
MacPorts
noreply at macports.org
Sat Jun 25 10:10:38 PDT 2016
#51711: libarchive @3.2.1 - Build failure
--------------------+--------------------------------
Reporter: eric@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: libarchive
--------------------+--------------------------------
A new version of `libarchive(@3.2.1)` arrived last night when I ran the
update…
But, the build fails. Did try to clean->reinstall etc. I have no idea how
to solve this.
Last part of: `sudo port -v -s upgrade libarchive` (from 1st error)
{{{
libarchive/archive_read_support_format_lha.c:1730:3: error: use of unknown
builtin '__builtin_bswap16' [-Wimplicit-function-declaration]
CRC16W;
^
libarchive/archive_read_support_format_lha.c:1725:11: note: expanded from
macro 'CRC16W'
crc ^= bswap16(*buff); buff++; \
^
libarchive/archive_read_support_format_lha.c:1719:22: note: expanded from
macro 'bswap16'
# define bswap16(x) __builtin_bswap16(x)
^
1 error generated.
make[1]: *** [libarchive/archive_read_support_format_lha.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I/opt/local/include
-I/opt/local/include/libxml2 -pipe -Os -arch x86_64 -Wall -Wformat
-Wformat-security -MT libarchive/archive_read_support_format_mtree.lo -MD
-MP -MF libarchive/.deps/archive_read_support_format_mtree.Tpo -c
libarchive/archive_read_support_format_mtree.c -fno-common -DPIC -o
libarchive/.libs/archive_read_support_format_mtree.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I/opt/local/include
-I/opt/local/include/libxml2 -pipe -Os -arch x86_64 -Wall -Wformat
-Wformat-security -MT libarchive/archive_read_support_format_iso9660.lo
-MD -MP -MF libarchive/.deps/archive_read_support_format_iso9660.Tpo -c
libarchive/archive_read_support_format_iso9660.c -o
libarchive/archive_read_support_format_iso9660.o >/dev/null 2>&1
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I/opt/local/include
-I/opt/local/include/libxml2 -pipe -Os -arch x86_64 -Wall -Wformat
-Wformat-security -MT libarchive/archive_read_support_format_cab.lo -MD
-MP -MF libarchive/.deps/archive_read_support_format_cab.Tpo -c
libarchive/archive_read_support_format_cab.c -o
libarchive/archive_read_support_format_cab.o >/dev/null 2>&1
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I/opt/local/include
-I/opt/local/include/libxml2 -pipe -Os -arch x86_64 -Wall -Wformat
-Wformat-security -MT libarchive/archive_read_support_format_mtree.lo -MD
-MP -MF libarchive/.deps/archive_read_support_format_mtree.Tpo -c
libarchive/archive_read_support_format_mtree.c -o
libarchive/archive_read_support_format_mtree.o >/dev/null 2>&1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libarchive/libarchive/work/libarchive-3.2.1'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libarchive/libarchive/work/libarchive-3.2.1'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libarchive/libarchive/work/libarchive-3.2.1"
&& /usr/bin/make -j5 -w all
Exit code: 2
Error: org.macports.build for port libarchive returned: command execution
failed
Warning: targets not executed for libarchive: org.macports.install
org.macports.build org.macports.destroot
Please see the log file for port libarchive for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libarchive/libarchive/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
:: code: 1
[Me at hostname] ~$
}}}
//Attaching the `**/main.log`//
Current working:
{{{
$ port echo outdated
libarchive @3.1.2_2
}}}
----
//OS X: 10.7.5, MacPorts: 2.3.4, Xcode: 4.4.3//
--
Ticket URL: <https://trac.macports.org/ticket/51711>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list