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)

Submitter:  Matthew Woehlke <woehlkmp>
Submitted:  Fri 21 Jul 2006 11:50:15 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-09-19 eggert StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code