Subject: Re: pkg/29148: ruby-zlib didn't build .pkgdb/
To: None <taca@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Takahiro Kambe <taca@back-street.net>
List: pkgsrc-bugs
Date: 01/29/2005 00:48:02
The following reply was made to PR pkg/29148; it has been noted by GNATS.

From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@netbsd.org, diro@nixsys.bz
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Re: pkg/29148: ruby-zlib didn't build .pkgdb/
Date: Sat, 29 Jan 2005 09:47:05 +0900 (JST)

 In message <20050128204201.1AE0A63B844@narn.netbsd.org>
 	on Fri, 28 Jan 2005 20:42:01 +0000 (UTC),
 	diro@nixsys.bz wrote:
 > >Synopsis:       ruby-zlib didn't build .pkgdb/
 ...
 > >Description:
 > 
 > ===> Installing for ruby18-zlib-1.8.2
 > cannot create /usr/src/sys/pkgsrc/devel/ruby-zlib/work/.pkgdb/+BUILD_VERSION: directory nonexistent
 > *** Error code 2
 Strange.  From bsd.pkg.dir:
 
 ${WRKDIR}:
 .if !defined(KEEP_WRKDIR)
 .  if ${PKGSRC_LOCKTYPE} == "sleep" || ${PKGSRC_LOCKTYPE} == "once"
 .    if !exists(${LOCKFILE})
 	${_PKG_SILENT}${_PKG_DEBUG}${RM} -rf ${WRKDIR}
 .    endif
 .  endif
 .endif
 	${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${WRKDIR}
 	${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${PKG_DB_TMPDIR}
 
 ${PKG_DB_TMPDIR} (== ${WRKDIR}/.pkgdb) is created with WRKDIR.  So I
 can't imagine why above error occured.  Actually, I couldn't repdoruce
 such error (on i386).
 
 # make install
 ...
 ===> Checking for vulnerabilities in ruby18-zlib-1.8.2
 ===> Installing for ruby18-zlib-1.8.2
 install -c -p -m 0755 zlib.so /usr/pkg/lib/ruby/site_ruby/1.8/i386-netbsdelf
 install -d -o root -g wheel -m 755 /usr/pkg/share/doc/ruby18/zlib
 install -c -o root -g wheel -m 444 /usr/local/work/devel/ruby-zlib/work.i386/ruby-1.8.2/ext/zlib/doc/zlib.rd /usr/pkg/share/doc/ruby18/zlib
 ===> Registering installation for ruby18-zlib-1.8.2
 ruby18-zlib-1.8.2 requires installed package ruby18-1.8.2
 
 -- 
 Takahiro Kambe <taca@back-street.net>