Opened 2 months ago
Last modified 2 months ago
#70504 new defect
links @2.30 does not build on macOS Sonoma 14.5 because of configure: error: No graphics drivers found.
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | sonoma intel | Cc: | |
Port: | links |
Description
checking for avifDecoderSetIOMemory in -lavif... yes configure: error: No graphics drivers found. Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_links/links/work/links-2.30" && ./configure --prefix=/opt/local --enable-graphics --disable-javascript --mandir=/opt/local/share/man --with-ssl --with-libjpeg --with-libpng --with-librsvg --with-libtiff --without-openmp --with-x Exit code: 1 Error: Failed to configure links: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_links/links/work/links-2.30/config.log Error: Failed to configure links: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_links/links/main.log for details.
Attachments (2)
Change History (3)
Changed 2 months ago by ballapete (Peter "Pete" Dyballa)
Changed 2 months ago by ballapete (Peter "Pete" Dyballa)
Attachment: | config.log added |
---|
Config.log from macOS Sonoma 14.5
comment:1 Changed 2 months ago by ballapete (Peter "Pete" Dyballa)
Invoking configure
with sh -x
gives:
+ echo avif_avifDecoderSetIOMemory ++ sed y%./+-%__p_% + ac_lib_var=avif_avifDecoderSetIOMemory ++ echo '${ac_cv_lib_avif_avifDecoderSetIOMemory+set}' + eval 'test "${ac_cv_lib_avif_avifDecoderSetIOMemory+set}" = set' ++ test '' = set + ac_save_LIBS='-L/opt/local/lib -lwebp -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -ltiff -ljpeg -L/opt/local/lib -lpng16 -L/opt/local/lib -lfontconfig -lfreetype -llzma -lbz2 -lz -L/opt/local/libexec/openssl3/lib -lssl -lcrypto -lm ' + LIBS='-lavif -L/opt/local/lib -lwebp -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -ltiff -ljpeg -L/opt/local/lib -lpng16 -L/opt/local/lib -lfontconfig -lfreetype -llzma -lbz2 -lz -L/opt/local/libexec/openssl3/lib -lssl -lcrypto -lm ' + cat + eval echo configure:12255: '"${CC-cc}' -o 'conftest${ac_exeext}' '$CFLAGS' '$CPPFLAGS' '$LDFLAGS' 'conftest.$ac_ext' '$LIBS' '1>&5"' ++ echo configure:12255: 'gcc -o conftest -g -O2 -I/opt/local/libexec/openssl3/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/librsvg-2.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include -I/opt/local/include/webp conftest.c -lavif -L/opt/local/lib -lwebp -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -ltiff -ljpeg -L/opt/local/lib -lpng16 -L/opt/local/lib -lfontconfig -lfreetype -llzma -lbz2 -lz -L/opt/local/libexec/openssl3/lib -lssl -lcrypto -lm 1>&5' + test -s conftest + rm -rf conftest conftest.c conftest.dSYM + eval ac_cv_lib_avif_avifDecoderSetIOMemory=yes ++ ac_cv_lib_avif_avifDecoderSetIOMemory=yes + rm -f 'conftest*' + LIBS='-L/opt/local/lib -lwebp -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -ltiff -ljpeg -L/opt/local/lib -lpng16 -L/opt/local/lib -lfontconfig -lfreetype -llzma -lbz2 -lz -L/opt/local/libexec/openssl3/lib -lssl -lcrypto -lm ' ++ echo '$ac_cv_lib_avif_avifDecoderSetIOMemory' + eval 'test "$ac_cv_lib_avif_avifDecoderSetIOMemory" = yes' ++ test yes = yes + echo yes yes ++ echo avif ++ sed -e 's/[^a-zA-Z0-9_]/_/g' -e y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/ + ac_tr_lib=HAVE_LIBAVIF + cat + LIBS='-lavif -L/opt/local/lib -lwebp -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -ltiff -ljpeg -L/opt/local/lib -lpng16 -L/opt/local/lib -lfontconfig -lfreetype -llzma -lbz2 -lz -L/opt/local/libexec/openssl3/lib -lssl -lcrypto -lm ' + test yes = yes + test yes = yes + cat + cf_have_avif=yes + image_formats='GIF PNG XBM JPEG TIFF SVG WEBP AVIF' + test -z '' + test yes '!=' no + echo 'configure: error: No graphics drivers found.' configure: error: No graphics drivers found. + exit 1
The test seems to be successful, but: No graphics drivers found.
Concerning the graphics libraries I seem to have all. The problem is in these lines:
12306 if test -z "$drivers" && test "$cf_use_graphics" != no; then 12307 { echo "configure: error: No graphics drivers found." 1>&2; exit 1; } 12308 fi
$drivers
is empty. Shouldn't it be at least X
?
8410: drivers="" 8552: drivers="$drivers SVGALIB" 8604: drivers="$drivers FB" 8794: drivers="$drivers DIRECTFB" 9478: drivers="$drivers X" 9525: drivers="$drivers PMSHELL" 9699: drivers="$drivers WINDOWS" 10036: drivers="$drivers ATHEOS" 10327: drivers="$drivers HAIKU" 10428: drivers="$drivers GRX" 12306: if test -z "$drivers" && test "$cf_use_graphics" != no; then 12307: { echo "configure: error: No graphics drivers found." 1>&2; exit 1; }
Note: See
TracTickets for help on using
tickets.
Main.log from macOS Sonoma, 14.5