On Sat, 2002-11-09 at 17:04, Kevin Golding wrote: > <snipped> > > That shows either you or portupgrade ran make clean after installing the > port. However it looks like ruby_static doesn't like that. I'm > guessing ruby16-shim-ruby18 didn't get upgraded at the same time as > ruby_static. > > >Its not listed here, I don't think. What could I do from here on? > > # cd /usr/ports/lang/ruby16-shim-ruby18 > # make fetch > # make extract > # portupgrade ruby_static >
Did that. Here's the tail of the make for ruby16-shim-ruby18: ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/dl/extconf.rb --config-opt=--with-opt-dir=/usr/local checking for dlfcn.h... yes checking for main() in -ldl... no checking for dlopen()... yes checking for dlclose()... yes checking for dlsym()... yes checking for dlerror()... yes creating Makefile ---> ext/dl/doc <--- ext/dl/doc ---> ext/dl/lib ---> ext/dl/lib/dl <--- ext/dl/lib/dl <--- ext/dl/lib ---> ext/dl/sample <--- ext/dl/sample ---> ext/dl/test <--- ext/dl/test <--- ext/dl ---> ext/features ---> ext/features/ruby18 ---> ext/features/ruby18/file ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/features/ruby18/file/extconf.rb --config-opt=--with-opt-dir=/usr/local checking for lchmod()... yes checking for lchown()... yes creating Makefile <--- ext/features/ruby18/file ---> ext/features/ruby18/io ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/features/ruby18/io/extconf.rb --config-opt=--with-opt-dir=/usr/local checking for fsync()... yes creating Makefile <--- ext/features/ruby18/io <--- ext/features/ruby18 <--- ext/features ---> ext/iconv ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/iconv/extconf.rb --config-opt=--with-opt-dir=/usr/local checking for iconv.h... no <--- ext/iconv ---> ext/racc ---> ext/racc/cparse ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/racc/cparse/extconf.rb --config-opt=--with-opt-dir=/usr/local creating Makefile <--- ext/racc/cparse <--- ext/racc ---> ext/stringio ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/stringio/extconf.rb --config-opt=--with-opt-dir=/usr/local checking for block_given?... yes checking for new allocation framework... no checking for new NORETURN... no checking for RUBY_DATA_FUNC... yes checking for m17n.h... no checking for rb_io_addstr()... yes checking for rb_io_puts()... yes checking for rb_io_print()... yes checking for rb_io_printf()... yes checking for rb_str_buf_new()... no checking for rb_str_update()... no checking for memchr()... yes creating Makefile <--- ext/stringio ---> ext/strscan ruby /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/strscan/extconf.rb --config-opt=--with-opt-dir=/usr/local creating Makefile <--- ext/strscan <--- ext install.rb: config done. ===> Building... install.rb: entering setup phase... ---> lib ---> lib/features ---> lib/features/ruby18 <--- lib/features/ruby18 <--- lib/features ---> lib/optparse <--- lib/optparse ---> lib/racc <--- lib/racc <--- lib ---> ext ---> ext/dl make Generating callback.func Generating cbtable.func cc -fPIC -O -pipe -march=pentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -c -o dl.o dl.c cc -fPIC -O -pipe -march=pentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -c -o handle.o handle.c cc -fPIC -O -pipe -march=pentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -c -o ptr.o ptr.c Generating call.func void char short long float double cc -fPIC -O -pipe -march=pentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -c -o sym.o sym.c sym.c:13: warning: static declaration for `rb_str_cat2' follows non-static cc -shared -Wl,-soname,dl.so -L/usr/local/lib -o dl.so dl.o handle.o ptr.o sym.o -L. -lruby -lc -lcrypt -lm ---> ext/dl/doc <--- ext/dl/doc ---> ext/dl/lib ---> ext/dl/lib/dl <--- ext/dl/lib/dl <--- ext/dl/lib ---> ext/dl/sample <--- ext/dl/sample ---> ext/dl/test <--- ext/dl/test <--- ext/dl ---> ext/features ---> ext/features/ruby18 ---> ext/features/ruby18/file make cc -fPIC -O -pipe -march=pentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/features/ruby18/file -DHAVE_LCHMOD -DHAVE_LCHOWN -c -o file_ruby18.o file_ruby18.c cc -shared -Wl,-soname,file_ruby18.so -L/usr/local/lib -o file_ruby18.so file_ruby18.o -L. -lruby -lc -lcrypt -lm <--- ext/features/ruby18/file ---> ext/features/ruby18/io make cc -fPIC -O -pipe -march=pentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/features/ruby18/io -DHAVE_FSYNC -c -o io_ruby18.o io_ruby18.c cc -shared -Wl,-soname,io_ruby18.so -L/usr/local/lib -o io_ruby18.so io_ruby18.o -L. -lruby -lc -lcrypt -lm <--- ext/features/ruby18/io <--- ext/features/ruby18 <--- ext/features ---> ext/iconv <--- ext/iconv ---> ext/racc ---> ext/racc/cparse make cc -fPIC -O -pipe -march=pentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/racc/cparse -c -o cparse.o cparse.c cc -shared -Wl,-soname,cparse.so -L/usr/local/lib -o cparse.so cparse.o -L. -lruby -lc -lcrypt -lm <--- ext/racc/cparse <--- ext/racc ---> ext/stringio make cc -fPIC -O -pipe -march=pentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/stringio -DHAVE_BLOCK_GIVEN_P -DHAVE_RUBY_DATA_FUNC -DHAVE_RB_IO_ADDSTR -DHAVE_RB_IO_PUTS -DHAVE_RB_IO_PRINT -DHAVE_RB_IO_PRINTF -DHAVE_MEMCHR -c -o stringio.o stringio.c cc -shared -Wl,-soname,stringio.so -L/usr/local/lib -o stringio.so stringio.o -L. -lruby -lc -lcrypt -lm <--- ext/stringio ---> ext/strscan make cc -fPIC -O -pipe -march=pentiumpro -fPIC -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16/ext/strscan -c -o strscan.o strscan.c cc -shared -Wl,-soname,strscan.so -L/usr/local/lib -o strscan.so strscan.o -L. -lruby -lc -lcrypt -lm <--- ext/strscan <--- ext install.rb: setup done. # make extract # Now attempting to upgrade ruby_static-1.6.7.2002.09.12_1: # portupgrade ruby_static-1.6.7.2002.09.12_1 ---> Upgrading 'ruby_static-1.6.7.2002.09.12_1' to 'ruby_static-1.6.8.p2' (lang/ruby_static) ---> Building '/usr/ports/lang/ruby_static' ===> Cleaning for libiconv-1.8_2 ===> Cleaning for libtool-1.3.4_4 ===> Cleaning for ruby-1.6.8.p2 ===> Cleaning for ruby-zlib-0.5.1 ===> Cleaning for ruby-bdb1-0.1.7 ===> Cleaning for ruby-1.6.8.p2 ===> Cleaning for ruby-shim-ruby18-1.7.3.2002.09.20 ===> Cleaning for ruby_static-1.6.8.p2 ===> Extracting for ruby_static-1.6.8.p2 >> No MD5 checksum file. ===> ruby_static-1.6.8.p2 depends on file: /nonexistent - found ===> ruby_static-1.6.8.p2 depends on file: /usr/local/bin/ruby - found ===> ruby_static-1.6.8.p2 depends on file: /nonexistent - found ===> ruby_static-1.6.8.p2 depends on file: /nonexistent - found ===> ruby_static-1.6.8.p2 depends on file: /nonexistent - found ===> ruby_static-1.6.8.p2 depends on shared library: iconv.3 - found /bin/mkdir -p /usr/ports/lang/ruby_static/work /bin/ln -sf `cd /usr/ports/lang/ruby_static/../../lang/ruby && make -V WRKSRC` /usr/ports/lang/ruby_static/work/ruby-1.6.8 wrksrc=$(cd /usr/ports/lang/ruby_static/../../archivers/ruby-zlib && make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb | /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; do extdir=${extdir%/extconf.rb}; case "archivers/ruby-zlib" in lang/ruby16-shim-ruby18) m=$(basename $extdir); case $extdir in */racc/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=racc/${m} ;; */ext/features/ruby18/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18; m=features/ruby18/${m}_ruby18 ;; esac ;; *) m="zlib" ;; esac; /bin/cp -RPp $extdir /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done find: /usr/ports/archivers/ruby-zlib/work/ruby-zlib-0.5.1: No such file or directory wrksrc=$(cd /usr/ports/lang/ruby_static/../../databases/ruby-bdb1 && make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb | /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; do extdir=${extdir%/extconf.rb}; case "databases/ruby-bdb1" in lang/ruby16-shim-ruby18) m=$(basename $extdir); case $extdir in */racc/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=racc/${m} ;; */ext/features/ruby18/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18; m=features/ruby18/${m}_ruby18 ;; esac ;; *) m="bdb1" ;; esac; /bin/cp -RPp $extdir /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done find: /usr/ports/databases/ruby-bdb1/work/bdb1-0.1.7: No such file or directory wrksrc=$(cd /usr/ports/lang/ruby_static/../../lang/ruby16-shim-ruby18 && make -V WRKSRC) ; /usr/bin/find -L $wrksrc -name extconf.rb | /usr/bin/xargs /usr/bin/grep -l create_makefile | while read extdir; do extdir=${extdir%/extconf.rb}; case "lang/ruby16-shim-ruby18" in lang/ruby16-shim-ruby18) m=$(basename $extdir); case $extdir in */racc/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/racc; m=racc/${m} ;; */ext/features/ruby18/*) /bin/mkdir -p /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/features/ruby18; m=features/ruby18/${m}_ruby18 ;; esac ;; *) m="ruby16-shim-ruby18" ;; esac; /bin/cp -RPp $extdir /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m; /usr/bin/touch /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/$m/MANIFEST; done find: /usr/ports/lang/ruby16-shim-ruby18/work/shim/ruby16: No such file or directory echo "#option nodynamic" > /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/Setup cannot create /usr/ports/lang/ruby_static/work/ruby-1.6.8/ext/Setup: directory nonexistent*** Error code 2 Stop in /usr/ports/lang/ruby_static. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade2988.0 make ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! lang/ruby_static (ruby_static-1.6.7.2002.09.12_1) (unknown build error) # Still fails, adn fails with the same error. What else could be wrong? Regards, Stacey > Or words to that effect :-) > > Kevin > -- > [EMAIL PROTECTED] -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com
signature.asc
Description: This is a digitally signed message part