Opened 18 years ago

Closed 18 years ago

#8305 closed defect (fixed)

selfupdate fails on fresh machine

Reported by: ray@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.2
Keywords: Cc:
Port:

Description

I installed a fresh copy of Mac OS X 10.4.6 (8I127) and the latest version of Xcode (2.2.1).

Then I grabbed an old copy of DarwinPorts-1.2.pkg and installed. Then I did the following.

By the way, at the end it refers to "config.log". Where is that?

% sudo sh # # port -d selfupdate DEBUG: Rebuilding the darwinports base system if needed. Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports receiving file list ... done ./ aqua/ aqua/BiggerSQL/ aqua/FFView/ aqua/JHymn/ aqua/TeXShop/ aqua/adium/ aqua/audioslicer/ aqua/pgAdmin3/ archivers/ archivers/gzip/ archivers/libarchive/ archivers/unalz/ archivers/xar/ archivers/zlib/ audio/ audio/arts/files/ audio/audiofile/ audio/libopendaap/ audio/vorbis-tools/ benchmarks/ comms/ comms/jerm/ 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/ databases/postgresql8/ databases/qdbm/ devel/ devel/HaXml/ devel/apr/ devel/apr-util/ devel/arch/ devel/atk/ devel/bison/ devel/c2hs/ devel/cmake/ devel/ddd/ devel/distcc/ devel/gettext/ devel/global/ devel/libast/ devel/libcddb/ devel/libsdl_ttf/ devel/libusb/ devel/m4/ devel/mono/ devel/monotone/ devel/ncurses/ devel/orbit2/ devel/pcre/ devel/pkgconfig/ devel/pnet/ devel/swig/ editors/ editors/bluefish/ emulators/ emulators/basiliskii/ emulators/scummvm/ games/ games/geekcode/ games/wesnoth/ genealogy/lifelines/ gnome/ gnome/abiword2/ gnome/control-center/ gnome/desktop-file-utils/ gnome/gail/ gnome/ghex/ gnome/gnome-keyring/ gnome/gnome-session/ gnome/gst-plugins/ gnome/gstreamer/ gnome/inkscape/ gnome/libbonobo/ gnome/libbonoboui/ gnome/libgnomeprint/ gnome/libgsf/ gnome/libgtkhtml3/ gnome/libgtop/ gnome/libsoup/ gnome/seahorse/ gnome/yelp/ graphics/ graphics/fontconfig/ graphics/gimp2/ graphics/imlib/ graphics/imlib2/ graphics/lcms/ graphics/libpng/ graphics/libungif/ graphics/libwmf/ graphics/ocrad/ graphics/povray/ graphics/pstoedit/ graphics/tiff/ graphics/wxWidgets/ irc/ irc/irssi/ irc/netwalker-ircc/ irc/xchat/ java/ java/groovy/ kde/ lang/ lang/coq/ lang/ferite/ lang/gauche/ lang/gauche-gl/ lang/gauche-gtk/ lang/haskell-mode.el/ lang/hugs98/ lang/sbcl/ lang/swi-prolog-devel/ lang/upcc/ lang/yabasic/ mail/ mail/base-64/ mail/clamsmtp/ mail/imap-uw/ mail/mutt/ mail/pine/ mail/procmail/ math/acl2/ math/cln/ math/gunits/ math/pari/ math/pdc/ multimedia/ multimedia/XviD/ multimedia/mpgtx/ multimedia/vcdimager/ net/ net/bittorrent/ net/ddclient/ net/desproxy/ net/ethereal/ net/flowd/ net/gaim/ net/gpsd/ net/libnids/ net/mldonkey/ net/mrtg/ net/nmap/ net/openssh/ net/pavuk/ net/proftpd/ net/rrdtool/ net/tf/ news/ news/tin/ perl/ perl/p5-dbd-pg/ perl/p5-macosx-file/ print/psutils/ python/ python/py-ana/ python/py-clamav/ python/py-curl/ python/py-ftputil/ python/py-gnome/ python/py-gsl/ python/py-gtk2/ python/py-libdnet/ python/py-mx/ python/py-mysql/ python/py-pyx/ python/py-sqlite/ python/py-ssh/ python/py-unum/ python/py-xmpppy/ ruby/ ruby/rb-cocoa/ ruby/rb-rubygems/ science/gdal/ security/ security/scponly/ shells/ sysutils/ sysutils/cdrdao/ sysutils/coreutils/ sysutils/dcfldd/ sysutils/di/ sysutils/file/ sysutils/findutils/ sysutils/freeradius/ sysutils/sudo/ sysutils/wmcpuload/ sysutils/wmmemmon/ textproc/ textproc/aspell/ textproc/expat/ textproc/fribidi/ textproc/glimpse/ textproc/jive/ textproc/libxml2/ textproc/libxslt/ textproc/opensp/ textproc/scrollkeeper/ textproc/xercesc/ www/ www/flood/ www/mod_jk/ www/mod_mono/ www/mod_python/ www/neon/ www/phpmyadmin/ www/shttpd/ x11/ x11/Xft2/ x11/fvwm2/ x11/gtk-engines2/ x11/mlterm/ x11/windowmaker/ x11/xrender/ zope/ zope/zope-externaleditor/ zope/zope-localfs/ zope/zope-plonewebmail/ zope/zope-portaltransforms/

sent 77 bytes received 211058 bytes 18359.57 bytes/sec total size is 12054478 speedup is 57.09 DEBUG: DarwinPorts base dir: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base DEBUG: Setting user: root DarwinPorts base version 1.200 installed DEBUG: Updating using rsync receiving file list ... done ./ deleting config.log

sent 77 bytes received 4561 bytes 3092.00 bytes/sec total size is 2391569 speedup is 515.65 Downloaded DarwinPorts base version 1.211 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.6.0 checking host system type... powerpc-apple-darwin8.6.0 checking target system type... powerpc-apple-darwin8.6.0 checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. DEBUG: Error installing new DarwinPorts base: shell command "cd /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make install" returned error 1 Command output: checking build system type... powerpc-apple-darwin8.6.0 checking host system type... powerpc-apple-darwin8.6.0 checking target system type... powerpc-apple-darwin8.6.0 checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.

while executing

"darwinports::selfupdate [array get global_options]" Error: /opt/local/bin/port: selfupdate failed: Error installing new DarwinPorts base: shell command "cd /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make install" returned error 1 Command output: checking build system type... powerpc-apple-darwin8.6.0 checking host system type... powerpc-apple-darwin8.6.0 checking target system type... powerpc-apple-darwin8.6.0 checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. #

Change History (2)

comment:1 Changed 18 years ago by ray@…

I just downloaded DarwinPorts-1.2-10.4.dmg and installed that. Same or similar thing happened.

# port -d selfupdate DEBUG: Rebuilding the darwinports base system if needed. Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports receiving file list ... done

sent 77 bytes received 211054 bytes 84452.40 bytes/sec total size is 12054549 speedup is 57.10 DEBUG: DarwinPorts base dir: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base DEBUG: Setting user: root DarwinPorts base version 1.200 installed DEBUG: Updating using rsync receiving file list ... done ./ deleting config.log

sent 77 bytes received 4561 bytes 9276.00 bytes/sec total size is 2391569 speedup is 515.65 Downloaded DarwinPorts base version 1.211 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.6.0 checking host system type... powerpc-apple-darwin8.6.0 checking target system type... powerpc-apple-darwin8.6.0 checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. DEBUG: Error installing new DarwinPorts base: shell command "cd /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make install" returned error 1 Command output: checking build system type... powerpc-apple-darwin8.6.0 checking host system type... powerpc-apple-darwin8.6.0 checking target system type... powerpc-apple-darwin8.6.0 checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.

while executing

"darwinports::selfupdate [array get global_options]" Error: /opt/local/bin/port: selfupdate failed: Error installing new DarwinPorts base: shell command "cd /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make install" returned error 1 Command output: checking build system type... powerpc-apple-darwin8.6.0 checking host system type... powerpc-apple-darwin8.6.0 checking target system type... powerpc-apple-darwin8.6.0 checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.

# # # port installed No ports are installed! can't read "ilist": no such variable

while executing

"llength $ilist"

("installed" arm line 27) invoked from within

"switch -- $action {

help {

print_help

}

info {

require_portlist foreachport $portlist {

# Get information about the named port if {[..."

(file "/opt/local/bin/port" line 1187)

#

comment:2 Changed 18 years ago by ray@…

Resolution: fixed
Status: newclosed

Damn. My install of the dev tools is bad. Never mind....

Note: See TracTickets for help on using tickets.