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()

Submitted by:  Mark D Baushke <mbaushke>
Submitted on:  Sun 05 Dec 2004 07:39:32 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: 4.2.9Fixed Release: 4.2.11

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 AdministratorIn charge of this item.
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 AdministratorIn charge of this item.
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
/usr/include/mntent.h

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 File(s):
   
   
Comment:
   

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

 

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 8 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 03 Jan 2005 10:13:58 PM UTCjayOpen/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.2.11
Sat 11 Dec 2004 08:19:00 PM UTCjayStatusNone=>Fixed
Mon 06 Dec 2004 04:48:12 PM UTCmbaushkeAttached File-=>Added unicos-problems-4.2.10.tar.gz, #1950
Mon 06 Dec 2004 12:58:03 AM UTCjayAssigned toNone=>jay
  Release4.1.20=>4.2.9
  Fixed Release4.2.9=>None
Sun 05 Dec 2004 07:41:49 PM UTCmbaushkeAttached File-=>Added unicos-problem.tar.gz, #1945

Back to the top


Powered by Savane 3.1-cleanup1