You are not logged in.
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
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
/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
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
Whoa, thanks guys
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
what if I inadvertedly deleted the newest version of makepkg.conf?
Offline
what if I inadvertedly deleted the newest version of makepkg.conf?
Reinstall pacman.
Offline
unfortunately, /etc/makepkg.conf is still the same after reinstalling pacman.
Offline
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
no, after reinstaling there's no /etc/makepkg.conf.pacnew, and the /etc/makepkg.conf is the old one.
Offline
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
ok, i removed the old file and reinstalled pacman. all clear. thanks.
Offline
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