From nobody Sun Nov 5 21:00:20 2023 X-Original-To: pkg@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 4SNn1c5pmmz50RWl for ; Sun, 5 Nov 2023 21:00:20 +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 4SNn1c3hJxz4NGs for ; Sun, 5 Nov 2023 21:00:20 +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=1699218020; 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; bh=r3G4mjn+JMDzaHm7lMGdf5lzPHN9+q5+4LNf88plvBE=; b=FZsu8lP8JBk3D0dkFZFPWiv7ulH2SEbRST892jBAkQSX+tB3ixZQeoqROnaueN2vSV4e1J TSDoWR1Eo/le0QH4eRdvG5Zo6NYy34P6iiAws9reO/GciJPTjhLMnQultbAztLhWA04oOQ g59cUrIUtmYZ/iLEujaFusdmC5qgVxj69q4cZv0r/MGVPdwvrYD8twxBJbH58UhrTUkySX zBSpDu2hwu7ONpvHzsy7wkD0iQbChKLtuUW+CBxRYL1+glhGDSH7Q0uJ0sLLMB3dUN590N rOUo6BxDDE5kV93PtnovIqbJeyyhuxRq05CVGieABQIoNeHxWjol+PAljZdF+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699218020; a=rsa-sha256; cv=none; b=R53jlyikj2pOMX48ERi38lbinnUFqqTeZljuhximmd5W/UvKm10P3e2Ovm2rDnbFpaTM0b V/5PekNn5UIyime/XMmePS/HkEoEPhoPXjjsXTKpB+OJB9LFnC8TBcmupQLK0U+bdXnLXj KkaoZuRND/+BwSszmEEXxnU6HcqlxA97p32GwQ0NwYWmvatHghRLHxOSxUmVIjw4bBM3Bc lqn/i+bb0YawFGHpPFOLswUN+gIp6zjE1LhzMiQGLIoLJGoG9m03TRRFgVXYljq9QYSncg x1b3Gw0nmosrqKkD8xazwiUBqnzTSCK9gOUXi1zlp0o+OHrXcYQVK5Ny5KsYTg== 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 4SNn1c2mRnzgFQ for ; Sun, 5 Nov 2023 21:00:20 +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 3A5L0K23011188 for ; Sun, 5 Nov 2023 21:00:20 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A5L0K2s011187 for pkg@FreeBSD.org; Sun, 5 Nov 2023 21:00:20 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202311052100.3A5L0K2s011187@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: pkg@FreeBSD.org Subject: Problem reports for pkg@FreeBSD.org that need special attention Date: Sun, 5 Nov 2023 21:00:20 +0000 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16992180203.0D5Ab3d.9223" Content-Transfer-Encoding: 7bit --16992180203.0D5Ab3d.9223 Date: Sun, 5 Nov 2023 21:00:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 220049 | ports-mgmt/pkg installs unneeded packages Open | 237369 | ports-mgmt/pkg: pkg delete removes required NLS d New | 256415 | ports-mgmt/pkg throws "Failed: extract" error in Open | 219036 | ports-mgmt/pkg: pkg confused, installs older ver Open | 264962 | ports-mgmt/pkg 1.18.2: 'pkg-static: pkg_checksum_ 5 problems total for which you should take action. --16992180203.0D5Ab3d.9223 Date: Sun, 5 Nov 2023 21:00:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    220049 | ports-mgmt/pkg installs unneeded packages
Open        |    237369 | ports-mgmt/pkg: pkg delete removes required NLS d
New         |    256415 | ports-mgmt/pkg throws "Failed: extract" error in 
Open        |    219036 | ports-mgmt/pkg:  pkg confused, installs older ver
Open        |    264962 | ports-mgmt/pkg 1.18.2: 'pkg-static: pkg_checksum_

5 problems total for which you should take action.
--16992180203.0D5Ab3d.9223-- From nobody Fri Nov 10 21:13:54 2023 X-Original-To: pkg@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 4SRs4y42GQz50TC5 for ; Fri, 10 Nov 2023 21:13:54 +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 4SRs4y1dxkz3H2R for ; Fri, 10 Nov 2023 21:13:54 +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=1699650834; 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; bh=RBnZkLWv+0TU6tXksqlAeXRJh+y9MbGCSBUFWEH14CY=; b=TSC6HvdkE9dUq/0lYBmVWik0mFuZgtvuNcW49TXkZg1eulDmwvgom6NKl90SFLewzWrNS5 jTMpMjujm4vDy/avvfJQ7BsixsrvuJo7ovv5fjeX1bZcC2m6IuwcSn+fKi2/IdhsKrJm9K pW6rlgwJcoJJo9mE9Xsy7CElmZ1sxmvfgAFt98Qffqwb2mcrwY51+eiA5haWMTrpnw9l2t jSj6RCa+bd5pQ2G+fnP5m7FYPUEGcsrZ1ZdizSs+SSe8PKRu4kC/ox9RhBLdM3XvC++jfu spC4PpvbevuHisjJ41xfuLeb7wuF1KDHK1TThO4gJ4GKewKygh3IerTCzNV4JQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699650834; a=rsa-sha256; cv=none; b=jgiiYLFUM1j90rX6rTvUVcgUsZ2G7X5liefZoiT2MVOCdJDpV1GFsXNIy2B9CyAncISYTh Jhsl2U5gK42twT1Igvt0UB/p0qApHRXyCPg04IkGqAzqX7GpQc3nHuKwC/CVdVLQjlJKc2 UC7CP69cHon4XTi+Ecj+FDAH37YDHJ8DLzsqxZj/4YuakaYT4Y5YK45Xl+oUZ+gFUpAcLE u4Yaa5sawVp+s5qjdgBTLDmigaceKoZDXCyZwAvcp2cSxZnSV9zkO6OZwBrk/qIxQMWrrq ujjP1DOhSMyr0G6gKB7wLRnPFFROgpIP4YfZJKB5yvK+NL2QVnXQ5+RPVgtWOQ== 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 4SRs4y0kB4z1Cqp for ; Fri, 10 Nov 2023 21:13:54 +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 3AALDstt047316 for ; Fri, 10 Nov 2023 21:13:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AALDsvS047315 for pkg@FreeBSD.org; Fri, 10 Nov 2023 21:13:54 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: pkg@FreeBSD.org Subject: [Bug 275018] ports-mgmt/pkg: building with PIE and RELRO is broken when CFLAGS are set Date: Fri, 10 Nov 2023 21:13:54 +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 Only Me X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl 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 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 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275018 Bug ID: 275018 Summary: ports-mgmt/pkg: building with PIE and RELRO is broken when CFLAGS are set Product: Ports & Packages Version: Latest Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: zarychtam@plan-b.pwste.edu.pl Assignee: pkg@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) Since WITH_PIE and WITH_RELRO were introduced to ports, it was impossible to build ports-mgmt/pkg when CFLAGS were also set. To reproduce try to build ports-mgmt/pkg with these settings in make.conf: CFLAGS=3D-O2 -pipe -fno-strict-aliasing=20 WITH_PIE=3DYES=20 WITH_RELRO=3DYES it looks like setting CFLAGS is killing -fPIC at some point which results i= n: ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC I initially believed it was only a flaw, but I was encouraged to submit a PR about it. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Nov 10 21:13:54 2023 X-Original-To: pkg@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 4SRs4y4gwPz50T4P for ; Fri, 10 Nov 2023 21:13:54 +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 4SRs4y0Lhqz3HBq for ; Fri, 10 Nov 2023 21:13:54 +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=1699650834; 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=yhotsJT69STsM27P0X/q+t4QQ8BNpDIdSktCwV12WLY=; b=k5dVy8K1EQ43OJr56Cun1MsrzqJNPxXrlDu2UDgRJv1ZEB2XM277XdH5kQ9aA1AqsVVxpC dFeAvAvAVi7X+sQZ3EADaAEmp70INP5kzqtn967JaryXc3o4L2AIDd4F7KhilTz/bv0JsW Ty1JU2zocMJDguP8bbGzYRldrwyykneTAkJMSi3bz//RlkxHp/LxR38ns9APyzCiOQgGal 3vg713DyPoI0vycMjzo1Npk6P5hMvUb120f+bkLo6jYv8km/6MUiADul5hIfFP4uMy5VKw v1VSWVoFbXBZCsY5R/kVa0iMi9yg01FieO7KB12Igi8U0MBPuc+mKtH7NGdnhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699650834; a=rsa-sha256; cv=none; b=kkW9mcU7Py3Qz/mnb15YuH4f1KJzk3YJWdZqetvurqhG2vjJV2at5NodVgpYG87nMz5I9j dW0kkIESKXCP1kElUetAYeTncQ3FRgppNPHTam8US+YPUpjDiH1IqRFSDyOwl+YKFz2Phu 0vY6xob0By6u6rxhWMDrt+UzjKDjZFeJ+BVpj3w/9mlcviwzkOVsoVZv5Ap4gIbEhwxYj9 bvK4I733r6kkODlblKeafWGyfFxEyWapJBJJ/VlUwczyEFufd2CfNn40prr22MQi+fDe/B rYJJRQdOVmfhfNQ8wm7Naahc8xVDKl0bMvE6zBe6B2XKWOwrAjIY9nLheqOoFw== 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 4SRs4x6Y3Qz1Cpm for ; Fri, 10 Nov 2023 21:13:53 +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 3AALDrUp047311 for ; Fri, 10 Nov 2023 21:13:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AALDrJS047310 for pkg@FreeBSD.org; Fri, 10 Nov 2023 21:13:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 275018] ports-mgmt/pkg: building with PIE and RELRO is broken when CFLAGS are set Date: Fri, 10 Nov 2023 21:13:54 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 275018: ports-mgmt/pkg: building with PIE and RELRO is broken when CFLA= GS are set https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275018 --- Description --- Since WITH_PIE and WITH_RELRO were introduced to ports, it was impossible to build ports-mgmt/pkg when CFLAGS were also set. To reproduce try to build ports-mgmt/pkg with these settings in make.conf: CFLAGS=3D-O2 -pipe -fno-strict-aliasing=20 WITH_PIE=3DYES=20 WITH_RELRO=3DYES it looks like setting CFLAGS is killing -fPIC at some point which results i= n: ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC I initially believed it was only a flaw, but I was encouraged to submit a PR about it.