You are not logged in.

#1 2008-01-23 01:07:16

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

I updated to the latest Pacman in testing, and when I tried to use makepkg, I got this:

==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated /etc/makepkg.conf.
However, I have already checked and modified the configuration, look:


#
# /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=native -mtune=generic -O2 -pipe"
CXXFLAGS="-march=native -mtune=generic -O2 -pipe"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j1"

#########################################################################
# 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)
#
#-- 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/ltsmash/packages
#-- Source cache: specify a fixed directory where source files will be cached
SRCDEST=/home/ltsmash/sources
#-- Packager: name/email of the person or organization building packages
PACKAGER="LTSmash <lord.ltsmash@gmail.com>"

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

Any ideas?
Thanks in advance tongue


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

#2 2008-01-23 01:34:44

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: ==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

/etc/makepkg.conf.new is where the action is... you should probably just mv it to makepkg.conf and reapply your PKGDEST/PACKAGER/etc. modifications.


1000

Offline

#3 2008-01-23 01:35:07

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: ==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

That looks like a makepkg.conf file for the previous version of pacman, or at least it doesn't have everything that the current version of makepkg.conf should have.  Have a look at /etc/makepkg.conf.pacnew --> this is where pacman installed the new version of pacman.conf file.

Last edited by fwojciec (2008-01-23 01:36:13)

Offline

#4 2008-01-23 19:45:03

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

Re: ==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

Whoa, thanks guys smile


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

#5 2008-11-10 15:04:28

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: ==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

what if I inadvertedly deleted the newest version of makepkg.conf?

Offline

#6 2008-11-10 15:51:04

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: ==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

ambalex wrote:

what if I inadvertedly deleted the newest version of makepkg.conf?

Reinstall pacman.

Offline

#7 2008-11-10 17:16:08

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: ==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

unfortunately, /etc/makepkg.conf is still the same after reinstalling pacman.

Offline

#8 2008-11-10 17:23:19

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: ==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

ambalex wrote:

unfortunately, /etc/makepkg.conf is still the same after reinstalling pacman.

But there should be a /etc/makepkg.conf.pacnew as well, if your makepkg.conf is different than the default one that's provided by the package.

Offline

#9 2008-11-10 17:33:25

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: ==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

no, after reinstaling there's no /etc/makepkg.conf.pacnew, and the /etc/makepkg.conf is the old one.

Offline

#10 2008-11-10 17:42:38

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: ==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

ambalex wrote:

no, after reinstaling there's no /etc/makepkg.conf.pacnew, and the /etc/makepkg.conf is the old one.

If pacman didn't install a *.pacnew version of the config file that means that your makepkg.conf is up to date or, in either case, the same as the default one installed by the package.

Here is the default makepkg.conf file for reference: http://rafb.net/p/5h2PWp94.html

Offline

#11 2008-11-10 18:11:43

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: ==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

ok, i removed the old file and reinstalled pacman. all clear. thanks.

Offline

#12 2009-07-29 13:31:49

SystemParadox
Member
From: Tavistock (Devon) and Bristol
Registered: 2006-06-09
Posts: 35
Website

Re: ==> ERROR: BUILDSCRIPT is undefined! Ensure you have updated...

I just had the same problem. No pacnew file or anything. makepkg.conf was clearly an old version. Tried reinstalling pacman and no change. Removed file and reinstalled and it's now the new version. Is this a bug with pacman?

Offline

Board footer

Powered by FluxBB