bugGNU Core Utilities - Bugs: bug #17172, Problems building coreutils-5.97...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17172: Problems building coreutils-5.97 on OSS (HP Nonstop)

Submitted by:  Matthew Woehlke <woehlkmp>
Submitted on:  Fri 21 Jul 2006 11:50:15 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 19 Sep 2006 10:15:07 PM UTC, comment #1:

I think most of these problems are fixed now in CVS, except for the mount table issue (that should be turned into a separate bug report), maybe the statfs/statvfs issue (likewise), and maybe the ls, cat, tty problem (likewise). Thanks for the bug report.

Paul Eggert <eggert>
Project Administrator
Fri 21 Jul 2006 11:50:15 PM UTC, original submission:

A number of tools do not build on OSS. Some of the changes in bug #16325 help, but there are many more problems...

= 'configure' fails because it is unable to determine how to read the mount table. I am not sure that there is a mount table on OSS.

= The targets 'shred' and 'sync' fail, presumably because there is no sync().

= cp and ln fail w.r.t. symlink functions and function pointers. cp either needs 'if (0) lstat (NULL, NULL)' before the call to lstat, or something similar to what the patch does for ln. ln needs the fixes from #16325, plus:
- int err = ((dereference_dest_dir_symlinks ? stat : lstat)(file, &st) == 0
+ int err = ((dereference_dest_dir_symlinks ? stat (file, &st)
+ : lstat (file, &st)) == 0

= signal handling in ls is broken because SA_NOCLDSTOP is defined but SA_RESTART is not. I fixed this by making all tests for SA_NOCLDSTOP test for both.

= stat does not build; AFAICT because there is no statfs() nor statvfs().

= ls, cat, stty need '#ifdef __TANDEM\\#define _TANDEM_SOURCE\\#endif' added; otherwise net/*.h headers break.

= src/setuidgid.c needs the call to setgroups() removed.

There are also OSS sources for fileutils on ITUG: https://www.itug.org/secure/ituglib/user/dsp_detail.cfm?library_id=938&CFID=61774&CFTOKEN=23360543
These may help with some of the other issues.

Matthew Woehlke <woehlkmp>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 19 Sep 2006 10:15:07 PM UTCeggertStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1