Opened 9 years ago

Closed 8 years ago

#133 closed defect (fixed)

/@unixroot/usr/include/paths.h is wrong

Reported by: dmik Owned by:
Priority: major Milestone:
Component: other Version:
Severity: low Keywords:
Cc:

Description

It turns out that the /@unixroot/usr/include/paths.h header installed by libc-devel contains incorrect _PATH_* definitions (added there by Knut). It assumes that essential system tools are installed in /@unixroot/bin while Yuri decided to drop this dir in favor of /@unixroot/usr/bin (which in fact contains all these tools).

Now we need to either get /@unixroot/bin back (e.g. as a symlink pointing to /@unixroot/usr/bin) or fix the paths.h definitions in our libc-devel.

Change History (4)

comment:1 Changed 9 years ago by dmik

Yes, there is os2-base-fhs which does the mentioned bin symlink but it's not installed by default and this creates a very hidden source of errors. There is at least one program that uses _PATH_* defines - dash (e.g. _PATH_BSHELL) but I'm pretty sure there are more (I remember I successfully solved some related build problems with making this symlink back then).

I.e. we need a solution that works by default, w/o the need to install additional packages.

Last edited 9 years ago by dmik (previous) (diff)

comment:2 Changed 9 years ago by Silvan Scherrer

I personally vote for changing the header to /@unixrot/usr/bin. As installing this fhs package is probably not what the average user does.

comment:3 Changed 8 years ago by Yuri Dario

Component: rpmother
Severity: low

comment:4 Changed 8 years ago by Silvan Scherrer

Resolution: fixed
Status: newclosed

r840 fixes it

Note: See TracTickets for help on using tickets.