tech-pkg archive

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

make package weirdness in pkgsrc-2010Q1



Hi,

Last night my pkgsrc tree was automatically updated [1] to the pkgsrc-2010Q1 branch so I started to rebuild all my packages. My mk.conf is in [2] but there's nothing special in it.

# rm -rf /var/tmp/packages/*
# cd /usr/pkgsrc/shells/bash
# make package clean clean-depends
===> Building binary package for bash-4.1
=> Creating binary package /var/tmp/packages/All/bash-4.1.tgz
===> Cleaning for bash-4.1
===> Cleaning for digest-20080510
===> Cleaning for m4-1.4.14
===> Cleaning for bison-2.4.1nb1

Looks good. But why didn't I get binary packages for m4?

# ls -lh /var/tmp/packages/All/
total 1.6M
-rw-r--r--  1 root  wheel  1.2M Apr  9 12:28 bash-4.1.tgz
-rw-r--r--  1 root  wheel  363K Apr  9 12:27 bison-2.4.1nb1.tgz
-rw-r--r--  1 root  wheel   40K Apr  9 12:26 digest-20080510.tgz

Next I downgraded pkgsrc/mk to pkgsrc-2009Q4, removed all installed packages, ran "make package" again and now I have a binary package for m4.

# ls -lh /var/tmp/packages/All/
total 1.8M
-rw-r--r--  1 root  wheel  1.2M Apr  9 12:42 bash-4.1.tgz
-rw-r--r--  1 root  wheel  363K Apr  9 12:41 bison-2.4.1nb1.tgz
-rw-r--r--  1 root  wheel   40K Apr  9 12:40 digest-20080510.tgz
-rw-r--r--  1 root  wheel  218K Apr  9 12:40 m4-1.4.14.tgz

Am I doing something wrong or do we have regression in the new branch?

I noticed all this while trying to create package for spamassassin and I was unable to install the binary package due to missing dependency (p5-something) even though the required perl package was built and installed in my chroot. Once I manually ran "make package" for all these trouble makers I had everything I needed.

Martti



[1] /etc/daily.local

##
## pkgsrc
##
if [ -d /usr/pkgsrc/CVS ]; then
    umask 022
    D=`pwd`
    cd /usr/pkgsrc
    TAG=`cvs status -v Makefile | grep pkgsrc-20 | grep branch | \
         awk '{print $1}' | sort | tail -1`
    echo ""
    [ ! -z "${TAG}" ] && cvs -q update -dPA -r ${TAG}
    cd "${D}"
fi
if [ -x /usr/pkg/bin/lintpkgsrc ]; then
    echo ""
    /usr/pkg/bin/lintpkgsrc -i
fi



[2] /etc/mk.conf

DISTDIR=/var/tmp/distfiles
PACKAGES=/var/tmp/packages

PKG_RCD_SCRIPTS=YES
RCD_SCRIPTS_DIR=/etc/rc.d

ACCEPTABLE_LICENSES+=postfix-license
ACCEPTABLE_LICENSES+=public-domain
ACCEPTABLE_LICENSES+=vim-license

# pkgsrc/mail/dovecot
PKG_OPTIONS.dovecot+=dovecot-sieve
PKG_OPTIONS.dovecot+=pam

# pkgsrc/mail/postfix
PKG_OPTIONS.postfix=pcre
PKG_OPTIONS.postfix+=tls

# pkgsrc/mail/squirrelmail
APACHE_USER=www
APACHE_GROUP=www


Home | Main Index | Thread Index | Old Index