From owner-freebsd-testing@freebsd.org Tue Mar 9 21:54:28 2021 Return-Path: Delivered-To: freebsd-testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 787C4573020 for ; Tue, 9 Mar 2021 21:54:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dw8BD2pQ4z3LSl for ; Tue, 9 Mar 2021 21:54:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 603FA57301F; Tue, 9 Mar 2021 21:54:28 +0000 (UTC) Delivered-To: testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 600A1572EC2 for ; Tue, 9 Mar 2021 21:54:28 +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 4Dw8BD2Cf2z3Lcp for ; Tue, 9 Mar 2021 21:54:28 +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 3F503239D2 for ; Tue, 9 Mar 2021 21:54:28 +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 129LsSJS066824 for ; Tue, 9 Mar 2021 21:54:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 129LsSTV066823 for testing@FreeBSD.org; Tue, 9 Mar 2021 21:54:28 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: testing@FreeBSD.org Subject: [Bug 254173] pkgbase: installing FreeBSD-clang clang and FreeBSD-lld doesn't pull all dependencies necessary to actually compile and link programs Date: Tue, 09 Mar 2021 21:54:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: me@igalic.co X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: testing@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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 MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2021 21:54:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254173 Bug ID: 254173 Summary: pkgbase: installing FreeBSD-clang clang and FreeBSD-lld doesn't pull all dependencies necessary to actually compile and link programs Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: tests Assignee: testing@FreeBSD.org Reporter: me@igalic.co pkg -r /isolates/clang-dependendy-bug/root -r FreeBSD-base FreeBSD-clang FreeBSD-utilities FreeBSD-lld =E2=80=A6 sudo pkg -r /isolates/clang-dependendy-bug/root info FreeBSD-clang-14.snap20210306210736 Clang Utilities FreeBSD-clibs-14.snap20210306210736 Core C Libraries FreeBSD-libarchive-14.snap20210306210736 libarchive package FreeBSD-libbegemot-14.snap20210306210736 libbegemot package FreeBSD-libbsdxml-14.snap20210306210736 libbsdxml package FreeBSD-libbsm-14.snap20210306210736 libbsm package FreeBSD-libbz2-14.snap20210306210736 libbz2 package FreeBSD-libdwarf-14.snap20210306210736 libdwarf package FreeBSD-libefivar-14.snap20210306210736 libefivar package FreeBSD-libevent1-14.snap20210306210736 libevent1 package FreeBSD-libexecinfo-14.snap20210306210736 libexecinfo package FreeBSD-libldns-14.snap20210306210736 libldns package FreeBSD-liblzma-14.snap20210306210736 liblzma package FreeBSD-libmagic-14.snap20210306210736 libmagic package FreeBSD-libnetmap-14.snap20210306210736 libnetmap package FreeBSD-libopie-14.snap20210306210736 libopie package FreeBSD-libregex-14.snap20210306210736 libregex package FreeBSD-libsmb-14.snap20210306210736 libsmb package FreeBSD-libsqlite3-14.snap20210306210736 libsqlite3 package FreeBSD-libucl-14.snap20210306210736 libucl package FreeBSD-lld-14.snap20210306210736 lld package FreeBSD-runtime-14.snap20210306210736 FreeBSD Base System FreeBSD-utilities-14.snap20210306210736 Non-vital programs and librairies meena@beastix /u/src (main)> sudo chroot /isolates/clang-dependendy-bug/root root@beastix:/ # cd root@beastix:~ # cat pls-compile.c int main(){return 0;} oot@beastix:~ # make pls-compile cc -O2 -pipe pls-compile.c -o pls-compile ld: error: unable to find library -lgcc ld: error: unable to find library -lgcc_s ld: error: unable to find library -lc ld: error: unable to find library -lgcc ld: error: unable to find library -lgcc_s cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make: stopped in /root okay! let's add dependencies=E2=80=A6 sudo pkg -r /isolates/clang-dependendy-bug/root install FreeBSD-libcompiler= _rt same error. install FreeBSD-libcompiler_rt-dev same error. install FreeBSD-clibs-dev: root@beastix:~ # make pls-compile cc -O2 -pipe pls-compile.c -o pls-compile ld: error: cannot open /usr/lib/libc_nonshared.a: No such file or directory cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. now we're getting somewhere!! root@beastix:~ # make pls-compile cc -O2 -pipe pls-compile.c -o pls-compile root@beastix:~ # ./pls-compile root@beastix:~ # echo $? 0 root@beastix:~ # I honestly don't know which angle to attack this from, but this makes it re= ally hard to build jails with pkgbase. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-testing@freebsd.org Wed Mar 10 09:26:45 2021 Return-Path: Delivered-To: freebsd-testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A24A5AA590 for ; Wed, 10 Mar 2021 09:26:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DwRY13K6Wz4kWJ for ; Wed, 10 Mar 2021 09:26:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 71DD55AA58F; Wed, 10 Mar 2021 09:26:45 +0000 (UTC) Delivered-To: testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 71A915AA3EA for ; Wed, 10 Mar 2021 09:26:45 +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 4DwRY12hPHz4kL2 for ; Wed, 10 Mar 2021 09:26:45 +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 4B9EA4F81 for ; Wed, 10 Mar 2021 09:26:45 +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 12A9QjHI024301 for ; Wed, 10 Mar 2021 09:26:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12A9QjhQ024300 for testing@FreeBSD.org; Wed, 10 Mar 2021 09:26:45 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: testing@FreeBSD.org Subject: [Bug 254173] pkgbase: installing FreeBSD-clang clang and FreeBSD-lld doesn't pull all dependencies necessary to actually compile and link programs Date: Wed, 10 Mar 2021 09:26:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to component 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 MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2021 09:26:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254173 Li-Wen Hsu changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|testing@FreeBSD.org |bugs@FreeBSD.org Component|tests |misc --=20 You are receiving this mail because: You are the assignee for the bug.=