You are not logged in.
1) You should not have to call pacbuilder as root if you only want to display help or gcc info.
2) Even though I'm using --noconfirm, I still have to confirm every time Pacbuilder wants to install a dependency, I don't think that's desired behavior, is it?
1) fixed in r123
2) fixed in r124
thanks
Offline
Svenstaro wrote:1) You should not have to call pacbuilder as root if you only want to display help or gcc info.
2) Even though I'm using --noconfirm, I still have to confirm every time Pacbuilder wants to install a dependency, I don't think that's desired behavior, is it?1) fixed in r123
2) fixed in r124thanks
Aw man I was just about to commit my fix but you were faster
Thanks and no worries
Last edited by Svenstaro (2008-12-09 04:03:19)
Offline
Sweet, I'm recompiling core right now Next comes Pidgin, Pcman, Openbox, and other frequently used apps. (I already compile Firefox because I use firefox-branded form AUR)
Offline
wow, nice programm. thx a lot
is there any way to build packages without root permissions?
Offline
is there any way to build packages without root permissions?
maybe we could require root permissions only when a package (explicit or deps) must be installed
Offline
downloading and building the source under root is just one issue which is imho quite dangerous above all when the app is running for hours.
defining a path/folder where to build the packages isn't that hard to realise, isn't it!?
unfortuanetly i'm not that good in shell scripting :>
Offline
downloading and building the source under root is just one issue which is imho quite dangerous above all when the app is running for hours.
ok, "fixed" in r128. Now pacbuilder doesn't require root permissions, only use sudo when it install/remove a package
defining a path/folder where to build the packages isn't that hard to realise, isn't it!?
I'll work on this
we need suggestions, thanks
Offline
maybe an option to not build and install, just build and leave packages on a directory? it would be useful for a custom repo
(or there is already there but i'm not seeing it? i've just read the --help but that's the impression i have)
Offline
Though the tool need some more documentation for n00bs like me. Useable examples, etc.
Birger
Offline
Hi!
I have got some problems with pacbuilder, it writes only the follow errormessage: "PKGBUILD not found!". What I make wrong?
Djon
Offline
maybe an option to not build and install, just build and leave packages on a directory? it would be useful for a custom repo
I would really like to have such an option as well. Could you please implement this?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Hi!
I have got some problems with pacbuilder, it writes only the follow errormessage: "PKGBUILD not found!". What I make wrong?
Djon
Be sure to have rsync installed and not to have a custom CARCH. If you need a custom CARCH you will have to modify line 584
$SYNCCMD $SYNCARGS ${SYNCSERVER}::abs/${CARCH}/${REPO}/${1} ${BUILD_DIR}
into
$SYNCCMD $SYNCARGS ${SYNCSERVER}::abs/i686/${REPO}/${1} ${BUILD_DIR}
otherwise pacbuilder won't be able to download PKGBUILD files.
Offline
Hi!
I have got some problems with pacbuilder, it writes only the follow errormessage: "PKGBUILD not found!". What I make wrong?
Djon
Im having the same problem as him, im doing 'sudo pacbuilder --gccinfo --builddeps -n --world ' and for some packages, it will work fine and install, but for alot of them i get the "PKGBUILD not found" error, but the thing is, if i stop the build and start it again fresh after about 5-10m, the packages that failed start to work, but than others fail.
Anyone experience this problem and know of a solution?
Thank you
Offline
Djon wrote:Hi!
I have got some problems with pacbuilder, it writes only the follow errormessage: "PKGBUILD not found!". What I make wrong?
Djon
Im having the same problem as him, im doing 'sudo pacbuilder --gccinfo --builddeps -n --world ' and for some packages, it will work fine and install, but for alot of them i get the "PKGBUILD not found" error, but the thing is, if i stop the build and start it again fresh after about 5-10m, the packages that failed start to work, but than others fail.
Anyone experience this problem and know of a solution?
Thank you
I found the solution, in this http://bbs.archlinux.org/viewtopic.php? … 69#p480669 thread post #4
here is what did it, thank you KaoDome
Though at the time of writing the revision 132 is not fully working. The line 583 of the script must be uncommented in order to get the PKGBUILDs from ABS. The file is /usr/bin/pacbuilder (once installed).[/i]
Offline
twizller wrote:Djon wrote:Hi!
I have got some problems with pacbuilder, it writes only the follow errormessage: "PKGBUILD not found!". What I make wrong?
Djon
Im having the same problem as him, im doing 'sudo pacbuilder --gccinfo --builddeps -n --world ' and for some packages, it will work fine and install, but for alot of them i get the "PKGBUILD not found" error, but the thing is, if i stop the build and start it again fresh after about 5-10m, the packages that failed start to work, but than others fail.
Anyone experience this problem and know of a solution?
Thank you
I found the solution, in this http://bbs.archlinux.org/viewtopic.php? … 69#p480669 thread post #4
here is what did it, thank you KaoDome
KaoDome wrote:Though at the time of writing the revision 132 is not fully working. The line 583 of the script must be uncommented in order to get the PKGBUILDs from ABS. The file is /usr/bin/pacbuilder (once installed).[/i]
I having the same problem. I uncommented line 583 in /usr/bin/pacbuilder, but nothing happen? Look what I see in console:
[xxxx@XXXXXXXX ~]#pacbuilder --core
...........................................
==> xinetd
==> zlib
Do you want to continue? (Y/n): y
==> Building acl [package 1 of 134] ... installed!
==> Building attr [package 2 of 134] ... PKGBUILD not found!
==> Building autoconf [package 3 of 134] ... installed!
==> Building automake [package 4 of 134] ... PKGBUILD not found!
==> Building bash [package 5 of 134] ... installed!
==> Building bin86 [package 6 of 134] ... PKGBUILD not found!
==> Building binutils [package 7 of 134] ... installed!
==> Building bison [package 8 of 134] ... PKGBUILD not found!
==> Building bzip2 [package 9 of 134] ... installed!
==> Building ca-certificates [package 10 of 134] ... PKGBUILD not found!
I thing there is a repetition: one good, one not good, one good, one not good...
After that I try install automake previosly(Building automake [package 4 of 134] ... PKGBUILD not found!) end I have no problem, package download and install for a 5-6 seconds:
[xxxx@XXXXXXXX ~]# pacbuilder -Sbkvn automake
-------------------------------
PacBuilder, by Andrea Cimitan
-------------------------------
==> WARNING: Previous build detected. Do you want to resume? (Y/n): n
==> WARNING: Your previous build will be overwritten. Continue? (y/N): y
The following packages will be built:
==> automake
==> Building automake [package 1 of 1] ...
==> Making package: automake 1.10.2-1 i686 (Sat Feb 14 20:25:00 PST 2009)
==> WARNING: Running makepkg as root...
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading automake-1.10.2.tar.gz...
--2009-02-14 20:25:01-- ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.gz
=> `automake-1.10.2.tar.gz.part'
Resolving ftp.gnu.org... 140.186.70.20
Connecting to ftp.gnu.org|140.186.70.20|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /gnu/automake ... done.
==> SIZE automake-1.10.2.tar.gz ... 1232374
==> PASV ... done. ==> RETR automake-1.10.2.tar.gz ... done.
Length: 1232374 (1.2M)
100%[=========================================================================>] 1,232,374 423K/s in 2.8s
2009-02-14 20:25:05 (423 KB/s) - `automake-1.10.2.tar.gz.part' saved [1232374]
==> Validating source files with md5sums...
automake-1.10.2.tar.gz ... Passed
==> Extracting Sources...
-> bsdtar -x -f automake-1.10.2.tar.gz
==> Starting build()...
checking build system type... i686-pc-linux-gnu
............................................................
make[1]: Leaving directory `/tmp/pacbuilder/build/automake/src/automake-1.10.2/tests'
==> Tidying install...
-> Compressing man pages...
-> Stripping debugging symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Adding install script...
-> Compressing package...
==> Finished making: automake 1.10.2-1 i686 (Sat Feb 14 20:25:13 PST 2009)
==> Installing automake-1.10.2-1-i686.pkg.tar.gz [package 1 of 1] ...installed!
The thing is same whit other packages, I successfully install other packages one by one?
What is the problem?
Offline
Does anyone know why every other package I try to build doesn't work?
I just ran pacbuilder --core:
Do you want to continue? (Y/n): y
==> Building acl [package 1 of 146] ... installed!
==> Building attr [package 2 of 146] ... PKGBUILD not found!
==> Building autoconf [package 3 of 146] ... installed!
==> Building automake [package 4 of 146] ... PKGBUILD not found!
==> Building bash [package 5 of 146] ... installed!
==> Building bin86 [package 6 of 146] ... PKGBUILD not found!
==> Building binutils [package 7 of 146] ... Password:
error!
==> Building bison [package 8 of 146] ... Password:
installed!
==> Building bridge-utils [package 9 of 146] ... PKGBUILD not found!
==> Building bzip2 [package 10 of 146] ... installed!
==> Building ca-certificates [package 11 of 146] ... PKGBUILD not found!
==> Building coreutils [package 12 of 146] ... Password:
installed!
==> Building cpio [package 13 of 146] ... PKGBUILD not found!
==> Building cracklib [package 14 of 146] ... installed!
==> Building cryptsetup [package 15 of 146] ... PKGBUILD not found!
==> Building dash [package 16 of 146] ... installed!
==> Building db [package 17 of 146] ... PKGBUILD not found!
==> Building dbus-core [package 18 of 146] ... installed!
==> Building dcron [package 19 of 146] ... PKGBUILD not found!
==> Building device-mapper [package 20 of 146] ... installed!
==> Building dhcpcd [package 21 of 146] ... PKGBUILD not found!
==> Building dialog [package 22 of 146] ... installed!
==> Building diffutils [package 23 of 146] ... PKGBUILD not found!
==> Building dmapi [package 24 of 146] ... makepkg failed!
==> Building dmraid [package 25 of 146] ... makepkg failed!
Offline
Does anyone know why every other package I try to build doesn't work?
I just ran pacbuilder --core:
Do you want to continue? (Y/n): y ==> Building acl [package 1 of 146] ... installed! ==> Building attr [package 2 of 146] ... PKGBUILD not found! ==> Building autoconf [package 3 of 146] ... installed! ==> Building automake [package 4 of 146] ... PKGBUILD not found! ==> Building bash [package 5 of 146] ... installed! ==> Building bin86 [package 6 of 146] ... PKGBUILD not found! ==> Building binutils [package 7 of 146] ... Password: error! ==> Building bison [package 8 of 146] ... Password: installed! ==> Building bridge-utils [package 9 of 146] ... PKGBUILD not found! ==> Building bzip2 [package 10 of 146] ... installed! ==> Building ca-certificates [package 11 of 146] ... PKGBUILD not found! ==> Building coreutils [package 12 of 146] ... Password: installed! ==> Building cpio [package 13 of 146] ... PKGBUILD not found! ==> Building cracklib [package 14 of 146] ... installed! ==> Building cryptsetup [package 15 of 146] ... PKGBUILD not found! ==> Building dash [package 16 of 146] ... installed! ==> Building db [package 17 of 146] ... PKGBUILD not found! ==> Building dbus-core [package 18 of 146] ... installed! ==> Building dcron [package 19 of 146] ... PKGBUILD not found! ==> Building device-mapper [package 20 of 146] ... installed! ==> Building dhcpcd [package 21 of 146] ... PKGBUILD not found! ==> Building dialog [package 22 of 146] ... installed! ==> Building diffutils [package 23 of 146] ... PKGBUILD not found! ==> Building dmapi [package 24 of 146] ... makepkg failed! ==> Building dmraid [package 25 of 146] ... makepkg failed!
You have my problem. If you don't want type Password: after some packages(I don't know why only some of them) before start pacbuilder I start: sudo -s
Offline
Yep. And uncommenting line 583 does nothing.
I guess I'll patiently wait for the next version.
Offline
When I try running
sudo pacbuilder -Sv nano for example
I get
Running MAKEPKG as ROOT is a bad idea and can cause permanent, catastrophic damage to your system. If you wish to run as root, please use the --asroot option.
I was unable to install these packages: nano
running the command as normal user requires me to enter a password which then leads to the same error
Edit: nevermind, problem fixed with latest source code from google.
Last edited by TBomB (2009-02-21 21:22:58)
Offline
pacbuilder doesn't work, no code activity since December -08. Project seems dead.
Offline
% sudo pacbuilder -S xfce4
-------------------------------
PacBuilder, by Andrea Cimitan
-------------------------------
The following packages will be built:
==> xfce4
Do you want to continue? (Y/n):
==> Building xfce4 [package 1 of 1] ... PKGBUILD not found!
==> ERROR: I was unable to install these packages: xfce4
% sudo pacman -S xfce4
xfce4 package not found, searching for group...
:: group xfce4 (including ignored packages):
exo gtk-xfce-engine libxfce4menu libxfce4util libxfcegui4 mousepad orage squeeze terminal thunar xfce-utils xfce4-appfinder
xfce4-icon-theme xfce4-mixer xfce4-panel xfce4-session xfce4-settings xfconf xfdesktop xfprint xfwm4 xfwm4-themes
:: Install whole content? [Y/n]
So, this is more like a feature request: please, add support for groups!
Offline
I have also tried to use Pacbuilder.. Installed Successfull... tried to make world.... didn't work. Many PKGBUILD could not be resolved... I tried the fixes described here.. still the same.
Would be amazing if someone would continue this project!
My Stuff (selfhosted / not 24h online)
Offline
Nice work. Thanks.
Offline