Re: bulk build != 'make install'

Thomas Klausner <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Tue, Jan 23, 2007 at 09:43:44PM +0200, Aleksey Cheusov wrote:
> Hi all. I'm about pkgsrc-wip bulk build results (failure)
> 
> ============================================================
>    ftp://ftp.NetBSD.org/pub/pkgsrc/misc/kristerw/pkgstat/wip/i386-4.0/20070118.2002/report.html
> 
>    Package                    Breaks  Maintainer
>    --------------------------------------------------------------
>    wip/heirloom-doc           104     [email protected]
> ============================================================
> 
> Belowe are error messages. Can anybody explain why this happens?

DEPENDS should be sufficient, you don't need both.

> /usr/pkg/heirloom/man/man1 directory and all other /usr/pkg/heirloom/xxxx dirs
> should be created during built because
>
> This method works with 'make install' but doesn't with bulk builds. Why?

Because the package is installed from a binary package, and the binary
package does not include any files in those directories (so the directories
would be re-created automatically), nor does it include the appropriate
@exec ${MKDIR} %D/${HLROOT}/bin/posix
...
lines that would create the directories manually.

> BTW: what package is used for bulk building?

cd /usr/pkgsrc/
cp mk/bulk/build.conf-example mk/bulk/build.conf
vi mk/bulk/build.conf
sh mk/bulk/build

Cheers,
 Thomas

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.