You are not logged in.
Hi,
When i launch :
sudo aurbuild -b <name>
The compilation is ok :
creating /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild
copying build/lib/Aurbuild/aurparse.py -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild
copying build/lib/Aurbuild/find.py -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild
copying build/lib/Aurbuild/version.py -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild
copying build/lib/Aurbuild/execute.py -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild
copying build/lib/Aurbuild/pacman.py -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild
copying build/lib/Aurbuild/login.py -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild
copying build/lib/Aurbuild/__init__.py -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild
byte-compiling /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild/aurparse.py to aurparse.pyc
byte-compiling /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild/find.py to find.pyc
byte-compiling /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild/version.py to version.pyc
byte-compiling /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild/execute.py to execute.pyc
byte-compiling /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild/pacman.py to pacman.pyc
byte-compiling /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild/login.py to login.pyc
byte-compiling /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/Aurbuild/__init__.py to __init__.pyc
running install_scripts
creating /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/bin
copying build/scripts-2.5/aurbuild -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/bin
changing mode of /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/bin/aurbuild to 755
running install_data
creating /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/man
creating /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/man/man1
copying aurbuild.1 -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/man/man1
creating /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/share
creating /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/share/doc
creating /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/share/doc/aurbuild-1.7.7
copying COPYING -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/share/doc/aurbuild-1.7.7
copying README -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/share/doc/aurbuild-1.7.7
copying AUTHORS -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/share/doc/aurbuild-1.7.7
copying CHANGELOG -> /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/share/doc/aurbuild-1.7.7
running install_egg_info
Writing /var/tmp/aurbuild/build/aurbuild.24695/aurbuild/pkg/usr/lib/python2.5/site-packages/aurbuild-1.7.7-py2.5.egg-info
==> Compressing man pages...
==> Generating .FILELIST file...
==> Generating .PKGINFO file...
==> Compressing package...
==> Finished making: aurbuild (Wed Mar 28 11:29:25 WET 2007)
But after, i've this error :
Error: could not find the built package.
In some cases this might mean the PKGDEST location does not have write and execute permissions
for the `aurbuild' user or group.
How to fix it ?
Offline
Same here. I know the problem but I can't solve it
Offline
i dont use sudo & i havent ever seen that happening. have u guys edited /etc/makepkg.conf and change the PKGDEST line?
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
No, the variable PKGDEST is commented. This is my makepkg.conf :
#
# /etc/makepkg.conf
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The FTP/HTTP download utility that makepkg should use to acquire sources
export FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate"
#export FTPAGENT="/usr/bin/snarf"
#export FTPAGENT="/usr/bin/lftpget -c"
#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
export CARCH="i686"
export CHOST="i686-pc-linux-gnu"
#-- Exclusive: Pentium 4
#export CFLAGS="-march=pentium4 -O3 -pipe"
#export CXXFLAGS="-march=pentium4 -O3 -pipe"
#-- Exclusive: will only run on i686 or higher (P6, Athlon)
export CFLAGS="-march=i686 -O2 -pipe"
export CXXFLAGS="-march=i686 -O2 -pipe"
#-- Optimized: will run on any x86, but optimized for i686
#export CFLAGS="-mcpu=i686 -O2 -pipe"
#export CXXFLAGS="-mcpu=i686 -O2 -pipe"
#-- Make Flags: change this for DistCC/SMP systems
export MAKEFLAGS="-j1"
#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
#-- Fakeroot: for building packages as a non-root user
export USE_FAKEROOT="y"
#-- DistCC: a distributed C/C++/ObjC compiler (modify MAKEFLAGS too)
export DISTCC="n"
#-- A space-delimited list of hosts running in the DistCC cluster
export DISTCC_HOSTS=""
#-- Colorized output messages
export USE_COLOR="y"
#########################################################################
# GLOBAL PACKAGE OPTIONS
#########################################################################
#
#-- Don't strip symbols from binaries/libraries
#export NOSTRIP="1"
#-- Keep doc and info directories
#export KEEPDOCS="1"
#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
#-- Destination: specify a fixed directory where all packages will be placed
#export PKGDEST=/var/abs/result
#-- Packager: name/email of the person or organization building packages
export arch=(i686)
export BUILDENV="fakeroot"
NB: i've the same problem with a root shell (without sudo).
Offline
u should uncomment and edit it if u wanna save the made pkgbuilds to the destination you want
Last edited by dolby (2007-03-28 13:35:54)
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
[ ~ ] > aurbuild -b pype
Traceback (most recent call last):
File "/usr/bin/aurbuild", line 517, in <module>
tar, safe_status = get_tarball(argo)
File "/usr/bin/aurbuild", line 250, in get_tarball
if re.search('^' + pkg + ' ', end[2]):
IndexError: list index out of range
[ ~ ] >
no working here ;-(
Mr Green
Offline
not working too also setting PKGDEST
Offline
replace line 615 with this
elif os.path.exists(v3_pkgpath):
Offline
Thanks T-Dawg, it's work !
Offline
It works! Thanks!
Offline
am getting this on every package
Cannot open: Permission denied
tar: Error is not recoverable: exiting now
gzip: stdout: Broken pipe
problm solved...
Last edited by sickhate (2007-04-16 22:52:29)
Its a sick world we live in....
Offline
replace line 615 with this
elif os.path.exists(v3_pkgpath):
but there are only 79 lines in makepkg.conf.. which line u r referring to?
Offline
replace line 615 with this
elif os.path.exists(v3_pkgpath):
but there are only 79 lines in makepkg.conf.. which line u r referring to?
Offline
T-Dawg wrote:replace line 615 with this
elif os.path.exists(v3_pkgpath):
but there are only 79 lines in makepkg.conf.. which line u r referring to?
I was talking about /usr/bin/aurbuild.
This problem was fixed a while ago. If you have trouble upgrading, try it manually from aur and makepkg
Offline
thanks. but u still need to make the change to update aurbuild with aurbuild
Offline