[Bug build/33510] New: lib/getconf installs to wrong prefix

nuc1eon at neonsys dot org sourceware-bugzilla@sourceware.org
Wed Oct 1 22:39:27 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33510

            Bug ID: 33510
           Summary: lib/getconf installs to wrong prefix
           Product: glibc
           Version: 2.42
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: nuc1eon at neonsys dot org
                CC: carlos at redhat dot com
  Target Milestone: ---

Hi, coming from GoboLinux we need a somewhat more "custom" install, so
therefore atm we are using DESTDIR=$target (where $target resolves to eg
/Programs/Glibc/2.42), and --prefix=/.

Setting --prefix=/ seems to work best so far in our case since --prefix=$target
installs 98% of stuff to $target/usr/{...} (with a few minor exeptions that for
some reasons are at the correct path).

So we are going with --prefix=/ atm, howerver there are astill three files
which are getting installed with a usr/ prefix for some reason, sepecifically
the getconf/lib folder:

└── usr
    └── lib
        └── getconf
            ├── POSIX_V6_LP64_OFF64
            ├── POSIX_V7_LP64_OFF64
            └── XBS5_LP64_OFF64

These are the only files that are still being installed under the usr/ prefix,
despite --prefix=/.

Therefore I am assuming this is a bug in the makefile. If I'm wrong please let
me know.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list