Sorin Panca wrote: > Doug Barton wrote: >> Sorin Panca wrote: >>> Prior to starting the upgrade I did a pkg_delete -a. I wanted a clean >>> system (just like a reinstallation). How do I ensure that all packages >>> were removed by pkg_delete -a ? >> Check /usr/local and make sure there is nothing there. In particular >> make sure that /usr/local/lib/compat/pkg does not exist. It sounds >> like this is already true, but also make sure that /var/db/pkg is >> empty as well. If none of that works then you've got a bigger problem. >> >> If you still can't install ruby and/or portupgrade, try installing a >> simple port just using 'make clean ; make install' in the port's >> directory. If that works, try a more complex port until something >> fails. If nothing fails installing manually it's a problem with >> portupgrade and/or ruby and you can send in a new bug report focusing >> on that. >> >> You might also consider using portmaster of course. :) >> >> >> hope this helps, >> >> Doug >> > > /usr/local/compat/pkg existed but I followed your advice and removed it. > /var/db/pkg was empty when I checked it. > I proceeded to trying to install /usr/ports/lang/ruby18 by make clean > and then make install clean. It failed with the same error as in my > previous attempts. > > However, some packages built correctly: shells/bash, lang/perl5.8, > sysutils/ezjail and www/apache. > > I really wanted to take portmaster into consideration (it's a better > alternative to portupgrade in my opinion also), but sysutils/puppet uses > portupgrade as its backend and I use puppet on my servers. So I'm stuck > with portupgrade. > > I also noticed when compiling other programs, that the line contains the > following arguments: -fPIC -DPIC, while compiling ruby18, it only > contains -fPIC. I added -DPIC to /etc/make.conf, so that the CFLAGS line > would look like: > CFLAGS?= -O2 -fPIC -DPIC -pipe > After that, the compiler output lines still look like: > cc -O2 -fno-strict-aliasing -pipe -fPIC -DRUBY_EXPORT -I. -I. -c > variable.c > and fails as in my previous attempts. > > Sorin.
New data: All packages that depend on /usr/lib/libpthread.a fail to compile on FreeBSD-7.x-RELEASE after binary upgrading from FreeBSD-6.x-RELEASE The error is: /usr/bin/ld: /usr/lib/libpthread.a(thr_concurrency.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/lib/libpthread.a: could not read symbols: Bad value Among those packages are: lang/ruby18, lang/python25, net/openldap24-client and devel/glib12 Sorin. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"