tech-pkg archive

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

2008Q1 pkg_install error



Hi,

I'm using bulk build to make binary packages for the pkgsrc-2008Q1 branch
and get the following error. I don't know why bulk-build still uses
pkg_add and pkg_info from the temp directories, which are obviously
deleted before that. Attached are my mk.conf and build.conf.
Thank you,

Co Ngo
********
....
build> Installing prerequisite packages specified with BULK_PREREQ...
build> Installing prerequisite package pkgtools/libkver
BULK> /pkg_comp/packages/All/libkver-0.6.tgz is up to date.
===> Trying to handle out-dated pkg_install...
===> Cleaning for pkg_install-20080313
sh:
/pkg_comp/obj/pkgsrc/pkgtools/pkg_install/work.pkg_comp/pkg_install-20080313/info/pkg_info:
not found
BULK> /pkg_comp/packages/All/pkg_install-20080313.tgz is up to date. sh:
/pkg_comp/obj/pkgsrc/pkgtools/pkg_install/work.pkg_comp/pkg_install-20080313/info/pkg_inf
===> Installing dependencies for pkg_install-20080313
BULK>
/pkg_comp/obj/pkgsrc/pkgtools/pkg_install/work.pkg_comp/pkg_install-20080313/add/pkg_ad
                       pkg_comp/packages/All/pkg_install-20080313.tgz
sh:
/pkg_comp/obj/pkgsrc/pkgtools/pkg_install/work.pkg_comp/pkg_install-20080313/add/pkg_add:
*** Error code 127

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/libkver
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/libkver
mk/bulk/build: error:
    Could not install prerequisite packages.
pkg_comp:pkgsrc-4.0-2008Q1.conf#

**********


#
# /etc/mk.conf
# File automatically generated by pkg_comp on Tue Apr 15 15:50:45 MDT 2008
#
.ifdef BSD_PKG_MK

BULK_PREREQ ?= pkgtools/libkver
DEPENDS_TARGET ?= package
DIST_PATH ?= /pkg_comp/distfiles/local:/pkg_comp/distfiles/restricted
FAILOVER_FETCH ?= yes
MANZ ?= yes
OBJMACHINE ?= yes
PKG_RUN_TEST ?= yes
PKGCHK_CONF ?= /root/.pkg_chk.conf
PKG_CREATE_USERGROUP ?= no
WRKDIR_BASENAME ?= work.pkg_comp
MKOBJDIRS ?= yes
BSDSRCDIR ?= /usr/src
WRKOBJDIR ?= /pkg_comp/obj/pkgsrc
DISTDIR ?= /pkg_comp/distfiles/All
PACKAGES ?= /pkg_comp/packages
PKG_DEVELOPER ?= yes
CLEANDEPENDS ?= yes
LOCALBASE ?= /usr/pkg
PKG_SYSCONFBASE ?= /usr/pkg/etc
CFLAGS ?= 
CPPFLAGS ?= 
CXXFLAGS ?= 
USE_AUDIT_PACKAGES ?= yes
PKGVULNDIR ?= /usr/pkg/share
USE_XPKGWEDGE ?= yes
PKGSRC_COMPILER ?= gcc
LIBKVER_STANDALONE_PREFIX ?= /libkver
# $Id: mk.licenses.conf.juncus,v 1.5 2007/11/12 20:51:10 cngo Exp $

ACCEPTABLE_LICENSES+=   IDEA-licence
ACCEPTABLE_LICENSES+=   adobe-acrobat-license
ACCEPTABLE_LICENSES+=   amiwm-license
ACCEPTABLE_LICENSES+=   apple-admin
ACCEPTABLE_LICENSES+=   astrolog-license
ACCEPTABLE_LICENSES+=   citrix_ica-license
ACCEPTABLE_LICENSES+=   csound-license
ACCEPTABLE_LICENSES+=   cyberbit-ttf-license
ACCEPTABLE_LICENSES+=   cyrus-imapd-license
ACCEPTABLE_LICENSES+=   emiclock-license
ACCEPTABLE_LICENSES+=   epsg-license 
ACCEPTABLE_LICENSES+=   fee-based-commercial-use
ACCEPTABLE_LICENSES+=   flash-license
ACCEPTABLE_LICENSES+=   fprot-workstation-license
ACCEPTABLE_LICENSES+=   glimpse-license
ACCEPTABLE_LICENSES+=   graphviz-license
ACCEPTABLE_LICENSES+=   hptools-license
ACCEPTABLE_LICENSES+=   jdk-license
ACCEPTABLE_LICENSES+=   jdk13-license
ACCEPTABLE_LICENSES+=   kermit-license
ACCEPTABLE_LICENSES+=   lame-license
ACCEPTABLE_LICENSES+=   limited-redistribution
ACCEPTABLE_LICENSES+=   majordomo-license
ACCEPTABLE_LICENSES+=   maude-license
ACCEPTABLE_LICENSES+=   molden-license
ACCEPTABLE_LICENSES+=   mosaic-license
ACCEPTABLE_LICENSES+=   mplayer-codec-license
ACCEPTABLE_LICENSES+=   mpg123-license
ACCEPTABLE_LICENSES+=   ms-ttf-license
ACCEPTABLE_LICENSES+=   mush-license
ACCEPTABLE_LICENSES+=   nntpclnt-license
ACCEPTABLE_LICENSES+=   no-commercial-use
ACCEPTABLE_LICENSES+=   no-profit
ACCEPTABLE_LICENSES+=   no-redistribution
ACCEPTABLE_LICENSES+=   non-commercial-use
ACCEPTABLE_LICENSES+=   openmotif-license
ACCEPTABLE_LICENSES+=   opera-license
ACCEPTABLE_LICENSES+=   opera-850-license
ACCEPTABLE_LICENSES+=   palmos-sdk-license
ACCEPTABLE_LICENSES+=   phrap-academic-user-agreement-license
ACCEPTABLE_LICENSES+=   phred-academic-user-agreement-license
ACCEPTABLE_LICENSES+=   phylip-license
ACCEPTABLE_LICENSES+=   pine-license
ACCEPTABLE_LICENSES+=   portsentry-license
ACCEPTABLE_LICENSES+=   povray-license
ACCEPTABLE_LICENSES+=   pvs-license
ACCEPTABLE_LICENSES+=   rar-license
ACCEPTABLE_LICENSES+=   scsl3-jini-tsa-1.0-license
ACCEPTABLE_LICENSES+=   shareware
ACCEPTABLE_LICENSES+=   single-user-license
ACCEPTABLE_LICENSES+=   skype-license
ACCEPTABLE_LICENSES+=   snert-license
ACCEPTABLE_LICENSES+=   srp_client-license
ACCEPTABLE_LICENSES+=   sun-jsdk20-license
ACCEPTABLE_LICENSES+=   sun-swing-license
ACCEPTABLE_LICENSES+=   szip-license
ACCEPTABLE_LICENSES+=   tdir-license
ACCEPTABLE_LICENSES+=   trn-license
ACCEPTABLE_LICENSES+=   trplayer-license
ACCEPTABLE_LICENSES+=   unarj-license
ACCEPTABLE_LICENSES+=   unrar-license
ACCEPTABLE_LICENSES+=   vmware-license
ACCEPTABLE_LICENSES+=   zoo-license
ACCEPTABLE_LICENSES+=   xv-license
# $Id: mk.pkgsrc.conf.juncus,v 1.1 2006/05/25 22:59:59 cngo Exp $
#

# Fragment of /etc/mk.conf file for use in package building with the
# pkg_comp(8) package.  See the NetBSD mk.conf(5) and packages(7)
# manual page for a full description of all available options.
#

# ************************************************************************
# NOTE TO PEOPLE EDITING THIS FILE - USE LEADING SPACES, NOT LEADING TABS.
# ************************************************************************

APACHE_SYSCONFDIR?=     /etc/httpd
LSOF_MORE_SECURE?=      1
NS_ENCRYPTION?=         us
PAPERSIZE?=             Letter
PHP_CONFDIR?=           /etc
PKG_JVM?=               sun-jdk
TEXMFSITE?=             /usr/local/texmf
USE_GIF?=               yes
VTUN_SYSCONFDIR?=       /etc
ZIP_ENCRYPTION?=        yes
# $Id: mk.pkg_options.conf.juncus,v 1.1 2006/05/25 22:59:59 cngo Exp $

# Definitions of package options.

PKG_OPTIONS.gdal-lib+=  pgsql
CFLAGS += 
CPPFLAGS += 
CXXFLAGS += 

.endif # BSD_PKG_MK
# $NetBSD: build.conf-example,v 1.37 2007/03/06 10:57:11 rillig Exp $
#
# This is an example configuration file for pkgsrc bulk builds.
# Actually it's a shell script that is sourced in by the pre-build,
# build and post-build programs.
#

#
# System information
#

# The OS release this bulk build is happening on.
osrev=`uname -r`

# Where our pkgsrc is located.
USR_PKGSRC="/usr/pkgsrc"

# An absolute pathname to your mk.conf file.
# The file must be outside ${PREFIX}, or it will be overwritten.
#MAKECONF="$HOME/etc/mk.conf"


#
# Getting distfiles
#

# Prune distfiles to remove those which are out of date.
# Can be set to 'yes' or 'no'.
PRUNEDISTFILES=no

# Proxies (optional):
#ftp_proxy=http://proxy.machi.ne:3128/
#http_proxy=http://proxy.machi.ne:3128/


#
# Building the packages
#

# List of package directories to build.
# Defaults to all packages if PKGLIST is empty or undefined.
#PKGLIST="www/mozilla meta-pkgs/kde3"

# Nice level for builds
NICE_LEVEL="nice -n 20"

# Whether to cache the lintpkgsrc database for PRUNE* or uploading.
# Can be set to 'yes' or 'no'.
LINTPKGSRC_CACHE=no

#
# Generating the report
#

# Where build will mail the report.
ADMIN="cngo%nmsu.edu@localhost"

# Who the report is signed by.
ADMINSIG="-Co Ngo"

# The directory where the final reports are collected.
#REPORTS_DIR="$HOME/bulk-logs"
REPORTS_DIR="/usr/pkgsrc/pkgstat"

# The URL where the final reports will be available.
REPORTS_URL="ftp://localhost/pub/NetBSD/pkgstat";

# The basename of the directory of the current bulk build. This
# directory will be created under ${REPORTS_DIR}. After uploading the
# report, it will also be available under ${REPORTS_URL}.
REPORT_BASEDIR=`date +%Y%m%d.%H%M`

# The basenames of the the two report files, which will both be created
# in ${REPORTS_DIR}/${REPORT_BASEDIR}.
REPORT_HTML_FILE="report.html"
REPORT_TXT_FILE="report.txt"

#
# Uploading binary packages
#

# Update vulnerability database before uploading.
# Can be set to 'yes' or 'no'.
UPDATE_VULNERABILITY_LIST=yes

# Prune binary packages to remove those which are out of date.
# Can be set to 'yes' or 'no'.
PRUNEPACKAGES=no

# Whether or not to create checksum files.
MKSUMS=yes

# Whether or not to create the summary file.
MKSUMMARY=no

# If you want to PGP sign the checksum files, set and correct.
#SIGN_AS=username%NetBSD.org@localhost

# Destination for packages and rsync options.
RSYNC_DST=ftp.NetBSD.org:/pub/NetBSD/packages/pkgsrc-200xQy/NetBSD-a.b.c/i386
RSYNC_OPTS='-e ssh'


Home | Main Index | Thread Index | Old Index