[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    [bug #17172] Problems building coreutils-5.97 on OSS (HP Nonstop)
From:       Matthew Woehlke <INVALID.NOREPLY () gnu ! org>
Date:       2006-07-21 23:50:17
Message-ID: 20060721-235016.sv48625.87161 () savannah ! gnu ! org
[Download RAW message or body]


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/




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic