From owner-freebsd-ports-bugs@freebsd.org Thu Aug 1 16:23:44 2019 Return-Path: Delivered-To: freebsd-ports-bugs@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 5FB44C1E34 for ; Thu, 1 Aug 2019 16:23:44 +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 45zwb41xg2z3PVh for ; Thu, 1 Aug 2019 16:23:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 42B6EC1E31; Thu, 1 Aug 2019 16:23:44 +0000 (UTC) Delivered-To: ports-bugs@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 42802C1E30 for ; Thu, 1 Aug 2019 16:23:44 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45zwb416Llz3PVg for ; Thu, 1 Aug 2019 16:23:44 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 083D81CFA0 for ; Thu, 1 Aug 2019 16:23:44 +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 x71GNhJJ064735 for ; Thu, 1 Aug 2019 16:23:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x71GNhIC064730 for ports-bugs@FreeBSD.org; Thu, 1 Aug 2019 16:23:43 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 239580] [patch] ports-mgmt/pkg builds pkg-static during staging phase Date: Thu, 01 Aug 2019 16:23:43 +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 Some People X-Bugzilla-Who: sobomax@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@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 attachments.created 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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 16:23:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239580 Bug ID: 239580 Summary: [patch] ports-mgmt/pkg builds pkg-static during staging phase Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: sobomax@FreeBSD.org Assignee: pkg@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) Created attachment 206203 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206203&action= =3Dedit Patch to fix the issue. There what seems to be an error in the Makefile.autosetup, which causes pkg-static to be linked in during install-static stage, not during make all stage, which violates porting guidelines. Attached patch fixes the issue. 00:08:38.439 =3D=3D=3D> Staging for pkg-1.11.1 00:08:38.439 =3D=3D=3D> Generating temporary packing list [...] 00:08:38.439 install: DONTSTRIP set - will not strip installed binaries 00:08:38.439 cc -o pkg-static add.o alias.o annotate.o audit.o autoremove.o backup.o check.o clean.o config.o create.o delete.o event.o fetch.o globals= .o info.o install.o lock.o main.o plugins.o query.o register.o repo.o rquery.o search.o set.o shell.o shlib.o ssh.o stats.o update.o updating.o upgrade.o utils.o version.o which.o -static -fstack-protector-strong=20 -L/tmp/usr/ports/ports-mgmt/pkg/work/pkg-1.11.1/libpkg -lpkg_flat -lelf -l= jail -larchive -lbz2 -lz -llzma -lm -lssl -lcrypto -pthread -lutil 00:08:38.711 install -d -m 755 /tmp/usr/ports/ports-mgmt/pkg/work/stage/usr/local/sbin 00:08:38.711 install: DONTSTRIP set - will not strip installed binaries 00:08:38.711 install -s -m 755 pkg-static /tmp/usr/ports/ports-mgmt/pkg/work/stage/usr/local/sbin/pkg-static --=20 You are receiving this mail because: You are the assignee for the bug.=