On Wed Sep 15, 2021 at 11:03:12PM +0100, Stuart Henderson wrote:
> No qt dependency is listed for no_x11 so these can be randomly present and
> removed during the build.
>

It comes with/from the qt5 module:

env FLAVOR="no_x11" make show=LIB_DEPENDS
audio/flac audio/libogg audio/libvorbis devel/fmt devel/gettext,-runtime
devel/gmp devel/libdvdread STEM->=1.6.2:multimedia/libmatroska
STEM->=1.4.0:textproc/libebml textproc/pugixml x11/qt5/qtbase,-main

make show=LIB_DEPENDS
audio/flac audio/libogg audio/libvorbis devel/fmt devel/gettext,-runtime
devel/gmp devel/libdvdread STEM->=1.6.2:multimedia/libmatroska
STEM->=1.4.0:textproc/libebml textproc/pugixml textproc/cmark
x11/qt5/qtmultimedia x11/qt5/qtbase,-main

> Perhaps it needs more than just --disable-gui to
> prevent configure from picking up these if present.
> 
> -- 
>  Sent from a phone, apologies for poor formatting.
> 
> On 15 September 2021 19:40:11 Rafael Sadowski <[email protected]> wrote:
> 
> > On Wed Sep 15, 2021 at 08:55:04AM +0200, Antoine Jacoutot wrote:
> > > On Mon, Sep 06, 2021 at 11:58:12PM -0600, Rafael Sadowski wrote:
> > > > CVSROOT:        /cvs
> > > > Module name:    ports
> > > > Changes by:     [email protected]       2021/09/06 23:58:12
> > > >
> > > > Modified files:
> > > >         multimedia/mkvtoolnix: Makefile distinfo
> > > >         multimedia/mkvtoolnix/patches: patch-Rakefile patch-ac_qt5_m4
> > > >
> > > > Log message:
> > > > Update mkvtoolnix to 60.0.0
> > > >
> > > > With mkvtoolnix 59.0.0 the Qt library is required for building all
> > > > applications. This means we need Qt5Core for no_x11.
> > > >
> > > > https://www.bunkus.org/blog/2021/07/mkvtoolnix-v59-0-0-released/
> > > >
> > > > Feedack and test by Stefan Hagen
> > > 
> > > Hi.
> > > 
> > > The no_x11 FLAVOR failed for me.
> > > 
> > > ===>  Generating configure for mkvtoolnix-60.0.0-no_x11
> > > >>> Can't find autoconf 2.69 signature in
> > > /exopi-obj/pobj/mkvtoolnix-60.0.0-no_x11/mkvtoolnix-60.0.0/configure:
> > > # Generated by GNU Autoconf 2.71 for MKVToolNix 60.0.0.
> > > generated by GNU Autoconf 2.71
> > > generated by GNU Autoconf 2.71.  Invocation command line was
> > > # configuration script generated by Autoconf, you may include it under
> > > generated by GNU Autoconf 2.71.  Invocation command line was
> > > configured by $0, generated by GNU Autoconf 2.71,
> > > Running autoconf-2.69 in
> > > /exopi-obj/pobj/mkvtoolnix-60.0.0-no_x11/mkvtoolnix-60.0.0
> > > Running autoheader-2.69 in
> > > /exopi-obj/pobj/mkvtoolnix-60.0.0-no_x11/mkvtoolnix-60.0.0
> > > ===>  Configuring for mkvtoolnix-60.0.0-no_x11
> > > Using /exopi-obj/pobj/mkvtoolnix-60.0.0-no_x11/config.site (generated)
> > > configure: WARNING: unrecognized options: --with-boost-filesystem,
> > > --with-boost-system, --with-boost-regex, --disable-silent-rules,
> > > --disable-gtk-doc
> > > configure: loading site script
> > > /exopi-obj/pobj/mkvtoolnix-60.0.0-no_x11/config.site
> > > checking build system type... x86_64-unknown-openbsd7.0
> > > checking host system type... x86_64-unknown-openbsd7.0
> > > checking target system type... x86_64-unknown-openbsd7.0
> > > checking for gcc... cc
> > > 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... (cached) o
> > > checking whether we are using the GNU C compiler... (cached) yes
> > > checking whether cc accepts -g... (cached) yes
> > > checking for cc option to accept ISO C89... none needed
> > > checking whether cc understands -c and -o together... yes
> > > checking how to run the C preprocessor... cc -E
> > > checking whether we are using the GNU C++ compiler... (cached) yes
> > > checking whether c++ accepts -g... (cached) yes
> > > checking how to run the C++ preprocessor... c++ -E
> > > checking whether make sets $(MAKE)... (cached) yes
> > > checking for a BSD-compatible install...
> > > /exopi-obj/pobj/mkvtoolnix-60.0.0-no_x11/bin/install -c
> > > checking for ranlib... (cached) ranlib
> > > checking for strip... (cached) strip
> > > checking for ar... (cached) ar
> > > checking for ld... ld
> > > checking for strings... strings
> > > checking for objdump... objdump
> > > checking for pkg-config... /usr/bin/pkg-config
> > > checking pkg-config is at least version 0.9.0... yes
> > > checking for grep that handles long lines and -e... (cached) /usr/bin/grep
> > > checking for egrep... (cached) /usr/bin/egrep
> > > checking for ANSI C header files... (cached) yes
> > > checking for sys/types.h... (cached) yes
> > > checking for sys/stat.h... (cached) yes
> > > checking for stdlib.h... (cached) yes
> > > checking for string.h... (cached) yes
> > > checking for memory.h... (cached) yes
> > > checking for strings.h... (cached) yes
> > > checking for inttypes.h... (cached) yes
> > > checking for stdint.h... (cached) yes
> > > checking for unistd.h... (cached) yes
> > > checking for inttypes.h... (cached) yes
> > > checking for stdint.h... (cached) yes
> > > checking for sys/types.h... (cached) yes
> > > checking for sys/syscall.h... (cached) yes
> > > checking stropts.h usability... no
> > > checking stropts.h presence... no
> > > checking for stropts.h... no
> > > checking for syscall... (cached) yes
> > > checking compiler type and version... clang 11.1.0
> > > checking for lld... /usr/local/bin/lld
> > > checking for support for the "-std=c++17" flag... -std=c++17
> > > checking for support for C++17 feature "attribute 'maybe_unused'"... yes
> > > checking for support for C++17 feature "nested namespace definition"... 
> > > yes
> > > checking for support for C++17 feature "structured bindings"... yes
> > > checking for support for C++17 feature "std::optional"... yes
> > > checking for support for C++17 feature "std::gcd"... yes
> > > checking for support for C++17 feature "constexpr if"... yes
> > > checking for support for C++17 feature "file system library"... yes
> > > checking for libraries to link against for the file system library...
> > > checking whether the byte order is big-endian... no
> > > checking if being compiled with mingw32... (cached) 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... (cached) 8
> > > 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 for PUGIXML... 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... yes
> > > checking for ZLIB... yes
> > > checking for Qt 6... no: disabled by user request
> > > checking for qmake-qt5... /usr/local/bin/qmake-qt5
> > > checking for qmake's version... 5.15.2
> > > checking for lconvert... /usr/local/lib/qt5/bin/lconvert
> > > checking for moc... /usr/local/bin/moc-qt5
> > > checking for rcc... /usr/local/lib/qt5/bin/rcc
> > > checking for uic... /usr/local/bin/uic-qt5
> > > checking for Qt 5... no: not found by pkg-config
> > 
> > It's really funny what bits have fallen over? Above we can see moc-qt5,
> > uic-qt5 and so one were found. I can't reproduce this. naddy's build was
> > also ok.
> > 
> > > configure: error: The Qt library is required for building MKVToolNix.
> > > *** Error 1 in multimedia/mkvtoolnix
> > > (/exopi-cvs/ports/infrastructure/mk/bsd.port.mk:2917 'do-configure':
> > > @for d in /exopi-obj/pobj/mkvtooln...)
> > > *** Error 2 in multimedia/mkvtoolnix
> > > (/exopi-cvs/ports/infrastructure/mk/bsd.port.mk:2937
> > > '/exopi-obj/pobj/mkvtoolnix-60.0.0-no_x11/.configure_done')
> > > *** Error 2 in multimedia/mkvtoolnix
> > > (/exopi-cvs/ports/infrastructure/mk/bsd.port.mk:2602 'configure':
> > > @lock=mkvtoolnix-60.0.0-no_x11;  expo...)
> > > ===> Exiting multimedia/mkvtoolnix,no_x11 with an error
> > > *** Error 1 in /exopi-cvs/ports
> > > (infrastructure/mk/bsd.port.subdir.mk:137 'configure': @:
> > > ${echo_msg:=echo};  : ${target:=configure};  for i...)
> > > >>> Ended at 1631673502.98
> > > max_stuck=3.82/depends=11.10/show-prepare-results=4.87/patch=1.81/configure=16.62
> > > Error: job failed with 512 on exopi-8 at 1631673502
> > > 
> > > 
> > > 
> > > --
> > > Antoine
> > > 
> 

Reply via email to