[MacPorts] #13495: Error when attempting selfupdate
MacPorts
trac at macosforge.org
Mon Dec 10 10:12:06 PST 2007
#13495: Error when attempting selfupdate
---------------------------------------+------------------------------------
Reporter: sydbarrett74 at hotmail.com | Owner: macports-dev at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts base bugs
Component: base | Version: 1.5.0
Resolution: | Keywords: selfupdate error
---------------------------------------+------------------------------------
Changes (by jmpp at macports.org):
* component: ports => base
* milestone: MacPorts 1.5 => MacPorts base bugs
Old description:
> OS: Leopard x86
> Macports version: 1.5.0
> GCC version: 4.0.1
>
> $ sudo port selfupdate
> Password:
> MacPorts base version 1.5 installed
> Downloaded MacPorts base version 1.520
> Configuring, Building and Installing new MacPorts base
> Error: /opt/local/bin/port: selfupdate failed: Error installing new
> MacPorts base: shell command "cd
> /opt/local/var/macports/sources/rsync.macports.org/release/base &&
> ./configure --prefix=/opt/local --with-install-user=root --with-install-
> group=admin --with-tclpackage=/Library/Tcl && make && make install"
> returned error 2
> Command output: checking for struct stat64... yes
> checking for off64_t... no
> checking for build with symbols... no
> checking for tclsh... /usr/lib/../bin/tclsh8.4
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating pkgIndex.tcl
> ===> making all in config
> make[1]: Nothing to be done for `all'.
> ===> making all in doc
> make[1]: Nothing to be done for `all'.
> ===> making all in src
> ===> making all in src/thread2.6
> gcc -pipe -DPACKAGE_NAME=\"thread\" -DPACKAGE_TARNAME=\"thread\"
> -DPACKAGE_VERSION=\"2.6\" -DPACKAGE_STRING=\"thread\ 2.6\"
> -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
> -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
> -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1
> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1
> -I"/usr/include" -Os -Wall -Wno-implicit-int -fno-common -c `echo
> ./generic/threadCmd.c` -o threadCmd.o
> ./generic/threadCmd.c: In function 'ThreadBroadcastObjCmd':
> ./generic/threadCmd.c:1002: warning: 'job.clientData' is used
> uninitialized in this function
> gcc -pipe -DPACKAGE_NAME=\"thread\" -DPACKAGE_TARNAME=\"thread\"
> -DPACKAGE_VERSION=\"2.6\" -DPACKAGE_STRING=\"thread\ 2.6\"
> -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
> -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
> -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1
> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1
> -I"/usr/include" -Os -Wall -Wno-implicit-int -fno-common -c `echo
> ./generic/threadSvCmd.c` -o threadSvCmd.o
> ./generic/threadSvCmd.c:2220: warning: 'SvFinalize' defined but not used
> gcc -pipe -DPACKAGE_NAME=\"thread\" -DPACKAGE_TARNAME=\"thread\"
> -DPACKAGE_VERSION=\"2.6\" -DPACKAGE_STRING=\"thread\ 2.6\"
> -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
> -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
> -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1
> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1
> -I"/usr/include" -Os -Wall -Wno-implicit-int -fno-common -c `echo
> ./generic/threadSpCmd.c` -o threadSpCmd.o
> ./generic/threadSpCmd.c: In function 'ThreadEvalObjCmd':
> ./generic/threadSpCmd.c:684: warning: 'mutex' may be used uninitialized
> in this function
> gcc -pipe -DPACKAGE_NAME=\"thread\" -DPACKAGE_TARNAME=\"thread\"
> -DPACKAGE_VERSION=\"2.6\" -DPACKAGE_STRING=\"thread\ 2.6\"
> -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
> -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
> -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1
> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1
> -I"/usr/include" -Os -Wall -Wno-implicit-int -fno-common -c `echo
> ./generic/threadPoolCmd.c` -o threadPoolCmd.o
> In file included from /usr/include/sys/time.h:77,
> from ./generic/threadPoolCmd.c:1707:
> /usr/include/sys/_structs.h: In function 'GetTime':
> /usr/include/sys/_structs.h:192: error: nested functions are disabled,
> use -fnested-functions to re-enable
> /usr/include/sys/_structs.h:192: error: invalid storage class for
> function '__darwin_fd_isset'
> make[2]: *** [threadPoolCmd.o] Error 1
> make[1]: *** [all] Error 1
> make: *** [all] Error 1
New description:
OS: Leopard x86
Macports version: 1.5.0
GCC version: 4.0.1
{{{
$ sudo port selfupdate
Password:
MacPorts base version 1.5 installed
Downloaded MacPorts base version 1.520
Configuring, Building and Installing new MacPorts base
Error: /opt/local/bin/port: selfupdate failed: Error installing new
MacPorts base: shell command "cd
/opt/local/var/macports/sources/rsync.macports.org/release/base &&
./configure --prefix=/opt/local --with-install-user=root --with-install-
group=admin --with-tclpackage=/Library/Tcl && make && make install"
returned error 2
Command output: checking for struct stat64... yes
checking for off64_t... no
checking for build with symbols... no
checking for tclsh... /usr/lib/../bin/tclsh8.4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pkgIndex.tcl
===> making all in config
make[1]: Nothing to be done for `all'.
===> making all in doc
make[1]: Nothing to be done for `all'.
===> making all in src
===> making all in src/thread2.6
gcc -pipe -DPACKAGE_NAME=\"thread\" -DPACKAGE_TARNAME=\"thread\"
-DPACKAGE_VERSION=\"2.6\" -DPACKAGE_STRING=\"thread\ 2.6\"
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1
-I"/usr/include" -Os -Wall -Wno-implicit-int -fno-common -c `echo
./generic/threadCmd.c` -o threadCmd.o
./generic/threadCmd.c: In function 'ThreadBroadcastObjCmd':
./generic/threadCmd.c:1002: warning: 'job.clientData' is used
uninitialized in this function
gcc -pipe -DPACKAGE_NAME=\"thread\" -DPACKAGE_TARNAME=\"thread\"
-DPACKAGE_VERSION=\"2.6\" -DPACKAGE_STRING=\"thread\ 2.6\"
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1
-I"/usr/include" -Os -Wall -Wno-implicit-int -fno-common -c `echo
./generic/threadSvCmd.c` -o threadSvCmd.o
./generic/threadSvCmd.c:2220: warning: 'SvFinalize' defined but not used
gcc -pipe -DPACKAGE_NAME=\"thread\" -DPACKAGE_TARNAME=\"thread\"
-DPACKAGE_VERSION=\"2.6\" -DPACKAGE_STRING=\"thread\ 2.6\"
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1
-I"/usr/include" -Os -Wall -Wno-implicit-int -fno-common -c `echo
./generic/threadSpCmd.c` -o threadSpCmd.o
./generic/threadSpCmd.c: In function 'ThreadEvalObjCmd':
./generic/threadSpCmd.c:684: warning: 'mutex' may be used uninitialized in
this function
gcc -pipe -DPACKAGE_NAME=\"thread\" -DPACKAGE_TARNAME=\"thread\"
-DPACKAGE_VERSION=\"2.6\" -DPACKAGE_STRING=\"thread\ 2.6\"
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1
-I"/usr/include" -Os -Wall -Wno-implicit-int -fno-common -c `echo
./generic/threadPoolCmd.c` -o threadPoolCmd.o
In file included from /usr/include/sys/time.h:77,
from ./generic/threadPoolCmd.c:1707:
/usr/include/sys/_structs.h: In function 'GetTime':
/usr/include/sys/_structs.h:192: error: nested functions are disabled, use
-fnested-functions to re-enable
/usr/include/sys/_structs.h:192: error: invalid storage class for function
'__darwin_fd_isset'
make[2]: *** [threadPoolCmd.o] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13495#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list