[MacPorts] #59041: upgrade of mkvtoolnix fails during build/configure. Unable to find boost libraries

MacPorts noreply at macports.org
Sun Sep 15 19:41:16 UTC 2019


#59041: upgrade of mkvtoolnix fails during build/configure. Unable to find boost
libraries
--------------------------------+--------------------
  Reporter:  TheLastLovemark    |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.5.4
Resolution:                     |   Keywords:
      Port:  mkvtoolnix, boost  |
--------------------------------+--------------------
Description changed by TheLastLovemark:

Old description:

> This ''may'' be related to #59038.
>
> The configure script runs its checks and fails when it comes to boost
>

> {{{
> checking for boostlib >= 1.49.0... yes
> checking whether the Boost::System library is available... yes
> configure: error: Could not find a version of the library!
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-30.1.0"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-
> boost=/opt/local --with-extra-libs=/opt/local/lib --with-extra-
> includes=/opt/local/include --with-xsltproc=/opt/local/bin/xsltproc
> --with-docbook-xsl-root=/opt/local/share/xsl/docbook-xsl-nons --with-
> po4a=/opt/local/bin/po4a --with-po4a-translate=/opt/local/bin/po4a-
> translate --enable-qt --with-qmake=/opt/local/libexec/qt5/bin/qmake
> --with-moc=/opt/local/libexec/qt5/bin/moc --with-
> uic=/opt/local/libexec/qt5/bin/uic --with-
> rcc=/opt/local/libexec/qt5/bin/rcc
> Exit code: 1
> Error: Failed to configure mkvtoolnix, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-30.1.0/config.log
> Error: Failed to configure mkvtoolnix: configure failure: command
> execution failed
> DEBUG: Error code: NONE
> DEBUG: Backtrace: configure failure: command execution failed
>     while executing
> "$procedure $targetname"
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/main.log
> for details.
> DEBUG: Registry error: qt59-qtbase not registered as installed & active.
> }}}
>
> boost is installed:
>

> {{{
> $ port location boost
> The following versions of boost are currently installed:
>   boost @1.66.0_3+no_single+no_static+python27
>   boost @1.66.0_4+no_single+no_static+python27
>   boost
> @1.71.0_0+cmake_scripts+no_single+no_static+openmpi+python27+regex_match_extra
> (active)
>   boost @1.71.0_0+no_single+no_static+python27
> Error: port location failed: Registry error: Please specify the full
> version as recorded in the port registry.
> $ port location boost
> @1.71.0_0+cmake_scripts+no_single+no_static+openmpi+python27+regex_match_extra
> Port boost
> 1.71.0_0+cmake_scripts+no_single+no_static+openmpi+python27+regex_match_extra
> is installed as an image in:
> /opt/local/var/macports/software/boost/boost-1.71.0_0+cmake_scripts+no_single+no_static+openmpi+python27+regex_match_extra.darwin_17.x86_64.tbz2
> }}}
>

>
> I tried running the call to the configure script manually and supplying
> the full path to boost, but that failed too:
>
> {{{
> # cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-30.1.0"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
> ****--with-boost=/opt/local/include/boost**** --with-extra-
> libs=/opt/local/lib --with-extra-includes=/opt/local/include --with-
> xsltproc=/opt/local/bin/xsltproc --with-docbook-xsl-
> root=/opt/local/share/xsl/docbook-xsl-nons --with-
> po4a=/opt/local/bin/po4a --with-po4a-translate=/opt/local/bin/po4a-
> translate --enable-qt --with-qmake=/opt/local/libexec/qt5/bin/qmake
> --with-moc=/opt/local/libexec/qt5/bin/moc --with-
> uic=/opt/local/libexec/qt5/bin/uic --with-
> rcc=/opt/local/libexec/qt5/bin/rcc
> checking build system type... x86_64-apple-darwin17.7.0
> checking host system type... x86_64-apple-darwin17.7.0
> checking target system type... x86_64-apple-darwin17.7.0
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether gcc and cc understand -c and -o together... yes
> checking how to run the C preprocessor... gcc -E
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking how to run the C++ preprocessor... g++ -E
> checking whether make sets $(MAKE)... yes
> checking for a BSD-compatible install... /opt/local/bin/ginstall -c
> checking for ranlib... ranlib
> checking for strip... strip
> checking for ar... ar
> checking for ld... ld
> checking for strings... strings
> checking for objdump... objdump
> checking for pkg-config... /opt/local/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for grep that handles long lines and -e... /opt/local/bin/ggrep
> checking for egrep... /opt/local/bin/ggrep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for inttypes.h... (cached) yes
> checking for stdint.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking sys/syscall.h usability... yes
> checking sys/syscall.h presence... yes
> checking for sys/syscall.h... yes
> checking stropts.h usability... no
> checking stropts.h presence... no
> checking for stropts.h... no
> checking for vsscanf... yes
> checking for syscall... yes
> checking compiler type and version... gcc 8.3.0
> checking for support for the "-std=c++14" flag... -std=gnu++14
> checking for support for C++11 feature "initializer lists"... yes
> checking for support for C++11 feature "range-based 'for'"... yes
> checking for support for C++11 feature "right angle brackets"... yes
> checking for support for C++11 feature "'auto' keyword"... yes
> checking for support for C++11 feature "lambda functions"... yes
> checking for support for C++11 feature "nullptr"... yes
> checking for support for C++11 feature "tuples"... yes
> checking for support for C++11 feature "alias declarations"... yes
> checking for support for C++14 feature "std::make_unique"... yes
> checking for support for C++14 feature "digit separators"... yes
> checking for support for C++14 feature "binary literals"... yes
> checking for support for C++14 feature "generic lambdas"... yes
> checking for support for C++14 feature "User-defined literals for
> std::string"... yes
> checking whether the byte order is big-endian... no
> checking if being compiled with mingw32... no
> checking for int64_t... yes
> checking for uint64_t... yes
> checking size of int... 4
> checking size of long... 8
> checking size of long long... 8
> checking for PRId64 and PRIu64... yes
> checking iconv.h usability... yes
> checking iconv.h presence... yes
> checking for iconv.h... yes
> checking for iconv... yes
> checking for iconv declaration...
>          extern size_t iconv (iconv_t cd, char * *inbuf, size_t
> *inbytesleft, char * *outbuf, size_t *outbytesleft);
> checking for nl_langinfo... yes
> checking for ogg_sync_init in -logg... yes
> checking ogg/ogg.h usability... yes
> checking ogg/ogg.h presence... yes
> checking for ogg/ogg.h... yes
> checking for vorbis_synthesis_init in -lvorbis... yes
> checking vorbis/codec.h usability... yes
> checking vorbis/codec.h presence... yes
> checking for vorbis/codec.h... yes
> checking for FLAC__stream_decoder_new in -lFLAC... yes
> checking for FLAC__StreamMetadata_StreamInfo.sample_rate... yes
> checking for FLAC__stream_decoder_skip_single_frame in -lFLAC... yes
> checking for EBML... yes
> checking for MATROSKA... yes
> checking if libEBML contains FindNextChild... yes
> checking pugixml.hpp usability... yes
> checking pugixml.hpp presence... yes
> checking for pugixml.hpp... yes
> checking for main in -lpugixml... yes
> configure: Using the system version of the pugixml library
> checking nlohmann's json-cpp... no
> configure: Using the internal version of nlohmann json-cpp
> checking utf8.h usability... no
> checking utf8.h presence... no
> checking for utf8.h... no
> configure: Using the internal version of UTF8-CPP
> checking fmt... no
> configure: Using the internal version of fmt
> checking for ZLIB... yes
> checking for moc... using supplied /opt/local/libexec/qt5/bin/moc
> checking for the Qt version /opt/local/libexec/qt5/bin/moc uses... 5.12.4
> checking for uic... using supplied /opt/local/libexec/qt5/bin/uic
> checking for the Qt version /opt/local/libexec/qt5/bin/uic uses... 5.12.4
> checking for rcc... using supplied /opt/local/libexec/qt5/bin/rcc
> checking for the Qt version /opt/local/libexec/qt5/bin/rcc uses... 5.12.4
> checking for qmake... using supplied /opt/local/libexec/qt5/bin/qmake
> checking for the Qt version /opt/local/libexec/qt5/bin/qmake uses...
> 5.12.4
> checking for Qt 5.3.0 or newer... yes
> checking for lconvert... no
> checking for libcmark... yes
> checking for magic_open in -lmagic... yes
> checking magic.h usability... yes
> checking magic.h presence... yes
> checking for magic.h... yes
> checking for boostlib >= 1.49.0... yes
> checking whether the Boost::System library is available... yes
> configure: error: Could not find a version of the library!
> }}}
>

> I'm having trouble with upgrading other ports that also cite not being
> able to find a version of the boost library.
>
> main.log is attached. Thank you for the support

New description:

 This ''may'' be related to #59038.

 The configure script runs its checks and fails when it comes to boost


 {{{
 checking for boostlib >= 1.49.0... yes
 checking whether the Boost::System library is available... yes
 configure: error: Could not find a version of the library!
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-30.1.0"
 && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-
 boost=/opt/local --with-extra-libs=/opt/local/lib --with-extra-
 includes=/opt/local/include --with-xsltproc=/opt/local/bin/xsltproc
 --with-docbook-xsl-root=/opt/local/share/xsl/docbook-xsl-nons --with-
 po4a=/opt/local/bin/po4a --with-po4a-translate=/opt/local/bin/po4a-
 translate --enable-qt --with-qmake=/opt/local/libexec/qt5/bin/qmake
 --with-moc=/opt/local/libexec/qt5/bin/moc --with-
 uic=/opt/local/libexec/qt5/bin/uic --with-
 rcc=/opt/local/libexec/qt5/bin/rcc
 Exit code: 1
 Error: Failed to configure mkvtoolnix, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-30.1.0/config.log
 Error: Failed to configure mkvtoolnix: configure failure: command
 execution failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: configure failure: command execution failed
     while executing
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/main.log
 for details.
 DEBUG: Registry error: qt59-qtbase not registered as installed & active.
 }}}

 boost is installed:


 {{{
 $ port location boost
 The following versions of boost are currently installed:
   boost @1.66.0_3+no_single+no_static+python27
   boost @1.66.0_4+no_single+no_static+python27
   boost
 @1.71.0_0+cmake_scripts+no_single+no_static+openmpi+python27+regex_match_extra
 (active)
   boost @1.71.0_0+no_single+no_static+python27
 Error: port location failed: Registry error: Please specify the full
 version as recorded in the port registry.
 $ port location boost
 @1.71.0_0+cmake_scripts+no_single+no_static+openmpi+python27+regex_match_extra
 Port boost
 1.71.0_0+cmake_scripts+no_single+no_static+openmpi+python27+regex_match_extra
 is installed as an image in:
 /opt/local/var/macports/software/boost/boost-1.71.0_0+cmake_scripts+no_single+no_static+openmpi+python27+regex_match_extra.darwin_17.x86_64.tbz2
 }}}



 I tried running the call to the configure script manually and supplying
 the full path to boost, but that failed too:

 {{{
 # cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-30.1.0"
 && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
 ****--with-boost=/opt/local/include/boost**** --with-extra-
 libs=/opt/local/lib --with-extra-includes=/opt/local/include --with-
 xsltproc=/opt/local/bin/xsltproc --with-docbook-xsl-
 root=/opt/local/share/xsl/docbook-xsl-nons --with-po4a=/opt/local/bin/po4a
 --with-po4a-translate=/opt/local/bin/po4a-translate --enable-qt --with-
 qmake=/opt/local/libexec/qt5/bin/qmake --with-
 moc=/opt/local/libexec/qt5/bin/moc --with-
 uic=/opt/local/libexec/qt5/bin/uic --with-
 rcc=/opt/local/libexec/qt5/bin/rcc
 checking build system type... x86_64-apple-darwin17.7.0
 checking host system type... x86_64-apple-darwin17.7.0
 checking target system type... x86_64-apple-darwin17.7.0
 checking for gcc... gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking whether gcc and cc understand -c and -o together... yes
 checking how to run the C preprocessor... gcc -E
 checking for g++... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking how to run the C++ preprocessor... g++ -E
 checking whether make sets $(MAKE)... yes
 checking for a BSD-compatible install... /opt/local/bin/ginstall -c
 checking for ranlib... ranlib
 checking for strip... strip
 checking for ar... ar
 checking for ld... ld
 checking for strings... strings
 checking for objdump... objdump
 checking for pkg-config... /opt/local/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
 checking for grep that handles long lines and -e... /opt/local/bin/ggrep
 checking for egrep... /opt/local/bin/ggrep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for inttypes.h... (cached) yes
 checking for stdint.h... (cached) yes
 checking for sys/types.h... (cached) yes
 checking sys/syscall.h usability... yes
 checking sys/syscall.h presence... yes
 checking for sys/syscall.h... yes
 checking stropts.h usability... no
 checking stropts.h presence... no
 checking for stropts.h... no
 checking for vsscanf... yes
 checking for syscall... yes
 checking compiler type and version... gcc 8.3.0
 checking for support for the "-std=c++14" flag... -std=gnu++14
 checking for support for C++11 feature "initializer lists"... yes
 checking for support for C++11 feature "range-based 'for'"... yes
 checking for support for C++11 feature "right angle brackets"... yes
 checking for support for C++11 feature "'auto' keyword"... yes
 checking for support for C++11 feature "lambda functions"... yes
 checking for support for C++11 feature "nullptr"... yes
 checking for support for C++11 feature "tuples"... yes
 checking for support for C++11 feature "alias declarations"... yes
 checking for support for C++14 feature "std::make_unique"... yes
 checking for support for C++14 feature "digit separators"... yes
 checking for support for C++14 feature "binary literals"... yes
 checking for support for C++14 feature "generic lambdas"... yes
 checking for support for C++14 feature "User-defined literals for
 std::string"... yes
 checking whether the byte order is big-endian... no
 checking if being compiled with mingw32... no
 checking for int64_t... yes
 checking for uint64_t... yes
 checking size of int... 4
 checking size of long... 8
 checking size of long long... 8
 checking for PRId64 and PRIu64... yes
 checking iconv.h usability... yes
 checking iconv.h presence... yes
 checking for iconv.h... yes
 checking for iconv... yes
 checking for iconv declaration...
          extern size_t iconv (iconv_t cd, char * *inbuf, size_t
 *inbytesleft, char * *outbuf, size_t *outbytesleft);
 checking for nl_langinfo... yes
 checking for ogg_sync_init in -logg... yes
 checking ogg/ogg.h usability... yes
 checking ogg/ogg.h presence... yes
 checking for ogg/ogg.h... yes
 checking for vorbis_synthesis_init in -lvorbis... yes
 checking vorbis/codec.h usability... yes
 checking vorbis/codec.h presence... yes
 checking for vorbis/codec.h... yes
 checking for FLAC__stream_decoder_new in -lFLAC... yes
 checking for FLAC__StreamMetadata_StreamInfo.sample_rate... yes
 checking for FLAC__stream_decoder_skip_single_frame in -lFLAC... yes
 checking for EBML... yes
 checking for MATROSKA... yes
 checking if libEBML contains FindNextChild... yes
 checking pugixml.hpp usability... yes
 checking pugixml.hpp presence... yes
 checking for pugixml.hpp... yes
 checking for main in -lpugixml... yes
 configure: Using the system version of the pugixml library
 checking nlohmann's json-cpp... no
 configure: Using the internal version of nlohmann json-cpp
 checking utf8.h usability... no
 checking utf8.h presence... no
 checking for utf8.h... no
 configure: Using the internal version of UTF8-CPP
 checking fmt... no
 configure: Using the internal version of fmt
 checking for ZLIB... yes
 checking for moc... using supplied /opt/local/libexec/qt5/bin/moc
 checking for the Qt version /opt/local/libexec/qt5/bin/moc uses... 5.12.4
 checking for uic... using supplied /opt/local/libexec/qt5/bin/uic
 checking for the Qt version /opt/local/libexec/qt5/bin/uic uses... 5.12.4
 checking for rcc... using supplied /opt/local/libexec/qt5/bin/rcc
 checking for the Qt version /opt/local/libexec/qt5/bin/rcc uses... 5.12.4
 checking for qmake... using supplied /opt/local/libexec/qt5/bin/qmake
 checking for the Qt version /opt/local/libexec/qt5/bin/qmake uses...
 5.12.4
 checking for Qt 5.3.0 or newer... yes
 checking for lconvert... no
 checking for libcmark... yes
 checking for magic_open in -lmagic... yes
 checking magic.h usability... yes
 checking magic.h presence... yes
 checking for magic.h... yes
 checking for boostlib >= 1.49.0... yes
 checking whether the Boost::System library is available... yes
 configure: error: Could not find a version of the library!
 }}}


 I'm having trouble with upgrading other ports that also cite not being
 able to find a version of the boost library, e.g. source-highlight.

 main.log is attached. Thank you for the support

--

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


More information about the macports-tickets mailing list