[Python-bugs-list] [Bug #110857] it don't make (PR#269)

noreply@sourceforge.net noreply@sourceforge.net
Fri, 25 Aug 2000 07:22:17 -0700


Bug #110857, was updated on 2000-Aug-01 14:38
Here is a current snapshot of the bug.

Project: Python
Category: None
Status: Open
Resolution: None
Bug Group: Irreproducible
Priority: 3
Summary: it don't make (PR#269)

Details: Jitterbug-Id: 269
Submitted-By: mitch.harris@usa.net
Date: Mon,  3 Apr 2000 13:29:25 -0400 (EDT)
Version: 1.6
OS: sun 5.6


First time I tried to install Python. 


/usr2/t_mitchh/python/Python-1.6a1>version
Machine hardware:   sun4u
OS version:         5.6
Processor type:     sparc
Hardware:           SUNW,Ultra-1

The following components are installed on your system:


Sun Visual WorkShop C++ 3.0
        Sun WorkShop Compiler C 4.2 
        Sun WorkShop Compiler C++ 4.2 
        Sun WorkShop Tools.h++ 7.0 
        Sun WorkShop Tools.h++ 6.0.4 
        Sun WorkShop Visual 2.0 
        Sun WorkShop IPE 4.0 
        Sun WorkShop CodeManager 2.0 
        Sun WorkShop Distributed Make 2.0 
        Sun WorkShop FileMerge 3.0 
        Sun WorkShop FreezePoint 2.0 
        Sun WorkShop Maketool 2.0 
        Sun WorkShop VersionTool 2.0 
        Sun WorkShop Dbx 4.0 
        Sun WorkShop Performance Analyzer 4.0 
        Sun WorkShop LoopTool 2.1 
        Sun WorkShop LockLint 2.1 
        Sun WorkShop Thread Analyzer 1.2 
        Sun WorkShop XEmacs 20.00 

/usr2/t_mitchh/python/Python-1.6a1>./configure
creating cache ./config.cache
checking MACHDEP... sunos5
checking for --without-gcc... no
checking for --with-cxx=<compiler>... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking LINKCC... $(PURIFY) $(CC)
checking LDLIBRARY... 
checking for ranlib... ranlib
checking for ar... ar
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for minix/config.h... no
checking whether gcc accepts -OPT:Olimit=0... no
checking whether gcc accepts -Olimit 1500... no
checking for C preprocessor type... ansi
checking for ANSI C header files... yes
checking for dlfcn.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for ncurses.h... no
checking for pthread.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for thread.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for sys/audioio.h... yes
checking for sys/file.h... no
checking for sys/lock.h... yes
checking for sys/param.h... no
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/un.h... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for clock_t in time.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking size of int... 4
checking size of long... 4
checking size of void *... 4
checking size of char... 1
checking size of short... 2
checking size of float... 4
checking size of double... 8
checking for long long support... yes
checking size of long long... 8
checking size of off_t... 4
checking whether to enable large file support... no
checking for --with-next-framework... no
checking for --with-dyld... no
checking SO... .so
checking LDSHARED... ld -G
checking CCSHARED... 
checking LINKFORSHARED... 
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for t_open in -lnsl... yes
checking for socket in -lsocket... yes
checking for socket in -lnet... no
checking for --with-libs... no
checking for --with(out)-readline... not specified.
checking for --with-dec-threads... no
checking for --with-threads... no
checking for --with-thread... no
checking for --with-sgi-dl... no
checking for --with-dl-dld... no
checking for dlopen... yes
checking DYNLOADFILE... dynload_shlib.o
checking for alarm... yes
checking for chown... yes
checking for clock... yes
checking for confstr... yes
checking for ctermid... yes
checking for ctermid_r... yes
checking for dlopen... (cached) yes
checking for execv... yes
checking for flock... no
checking for fork... yes
checking for fsync... yes
checking for fdatasync... no
checking for fpathconf... yes
checking for ftime... yes
checking for ftruncate... yes
checking for getgroups... yes
checking for getlogin... yes
checking for getpeername... yes
checking for getpgrp... yes
checking for getpid... yes
checking for getpwent... yes
checking for gettimeofday... yes
checking for getwd... yes
checking for kill... yes
checking for link... yes
checking for lstat... yes
checking for mkfifo... yes
checking for mktime... yes
checking for nice... yes
checking for pathconf... yes
checking for pause... yes
checking for plock... yes
checking for pthread_init... no
checking for putenv... yes
checking for readlink... yes
checking for select... yes
checking for setgid... yes
checking for setlocale... yes
checking for setuid... yes
checking for setsid... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for sigrelse... yes
checking for strftime... yes
checking for strptime... yes
checking for symlink... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for tempnam... yes
checking for timegm... no
checking for times... yes
checking for tmpfile... yes
checking for tmpnam... yes
checking for tmpnam_r... yes
checking for truncate... yes
checking for uname... yes
checking for waitpid... yes
checking for fseek64... no
checking for fseeko... yes
checking for fstatvfs... yes
checking for ftell64... no
checking for ftello... yes
checking for statvfs... yes
checking for dup2... yes
checking for getcwd... yes
checking for strdup... yes
checking for strerror... yes
checking for memmove... yes
checking for getpgrp... (cached) yes
checking for setpgrp... (cached) yes
checking for gettimeofday... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... no
checking for tzname... yes
checking for time.h that defines altzone... yes
checking whether sys/select.h and sys/time.h may both be included... yes
checking whether char is unsigned... no
checking for working const... yes
checking for inline... inline
checking for working volatile... yes
checking for working signed char... yes
checking for prototypes... yes
checking for variable length prototypes and stdarg.h... yes
checking for bad exec* prototypes... no
checking for bad static forward... no
checking whether va_list is an array... no
checking for gethostbyname_r... yes
checking gethostbyname_r with 6 args... no
checking gethostbyname_r with 5 args... no
checking gethostbyname_r with 3 args... no
checking for __fpu_control in -lieee... no
checking for --with-fpectl... no
checking for --with-libm=STRING... default LIBM="-lm"
checking for --with-libc=STRING... default LIBC=""
checking for hypot... yes
checking for hypot... (cached) yes
checking for genuine getopt... yes
checking what malloc(0) returns... nonnull
checking for wchar.h... yes
checking for usable wchar_t... no
checking whether byte ordering is bigendian... yes
checking for --with-wctype-functions... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating Objects/Makefile
creating Parser/Makefile
creating Python/Makefile
creating Modules/Makefile.pre
creating Modules/Setup.thread
creating config.h


/usr2/t_mitchh/python/Python-1.6a1/Modules>make
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./posixmodule.c
In file included from ./posixmodule.c:3194:
/usr/include/sys/statvfs.h:38: parse error before `fsblkcnt_t'
/usr/include/sys/statvfs.h:38: warning: no semicolon at end of struct or union
/usr/include/sys/statvfs.h:39: warning: data definition has no type or storage
class
/usr/include/sys/statvfs.h:40: parse error before `f_bavail'
/usr/include/sys/statvfs.h:40: warning: data definition has no type or storage
class
/usr/include/sys/statvfs.h:41: parse error before `f_files'
/usr/include/sys/statvfs.h:41: warning: data definition has no type or storage
class
/usr/include/sys/statvfs.h:42: parse error before `f_ffree'
/usr/include/sys/statvfs.h:42: warning: data definition has no type or storage
class
/usr/include/sys/statvfs.h:43: parse error before `f_favail'
/usr/include/sys/statvfs.h:43: warning: data definition has no type or storage
class
/usr/include/sys/statvfs.h:51: parse error before `}'
/usr/include/sys/statvfs.h:51: warning: data definition has no type or storage
class
./posixmodule.c: In function `posix_fstatvfs':
./posixmodule.c:3207: storage size of `st' isn't known
./posixmodule.c: In function `posix_statvfs':
./posixmodule.c:3259: storage size of `st' isn't known
make: *** [posixmodule.o] Error 1

I tried this 

#if defined(HAVE_FSTATVFSxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
#if defined(HAVE_STATVFSxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
#ifdef HAVE_FSTATVFSxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#ifdef HAVE_STATVFSxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

and got this

/prj/qed2/local//lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/sys/param.h:187:
warning: `NBBY' r
/usr/include/sys/select.h:45: warning: this is the location of the previous
definition
In file included from /usr/include/sys/stream.h:26,
                 from /usr/include/netinet/in.h:38,
                 from /usr/include/netdb.h:96,
                 from ./socketmodule.c:163:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
make[1]: *** [socketmodule.o] Error 1
make[1]: Leaving directory `/usr2/t_mitchh/python/Python-1.6a1/Modules'
make: *** [Modules] Error 2



====================================================================
Audit trail:
Mon May 22 17:44:30 2000	guido	changed notes
Mon May 22 17:44:30 2000	guido	moved from incoming to irreproducible

Follow-Ups:

Date: 2000-Aug-01 14:38
By: none

Comment:
Sun's compiler sucks?
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=110857&group_id=5470