Mantis - sharutils
Viewing Issue Advanced Details
4751 packaging minor always 2011-04-12 09:08 2011-05-08 10:45
maciej  
 
normal  
closed  
fixed  
none    
none  
0004751: sharutils-4.11 does not compile
gmake[6]: Entering directory `/home/maciej/src/opencsw/pkg/sharutils/trunk/work/solaris9-sparc/build-isa-sparcv8/sharutils-4.11/lib'
source='strtoimax.c' object='strtoimax.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../depcomp \
/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/opt/csw/include -D_REENTRANT -xO3 -m32 -xarch=v8 -c strtoimax.c
"strtoimax.c", line 71: bit-field size < 0: verify_error_if_negative_size__
cc: acomp failed for strtoimax.c
gmake[6]: *** [strtoimax.o] Error 2
The place where it fails:


Int
strtoimax (char const *ptr, char **endptr, int base)
{
#if Have_long_long
  verify (sizeof (Int) == sizeof (Unsigned long int)
          || sizeof (Int) == sizeof (Unsigned long long int));

  if (sizeof (Int) != sizeof (Unsigned long int))
    return strtoll (ptr, endptr, base);
#else
  verify (sizeof (Int) == sizeof (Unsigned long int));
#endif

  return strtol (ptr, endptr, base);
}
Issue History
2011-04-12 09:08 maciej New Issue
2011-04-12 09:28 maciej Note Added: 0008957
2011-04-17 11:42 maciej Note Added: 0008962
2011-05-08 10:45 maciej Note Added: 0009030
2011-05-08 10:45 maciej Status new => closed
2011-05-08 10:45 maciej Resolution open => fixed

Notes
(0008957)
maciej   
2011-04-12 09:28   
I've sent a bug report via e-mail as instructed in sharutils manual, to bug-gnu-utils in domain prep.ai.mit.edu.
(0008962)
maciej   
2011-04-17 11:42   
Turns out that this address bounces emails, I've resent the report to bug-gnu-utils in domain gnu.org.
(0009030)
maciej   
2011-05-08 10:45   
Fixed in upstream in 4.11.1.