From nobody Mon Oct 16 15:43:36 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S8LxN4SXgz4xVpW for ; Mon, 16 Oct 2023 15:43:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S8LxN2x2Cz4bJM for ; Mon, 16 Oct 2023 15:43:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697471016; a=rsa-sha256; cv=none; b=ETI3UigtDGbSPr0lNS6aZGoL/hQ3RcrEbjOQ2CQYmaGFdjhQMgpnwYPJVAwQWPwzaY3Ya7 g8oB4PT5/MGXHqoeAeGXsaTEwfnLZiLxDOaDJUui/mprvPWJEgpn4YfllNdojT0RgxvRiL mDFzpVt0/hff32bCUDMpYtB8QwmcUAyT1TQ4/Cp1I4Pk7HxtpxXUrkOxHKjBKOtRB997Mz rGIy5uxa5PSEYoq79+VQxufW68qZmlazG+WA+WSJKqZCZQYvlKXOeaSQiHq4HRtVXrHw7H MVXHkNZ/G9yuFlOnLUaqC1Un1W2PB889Zwcmc98FmhwtERJ0h4b8KFfQZssNeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697471016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aVT/ezbkCm3/CXIQMwd7n9FGtYOoPEvrgGVeXLJM6ts=; b=GBpgFf2PGBRLQInZKk5zRWSr/t5GcymRvQ2GbQTl3E+yCjhy9AXXPOSxxJL+HpNYKvVBP8 PrqMUN4cjNN52cLVBhQ9OsYOvlBrnTBG8K1NTHAI/zts7cyhq6ssLrQmprDppf36aiyVvL FFFD1lTm+Ya3BnaycH8UPHxgYW382QFYrL98lWQlexo++i4e7MXwQ5DTUiUnrVGAlGRXa+ r0uW7KijWkdM6wbJVufo1r1bVoPp8SITaAp/xz/TB6/jdyJltkaL/JFoerVaT5VAyN2iJA Bv4WTjFeCBrVlU3TAb4l58nsXOEYRdhRYtNHujeJ9+U0gV4fmdkuooRVxestgA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S8LxN1yYpzmXT for ; Mon, 16 Oct 2023 15:43:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39GFhaGu068074 for ; Mon, 16 Oct 2023 15:43:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39GFhaKm068073 for ports-bugs@FreeBSD.org; Mon, 16 Oct 2023 15:43:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Mon, 16 Oct 2023 15:43:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mandree@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zirias@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 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.=