You are not logged in.
Pages: 1
$ cat /etc/abs.conf | grep ABSROOT
[ "$ABSROOT" = "" ] && ABSROOT="/var/abs/"
$ sudo srcpac -S sonata
Error: The ABSROOT environment variable is not defined.
Then I tryed to export ABSROOT:
$ export ABSROOT="/var/abs"
$ echo $ABSROOT
/var/abs
$ sudo srcpac -S sonata
Error: The ABSROOT environment variable is not defined.
Sorry, if my English is not very well.
Offline
That's a small bug in srcpac because it's looking for the abs.conf in the old (and now wrong) location.
The srcpac you can install at the moment is actually broken and won't work due to a number of different reasons, makepkg will complain when your run srcpac as root/sudo for example (but, there's no other way to do it - you could use the -asroot option though but that's not recommended).
I've upgraded srcpac to work again, you can find it in my git repository [1] if you like to give it a try (note that the configuration has slightly changed, with this version you'll have to use config files like /etc/srcpac.d/<packagename> - one config file per package - these files should contain one sed expression per line).
The maintainer of srcpac is aware of this and agreed to the changes but hasn't updated it yet (everybody is on vacation nowadays).
[1] http://git.chimeric.de/?p=srcpac
Last edited by chimeric (2008-06-18 15:39:42)
Offline
Just wanted to let you know that srcpac has been updated!
Offline
Thanks
Sorry, if my English is not very well.
Offline
sadly I think something broke it
I am not able to build through it
it looks there is a missuse from the makepkg, anyway it is important to know if srcpac is "Archlinux supported" or not. It is in the /var/abs/extra/srcpac , which i thought are production ready
I am trying to convince me to start using Arch, but such issues really upsets me
and I didn't found similar tool for the task.
[root@myhost ~]# srcpac -Syb subversion
==> Starting ABS sync...
receiving file list ... done
sent 25 bytes received 238929 bytes 43446.18 bytes/sec
total size is 19478406 speedup is 81.52
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
Source Targets: expat libsasl libldap neon apr unixodbc apr-util subversion
Proceed with upgrade? [Y/n]
makepkg (pacman) 3.2.1
Usage: /usr/bin/makepkg [options]
Options:
-A, --ignorearch Ignore incomplete arch field in PKGBUILD
-c, --clean Clean up work files after build
-C, --cleancache Clean up source files from the cache
-d, --nodeps Skip all dependency checks
-e, --noextract Do not extract source files (use existing src/ dir)
-f, --force Overwrite existing package
-g, --geninteg Generate integrity checks for source files
-h, --help This help
-i, --install Install package after successful build
-L, --log Log package build process
-m, --nocolor Disable colorized output messages
-o, --nobuild Download and extract files only
-p <buildscript> Use an alternate build script (instead of 'PKGBUILD')
-r, --rmdeps Remove installed dependencies after a successful build
-R, --repackage Repackage contents of pkg/ without building
-s, --syncdeps Install missing dependencies with pacman
--allsource Generate a source-only tarball including downloaded sources
--asroot Allow makepkg to run as root user
--holdver Prevent automatic version bumping for development PKGBUILDs
--source Generate a source-only tarball without downloaded sources
These options can be passed to pacman:
--noconfirm Do not ask for confirmation when resolving dependencies
--noprogressbar Do not show a progress bar when downloading files
If -p is not specified, makepkg will look for 'PKGBUILD'
Error: Failed to build "expat"
Offline
I decided to give Arch Linux a go on my Samsung nc10 (Atom cpu), but i have really hard time how to make it work correctly
I just want that my real PC, produce all the new packages with the optimal CFLAGS for the ATOM
then I need to keep track on these when updating, so every update should be first compiled
I've thought that the correct tool is srcpac , it can flags what is to be rebuild etc
sadly it doesnt work right now
Is the pacbuilder THE correct tool for this job using the " (-S) -u, --sysupgrade build the updated packages" ?
I can also nicely rebuild the system
thanks for the good job
I hope there will be a tool that will walk the road to the core, as there is real need for such.
Offline
Pages: 1