bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Matthew Woehlke
Subject: [bug #17172] Problems building coreutils-5.97 on OSS (HP Nonstop)
Date: Fri, 21 Jul 2006 23:50:17 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17172>

                 Summary: Problems building coreutils-5.97 on OSS (HP
Nonstop)
                 Project: GNU Core Utilities
            Submitted by: woehlkmp
            Submitted on: Friday 07/21/2006 at 23:50
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

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.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=17172>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]