1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
~ $ sudo port -d selfupdate
Password:
Sorry, try again.
Password:
--->  Updating the ports tree
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from file:///Users/me/ports
Creating port index in /Volumes/User/Users2/me/ports

Total number of ports parsed:  0 
Ports successfully parsed:  0 
Ports failed:      0 
Up-to-date ports skipped:  1

Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done
./

sent 59 bytes  received 533577 bytes  118585.78 bytes/sec
total size is 29312716  speedup is 54.93
Creating port index in /Volumes/User/opt/local/var/macports/sources/rsync.macports.org/release/ports

Total number of ports parsed:  0 
Ports successfully parsed:  0 
Ports failed:      0 
Up-to-date ports skipped:  8199

DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/base
--->  Updating MacPorts base sources using rsync
receiving file list ... done
./
Mk/
doc/
portmgr/freebsd/
src/
src/cregistry/
src/macports1.0/
src/port1.0/
src/programs/
src/programs/daemondo/
src/registry2.0/
deleting setupenv.bash
deleting config.status
deleting config.log
deleting Makefile
deleting Doxyfile
deleting Mk/macports.autoconf.mk
deleting doc/pubkeys.conf
deleting doc/prefix.mtree
deleting doc/portstyle.7.gz
deleting doc/porthier.7.gz
deleting doc/portgroup.7.gz
deleting doc/portfile.7.gz
deleting doc/port.1.gz
deleting doc/macports.conf.5.gz
deleting doc/macports.conf
deleting doc/macosx.mtree
deleting doc/base.mtree
deleting portmgr/freebsd/Makefile
deleting src/pkg_mkindex.sh
deleting src/config.h
deleting src/Makefile
deleting src/cregistry/vercomp.o
deleting src/cregistry/sqlext.o
deleting src/cregistry/sql.o
deleting src/cregistry/registry.o
deleting src/cregistry/entry.o
deleting src/cregistry/cregistry.a
deleting src/macports1.0/macports_fastload.tcl
deleting src/macports1.0/macports_autoconf.tcl
deleting src/port1.0/port_autoconf.tcl
deleting src/programs/Makefile
deleting src/programs/daemondo/Makefile
deleting src/registry2.0/registry_autoconf.tcl

sent 102 bytes  received 6767 bytes  2747.60 bytes/sec
total size is 2952435  speedup is 429.82
MacPorts base version 1.9.2 installed,
DEBUG: Rebuilding and reinstalling MacPorts if needed
MacPorts base version 2.0.0 downloaded.
--->  MacPorts base is outdated, installing new version 2.0.0
DEBUG: Permissions OK
Installing new MacPorts release in /opt/local as me:admin; permissions 0755; Tcl-Package in /Library/Tcl

checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking target system type... powerpc-apple-darwin9.8.0
checking MacPorts version... 2.0.0
checking for sw_vers... /usr/bin/sw_vers
checking for defaults... /usr/bin/defaults
checking for xcode-select... /usr/bin/xcode-select
checking Mac OS X version... 10.5.8
checking Xcode location... /Developer
checking Xcode version... 3.1.4
checking for gcc... /usr/bin/gcc-4.0
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for mtree... /usr/sbin/mtree
checking for chown... /usr/sbin/chown
checking for cp... /bin/cp
checking for cpio... /usr/bin/cpio
checking for diff... /usr/bin/diff
checking for dscl... /usr/bin/dscl
checking for dseditgroup... /usr/sbin/dseditgroup
checking for file... /usr/bin/file
checking for bzr... no
checking for cvs... /usr/bin/cvs
checking for svn... /usr/bin/svn
checking for git... no
checking for hg... no
checking for gzip... /usr/bin/gzip
checking for lipo... /usr/bin/lipo
checking for patch... /usr/bin/patch
checking for rmdir... /bin/rmdir
checking for rsync... /usr/bin/rsync
checking for openssl... /usr/bin/openssl
checking for sed... /usr/bin/sed
checking for tar... /usr/bin/tar
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for bsdmake... /usr/bin/bsdmake
checking for make... /usr/bin/make
checking for hdiutil... /usr/bin/hdiutil
checking for launchd... yes
checking for launchctl... /bin/launchctl
checking for xcodebuild... /usr/bin/xcodebuild
checking for gnutar... /usr/bin/gnutar
checking for gnumake... /usr/bin/gnumake
checking for gnupatch... no
checking for gpatch... no
checking for bzip2... /usr/bin/bzip2
checking for lsbom... /usr/bin/lsbom
checking for mkbom... /usr/bin/mkbom
checking for pax... /bin/pax
checking for xar... /usr/bin/xar
checking for open... /usr/bin/open
checking for sed... (cached) /usr/bin/sed
checking which sed flag to use for extended regexp... -E (BSD)
checking for tar... (cached) /usr/bin/tar
checking whether tar supports -q... no (gnutar)
checking for tar... (cached) /usr/bin/tar
checking for gnutar... (cached) /usr/bin/gnutar
checking for which tar variant to use... /usr/bin/gnutar
checking for /usr/bin/gnutar --no-same-owner support... yes
checking for patch... (cached) /usr/bin/patch
checking for gpatch... no
checking for GNU (FSF) patch... /usr/bin/patch
checking how to mark unused variables... 
checking for gcc symbol visibility attribute... __attribute__((visibility("hidden")))
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking how to run the Objective C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
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 objc/objc.h usability... yes
checking objc/objc.h presence... yes
checking for objc/objc.h... yes
checking if linking libobjc requires pthreads... no
checking for Apple Objective-C runtime... yes
checking for GNU Objective C runtime... no
configure: Using Apple Objective-C runtime
checking for Apple Foundation library... yes
configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your environment, preventing the use of GNUstep's Foundation library
configure: Using Apple Foundation library
checking for CoreFoundation framework... yes
checking for SystemConfiguration framework... yes
checking for IOKit framework... yes
checking for CFNotificationCenterGetDarwinNotifyCenter... yes
checking for whether we will build daemondo... yes
checking for ports tree... /opt/local/var/macports/sources/rsync.macports.org/release/ports
checking for MacPorts config directory... ${sysconfdir}/macports
checking for install user... me
checking for install group... admin
checking for macports user... macports
checking what permissions to use for installation directories... 755
checking for Applications installation directory... /Users/me/Applications/MacPorts
checking for Frameworks installation directory... /opt/local/Library/Frameworks
checking for Universal CPU architectures... i386 ppc
checking how to run the C preprocessor... /usr/bin/gcc-4.0 -E
checking for ANSI C header files... (cached) 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 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 sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/paths.h usability... yes
checking sys/paths.h presence... yes
checking for sys/paths.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for bzero... yes
checking for memset... 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 strlcpy... yes
checking for copyfile... yes
checking for clearenv... no
checking for sysctlbyname... yes
checking if readlink conforms to POSIX 1003.1a... yes
checking CommonCrypto/CommonDigest.h usability... yes
checking CommonCrypto/CommonDigest.h presence... yes
checking for CommonCrypto/CommonDigest.h... yes
checking for readline in -lreadline... yes
checking whether rl_username_completion_function is declared... no
checking whether rl_filename_completion_function is declared... no
checking whether rl_completion_matches is declared... no
checking whether username_completion_function is declared... yes
checking whether filename_completion_function is declared... yes
checking whether completion_matches is declared... 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 whether tclsh was compiled with threads... yes
checking for curl-config... /usr/bin/curl-config
checking for pkg-config... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking sqlite3ext.h usability... yes
checking sqlite3ext.h presence... yes
checking for sqlite3ext.h... yes
checking for Tcl sqlite3 location... /usr/lib/sqlite3
checking for Tcl Thread package... yes
checking how to build libraries... shared
checking that any existing MacPorts install can be upgraded... yes
configure: creating ./config.status
config.status: creating src/programs/daemondo/Makefile
config.status: creating Doxyfile
config.status: creating Makefile
config.status: creating Mk/macports.autoconf.mk
config.status: creating doc/base.mtree
config.status: creating doc/prefix.mtree
config.status: creating doc/macosx.mtree
config.status: creating doc/macports.conf
config.status: creating doc/pubkeys.conf
config.status: creating portmgr/freebsd/Makefile
config.status: creating src/Makefile
config.status: creating src/macports1.0/macports_autoconf.tcl
config.status: creating src/port1.0/port_autoconf.tcl
config.status: creating src/registry2.0/registry_autoconf.tcl
config.status: creating src/programs/Makefile
config.status: creating src/macports1.0/macports_fastload.tcl
config.status: creating setupenv.bash
config.status: creating src/pkg_mkindex.sh
config.status: creating src/config.h
===> making all in doc
gzip -c port.1 > port.1.gz
gzip -c macports.conf.5 > macports.conf.5.gz
gzip -c portfile.7 > portfile.7.gz
gzip -c portstyle.7 > portstyle.7.gz
gzip -c porthier.7 > porthier.7.gz
gzip -c portgroup.7 > portgroup.7.gz
===> making all in src
===> making all in src/cregistry
/usr/bin/gcc-4.0 -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common registry.c -o registry.o
/usr/bin/gcc-4.0 -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common entry.c -o entry.o
/usr/bin/gcc-4.0 -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common sql.c -o sql.o
/usr/bin/gcc-4.0 -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common vercomp.c -o vercomp.o
ar cr cregistry.a registry.o entry.o sql.o vercomp.o
ranlib cregistry.a
/usr/bin/gcc-4.0 -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common sqlext.c -o sqlext.o
cc -dynamiclib  sqlext.o vercomp.o -o macports.sqlext
make[2]: cc: Command not found
make[2]: *** [macports.sqlext] Error 127
make[1]: *** [all] Error 1
make: *** [all] Error 1
shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && CC=/usr/bin/gcc-4.0 ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=me --with-install-group=admin --with-directory-mode=0755 --enable-readline && make && make install" returned error 2
DEBUG: Error installing new MacPorts base: shell command failed (see log for details)
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /Volumes/User/opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)
~ $ less /Volumes/User/opt/local/var/macports/sources/rsync.macports.org/release/base/config.log
~ $ sudo port -d selfupdatePassword:
--->  Updating the ports tree
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from file:///Users/me/ports
Creating port index in /Volumes/User/Users2/me/ports

Total number of ports parsed:  0 
Ports successfully parsed:  0 
Ports failed:      0 
Up-to-date ports skipped:  1

Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done
  ./

sent 59 bytes  received 533577 bytes  118585.78 bytes/sec
total size is 29312716  speedup is 54.93
Creating port index in /Volumes/User/opt/local/var/macports/sources/rsync.macports.org/release/ports

Total number of ports parsed:  0 
Ports successfully parsed:  0 
Ports failed:      0 
Up-to-date ports skipped:  8199

DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/base
--->  Updating MacPorts base sources using rsync
receiving file list ... done
./
Mk/
doc/
portmgr/freebsd/
src/
src/cregistry/
src/macports1.0/
src/port1.0/
src/programs/
src/programs/daemondo/
src/registry2.0/
deleting setupenv.bash
deleting config.status
deleting config.log
deleting Makefile
deleting Doxyfile
deleting Mk/macports.autoconf.mk
deleting doc/pubkeys.conf
deleting doc/prefix.mtree
deleting doc/portstyle.7.gz
deleting doc/porthier.7.gz
deleting doc/portgroup.7.gz
deleting doc/portfile.7.gz
deleting doc/port.1.gz
deleting doc/macports.conf.5.gz
deleting doc/macports.conf
deleting doc/macosx.mtree
deleting doc/base.mtree
deleting portmgr/freebsd/Makefile
deleting src/pkg_mkindex.sh
deleting src/config.h
deleting src/Makefile
deleting src/cregistry/vercomp.o
deleting src/cregistry/sqlext.o
deleting src/cregistry/sql.o
deleting src/cregistry/registry.o
deleting src/cregistry/entry.o
deleting src/cregistry/cregistry.a
deleting src/macports1.0/macports_fastload.tcl
deleting src/macports1.0/macports_autoconf.tcl
deleting src/port1.0/port_autoconf.tcl
deleting src/programs/Makefile
deleting src/programs/daemondo/Makefile
deleting src/registry2.0/registry_autoconf.tcl

sent 102 bytes  received 6767 bytes  2747.60 bytes/sec
total size is 2952435  speedup is 429.82
MacPorts base version 1.9.2 installed,
DEBUG: Rebuilding and reinstalling MacPorts if needed
MacPorts base version 2.0.0 downloaded.
--->  MacPorts base is outdated, installing new version 2.0.0
DEBUG: Permissions OK
Installing new MacPorts release in /opt/local as me:admin; permissions 0755; Tcl-Package in /Library/Tcl

checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking target system type... powerpc-apple-darwin9.8.0
checking MacPorts version... 2.0.0
checking for sw_vers... /usr/bin/sw_vers
checking for defaults... /usr/bin/defaults
checking for xcode-select... /usr/bin/xcode-select
checking Mac OS X version... 10.5.8
checking Xcode location... /Developer
checking Xcode version... 3.1.4
checking for gcc... /usr/bin/gcc-4.0
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for mtree... /usr/sbin/mtree
checking for chown... /usr/sbin/chown
checking for cp... /bin/cp
checking for cpio... /usr/bin/cpio
checking for diff... /usr/bin/diff
checking for dscl... /usr/bin/dscl
checking for dseditgroup... /usr/sbin/dseditgroup
checking for file... /usr/bin/file
checking for bzr... no
checking for cvs... /usr/bin/cvs
checking for svn... /usr/bin/svn
checking for git... no
checking for hg... no
checking for gzip... /usr/bin/gzip
checking for lipo... /usr/bin/lipo
checking for patch... /usr/bin/patch
checking for rmdir... /bin/rmdir
checking for rsync... /usr/bin/rsync
checking for openssl... /usr/bin/openssl
checking for sed... /usr/bin/sed
checking for tar... /usr/bin/tar
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for bsdmake... /usr/bin/bsdmake
checking for make... /usr/bin/make
checking for hdiutil... /usr/bin/hdiutil
checking for launchd... yes
checking for launchctl... /bin/launchctl
checking for xcodebuild... /usr/bin/xcodebuild
checking for gnutar... /usr/bin/gnutar
checking for gnumake... /usr/bin/gnumake
checking for gnupatch... no
checking for gpatch... no
checking for bzip2... /usr/bin/bzip2
checking for lsbom... /usr/bin/lsbom
checking for mkbom... /usr/bin/mkbom
checking for pax... /bin/pax
checking for xar... /usr/bin/xar
checking for open... /usr/bin/open
checking for sed... (cached) /usr/bin/sed
checking which sed flag to use for extended regexp... -E (BSD)
checking for tar... (cached) /usr/bin/tar
checking whether tar supports -q... no (gnutar)
checking for tar... (cached) /usr/bin/tar
checking for gnutar... (cached) /usr/bin/gnutar
checking for which tar variant to use... /usr/bin/gnutar
checking for /usr/bin/gnutar --no-same-owner support... yes
checking for patch... (cached) /usr/bin/patch
checking for gpatch... no
checking for GNU (FSF) patch... /usr/bin/patch
checking how to mark unused variables... 
checking for gcc symbol visibility attribute... __attribute__((visibility("hidden")))
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking how to run the Objective C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
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 objc/objc.h usability... yes
checking objc/objc.h presence... yes
checking for objc/objc.h... yes
checking if linking libobjc requires pthreads... no
checking for Apple Objective-C runtime... yes
checking for GNU Objective C runtime... no
configure: Using Apple Objective-C runtime
checking for Apple Foundation library... yes
configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your environment, preventing the use of GNUstep's Foundation library
configure: Using Apple Foundation library
checking for CoreFoundation framework... yes
checking for SystemConfiguration framework... yes
checking for IOKit framework... yes
checking for CFNotificationCenterGetDarwinNotifyCenter... yes
checking for whether we will build daemondo... yes
checking for ports tree... /opt/local/var/macports/sources/rsync.macports.org/release/ports
checking for MacPorts config directory... ${sysconfdir}/macports
checking for install user... me
checking for install group... admin
checking for macports user... macports
checking what permissions to use for installation directories... 755
checking for Applications installation directory... /Users/me/Applications/MacPorts
checking for Frameworks installation directory... /opt/local/Library/Frameworks
checking for Universal CPU architectures... i386 ppc
checking how to run the C preprocessor... /usr/bin/gcc-4.0 -E
checking for ANSI C header files... (cached) 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 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 sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/paths.h usability... yes
checking sys/paths.h presence... yes
checking for sys/paths.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for bzero... yes
checking for memset... 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 strlcpy... yes
checking for copyfile... yes
checking for clearenv... no
checking for sysctlbyname... yes
checking if readlink conforms to POSIX 1003.1a... yes
checking CommonCrypto/CommonDigest.h usability... yes
checking CommonCrypto/CommonDigest.h presence... yes
checking for CommonCrypto/CommonDigest.h... yes
checking for readline in -lreadline... yes
checking whether rl_username_completion_function is declared... no
checking whether rl_filename_completion_function is declared... no
checking whether rl_completion_matches is declared... no
checking whether username_completion_function is declared... yes
checking whether filename_completion_function is declared... yes
checking whether completion_matches is declared... 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 whether tclsh was compiled with threads... yes
checking for curl-config... /usr/bin/curl-config
checking for pkg-config... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking sqlite3ext.h usability... yes
checking sqlite3ext.h presence... yes
checking for sqlite3ext.h... yes
checking for Tcl sqlite3 location... /usr/lib/sqlite3
checking for Tcl Thread package... yes
checking how to build libraries... shared
checking that any existing MacPorts install can be upgraded... yes
configure: creating ./config.status
config.status: creating src/programs/daemondo/Makefile
config.status: creating Doxyfile
config.status: creating Makefile
config.status: creating Mk/macports.autoconf.mk
config.status: creating doc/base.mtree
config.status: creating doc/prefix.mtree
config.status: creating doc/macosx.mtree
config.status: creating doc/macports.conf
config.status: creating doc/pubkeys.conf
config.status: creating portmgr/freebsd/Makefile
config.status: creating src/Makefile
config.status: creating src/macports1.0/macports_autoconf.tcl
config.status: creating src/port1.0/port_autoconf.tcl
config.status: creating src/registry2.0/registry_autoconf.tcl
config.status: creating src/programs/Makefile
config.status: creating src/macports1.0/macports_fastload.tcl
config.status: creating setupenv.bash
config.status: creating src/pkg_mkindex.sh
config.status: creating src/config.h
===> making all in doc
gzip -c port.1 > port.1.gz
gzip -c macports.conf.5 > macports.conf.5.gz
gzip -c portfile.7 > portfile.7.gz
gzip -c portstyle.7 > portstyle.7.gz
gzip -c porthier.7 > porthier.7.gz
gzip -c portgroup.7 > portgroup.7.gz
===> making all in src
===> making all in src/cregistry
/usr/bin/gcc-4.0 -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common registry.c -o registry.o
/usr/bin/gcc-4.0 -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common entry.c -o entry.o
/usr/bin/gcc-4.0 -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common sql.c -o sql.o
/usr/bin/gcc-4.0 -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common vercomp.c -o vercomp.o
ar cr cregistry.a registry.o entry.o sql.o vercomp.o
ranlib cregistry.a
/usr/bin/gcc-4.0 -c -DUSE_TCL_STUBS -g -O2 -W -Wall -pedantic  -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include" -fno-common sqlext.c -o sqlext.o
cc -dynamiclib  sqlext.o vercomp.o -o macports.sqlext
make[2]: cc: Command not found
make[2]: *** [macports.sqlext] Error 127
make[1]: *** [all] Error 1
make: *** [all] Error 1
shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && CC=/usr/bin/gcc-4.0 ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=me --with-install-group=admin --with-directory-mode=0755 --enable-readline && make && make install" returned error 2
DEBUG: Error installing new MacPorts base: shell command failed (see log for details)
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /Volumes/User/opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)
~ $