Opened 10 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 by dmik, 10 years ago

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.

Version 0, edited 10 years ago by dmik (next)

comment:2 by Silvan Scherrer, 10 years ago

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 by Yuri Dario, 9 years ago

Component: rpmother
Severity: low

comment:4 by Silvan Scherrer, 8 years ago

Resolution: fixed
Status: newclosed

r840 fixes it

Note: See TracTickets for help on using tickets.