pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

glib2 failes due to pkg_create problem (Re: afterstep build broken due to libpixman missing)



On Mon, Jul 04, 2011 at 11:32:14AM -0500, Eric Haszlakiewicz wrote:
> On Sun, 03 Jul 2011 10:43:09 +0900, "OBATA Akio" 
> <obache%netbsd.org@localhost> wrote:
> > In pkgsrc/wm/afterstep/Makefile, if following line is moved to above 
> > MesaLib's one,
> > is it resolved for you?
> >
> > .include "../../mk/giflib.buildlink3.mk"
> 
> I don't know, I don't have my machine set up to actually build packages, which
> is why I was looking for the pre-built packages on ftp.netbsd.org.
> 
> I'll try your suggestion, but it'll take me a few days before I have time to
> set up a sane build environment.

Well, I didn't even get far enough to try that out.  I ended up getting this
error while building glib2:

=> Automatic manual page handling
pkg_create: can't stat `/usr/pkgsrc/devel/glib2/work/.destdir/usr/pkg/mkdir: 
unknown option -- -'
pkg_create: can't stat `/usr/pkgsrc/devel/glib2/work/.destdir/usr/pkg/usage: 
mkdir [-p] [-m mode] dirname ...'
===> Building binary package for glib2-2.28.8
=> Creating binary package /usr/pkgsrc/packages/All/glib2-2.28.8.tgz
pkg_create: can't stat `/usr/pkgsrc/devel/glib2/work/.destdir/usr/pkg/mkdir: 
unknown option -- -'
pkg_create: can't stat `/usr/pkgsrc/devel/glib2/work/.destdir/usr/pkg/usage: 
mkdir [-p] [-m mode] dirname ...'
pkg_create: lstat failed for file mkdir: unknown option -- -: No such file or 
directory
*** Error code 2

I tried looking around to see if anyone else has had this problem, but all I
found was someone who ran into this problem all the way back in 2008, without
a solution.

I'm building this on a NetBSD 5.1 install in a completely clean NetBSD 5.1
chroot where I only ran ./MAKEDEV in /etc, and "make install" in 
pkgsrc/pkgtools/pkg_install.  There are a couple of null mounts to make the
pkgsrc directory show up inside the chroot.
My pkgsrc is up-to-date as of yesterday.

Does anyone have a simple fix, before I go digging into what the problem is?

eric


Home | Main Index | Thread Index | Old Index