You are not logged in.

#1 2008-01-12 21:59:32

haukew
Member
From: Hamburg, Germany
Registered: 2007-10-25
Posts: 96
Website

makepkg-error: BUILDSCRIPT is not defined

Hi!
I can't use makepkg anymore, i think it is because i updated to the pacman-version from [testing]. When i try to run makepkg, it says:

==> FEHLER: BUILDSCRIPT ist nicht definiert! Stellen Sie sicher, dass /etc/makepkg.conf aktualisiert wurde.

"ERROR: BUILDSCRIPT has not been defined! Make sure that /etc/makepkg.conf has been updated."

This is my /etc/makepkg.conf

#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The FTP/HTTP download utility that makepkg should use to acquire sources
FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate"
#FTPAGENT="/usr/bin/snarf"
#FTPAGENT="/usr/bin/lftpget -c"

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="i686"
CHOST="i686-pc-linux-gnu"

#-- Exclusive: will only run on i686
# -mtune builds exclusively for an architecture
# -mcpu optimizes for an architecture, but builds for the whole processor family
CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Defaults: BUILDENV=(!fakeroot !distcc color !ccache)
#
#-- fakeroot: Allow building packages as a non-root user
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#
BUILDENV=(fakeroot !distcc color !ccache)
USE_FAKEROOT="y"
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Default: OPTIONS=(strip !docs !libtool emptydirs)
#
#-- strip:     Strip symbols from binaries/libraries
#-- docs:      Save doc and info directories
#-- libtool:   Leave libtool (.la) files in packages
#-- emptydirs: Leave empty directories in packages
#
OPTIONS=(strip !docs libtool emptydirs)

#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Info and doc directories to remove (if option set correctly above)
DOC_DIRS=(usr/{,share/}{info,doc,gtk-doc} opt/gnome/{,share/}{info,doc,gtk-doc})

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"

# vim: set ft=sh ts=2 sw=2 et:

How can i fix this?
Thanks in advance smile

Offline

#2 2008-01-12 22:01:56

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: makepkg-error: BUILDSCRIPT is not defined

Have a look at /etc/makepkg.conf.pacnew, you should merge new options.

Offline

#3 2008-01-12 22:45:11

haukew
Member
From: Hamburg, Germany
Registered: 2007-10-25
Posts: 96
Website

Re: makepkg-error: BUILDSCRIPT is not defined

worked, great - thanks

Offline

Board footer

Powered by FluxBB