On Thu, Nov 11, 2010 at 4:21 PM, STeve Andre' <and...@msu.edu> wrote: > I'm having problems compiling ruby ports--below is an example of ruby- > actionpack, but this affects lots of other ruby ports. > > If I stop a bulk build and clean out /var/db/pkg with pkg_delete, I find > things remaining in /usr/local/lib, like ruby. if I remove that the restart > the build things work till the next collision happens. > > Clues as to what I've messed up? It's been a while since I've not > been able to figure out what went wrong in a bulk build. Let the > whacks commence...!
I experienced something similar to this at p2k10 when building using dpb on a fast 8 core amd64 with a -P file argument that only contained ruby ports. I was never able to replicate it using dpb on my personal build boxes (a slower 1 core amd64 and 2 core i386), and wasn't able to reproduce the problem without dpb after repeated attempts on the 8 core machine. Also, are you building with USE_SYSTRACE=Yes, and are you building as root or as a normal user with SUDO set? I set USE_SYSTRACE=Yes and build as a normal user with SUDO on my personal build boxes, but I think the p2k10 build machine had USE_SYSTRACE not set and was building as root. If you aren't using both USE_SYSTRACE=Yes and SUDO, can you do a bulk build with either/both set and see if the problem goes away? I'm not sure if the problem is mitigated by using either or both of the options, but hopefully knowing which fixes it will narrow the problem space. Jeremy > Thanks, > > --STeve Andre' > > /usr/sbin/pkg_add -a ruby-1.8.7.302p0 ruby-activesupport-2.3.4p1 > ruby-gems-1.3.7p1 ruby-rack-1.0.0p1 > Collision in ruby-activesupport-2.3.4p1: the following files already exist > /usr/local/lib/ruby/gems/1.8/cache/activesupport-2.3.4.gem (same > checksum) > Collision in ruby-rack-1.0.0p1: the following files already exist > /usr/local/lib/ruby/gems/1.8/cache/rack-1.0.0.gem (same checksum) > ===> devel/ruby-actionpack, > ===> ruby-actionpack-2.3.4p1 depends on: ruby-activesupport->=2.3.4 - not > found > ===> Verifying install for ruby-activesupport->=2.3.4 in > devel/ruby-activesupport > ===> ruby-activesupport-2.3.4p1 depends on: ruby-iconv->=1.8,<=1.9 - found > ===> ruby-activesupport-2.3.4p1 depends on: ruby->=1.8,<=1.9 - found > ===> ruby-activesupport-2.3.4p1 depends on: ruby-gems->=1.3.7p0 - found > ===> Installing ruby-activesupport-2.3.4p1 from > /usr/ports/packages/i386/all/ > Collision in ruby-activesupport-2.3.4p1: the following files already exist > /usr/local/lib/ruby/gems/1.8/cache/activesupport-2.3.4.gem (same > checksum) > *** Error code 1 > > Stop in /usr/ports/devel/ruby-activesupport (line 1659 of > /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/devel/ruby-activesupport (line 2164 of > /usr/ports/infrastructure/mk/bsd.port.mk). > /bin/sh: exit 1: not found > *** Error code 127 > > Stop in /usr/ports/devel/ruby-actionpack (line 1813 of > /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/devel/ruby-actionpack (line 2164 of > /usr/ports/infrastructure/mk/bsd.port.mk). > ===> Exiting devel/ruby-actionpack, with an error > /bin/sh: exit 1: not found > *** Error code 127 > >