#3925 closed defect (worksforme)
base/ depends on ${prefix}/local
Reported by: | kyle-opendarwinbugzilla@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.0 |
Keywords: | Cc: | aconchillo@… | |
Port: |
Description
In trying to update, it dies:
[root@tunican ~]# port selfupdate DarwinPorts base version 1.001 installed New DarwinPorts base version 1.010 Configuring, Building and Installing new DarwinPorts base Selfupdate failed: Error installing new DarwinPorts base: shell command "cd /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate1/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: ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x3000 size = 0x4000) of Darwinports.dylib overlaps with TEXT segment (address = 0x0 size = 0xd8000) of /opt/local/lib/libcrypto.0.9.7.dylib ===> making all in src/port1.0 ===> making all in src/port1.0/resources ===> making all in src/port1.0/resources/package make[4]: Nothing to be done for `all'. ===> making all in src/port1.0/resources/fetch make[4]: Nothing to be done for `all'. ===> making all in src/port1.0/resources/group make[4]: Nothing to be done for `all'. ===> making all in src/package1.0 make[2]: Nothing to be done for `all'. ===> making all in src/pextlib1.0 gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common Pextlib.c -o Pextlib.o In file included from Pextlib.c:99: /opt/local/include/tcl.h:398: warning: ISO C90 does not support long long /opt/local/include/tcl.h:399: warning: ISO C90 does not support long long gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common strsed.c -o strsed.o In file included from strsed.c:141: /opt/local/include/regex.h:145: error: parse error before re_void /opt/local/include/regex.h:145: warning: type defaults to int in declaration of re_void /opt/local/include/regex.h:145: warning: data definition has no type or storage class /opt/local/include/regex.h:314: error: parse error before _ANSI_ARGS_ /opt/local/include/regex.h:323: error: parse error before _ANSI_ARGS_ /opt/local/include/regex.h:326: error: parse error before _ANSI_ARGS_ strsed.c: In function strsed: strsed.c:582: warning: implicit declaration of function regcomp strsed.c:610: warning: implicit declaration of function regexec make[2]: * [strsed.o] Error 1 make[1]: * [all] Error 1 make: * [all] Error 1
Apparently gcc-4.0 doesn't quite understand VOID (rather than void).
Change History (15)
comment:1 Changed 19 years ago by kyle-opendarwinbugzilla@…
severity: | major → critical |
---|
comment:2 Changed 19 years ago by aconchillo@…
Cc: | aconchillo@… added |
---|
* Bug 3955 has been marked as a duplicate of this bug. *
comment:3 Changed 19 years ago by pguyot (Paul Guyot)
Could you please paste the file dports.autoconf.mk? (it's in base/Mk/). Also, I'd be interested by the output of: port installed | grep tcl
Thanks.
comment:4 Changed 19 years ago by kyle-opendarwinbugzilla@…
(In reply to comment #3)
Could you please paste the file dports.autoconf.mk? (it's in base/Mk/). Also, I'd be interested by the output of: port installed | grep tcl
Thanks.
Here's dports.autoconf.mk:
SHELL = /bin/sh top_srcdir = .. srcdir = . CC = gcc CFLAGS = $(CFLAGS_QUICHEEATERS) $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) $(CPPFLAGS) CPPFLAGS = -I/opt/local/include -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" TCL_DEFS = -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 SHLIB_CFLAGS = -fno-common CFLAGS_DEBUG = -g CFLAGS_OPTIMIZE = -Os CFLAGS_QUICHEEATERS = -W -Wall -pedantic TCL_CC = gcc -pipe SHLIB_LD = cc -dynamiclib ${LDFLAGS} LDFLAGS = -L/opt/local/lib SHLIB_LDFLAGS = -L/opt/local/lib SHLIB_SUFFIX = .dylib TCL_STUB_LIB_SPEC = -L/System/Library/Frameworks/Tcl.framework/Versions/8.4 -ltclstub8.4 LIBS = MD5_LIBS = -lcrypto INSTALL = /usr/bin/install -c MTREE = /usr/sbin/mtree LN_S = ln -s TCLSH = /usr/bin/tclsh TCL_PACKAGE_DIR = /Library/Tcl DSTUSR = root DSTGRP = admin DSTMODE = 0775 prefix = /opt/local sysconfdir = ${prefix}/etc exec_prefix = ${prefix} bindir = ${exec_prefix}/bin datadir = ${prefix}/share libdir = ${exec_prefix}/lib localstatedir = ${prefix}/var infodir = ${prefix}/info portconfigdir = ${sysconfdir}/ports dportsdir = SILENT = @
And here's my tcl:
tcl 8.4.11_1 (active) tcl 8.4.9_0
comment:5 Changed 19 years ago by pguyot (Paul Guyot)
I see.
To elaborate a fix, I would need to check that my hypothesis is correct.
Could you please try:
cd /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate1/base sudo make distclean sudo port selfupdate
and tell me if it works?
Thanks.
comment:6 Changed 19 years ago by kyle-opendarwinbugzilla@…
(In reply to comment #5)
Could you please try:
cd /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate1/base sudo make distclean sudo port selfupdateand tell me if it works?
Sorry, nope:
DarwinPorts base version 1.001 installed New DarwinPorts base version 1.011 Configuring, Building and Installing new DarwinPorts base Selfupdate failed: Error installing new DarwinPorts base: shell command "cd /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate1/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: ld: warning prebinding not disabled because (__LINKEDIT segment (address = 0x3000 size = 0x4000) of Darwinports.dylib overlaps with __TEXT segment (address = 0x0 size = 0xf1000) of /opt/local/lib/libcrypto.0.9.8.dylib ===> making all in src/port1.0 ===> making all in src/port1.0/resources ===> making all in src/port1.0/resources/package make[4]: Nothing to be done for `all'. ===> making all in src/port1.0/resources/fetch make[4]: Nothing to be done for `all'. ===> making all in src/port1.0/resources/group make[4]: Nothing to be done for `all'. ===> making all in src/package1.0 make[2]: Nothing to be done for `all'. ===> making all in src/pextlib1.0 gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common Pextlib.c -o Pextlib.o In file included from Pextlib.c:99: /opt/local/include/tcl.h:398: warning: ISO C90 does not support long long /opt/local/include/tcl.h:399: warning: ISO C90 does not support long long gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common strsed.c -o strsed.o In file included from strsed.c:141: /opt/local/include/regex.h:145: error: parse error before re_void /opt/local/include/regex.h:145: warning: type defaults to int in declaration of re_void /opt/local/include/regex.h:145: warning: data definition has no type or storage class /opt/local/include/regex.h:314: error: parse error before _ANSI_ARGS_ /opt/local/include/regex.h:323: error: parse error before _ANSI_ARGS_ /opt/local/include/regex.h:326: error: parse error before _ANSI_ARGS_ strsed.c: In function strsed: strsed.c:582: warning: implicit declaration of function regcomp strsed.c:610: warning: implicit declaration of function regexec make[2]: *** [strsed.o] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
comment:7 Changed 19 years ago by pguyot (Paul Guyot)
OK. Something is going on with the configuration process and I can't figure out where exactly. Could you please try with -dv and post the output here?
sudo port selfupdate -dv
Thanks.
comment:8 Changed 19 years ago by kyle-opendarwinbugzilla@…
(In reply to comment #7)
sudo port selfupdate -dv
DEBUG: Rebuilding the darwinports base system if needed. Synchronizing from rsync://rsync.opendarwin.org/dpupdate/dports receiving file list ... done ./ aqua/BiggerSQL/ aqua/FFView/ aqua/TeXShop/ aqua/adium/ aqua/fugu/ archivers/ archivers/gzip/ audio/ audio/arts/files/ audio/audiofile/ audio/libopendaap/ audio/libsdl_mixer/ audio/vorbis-tools/ comms/ cross/arm-aout-binutils/ cross/arm-elf-binutils/ cross/i386-elf-binutils/ cross/i386-elf-gcc/ cross/m68k-elf-binutils/ cross/m68k-elf-gcc/ cross/mips-elf-binutils/ cross/mips-elf-gcc/ databases/ databases/db4/ databases/dbh/ databases/mysql5/ devel/ devel/apr/ devel/apr-util/ devel/arch/ devel/atk/ devel/bison/ devel/c2hs/ devel/ddd/ devel/distcc/ devel/gettext/ devel/global/ devel/hmake/ devel/libcddb/ devel/libsdl/ devel/libsdl_ttf/ devel/mono/ devel/orbit2/ devel/pcre/ devel/pkgconfig/ editors/ editors/TeXmacs/ emulators/ emulators/basiliskii/ emulators/scummvm/ games/ games/geekcode/ games/wesnoth/ genealogy/lifelines/ gnome/ gnome/abiword2/ gnome/gail/ gnome/ghex/ gnome/gnome-keyring/ gnome/gnome-session/ gnome/gst-plugins/ gnome/gstreamer/ gnome/libbonoboui/ gnome/libgnomeprint/ gnome/libgsf/ gnome/libgtop/ gnome/seahorse/ gnome/yelp/ graphics/ graphics/fontconfig/ graphics/lcms/ graphics/libpng/ graphics/libungif/ graphics/ocrad/ graphics/povray/ graphics/pstoedit/ graphics/wxWidgets/ irc/ irc/netwalker-ircc/ irc/xchat/ irc/xchat2/ java/ java/groovy/ lang/ lang/ferite/ lang/gauche-gl/ lang/gauche-gtk/ lang/hugs98/ lang/ocaml/ lang/sbcl/ lang/swi-prolog-devel/ mail/ mail/base-64/ mail/clamsmtp/ mail/imap-uw/ mail/mutt/ mail/mutt-devel/ mail/pine/ mail/procmail/ math/acl2/ math/cln/ math/gunits/ math/pdc/ multimedia/ multimedia/mpgtx/ net/ net/desproxy/ net/ethereal/ net/flowd/ net/gaim/ net/gpsd/ net/honeyd/ net/libnids/ net/mrtg/ net/nessus-core/ net/openssh/ net/pavuk/ net/snort/ net/tf/ news/ news/tin/ perl/ perl/p5-macosx-file/ print/psutils/ print/teTeX/ python/ python/py-ana/ python/py-curl/ python/py-ftputil/ python/py-gsl/ python/py-gtk2/ python/py-mx/ python/py-sqlite/ python/py-ssh/ python/py-unum/ python/py-xmpppy/ ruby/ ruby/rb-cocoa/ ruby/rb-rubygems/ security/ shells/ sysutils/ sysutils/freeradius/ sysutils/sudo/ sysutils/wmcpuload/ sysutils/wmmemmon/ textproc/ textproc/expat/ textproc/glimpse/ textproc/jive/ textproc/libxml2/ textproc/libxslt/ textproc/scrollkeeper/ www/ www/mod_jk/ www/php4/files/ www/phpmyadmin/ www/shttpd/ x11/ x11/Xft2/ x11/fvwm2/ x11/gtk-engines2/ x11/kdeartwork3/files/ x11/kdetoys3/ x11/mlterm/ x11/openMotif/ x11/pango/ x11/xrender/ zope/ zope/zope-externaleditor/ zope/zope-localfs/ zope/zope-plonewebmail/ zope/zope-portaltransforms/
sent 77 bytes received 183064 bytes 40698.00 bytes/sec total size is 10697470 speedup is 58.41 DEBUG: DarwinPorts base dir: /opt/local/var/db/dports/sources/rsync.rsync.openda rwin.org_dpupdate1/base DEBUG: Setting user: root DarwinPorts base version 1.001 installed DEBUG: Updating using rsync receiving file list ... done ./ Mk/ doc/ src/ src/darwinports1.0/ src/pextlib1.0/ src/port1.0/ src/port1.0/resources/ src/programs/ deleting src/programs/Makefile deleting src/port1.0/port_autoconf.tcl deleting src/pextlib1.0/Pextlib.o deleting src/darwinports1.0/util.o deleting src/darwinports1.0/session.o deleting src/darwinports1.0/portconf.o deleting src/darwinports1.0/darwinports_fastload.tcl deleting src/darwinports1.0/darwinports_autoconf.tcl deleting src/darwinports1.0/darwinports.o deleting src/darwinports1.0/Darwinports.dylib deleting src/config.h deleting doc/prefix.mtree deleting doc/ports.conf deleting doc/macosx.mtree deleting config.status deleting config.log deleting Mk/dports.autoconf.mk deleting Makefile
sent 77 bytes received 3851 bytes 2618.67 bytes/sec total size is 1834509 speedup is 467.03 New DarwinPorts base version 1.011 Configuring, Building and Installing new DarwinPorts base DEBUG: permissions OK DEBUG: Setting owner: root group: admin DEBUG: Install in: /opt/local as root : admin - TCL-PACKAGE in /Library/Tcl checking build system type... powerpc-apple-darwin8.1.0 checking host system type... powerpc-apple-darwin8.1.0 checking target system type... powerpc-apple-darwin8.1.0 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for curl... /usr/bin/curl checking for cvs... /usr/bin/cvs checking for gnutar... gnutar checking for tar --no-same-owner support... yes checking how to mark unused variables... checking for mtree... /usr/sbin/mtree checking for dports tree... configure: WARNING: No dports tree found checking for ports config directory... ${sysconfdir}/ports checking for install user... root checking for install group... admin checking what permissions to use for installation directories... 0775 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking whether stat file-mode macros are broken... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking crt_externs.h usability... yes checking crt_externs.h presence... yes checking for crt_externs.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking whether closedir returns void... no checking for pid_t... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... no checking for bzero... yes checking for memset... yes checking for dup2... yes checking for regcomp... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for fgetln... yes checking for lockf... yes checking for flock... yes checking for setmode... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for copyfile... yes checking for MD5Update in -lmd... no checking for MD5_Update in -lcrypto... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for Tcl configuration... found /usr/lib/tclConfig.sh checking for existence of /usr/lib/tclConfig.sh... loading checking for Tcl public headers... /usr/include checking for tclsh... /usr/bin/tclsh checking for Tcl package directory... /Library/Tcl checking how to build libraries... shared configure: creating ./config.status config.status: creating Makefile config.status: creating Mk/dports.autoconf.mk config.status: creating doc/prefix.mtree config.status: creating doc/macosx.mtree config.status: creating doc/ports.conf config.status: creating src/darwinports1.0/darwinports_autoconf.tcl config.status: creating src/port1.0/port_autoconf.tcl config.status: creating src/programs/Makefile config.status: creating src/darwinports1.0/darwinports_fastload.tcl config.status: creating src/config.h ===> making all in doc make[1]: Nothing to be done for `all'. ===> making all in src ===> making all in src/darwinports1.0 gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CON FIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRA NT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAUL
T_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPEND IR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_T MPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DH AVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -D HAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DST DC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common darwinports.c -o darwinpo rts.o In file included from darwinports.c:36: /opt/local/include/tcl.h:398: warning: ISO C90 does not support long long /opt/local/include/tcl.h:399: warning: ISO C90 does not support long long gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CON FIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRA NT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAUL T_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPEND IR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_T MPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DH AVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -D HAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DST DC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common portconf.c -o portconf.o In file included from portconf.c:42: /opt/local/include/tcl.h:398: warning: ISO C90 does not support long long /opt/local/include/tcl.h:399: warning: ISO C90 does not support long long gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CON FIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRA NT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAUL
T_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPEND IR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_T MPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DH AVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -D HAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DST DC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common session.c -o session.o In file included from session.c:46: /opt/local/include/tcl.h:398: warning: ISO C90 does not support long long /opt/local/include/tcl.h:399: warning: ISO C90 does not support long long gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CON FIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRA NT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAUL
T_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPEND IR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_T MPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DH AVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -D HAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DST DC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common util.c -o util.o In file included from util.c:38: /opt/local/include/tcl.h:398: warning: ISO C90 does not support long long /opt/local/include/tcl.h:399: warning: ISO C90 does not support long long cc -dynamiclib -L/opt/local/lib darwinports.o portconf.o session.o util.o -o Dar winports.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.4 -ltclstub 8.4 -L/opt/local/lib -lcrypto ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size
0x2000) of Darwinports.dylib overlaps with TEXT segment (address = 0x0 size
0xf1000) of /opt/local/lib/libcrypto.0.9.8.dylib
ld: warning prebinding not disabled because (DATA segment (address = 0x2000 size = 0x1000) of Darwinports.dylib overlaps with TEXT segment (address = 0x0 si ze = 0xf1000) of /opt/local/lib/libcrypto.0.9.8.dylib ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x300 0 size = 0x4000) of Darwinports.dylib overlaps with TEXT segment (address = 0x 0 size = 0xf1000) of /opt/local/lib/libcrypto.0.9.8.dylib ===> making all in src/port1.0 ===> making all in src/port1.0/resources ===> making all in src/port1.0/resources/package make[4]: Nothing to be done for `all'. ===> making all in src/port1.0/resources/fetch make[4]: Nothing to be done for `all'. ===> making all in src/port1.0/resources/group make[4]: Nothing to be done for `all'. ===> making all in src/package1.0 make[2]: Nothing to be done for `all'. ===> making all in src/pextlib1.0 gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CON FIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRA NT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAUL
T_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPEND IR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_T MPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -D HAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DST DC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common Pextlib.c -o Pextlib.o In file included from Pextlib.c:99: /opt/local/include/tcl.h:398: warning: ISO C90 does not support long long /opt/local/include/tcl.h:399: warning: ISO C90 does not support long long gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CON FIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRA NT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAUL
T_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPEND IR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_T MPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DH AVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -D HAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DST DC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common strsed.c -o strsed.o In file included from strsed.c:141: /opt/local/include/regex.h:145: error: parse error before re_void /opt/local/include/regex.h:145: warning: type defaults to int in declaration o f re_void /opt/local/include/regex.h:145: warning: data definition has no type or storage class /opt/local/include/regex.h:314: error: parse error before _ANSI_ARGS_ /opt/local/include/regex.h:323: error: parse error before _ANSI_ARGS_ /opt/local/include/regex.h:326: error: parse error before _ANSI_ARGS_ strsed.c: In function strsed: strsed.c:582: warning: implicit declaration of function regcomp strsed.c:610: warning: implicit declaration of function regexec make[2]: * [strsed.o] Error 1 make[1]: * [all] Error 1 make: * [all] Error 1 Selfupdate failed: Error installing new DarwinPorts base: shell command "cd /opt /local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate1/base && ./conf igure --prefix=/opt/local --with-install-user=root --with-install-group=admin -- with-tclpackage=/Library/Tcl && make && make install" returned error 2 Command output: ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x3000 size = 0x4000) of Darwinports.dylib overlaps with TEXT segme nt (address = 0x0 size = 0xf1000) of /opt/local/lib/libcrypto.0.9.8.dylib ===> making all in src/port1.0 ===> making all in src/port1.0/resources ===> making all in src/port1.0/resources/package make[4]: Nothing to be done for `all'. ===> making all in src/port1.0/resources/fetch make[4]: Nothing to be done for `all'. ===> making all in src/port1.0/resources/group make[4]: Nothing to be done for `all'. ===> making all in src/package1.0 make[2]: Nothing to be done for `all'. ===> making all in src/pextlib1.0 gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CON FIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRA NT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAUL
T_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPEND IR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_T MPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DH AVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -D HAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DST DC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common Pextlib.c -o Pextlib.o In file included from Pextlib.c:99: /opt/local/include/tcl.h:398: warning: ISO C90 does not support long long /opt/local/include/tcl.h:399: warning: ISO C90 does not support long long gcc -c -DUSE_TCL_STUBS -W -Wall -pedantic -g -Os -I/opt/local/include -DHAVE_CON FIG_H -I.. -I. -I"/usr/include" -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRA NT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1
-DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPEND IR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_T MPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DH AVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -D HAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DST DC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -fno-common strsed.c -o strsed.o In file included from strsed.c:141: /opt/local/include/regex.h:145: error: parse error before re_void /opt/local/include/regex.h:145: warning: type defaults to int in declaration o f re_void /opt/local/include/regex.h:145: warning: data definition has no type or storage class /opt/local/include/regex.h:314: error: parse error before _ANSI_ARGS_ /opt/local/include/regex.h:323: error: parse error before _ANSI_ARGS_ /opt/local/include/regex.h:326: error: parse error before _ANSI_ARGS_ strsed.c: In function strsed: strsed.c:582: warning: implicit declaration of function regcomp strsed.c:610: warning: implicit declaration of function regexec make[2]: * [strsed.o] Error 1 make[1]: * [all] Error 1 make: * [all] Error 1
comment:9 Changed 19 years ago by rhwood@…
Had similar problem with flex and anjuta. Uninstalling the tcl port 8.4.11_1 solved the problem. See bug report #4077
comment:10 Changed 19 years ago by olegb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
The headers has been removed (as they were not part of the tcl port until about 20 days ago) from the tcl port - upgrade it and you should be fine.
comment:11 Changed 19 years ago by pguyot (Paul Guyot)
Actually, base/ shouldn't rely on /opt/local/include.
comment:12 Changed 19 years ago by olegb@…
(In reply to comment #11)
Actually, base/ shouldn't rely on /opt/local/include.
No, I agree - it will create a bunch of problems.
Removing the headers from the tcl port with only fix this particular issue. It is still broken ... I totally agree.
Paul: you are a master in the autoconf magic, can you make base not picking up these headers (or other stuff from base). It would be most cool indeed.
comment:13 Changed 19 years ago by pguyot (Paul Guyot)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Summary: | selfupdate is broken: fails to compile (tcl regex to blame) → base/ depends on ${prefix}/local |
Heh, I'm no autoconf master. I did start to have a look but couldn't figure out what was going on. I'll look again later.
comment:14 Changed 19 years ago by kyle-opendarwinbugzilla@…
(In reply to comment #13)
Heh, I'm no autoconf master. I did start to have a look but couldn't figure out what was going on. I'll look again later.
Would it be enough to simply set CFLAGS=`echo $CFLAGS | sed 's/-[LI]\/opt\/local\/[^ ]*//g'`
(and
maybe do the same for LFLAGS and CXXFLAGS)?
comment:15 Changed 19 years ago by pguyot (Paul Guyot)
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
OK. I did install tcl with buggy headers, but I cannot reproduce the problem. configure will not try to use /opt/local/include here. I give up for now.
Still broken with DarwinPort base version 1.011