Problems building ports - Error code 2 when attempting to cd

Jeremy Chadwick koitsu at FreeBSD.org
Wed Nov 5 18:09:35 PST 2008


On Wed, Nov 05, 2008 at 09:04:18PM -0500, Scott Ullrich wrote:
> On Wed, Nov 5, 2008 at 9:01 PM, Jeremy Chadwick <koitsu at freebsd.org> wrote:
> > Please provide the output from the following commands:
> >
> > mount
> > ls -ld / /usr /usr/ports /usr/ports/print /usr/ports/print/freetype2
> 
> Here is mount: /dev/da0s1a on / (ufs, local)
> devfs on /dev (devfs, local)
> /dev/da0s1d on /usr (ufs, local, soft-updates)
> devfs on /usr/jails/sullrich/dev (devfs, local)
> fdescfs on /usr/jails/sullrich/dev/fd (fdescfs)
> procfs on /usr/jails/sullrich/proc (procfs, local)
> devfs on /usr/jails/ermal/dev (devfs, local)
> fdescfs on /usr/jails/ermal/dev/fd (fdescfs)
> procfs on /usr/jails/ermal/proc (procfs, local)
> devfs on /usr/jails/billm/dev (devfs, local)
> fdescfs on /usr/jails/billm/dev/fd (fdescfs)
> procfs on /usr/jails/billm/proc (procfs, local)
> devfs on /usr/jails/ondemand/dev (devfs, local)
> fdescfs on /usr/jails/ondemand/dev/fd (fdescfs)
> procfs on /usr/jails/ondemand/proc (procfs, local)
> devfs on /usr/local/pfsense-fs/dev (devfs, local)
> 
> (Note that it is a jail host and this build was running within a jail)
> 
> freebsd-nexus-computers# ls -ld / /usr /usr/ports /usr/ports/print
> /usr/ports/print/freetype2
> drwxr-xr-x   20 root  wheel   512 Nov  2 18:47 /
> drwxr-xr-x   18 root  wheel   512 Nov  5 14:20 /usr
> drwxr-xr-x   70 root  wheel  1536 Nov  5 15:15 /usr/ports
> drwxr-xr-x  331 root  wheel  7168 Nov  5 15:16 /usr/ports/print
> drwxr-xr-x    3 root  wheel   512 Nov  5 15:16 /usr/ports/print/freetype2
> 
> They all exist.  The error message is really strange.
> 
> Anything else you can think to check?

Does the problem happen outside of the jail?

Other than that, I have no ideas.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-ports mailing list