Date: Mon, 16 Oct 2023 15:43:36 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274517] multimedia/makemkv: does not build with CPUTYPE=znver1 in /etc/make.conf Message-ID: <bug-274517-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274517 Bug ID: 274517 Summary: multimedia/makemkv: does not build with CPUTYPE=3Dznver1 in /etc/make.conf Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: zirias@freebsd.org Reporter: mandree@FreeBSD.org Flags: maintainer-feedback?(zirias@freebsd.org) Assignee: zirias@freebsd.org 1. add CPUTYPE?=3Dznver1 to /etc/make.conf and /usr/local/etc/poudriere.d/make.conf 2. try to build multimedia/makemkv. This fails in the "configure" stage when configuring ffmpeg: Console output: [00:00:18] =3D=3D=3D> Configuring for makemkv-1.17.5 [00:00:18] cd /wrkdirs/usr/ports/multimedia/makemkv/work/ffmpeg-6.0;=20 PKG_CONFIG_PATH=3D/wrkdirs/usr/ports/multimedia/makemkv/work/gnuroot/lib/pk= gconfig MAKE=3Dgmake PKG_CONFIG=3Dpkgconf XDG_DATA_HOME=3D/wrkdirs/usr/ports/multimedia/makemkv/work=20 XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/multimedia/makemkv/work=20 XDG_CACHE_HOME=3D/wrkdirs/usr/ports/multimedia/makemkv/work/.cache=20 HOME=3D/wrkdirs/usr/ports/multimedia/makemkv/work TMPDIR=3D"/tmp" PATH=3D/usr/local/libexec/ccache:/wrkdirs/usr/ports/multimedia/makemkv/work= /.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=3D/wrkdirs/usr/ports/multimedia/makemkv/work/.pkgconfig:/= usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconf= ig SHELL=3D/bin/sh CONFIG_SHELL=3D/bin/sh CCACHE_DIR=3D"/root/.ccache" CFLAGS= =3D"-D_linux_ -DFORCE_OPENSSL_NO_EC -O2 -pipe -march=3Dznver1 -fstack-protector-strong -fno-strict-aliasing -std=3Dc11 " ./configure --prefix=3D/wrkdirs/usr/ports/multimedia/makemkv/work/gnuroot --pkg-config=3Dpkg-config --disable-shared --enable-static --enable-pic=20 --target-os=3Dlinux --cc=3D/compat/linux/bin/gcc ;=20 XDG_DATA_HOME=3D/wrkdirs/usr/ports/multimedia/makemkv/work=20 XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/multimedia/makemkv/work=20 XDG_CACHE_HOME=3D/wrkdirs/usr/ports/multimedia/makemkv/work/.cache=20 HOME=3D/wrkdirs/usr/ports/multimedia/makemkv/work TMPDIR=3D"/tmp" PATH=3D/usr/local/libexec/ccache:/wrkdirs/usr/ports/multimedia/makemkv/work= /.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=3D/wrkdirs/usr/ports/multimedia/makemkv/work/.pkgconfig:/= usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconf= ig MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_LINT=3DYES PREFIX=3D/usr/local LOCALBASE=3D/usr/local CC=3D"/compat/linux/bin/gcc" C= FLAGS=3D"-O2 -pipe -march=3Dznver1 -fstack-protector-strong -fno-strict-aliasing -std= =3Dc11 "=20 CPP=3D"cpp" CPPFLAGS=3D"-D_linux_ -DFORCE_OPENSSL_NO_EC " LDFLAGS=3D" -fstack-protector-strong " LIBS=3D"" CXX=3D"/compat/linux/bin/g++" CXXFLAG= S=3D"-O2 -pipe -march=3Dznver1 -fstack-protector-strong -fno-strict-aliasing -std= =3Dc++11 " MANPREFIX=3D"/usr/local" CCACHE_DIR=3D"/root/.ccache" BSD_INSTALL_PROGRAM=3D"install -s -m 555" BSD_INSTALL_LIB=3D"install -s = -m 0644" BSD_INSTALL_SCRIPT=3D"install -m 555" BSD_INSTALL_DATA=3D"install -m 06= 44"=20 BSD_INSTALL_MAN=3D"install -m 444" gmake V=3D1 ARCH=3Dx86 all install=20 [00:00:19] /compat/linux/bin/gcc is unable to create an executable file. [00:00:19] If /compat/linux/bin/gcc is a cross-compiler, use the --enable-cross-compile option. [00:00:19] Only do this if you know what cross compiling means. [00:00:19] C compiler test failed. [00:00:19]=20 [00:00:19] If you think configure made a mistake, make sure you are using t= he latest [00:00:19] version from Git. If the latest version fails, report the probl= em to the [00:00:19] ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat. [00:00:19] Include the log file "ffbuild/config.log" produced by configure = as this will help [00:00:19] solve the problem. [00:00:19] *** Error code 1 [00:00:19]=20 [00:00:19] Stop. [00:00:19] make: stopped in /usr/ports/multimedia/makemkv [00:00:21] =3D>> Cleaning up wrkdir [00:00:21] =3D=3D=3D> Cleaning for makemkv-1.17.5 [00:00:22] build of multimedia/makemkv | makemkv-1.17.5 ended at Mon Oct 16 17:20:42 CEST 2023 $ tail -n12 /usr/ports/multimedia/makemkv/work/ffmpeg-6.0/ffbuild/config.log mktemp -u XXXXXX ikGgnh test_ld cc test_cc BEGIN /tmp/ffconf.YaJAm1wS/test.c 1 int main(void){ return 0; } END /tmp/ffconf.YaJAm1wS/test.c /compat/linux/bin/gcc -D_linux_ -DFORCE_OPENSSL_NO_EC -O2 -pipe -march=3Dzn= ver1 -fstack-protector-strong -fno-strict-aliasing -std=3Dc11 -c -o /tmp/ffconf.YaJAm1wS/test.o /tmp/ffconf.YaJAm1wS/test.c /tmp/ffconf.YaJAm1wS/test.c:1:0: error: bad value (znver1) for -march=3D sw= itch int main(void){ return 0; } ^ C compiler test failed. =E2=86=92 This port should erase those -march=3D arguments that FreeBSD's c= c handles but Linux-gcc cannot handle. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274517-7788>