From nobody Tue Apr 30 12:26:08 2024 X-Original-To: freebsd-current@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 4VTKDr4Hw8z5J7tf for ; Tue, 30 Apr 2024 12:26:20 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VTKDr1m6Mz4TR1 for ; Tue, 30 Apr 2024 12:26:20 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714479980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=vJV7KeuYkIr6FK7OwwtGOnxI78epElqXKDd+3JWqW2A=; b=MLzK+iuaGaeNVU03CmD9r6F5YdOUrkXYFPpCX7uCioFmYAhnfCYZG1X4ap6NYJg6hrQ/Cj g4b5FlyZCxVazvr6IIV2bzDay3I/+UPr+Sv6Z0LscovIugUdGVqDMg9+Nfo9YSc4g0KpGZ AUjHA4/zvy3ornKRcOCh5460PF2TP/eOvVC3bGCr8VzJ3wc+8+YV9ycR3E2SfsgcvtHSXZ cW6byO8WRH1lnfHtGg4DBl4ej+Xg124pc1bj3oFYEofL7NECLTELHbNc5BMFT7O6AetRFW pVmHFBZ9OQ3Bx1K2BcnYEK2FfWtKah7wQp84c8UmBm/oToMHlj08xW4WAjh63w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714479980; a=rsa-sha256; cv=none; b=uks7Jw9JbPtTcC9ch9affyLpwgXcuapYDuAcbmiJxdnGC+h0KVC5oTbKECk6Q5aT+6DpUU 9DeTonvzUma+3IVIYVIQ3bxHCR/gsMFKxvmYTNYHHHavN+t2nNbVlGQfOXeEDXJhVyDhMJ v5EepCqCZxsX/NZff6jT4dNk4t9ladmxsPN0f4XmpM9jUna5/BZPrsNuJ8+bRwT0HYl3EQ K4XJ9UA2Yxiv+r7Ybbj9+olFtRJwv1M1TJc3SU4OYU/uvHWZcnzGKWI/cleoiAlQzNz1en gbuAXnOZ20Y54tHZyDi9n81K/9p0mbtV9oh8/5stgdxAFrpoMMbJEzlpl5O1wg== 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=1714479980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=vJV7KeuYkIr6FK7OwwtGOnxI78epElqXKDd+3JWqW2A=; b=fHNtq7Sy97H8XmNELC1EuPpMz10FjypdV/l/hKUfbPfMgqFzLJhNucxJ/Wsuycluaz7W/B ApNazs+wncNh7gcbinVpsyZNJ26yFlAA8oc5x+t3EGLnINIlq1w3IlaA14olehg068bpev Dym1RJVd0/VR54EzouDR6lUhTDV2QjZgD4KDteAQAuZQvR6Z1tzoFuNDZ47FcPm6KEYeiM UHOmWXx67zCvtKCLXU2qTOzggMC122mk5tvm/7NQoaoRs4oyYYEFxLzykfbZe9OJhsS3m+ fEhKBpKjwL+yanOiu+HlrX2U6mCVfhmd93Cel23hoewAV67YAi5S89bvWurSHg== Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VTKDr17rCz1D6V for ; Tue, 30 Apr 2024 12:26:20 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-434c3d21450so29085251cf.0 for ; Tue, 30 Apr 2024 05:26:20 -0700 (PDT) X-Gm-Message-State: AOJu0YyNLBL5OW+Mci++DNdS2ehCT/7S5bw3JpEotoNLkVenVut1WSIi a+yuwqSuM53zMjl+O9zpLApnm2dHtQaESN5JIAD9BCwu1JtNskNPA4K2nZcqXu+WNZDLJ7OUQEs 3hj7JMLEobJwU5LL0FLojvpUfebs= X-Google-Smtp-Source: AGHT+IGFBYrjyUZsg8+ylrDX5nok/d6vguRUZjcsf81tEQ7bpkCNs6gFo62uYTNAZGKzvooaqT2nMXZsBZ5nSK0XtBI= X-Received: by 2002:a05:622a:246:b0:436:f25c:f14d with SMTP id c6-20020a05622a024600b00436f25cf14dmr15258999qtx.19.1714479979200; Tue, 30 Apr 2024 05:26:19 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 From: Nuno Teixeira Date: Tue, 30 Apr 2024 13:26:08 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: build failure affecting port: "error: reference to 'filesystem' is ambiguous" To: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="00000000000022926f06174f7a40" --00000000000022926f06174f7a40 Content-Type: text/plain; charset="UTF-8" Hello all, I'm lost on build failure of audio/amsynth (updated to version 1.13.3) on recent main. Thre strange thing is if I use llvm from ports, USES+=llvm, it fails with same error so I suspect that something related to main. Any help is welcome and I didn't openned an upstream PR yet. Thanks, --- src/Configuration.cpp:35:20: error: reference to 'filesystem' is ambiguous 35 | amsynthrc_fname = filesystem::get().config; | ^ src/filesystem.h:27:7: note: candidate found by name lookup is 'filesystem' 27 | class filesystem | ^ /usr/include/c++/v1/__chrono/file_clock.h:49:1: note: candidate found by name lookup is 'std::filesystem' 49 | _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM | ^ /usr/include/c++/v1/__config:892:80: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_FILESYSTEM' 892 | inline namespace __fs { namespace filesystem { | ^ src/Configuration.cpp:60:22: error: reference to 'filesystem' is ambiguous 60 | current_bank_file = filesystem::get().default_bank; | ^ src/filesystem.h:27:7: note: candidate found by name lookup is 'filesystem' 27 | class filesystem | ^ /usr/include/c++/v1/__chrono/file_clock.h:49:1: note: candidate found by name lookup is 'std::filesystem' 49 | _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM | ^ /usr/include/c++/v1/__config:892:80: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_FILESYSTEM' 892 | inline namespace __fs { namespace filesystem { | ^ 2 errors generated. gmake[2]: *** [Makefile:3376: src/amsynth_dssi_gtk-Configuration.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... src/PresetController.cpp:474:9: error: reference to 'filesystem' is ambiguous 474 | return filesystem::get().user_banks; | ^ src/filesystem.h:27:7: note: candidate found by name lookup is 'filesystem' 27 | class filesystem | ^ /usr/include/c++/v1/__chrono/file_clock.h:49:1: note: candidate found by name lookup is 'std::filesystem' 49 | _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM | ^ /usr/include/c++/v1/__config:892:80: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_FILESYSTEM' 892 | inline namespace __fs { namespace filesystem { | ^ mv -f src/.deps/amsynth-AudioOutput.Tpo src/.deps/amsynth-AudioOutput.Po 1 error generated. --- -- Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --00000000000022926f06174f7a40 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

I'm lost on b= uild failure of audio/amsynth (updated to version 1.13.3) on recent main.
Thre strange thing is if I use llvm from ports, USES+=3Dllvm, it f= ails with same error so I suspect that something related to main.

Any help is welcome and I didn't openned an upstream PR= yet.

Thanks,

---
src/Configuration.cpp:35:20: error: reference to 'filesystem'= ; is ambiguous
=C2=A0 =C2=A035 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 amsynthrc_f= name =3D filesystem::get().config;
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ^
src/filesystem.h:27:7: note: candidate found by name lookup is = 9;filesystem'
=C2=A0 =C2=A027 | class filesystem
=C2=A0 =C2=A0 = =C2=A0 | =C2=A0 =C2=A0 =C2=A0 ^
/usr/include/c++/v1/__chrono/file_clock.= h:49:1: note: candidate found by name lookup is 'std::filesystem'=C2=A0 =C2=A049 | _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM
=C2=A0 =C2=A0 =C2= =A0 | ^
/usr/include/c++/v1/__config:892:80: note: expanded from macro &= #39;_LIBCPP_BEGIN_NAMESPACE_FILESYSTEM'
=C2=A0 892 | =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0in= line namespace __fs { namespace filesystem {
=C2=A0 =C2=A0 =C2=A0 | =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
src/Configurati= on.cpp:60:22: error: reference to 'filesystem' is ambiguous
=C2= =A0 =C2=A060 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 current_bank_file =3D filesystem= ::get().default_bank;
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^src/filesystem.h:27:7: note: candidate found by name lookup is 'filesy= stem'
=C2=A0 =C2=A027 | class filesystem
=C2=A0 =C2=A0 =C2=A0 | = =C2=A0 =C2=A0 =C2=A0 ^
/usr/include/c++/v1/__chrono/file_clock.h:49:1: n= ote: candidate found by name lookup is 'std::filesystem'
=C2=A0 = =C2=A049 | _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM
=C2=A0 =C2=A0 =C2=A0 | ^/usr/include/c++/v1/__config:892:80: note: expanded from macro '_LIBC= PP_BEGIN_NAMESPACE_FILESYSTEM'
=C2=A0 892 | =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0inline namesp= ace __fs { namespace filesystem {
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
2 errors generated.
gm= ake[2]: *** [Makefile:3376: src/amsynth_dssi_gtk-Configuration.o] Error 1gmake[2]: *** Waiting for unfinished jobs....
src/PresetController.cpp= :474:9: error: reference to 'filesystem' is ambiguous
=C2=A0 474= | =C2=A0 =C2=A0 =C2=A0 =C2=A0 return filesystem::get().user_banks;
=C2= =A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= ^
src/filesystem.h:27:7: note: candidate found by name lookup is 'fi= lesystem'
=C2=A0 =C2=A027 | class filesystem
=C2=A0 =C2=A0 =C2=A0= | =C2=A0 =C2=A0 =C2=A0 ^
/usr/include/c++/v1/__chrono/file_clock.h:49:1= : note: candidate found by name lookup is 'std::filesystem'
=C2= =A0 =C2=A049 | _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM
=C2=A0 =C2=A0 =C2=A0 |= ^
/usr/include/c++/v1/__config:892:80: note: expanded from macro '_= LIBCPP_BEGIN_NAMESPACE_FILESYSTEM'
=C2=A0 892 | =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0inline na= mespace __fs { namespace filesystem {
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
mv -f src/.deps/amsynt= h-AudioOutput.Tpo src/.deps/amsynth-AudioOutput.Po
1 error generated.
---

--
Nuno Teixeira
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--00000000000022926f06174f7a40--