bugfindutils - Bugs: bug #11220, UNICOS 9.0 - can't figure out how...


bug #11220: UNICOS 9.0 - can't figure out how to use your getmntent()

Submitter:  Mark D Baushke <mbaushke>
Submitted:  Sun 05 Dec 2004 07:39:32 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Closed
Release:  4.2.9 Fixed Release:  4.2.11
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sat 11 Dec 2004 08:19:00 PM UTC, comment #4: 

I think the -lsun problem has just been fixed by an update to gnulib.  The EOVERFLOW is now protexted with #ifdef.  I've fixed the gl_CHECK_TYPE_STRUCT_DIRENT_D_INO problem locally, but that really needs a patch to gnulib.  I have sent a patch to the uptream maaintainers of gnulib.

James Youngman <jay>
Project Administrator
Mon 06 Dec 2004 04:48:11 PM UTC, comment #3: 

findutils-4.2.10 gets further but does not have an EOVERFLOW
symbol, so that code needs to be protected.

There is also some strange binary output in the config.out
as a part of the fact that configure contains a bare reference
to gl_CHECK_TYPE_STRUCT_DIRENT_D_INO before the check for
ssize_t on line 6129. Obviously, this should be fixed too.

Patching find/find.c to protect the EOVERFLOW with #ifdef
lets the compilation finish with only warnings.

It should be noticed that the latest GNULIB stuff seems to
have re-introduced the LIBS=-lsun in the find/Makefile, so
the GNULIB folks probably need to be more careful.

As the machine does not have 'runtest' installed, it is not
possible to use 'make check' to do anything meaningful. I
did a few sample 'find' commands myself and they seemed to
work okay.

Mark D Baushke <mbaushke>
Mon 06 Dec 2004 12:58:03 AM UTC, comment #2: 

Please try findutils-4.2.10, which I have just uploaded to alpha.gnu.org.   It now uses a gnulib function to enumerate the system's mounted file systems.  That should be more portable.

James Youngman <jay>
Project Administrator
Sun 05 Dec 2004 07:41:49 PM UTC, comment #1: 

Attached the output of the ./configure >& config.out
as well as the full config.log and a copy of

Mark D Baushke <mbaushke>
Sun 05 Dec 2004 07:39:32 PM UTC, original submission:  

The configure step of findutils-4.2.9 failes on a
CRAY Y-MP EL running UNICOS 9.0

checking how to call getmntent()... configure: error: I can't figure out how to use your getmntent() function.

config.log has the following:
configure:18149: checking how to call getmntent()
configure:18181: cc -c -g  conftest.c >&5
cc-106 cc: WARNING File = conftest.c, Line = 185
  The declaration of "MMM" has no type specifier.
cc-498 cc: ERROR File = conftest.c, Line = 185
  A "," or ")" is expected where "*" appears in a function prototype.
cc-428 cc: ERROR File = conftest.c, Line = 185
  The type of "getmntent" is not compatible with its previously declared type.
cc-645 cc: ERROR File = conftest.c, Line = 185
  There is no comma or semicolon after a declaration.

Mark D Baushke <mbaushke>


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

Attach Files:

Attached Files
file #2163:  unicos-problems-4.2.10.tar.gz added by mbaushke (48KiB - application/x-gzip - Attached the output of (./configure && make)>& config.out, the full config.log, config.h, find.c.diff find/Makefile and /usr/include/sys/errno.h)
file #2155:  unicos-problem.tar.gz added by mbaushke (25KiB - application/x-gzip - config.out config.log /usr/include/mntent.h)


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.

Only logged-in users can vote.





Follow 8 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-01-03 jay Open/ClosedOpen Closed
    Fixed ReleaseNone 4.2.11
2004-12-11 jay StatusNone Fixed
2004-12-06 mbaushke Attached File- Added unicos-problems-4.2.10.tar.gz, #1950
2004-12-06 jay Assigned toNone jay
    Release4.1.20 4.2.9
    Fixed Release4.2.9 None
2004-12-05 mbaushke Attached File- Added unicos-problem.tar.gz, #1945

Back to the top

Powered by Savane 3.9