On Thu, Mar 06, 2014 at 08:54:46AM +1100, Damien Miller wrote: > On Tue, 4 Feb 2014, Ted Unangst wrote: > > > On Tue, Feb 04, 2014 at 08:54, David Coppa wrote: > > > On Tue, Feb 4, 2014 at 8:46 AM, Ted Unangst <[email protected]> wrote: > > >> I am building chromium with dpb. > > >> $ dbp www/chromium > > >> ... > > >> > > >> This dies as seen below because the db-4 directory it copies from doesn't > > >> have the flavor info appended? > > >> > > >> Did I break it? > > > > > >> cd /home/tedu/ports/pobj/db-4.6.21/db-4.6.21/examples_c; install -c -o > > > root -g bin -m 444 > > >> *.c > > > /home/tedu/ports/pobj/db-4.6.21-no_java-bootstrap-no_tcl/fake-amd64-no_java-bootstr > > > > > >> ap-no_tcl/usr/local/share/examples/db4 > > >> /bin/sh: cd: /home/tedu/ports/pobj/db-4.6.21/db-4.6.21/examples_c - No > > > such file or direc > > >> tory > > > > > > Strange indeed. This should be: cd > > > /usr/ports/pobj/db-4.6.21-no_java-bootstrap-no_tcl/db-4.6.21/examples_c > > > > Oh, I replicated without dpb. The flavor is there sometimes, sometimes not. > > > > $ env FLAVOR=no_java make install > ... > > cd /home/tedu/ports/pobj/db-4.6.21/db-4.6.21/examples_c; install -c -o root > > -g bin -m 444 *.c > > /home/tedu/ports/pobj/db-4.6.21-no_java/fake-amd64-no_java/usr/local/share/examples/db4 > > /bin/sh: cd: /home/tedu/ports/pobj/db-4.6.21/db-4.6.21/examples_c - No such > > file or directory > > Did anyone ever get to the bottom of this? I see it trying to rebuild db4 too.
Put SUDO = sudo -E in your /etc/mk.conf, and enjoy problems-free dpb builds.
