You are not logged in.

#176 2008-12-09 01:57:24

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: New pacman utility, rebuild and optimize packages from source

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 r124

thanks

Offline

#177 2008-12-09 04:03:03

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: New pacman utility, rebuild and optimize packages from source

BaSh wrote:
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 r124

thanks

Aw man I was just about to commit my fix but you were faster sad
Thanks and no worries big_smile

Last edited by Svenstaro (2008-12-09 04:03:19)

Offline

#178 2008-12-09 04:32:08

doorknob60
Member
Registered: 2008-09-29
Posts: 404

Re: New pacman utility, rebuild and optimize packages from source

Sweet, I'm recompiling core right now smile Next comes Pidgin, Pcman, Openbox, and other frequently used apps. (I already compile Firefox because I use firefox-branded form AUR)

Offline

#179 2008-12-09 15:37:39

Cimi
Member
From: Padova, Italy
Registered: 2006-01-16
Posts: 301
Website

Re: New pacman utility, rebuild and optimize packages from source

does the search work? smile


Murrine Creator - GNOME Developer

Offline

#180 2008-12-09 17:56:35

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: New pacman utility, rebuild and optimize packages from source

wow, nice programm. thx a lot smile
is there any way to build packages without root permissions?

Offline

#181 2008-12-09 18:23:33

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: New pacman utility, rebuild and optimize packages from source

arch0r wrote:

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

#182 2008-12-11 15:36:10

Cimi
Member
From: Padova, Italy
Registered: 2006-01-16
Posts: 301
Website

Re: New pacman utility, rebuild and optimize packages from source

any feature requested? someone who wants to help?


Murrine Creator - GNOME Developer

Offline

#183 2008-12-11 19:50:08

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: New pacman utility, rebuild and optimize packages from source

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!? wink
unfortuanetly i'm not that good in shell scripting :>

Offline

#184 2008-12-12 16:33:36

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: New pacman utility, rebuild and optimize packages from source

arch0r wrote:

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

arch0r wrote:

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

#185 2008-12-14 16:28:51

fauno_
Member
Registered: 2008-06-24
Posts: 17

Re: New pacman utility, rebuild and optimize packages from source

maybe an option to not build and install, just build and leave packages on a directory? it would be useful for a custom repo big_smile

(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

#186 2008-12-15 14:10:15

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: New pacman utility, rebuild and optimize packages from source

Though the tool need some more documentation for n00bs like me. Useable examples, etc.

Birger smile

Offline

#187 2008-12-22 22:16:24

Djon
Member
Registered: 2007-12-21
Posts: 17

Re: New pacman utility, rebuild and optimize packages from source

Hi!

I have got some problems with pacbuilder, it writes only the follow errormessage: "PKGBUILD not found!". What I make wrong?

Djon

Offline

#188 2008-12-30 14:09:17

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: New pacman utility, rebuild and optimize packages from source

fauno_ wrote:

maybe an option to not build and install, just build and leave packages on a directory? it would be useful for a custom repo big_smile

I would really like to have such an option as well. Could you please implement this?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#189 2009-01-10 13:05:23

proc
Member
From: Italy
Registered: 2006-11-27
Posts: 71

Re: New pacman utility, rebuild and optimize packages from source

Djon wrote:

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

#190 2009-01-13 19:38:30

twizller
Member
From: Hamilton, ON
Registered: 2007-10-24
Posts: 9

Re: New pacman utility, rebuild and optimize packages from source

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

Offline

#191 2009-01-15 00:22:56

twizller
Member
From: Hamilton, ON
Registered: 2007-10-24
Posts: 9

Re: New pacman utility, rebuild and optimize packages from source

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]

Offline

#192 2009-02-14 18:35:50

kras1001
Member
From: Bulgaria
Registered: 2008-12-18
Posts: 39

Re: New pacman utility, rebuild and optimize packages from source

twizller wrote:
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

#193 2009-02-14 19:01:45

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: New pacman utility, rebuild and optimize packages from source

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

#194 2009-02-14 19:21:39

kras1001
Member
From: Bulgaria
Registered: 2008-12-18
Posts: 39

Re: New pacman utility, rebuild and optimize packages from source

pogeymanz wrote:

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

#195 2009-02-14 23:25:56

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: New pacman utility, rebuild and optimize packages from source

Yep. And uncommenting line 583 does nothing.

I guess I'll patiently wait for the next version.

Offline

#196 2009-02-21 20:53:41

TBomB
Member
From: NH, USA
Registered: 2009-02-12
Posts: 28

Re: New pacman utility, rebuild and optimize packages from source

hmm 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 hmm

Edit: nevermind, problem fixed with latest source code from google.

Last edited by TBomB (2009-02-21 21:22:58)

Offline

#197 2009-02-21 20:57:08

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: New pacman utility, rebuild and optimize packages from source

pacbuilder doesn't work, no code activity since December -08. Project seems dead.

Offline

#198 2009-03-01 23:18:25

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 323
Website

Re: New pacman utility, rebuild and optimize packages from source

% 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

#199 2009-03-05 09:35:36

exmethix
Member
From: Paderborn
Registered: 2009-02-28
Posts: 10
Website

Re: New pacman utility, rebuild and optimize packages from source

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

#200 2009-04-15 17:29:15

resadent
Member
Registered: 2008-05-17
Posts: 35

Re: New pacman utility, rebuild and optimize packages from source

Nice work. Thanks.

Offline

Board footer

Powered by FluxBB