Bug 268924 - sysutils/coreutils: not WITH_PIE safe
Summary: sysutils/coreutils: not WITH_PIE safe
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Alexander Leidinger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-13 08:24 UTC by Alexander Leidinger
Modified: 2023-01-16 17:52 UTC (History)
1 user (show)

See Also:
jharris: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Leidinger freebsd_committer freebsd_triage 2023-01-13 08:24:34 UTC
Hi,

building the port with WITH_PIE makes it fail (no error message, but libstdbuf.so is not created). Until this is fixed, the port should get PIE_UNSAFE=yes in the Makefile (this fixes the build for me).

Bye,
Alexander.
Comment 1 jharris 2023-01-15 22:41:26 UTC
I approve this change.  Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-01-16 17:51:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=00b43bf80f0532a0a412599feabe884df1eaf287

commit 00b43bf80f0532a0a412599feabe884df1eaf287
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2023-01-16 17:48:08 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2023-01-16 17:50:19 +0000

    sysutils/coreutils: Mark as PIE_UNSAFE.

    There is no error message, but libstdbuf.so is not created.

    PR:             268924
    Approved by:    maintainer

 sysutils/coreutils/Makefile | 1 +
 1 file changed, 1 insertion(+)