Opened 17 months ago
Last modified 15 months ago
#67678 assigned defect
transmission-x11-4.0.3_0+gtk.darwin_13.x86_64 fails to build on mavericks
Reported by: | tehcog (tehcog) | Owned by: | i0ntempest |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | barracuda156, chrstphrchvz (Christopher Chavez) | |
Port: | transmission-x11 |
Description
Please see attached main.log
:info:build [ 26%] Building CXX object libtransmission/CMakeFiles/transmission.dir/crypto-utils-ccrypto.cc.o :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/libtransmission && /opt/local/bin/clang++-mp-16 -DDISABLE_GETTEXT -DFMT_EXCEPTIONS=0 -DFMT_HEADER_ONLY=1 -DHAVE_COPYFILE -DHAVE_FLOCK -DHAVE_MKDTEMP -DHAVE_PREAD -DHAVE_PWRITE -DHAVE_SO_REUSEPORT=1 -DHAVE_STATVFS -DHAVE_SYS_STATVFS_H -DHAVE_XLOCALE_H -DNATPMP_STATICLIB -DPACKAGE_DATA_DIR=\"/opt/local/share\" -DPOSIX -DSYSTEM_MINIUPNP -DUSE_SYSTEM_B64 -DWIDE_INTEGER_DISABLE_FLOAT_INTEROP -DWIDE_INTEGER_DISABLE_IOSTREAM -DWITH_KQUEUE -DWITH_UTP -D__TRANSMISSION__ -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/libtransmission -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/third-party/libutp/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/third-party/jsonsl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/third-party/wildmat -isystem /opt/local/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/fast_float/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/third-party/libnatpmp.bld/pfx/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/third-party/dht.bld/pfx/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/utfcpp/source -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/wide-integer -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/fmt/include -pipe -I/opt/local/libexec/openssl3/include -Os -DNDEBUG -I/opt/local/libexec/openssl3/include -isystem/opt/local/include/LegacySupport -isystem/opt/local/include -stdlib=libc++ -arch x86_64 -mmacosx-version-min=10.9 -W -Wall -Wextra -Wcast-align -Wexit-time-destructors -Wextra-semi -Wextra-semi-stmt -Wextra-tokens -Wfloat-equal -Wgnu -Winit-self -Wint-in-bool-context -Wmissing-format-attribute -Wnull-dereference -Wpointer-arith -Wredundant-decls -Wredundant-move -Wreorder-ctor -Wreturn-std-move -Wself-assign -Wself-move -Wsemicolon-before-method-body -Wsentinel -Wshadow -Wsign-compare -Wsometimes-uninitialized -Wstring-conversion -Wsuggest-destructor-override -Wsuggest-override -Wuninitialized -Wunreachable-code -Wunused -Wunused-const-variable -Wunused-parameter -Wunused-result -Wwrite-strings -Wformat-security -fobjc-arc -std=gnu++17 -MD -MT libtransmission/CMakeFiles/transmission.dir/crypto-utils-ccrypto.cc.o -MF CMakeFiles/transmission.dir/crypto-utils-ccrypto.cc.o.d -o CMakeFiles/transmission.dir/crypto-utils-ccrypto.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/libtransmission/crypto-utils-ccrypto.cc :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/libtransmission/crypto-utils-ccrypto.cc:10:10: fatal error: 'CommonCrypto/CommonRandom.h' file not found :info:build #include <CommonCrypto/CommonRandom.h> :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build [ 27%] Building CXX object libtransmission/CMakeFiles/transmission.dir/crypto-utils-fallback.cc.o :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/libtransmission && /opt/local/bin/clang++-mp-16 -DDISABLE_GETTEXT -DFMT_EXCEPTIONS=0 -DFMT_HEADER_ONLY=1 -DHAVE_COPYFILE -DHAVE_FLOCK -DHAVE_MKDTEMP -DHAVE_PREAD -DHAVE_PWRITE -DHAVE_SO_REUSEPORT=1 -DHAVE_STATVFS -DHAVE_SYS_STATVFS_H -DHAVE_XLOCALE_H -DNATPMP_STATICLIB -DPACKAGE_DATA_DIR=\"/opt/local/share\" -DPOSIX -DSYSTEM_MINIUPNP -DUSE_SYSTEM_B64 -DWIDE_INTEGER_DISABLE_FLOAT_INTEROP -DWIDE_INTEGER_DISABLE_IOSTREAM -DWITH_KQUEUE -DWITH_UTP -D__TRANSMISSION__ -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/libtransmission -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/third-party/libutp/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/third-party/jsonsl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/third-party/wildmat -isystem /opt/local/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/fast_float/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/third-party/libnatpmp.bld/pfx/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/third-party/dht.bld/pfx/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/utfcpp/source -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/wide-integer -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/fmt/include -pipe -I/opt/local/libexec/openssl3/include -Os -DNDEBUG -I/opt/local/libexec/openssl3/include -isystem/opt/local/include/LegacySupport -isystem/opt/local/include -stdlib=libc++ -arch x86_64 -mmacosx-version-min=10.9 -W -Wall -Wextra -Wcast-align -Wexit-time-destructors -Wextra-semi -Wextra-semi-stmt -Wextra-tokens -Wfloat-equal -Wgnu -Winit-self -Wint-in-bool-context -Wmissing-format-attribute -Wnull-dereference -Wpointer-arith -Wredundant-decls -Wredundant-move -Wreorder-ctor -Wreturn-std-move -Wself-assign -Wself-move -Wsemicolon-before-method-body -Wsentinel -Wshadow -Wsign-compare -Wsometimes-uninitialized -Wstring-conversion -Wsuggest-destructor-override -Wsuggest-override -Wuninitialized -Wunreachable-code -Wunused -Wunused-const-variable -Wunused-parameter -Wunused-result -Wwrite-strings -Wformat-security -fobjc-arc -std=gnu++17 -MD -MT libtransmission/CMakeFiles/transmission.dir/crypto-utils-fallback.cc.o -MF CMakeFiles/transmission.dir/crypto-utils-fallback.cc.o.d -o CMakeFiles/transmission.dir/crypto-utils-fallback.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/libtransmission/crypto-utils-fallback.cc :info:build [ 27%] Building CXX object libtransmission/CMakeFiles/transmission.dir/crypto-utils.cc.o :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/libtransmission && /opt/local/bin/clang++-mp-16 -DDISABLE_GETTEXT -DFMT_EXCEPTIONS=0 -DFMT_HEADER_ONLY=1 -DHAVE_COPYFILE -DHAVE_FLOCK -DHAVE_MKDTEMP -DHAVE_PREAD -DHAVE_PWRITE -DHAVE_SO_REUSEPORT=1 -DHAVE_STATVFS -DHAVE_SYS_STATVFS_H -DHAVE_XLOCALE_H -DNATPMP_STATICLIB -DPACKAGE_DATA_DIR=\"/opt/local/share\" -DPOSIX -DSYSTEM_MINIUPNP -DUSE_SYSTEM_B64 -DWIDE_INTEGER_DISABLE_FLOAT_INTEROP -DWIDE_INTEGER_DISABLE_IOSTREAM -DWITH_KQUEUE -DWITH_UTP -D__TRANSMISSION__ -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/libtransmission -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/third-party/libutp/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/third-party/jsonsl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/third-party/wildmat -isystem /opt/local/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/fast_float/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/third-party/libnatpmp.bld/pfx/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build/third-party/dht.bld/pfx/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/utfcpp/source -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/wide-integer -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/cmake/../third-party/fmt/include -pipe -I/opt/local/libexec/openssl3/include -Os -DNDEBUG -I/opt/local/libexec/openssl3/include -isystem/opt/local/include/LegacySupport -isystem/opt/local/include -stdlib=libc++ -arch x86_64 -mmacosx-version-min=10.9 -W -Wall -Wextra -Wcast-align -Wexit-time-destructors -Wextra-semi -Wextra-semi-stmt -Wextra-tokens -Wfloat-equal -Wgnu -Winit-self -Wint-in-bool-context -Wmissing-format-attribute -Wnull-dereference -Wpointer-arith -Wredundant-decls -Wredundant-move -Wreorder-ctor -Wreturn-std-move -Wself-assign -Wself-move -Wsemicolon-before-method-body -Wsentinel -Wshadow -Wsign-compare -Wsometimes-uninitialized -Wstring-conversion -Wsuggest-destructor-override -Wsuggest-override -Wuninitialized -Wunreachable-code -Wunused -Wunused-const-variable -Wunused-parameter -Wunused-result -Wwrite-strings -Wformat-security -fobjc-arc -std=gnu++17 -MD -MT libtransmission/CMakeFiles/transmission.dir/crypto-utils.cc.o -MF CMakeFiles/transmission.dir/crypto-utils.cc.o.d -o CMakeFiles/transmission.dir/crypto-utils.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/transmission-4.0.3/libtransmission/crypto-utils.cc :info:build 1 error generated. :info:build make[2]: *** [libtransmission/CMakeFiles/transmission.dir/crypto-utils-ccrypto.cc.o] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build' :info:build make[1]: *** [libtransmission/CMakeFiles/transmission.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_transmission-x11/transmission-x11/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON :info:build Exit code: 2 :error:build Failed to build transmission-x11: command execution failed :debug:build Error code: CHILDSTATUS 5176 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname"
Attachments (1)
Change History (5)
Changed 17 months ago by tehcog (tehcog)
Attachment: | transmission-x11_main.log added |
---|
comment:1 Changed 17 months ago by chrstphrchvz (Christopher Chavez)
transmission 4.0.0 added CommonCrypto support, but it requires CommonCrypto/CommonRandom.h which is only present on macOS 10.10 and later. And transmission only checks for CommonCrypto/CommonCrypto.h (https://github.com/transmission/transmission/blob/4.0.3/CMakeLists.txt#L231), which is present since macOS 10.8, before automatically enabling CommonCrypto support.
This issue may be resolved by specifying -DWITH_CRYPTO=openssl
in configure.args
so that OpenSSL is always used instead of CommonCrypto. transmission-x11 already depends on OpenSSL, and -DWITH_CRYPTO=…
should be specified anyway to avoid opportunistically depending on other crypto implementations.
comment:2 Changed 17 months ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:3 Changed 17 months ago by jmroot (Joshua Root)
Owner: | set to i0ntempest |
---|---|
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
main.log