From nobody Tue Feb 28 21:48:32 2023 X-Original-To: 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 4PR9wd4ShGz3v0BX for ; Tue, 28 Feb 2023 21:48:33 +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 4PR9wd2TjVz46Kd for ; Tue, 28 Feb 2023 21:48:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677620913; 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=avC+7FcnBl+2dWgl/FrBz++Hr5HdtTVeizCvMtuO6sU=; b=fAl3KhzsRbRtlWfyFVdYfp2u/OI+wqdSi3CL6CLaBFprMVMb6fRToGtShmuJCJWDuTW7Id jj09sLBrieGxNHnne9GvErmH0UpRYwg86eQnV5Zi24dTtQndJqWRcF7rvt574gF7lRsBV3 +czQoud1xbWY669eXvMyUnbUmo7izNAKNJ6X+/Na/UK2I9tzkE7hYD/iwojEWKN03u6HWh R2NGI+0ji66HWl+WS4Qr9V8nW0nyiVXQOCBA5nC7NIkrz5UJypcYvzvZK9rICaCnPoaYMR j2AhWxn/+Potxegm2pLGm64yRFzVIe6DxwnV8ykQi6hgFIsjLCfTgBWLLyABYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677620913; a=rsa-sha256; cv=none; b=PxjDCJF1Vj28vLf6MKmGYurILXm62+/0dZNwF7FVgi8yfBy07l7K/nDIxsRRCKkfzTLz4b sdLNF6dxafAIvUUNdjR77vLV95JjNm6uyTy9Dy0EIqwPNAbcUq2rRy8F4E6+hZ8XyFBy92 ScX1ngnR2EsXONly4hK2iCAwQwETQGGvfOxRp1/L4lIbsoG/RAWiknQqVaAgkZv9mdQCAh mzlNGYbQN7b2LzRxFQ9drQUnnseouFd4VsHLxbzksXBXhnWS82mpqG2juGTuBP+wUyQfPc gCdMj0tvO7ay+kqXpa2qbkiO8gLbUPXbjJcZSogMFvhXnnAtkA6VC031B4z2Zw== 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 4PR9wd1RbPz1NJp for ; Tue, 28 Feb 2023 21:48:33 +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 31SLmXXi033099 for ; Tue, 28 Feb 2023 21:48:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31SLmX2M033098 for bugs@FreeBSD.org; Tue, 28 Feb 2023 21:48:33 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: bugs@FreeBSD.org Subject: [Bug 269637] sysutils/nix: build fails - linker issues - undefined symbols from AWS libs Date: Tue, 28 Feb 2023 21:48:32 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: attachments.isobsolete flagtypes.name attachments.created 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269637 John Hein changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #240342|0 |1 is obsolete| | Attachment #240342|maintainer-approval?(0mp@Fr | Flags|eeBSD.org) | Attachment #240491| |maintainer-approval?(0mp@Fr Flags| |eeBSD.org) --- Comment #3 from John Hein --- Created attachment 240491 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D240491&action= =3Dedit [patch] update nix to 2.13.2 - resolves aws linking issues (v2) Here is an update to the previous patch to include missing deps now needed = for 1.13.2, get non-default PREFIX working, and get 'make test' fully working. In a bit more detail v2 includes the following changes missed in the previo= us patch: - Add missing build deps: googletest, jq, nlohmann-json - Add missing lib deps: USES+=3Dlibarchive - Change HAS_CONFIGURE to GNU_CONFIGURE to get PREFIX working - Specify GNU_CONFIGURE_MANPREFIX in share/ (matches plist) - needed after switch to GNU_CONFIGURE which specifies --mandir. - Use static patches instead of REINPLACE_CMD for linux/freebsd test compatibility fixes (sed -i, wc -l, GNU vs BSD cmp & touch). Some of these could be upstreamed. - Fix getSelfExe for FreeBSD [[1]]. The patch for this can be submitted upstream. - Update _ALL_TESTS (also see files/Makefile.regentestlist to help future developers when updating this port - the previous comment instructions for updating _ALL_TESTS do not work for 2.13.2). QA: poudriere testport -P (ok - 12-stable (amd64 & i386)) portlint, portclippy (ok) 'make test' (ok, amd64) [[1]] The getSelfExe() fix was noticed when the tests/flakes/flakes.sh test= was run: error: executing 'nix': No such file or directory error: =E2=80=A6 while reading the response from the build hook The reason is that src/libstore/build/hook-instance.c uses execv(3) which d= oes not use PATH from the environment (like execvp(3)). So it needs a full pat= h to the executable. And with the failure of getSelfExe() (before the patch), it would just use "nix" (instead of "/usr/local/bin/nix"). Hence the ENOENT failure. --=20 You are receiving this mail because: You are the assignee for the bug.=