From nobody Sat Jan 15 19:56:24 2022 X-Original-To: multimedia@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 60003196E357 for ; Sat, 15 Jan 2022 19:56:24 +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 4Jbpp00fGHz4pBm for ; Sat, 15 Jan 2022 19:56:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 EA9A646FC for ; Sat, 15 Jan 2022 19:56:23 +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 20FJuNif055108 for ; Sat, 15 Jan 2022 19:56:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20FJuNOx055107 for multimedia@FreeBSD.org; Sat, 15 Jan 2022 19:56:23 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: multimedia@FreeBSD.org Subject: [Bug 257696] audio/openal-soft: Fails to link with JACK enabled: ERROR: ld-elf.so.1: /usr/local/lib/libopenal.so.1: Undefined symbol "jack_error_callback" Date: Sat, 15 Jan 2022 19:56:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lab+bsd@thinkum.space X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642276584; 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: in-reply-to:in-reply-to:references:references; bh=wUBO0A8Kuk4HrgJqNGsI2G/b07kb613kWN1lS7s9ZQs=; b=YCSZLG5IFHAdCELvlnKarnIPx9Mh8wVnR9t/MyP/z43aCQP+YiW1urbvTCcnrevHJtcZ/5 Ra1icf6HdCOD0SlDkQgRItG1625IVz8rEdW80vgCZFwbOUYxcfbMy6OyHA6PLJoljdrqy+ /ZwQmvOYsezaCXkqPu0LrdhhnNNsc4iACInQSqJgD+6uBZLge9oajwCQAmXvnc3A1OmQKE DOfkSCH0oUQpuMao1ON+kI55rOGnKmat/U5GpiUouiayglcfelcM1Lx9ty830Us3TJLxfe IXLYToUAKfp0B59Zdz63Q1rvrL/E+DVS8vkGWz7eC4DNMJznDNozX1cdFfPpWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642276584; a=rsa-sha256; cv=none; b=bzWdkw2vpoe7iZ7x/zxKt+FOlPzIreWl0Cdgs/wuUgGC64WVWv1E6m9Wr2PqljXlINXW0f GEDee+w8ULEhHj1whcxz30lHIiTtspLJY9IPaA6gCwCTUTboyuGQtfCjpAAuaMgl4SBFUO uQlPZxooubwITXSySfgGwdV/fIGVoCGoug+SlQztsXamCVazbGRL/mQnLbfzpBlpaa85dl 7bUedejRE6TuES2qU/UPe5PlsLbXwMz+92/E6UXy55Y9cYvINkcSigx2a+FcUeVf73N+XN IWS+5wrJYk4AnKefBZ914Ra4HmbCXG3yqjjdYc6T7TQ2vS0qHuqVn8D+K3PNVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257696 --- Comment #12 from Sean Champ --- (In reply to Florian Walpen from comment #11) Great to hear! fwiw the openal-soft build failed when I tried to compile with gcc11. An excerpt of the verbose build log under poudriere: ~~~~ [ 13% 15/107] /usr/local/libexec/ccache/g++11 -DRESTRICT=3D__restrict -I/wrkdirs/usr/ports/audio/openal-soft/work/.build -I/wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.21.1/utils -I> FAILED: CMakeFiles/makemhr.dir/utils/makemhr/loadsofa.cpp.o /usr/local/libexec/ccache/g++11 -DRESTRICT=3D__restrict -I/wrkdirs/usr/ports/audio/openal-soft/work/.build -I/wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.21.1/utils -I/wrkdirs/usr/p> ../openal-soft-1.21.1/utils/makemhr/loadsofa.cpp: In function 'bool LoadSofaFile(const char*, uint, uint, uint, ChannelModeT, HrirDataT*)': ../openal-soft-1.21.1/utils/makemhr/loadsofa.cpp:554:27: error: 'sleep_for'= is not a member of 'std::this_thread' 554 | std::this_thread::sleep_for(std::chrono::milliseconds{50}); | ^~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-thread-safety' may ha= ve been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-thread-safety' may ha= ve been intended to silence earlier diagnostics [ 14% 15/107] /usr/local/libexec/ccache/g++11 -DRESTRICT=3D__restrict -I/wrkdirs/usr/ports/audio/openal-soft/work/.build -I/wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.21.1/utils -I> In file included from ../openal-soft-1.21.1/utils/makemhr/makemhr.cpp:65: ../openal-soft-1.21.1/utils/makemhr/makemhr.h: In function 'int ProcessDefinition(const char*, uint, ChannelModeT, bool, uint, uint, int, i= nt, double, uint, HeadModelT, double, const char*)': ../openal-soft-1.21.1/utils/makemhr/makemhr.h:91:8: warning: inlining faile= d in call to 'HrirDataT::~HrirDataT() noexcept': call is unlikely and code size would grow [-Winline] 91 | struct HrirDataT { | ^~~~~~~~~ ../openal-soft-1.21.1/utils/makemhr/makemhr.cpp:1485:1: note: called from h= ere 1485 | } | ^ In file included from ../openal-soft-1.21.1/utils/makemhr/makemhr.cpp:65: ../openal-soft-1.21.1/utils/makemhr/makemhr.h:91:8: warning: inlining faile= d in call to 'HrirDataT::~HrirDataT() noexcept': call is unlikely and code size would grow [-Winline] 91 | struct HrirDataT { | ^~~~~~~~~ ../openal-soft-1.21.1/utils/makemhr/makemhr.cpp:1485:1: note: called from h= ere 1485 | } | ^ At global scope: cc1plus: note: unrecognized command-line option '-Wno-thread-safety' may ha= ve been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-thread-safety' may ha= ve been intended to silence earlier diagnostics ninja: build stopped: subcommand failed. =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/audio/openal-soft *** Error code 1 ~~~ fwiw the '-Wno-thread-safety' option was added to CFLAGS under local make.c= onf It looks like this is the most recent version of the upstream distfile. May= be it'll build with any earlier GCC version? I'll attach my build log for openal-soft-1.21.1_3 under local configuratio= n. For ports builds, I'm using some custom on-site configuration with files referenced originally from /etc/make.conf together with a local /usr/ports/Makefile.inc for facilitating some parts of the build configurat= ion=20 - e.g toolchain configuration with conditional selection of clang, gcc, bintuls, and nasm for specific ports, also some local hacks for ccache integration in the build (local wrapper scripts, toolchaini symlinks under BINARY_LINKDIR, etc). Perhaps this may help to explain the verbose output i= n my build log. The build log will be trimmed of my local annotations on make.conf, and will not include these additional files. I could clean those up and attach, if it could be of any interest. The build log is verbose, illustrating a lot of the toolchain configuration= at every stage of the build when building under poudriere For the present thing, I'll try building this with an earlier GCC version, maybe gcc10 will work out? --=20 You are receiving this mail because: You are the assignee for the bug.=