You are not logged in.

#51 2006-01-03 19:39:01

Susu
Member
From: Germany
Registered: 2005-11-11
Posts: 191
Website

Re: aurbuild

[sushi@ArchHeaven ~]$ aurbuild -su
Traceback (most recent call last):
  File "/usr/bin/aurbuild", line 508, in ?
    aur_cans = get_foreign()
  File "/usr/bin/aurbuild", line 469, in get_foreign
    repo_packages += os.listdir(db_root + repo)
OSError: [Errno 20] Not a directory: '/var/lib/pacman/wget-log'


Whats wrong?


Album reviews (in german): http://schallwelle.filzo.de

Offline

#52 2006-01-04 00:03:47

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

Susu:

Download the PKGBUILD here  run makepkg and install it. Should work.

Offline

#53 2006-01-05 03:25:41

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

Sorry for the constant updates but this one is fairly important.

--builddeps will no longer build its dependencies in /var/abs through sudo makepkg. Now relevant build files from dependencies are copied into aurbuild's work directory in $HOME/.aurbuild and built there as normal user -following the dependency tree of course.

*Several bug fixes. --updgrade should cause no problems now.

0.9.2

Offline

#54 2006-01-19 18:15:22

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: aurbuild

I´m using aurbuild to build and install packages from aur.

But there´s something that makes me confused.

I tried to install 3 pacakges with AUR. All building stops at some point with an error.
Than i tried to build the packages bye downloading the PKGBUILD and use makepkg (sudo makepkg -ci). That way work for all 3 packages.

You´ve got any ideas what the problem could be?

Offline

#55 2006-01-19 18:57:52

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: aurbuild

Which packages were they?

Offline

#56 2006-01-19 19:08:05

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: aurbuild

gpsim
ginac
ktechlab

Offline

#57 2006-01-19 21:49:45

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

Legout wrote:

sudo makepkg -ci

ok here's the thing. If any of you people cannot build a package with aurbuild and suspect it is the program causeing the trouble, down load the build files and build the package as user not root. If it builds then I need to know and give me as many details as possible.
The problem with building as root is that a poor PKGBUILD could have allowed the building to modify the root filesystem instead of keeping in pkg/ as it should.
The first two packages you mentioned build fine for me. Were you getting errors from makepkg indicating a failed build (Error building, aborting...) or stack traces from aurbuild? If so please post them

Offline

#58 2006-01-20 08:36:39

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: aurbuild

I don´ know what happens since yesterday.

But today i could build all 3 packages with aurbuild.

Offline

#59 2006-01-21 03:30:09

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

Made some finishing touches for1.0 release. This will be it for development (yes Dusty it is).
If you experience any trouble ie. bugs, aur updates, etc, etc. please notify me here or by email.

Offline

#60 2006-03-01 23:11:58

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

Re: aurbuild

[macieks@Komp_607 ../abs/local/openoffice-pl]$ aurbuild -su
kadu-svn: no updates
openoffice-pl: no updates

  Target: skype_dsp_hijacker-0.6-3

  Proceed with upgrade?  [Y/n] 

ENTER

ksubeditor: no updates
xmbmon: no updates
:: dvdauthorwizard: local (0.96-1) appears to be newer than aur (0.93-1)
unace: no updates
:: openoffice-spell-pl: local (20060131-1) appears to be newer than aur (20051029-1)
aurbuild: no updates

and nothing... why? when i type Y ENTER it builds the pkg. So mayby the [Y/n] should be replaced with [y/n] ?


EDIT:
I suggest a little patch:
lines:

if choice != 'y' and choice != 'yes':

should be replaced with:

if choice != 'y' and choice != 'yes' and choice != '':

Offline

#61 2006-03-02 03:10:52

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

Thanks for pointing that out MAC!EK, its been uploaded to aur.

I also added a new swtich -o, --makepkg-opts= to pass options to makepkg during the build.

manpage wrote:

       -o, --makepkg-opts=OPTS
              This will allow the passing of options directly to makepkg during the build process. It uses the single character format (-xyz  versus
              --xaa  --yaa  --zaa) to allow more than one option to be passed at a time. Please note that aurbuild will always pass -f to makepkg by
              default and that some options will not work under non-root operation. Also note that the use of this switch is  optional  and  normaly
              not needed to build most packages. Below is an example of how to use:

       Example:
              makepkg -Bn --> aurbuild -so Bn foo or aurbuild --syncdeps --makepkg-opts=Bn foo

Offline

#62 2006-03-02 03:48:34

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Offline

#63 2006-03-02 03:54:25

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

I couldn't stand to update it just for a yes/no bug.
'Twas very simple.

Offline

#64 2006-03-02 09:56:54

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

Re: aurbuild

[macieks@Komp_607 ~]$ aurbuild -su         
kadu-svn: no updates
openoffice-pl: no updates
skype_dsp_hijacker: no updates
ksubeditor: no updates
xmbmon: no updates
:: dvdauthorwizard: local (0.96-1) appears to be newer than aur (0.93-1)
unace: no updates
:: openoffice-spell-pl: local (20060131-1) appears to be newer than aur (20051029-1)

  Target: aurbuild-1.1-1

  Proceed with upgrade?  [Y/n] 

ENTER
and it opens nano with aurbuild.install before it shows the menu with options, mayby it's intended.

After upgrade aurbuild -s aurbuild shows the same.

Offline

#65 2006-03-02 11:07:28

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

Yes, it is intentional:

phrakture wrote:

Feature Request #167.32:
If an install file exists, you are forced to look at it unless the package is marked safe - the reason being that malicious .install files are the only real security hole here, due to the 'sudo' installation...

Offline

#66 2006-03-02 11:53:26

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

Re: aurbuild

oh i understand now... aurbuild is not marked SAFE after your update smile

Offline

#67 2006-03-02 19:13:05

stavrosg
Member
From: Rhodes, Greece
Registered: 2005-05-01
Posts: 330
Website

Re: aurbuild

YAFR (Yet Another Feature Request): I'd like to see an option to just download the package's tarball from the aur to the current directory since now it just vaporizes when aurbuild exits.

I've found that in a lot of cases some customisation of the pkgbuild is requred before the package suits me, and this might need a couple (or more) tryies, which is inconvenient through aurbuild's UI (as it is the repeated downloading of the tarball).
On the other hand, aurbuild is far more convenient in searching packages in the aur than the web interface.I miss only this one smile

Offline

#68 2006-03-03 01:17:28

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

hmm.. thats a good point I thought about this a few times myself. I'd like to expand on that even -maybe a --download switch to download and extract the files in ~/.aurbuild and --resume switch to finish it off which will look that directory for the build files instead of downloading from aur again. Just an idea churning. I'll have to work on it later, I've been a bit busy lately.

EDIT: or on second thought maybe a --confirm switch which will prompt the user to confirm aurbuild to exit once you have a build you like otherwise loop through the menu stage and on. That way you can keep your changes to the buildfiles...

Offline

#69 2006-03-08 04:15:25

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

ok, added a --save and --local swtich. Hopefully this will work out for those of you wanting to keep the build files so you may fine tune them and re-run the program without having to download again from AUR.

manpage wrote:

       -e, --save
              Save  the  build files extracted from the tarball in AUR to the directory ~/.aursave/<PKGNAME>. If a dependency installation method is
              not specified, the files will be saved and the program will exit. If one is specified, the files will be saved after  the  menu  stage
              then continue on as normal.

       -l, --local
              Look  in ~/.aursave for the build files instead of AUR. Because this does a top-level search, you are free to re-organize the contents
              of ~/.aursave into logical parent and child directories if you so wish provided that 1) The orginal  directory  name  of  the  package
              remains the same and 2) No two directory names exist for the same package. You must specify a dependency installation method with this
              switch. Note that these build files are copied into ~/.aurbuild for the build and that any changes made to them during the menu  stage
              will not change those in ~/.aursave. If you do wish to keep those changes, simply append the --save swtich.

http://aur.archlinux.org/packages.php?K=aurbuild

Offline

#70 2006-03-19 15:06:04

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

Re: aurbuild

Hi everybody!

I'm using aurbuild for a couple of days now. After installing XMLTV (I'm going to use MythTV later on) I wanted to install all the dependencies needed to run xmltv. And here's the problem: Most of them are only available within AUR. So what I want to know is if there is a possible way to install missing dependencies using aurbuild? I don't want to end up dealing with dependencies like I had to do back when using RPMs. If aurbuild cannot handle it, is there another way to deal with it?

Is there any reason why aurbuild doesn't solve dependency problems???

Thanks!

Offline

#71 2006-03-19 19:40:17

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

it will handle dependencies that are found in 'official' repos automatically but not those found in unsupported. The reason being that automaticaly installing dependencies from unsupported is not 'safe' without carefully examining the PKGBUILD -as everything in unsupported can be potentionaly dangerous to your system.  Yes, I could run them through the menu first but I'm afraid theat would lead to confusion and lazyness to even check it. Honestly, I'm really not comfortable with the idea at all.
You can however, determine your dependencies from unsupported and add them yourself in one shot as follows:

aurbuild -s dep1 dep2 dep3 pkg

Offline

#72 2006-03-20 07:11:23

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

Re: aurbuild

Hi!

Thanks for the quick reply!
Well I was more thinking of an extra option (like aurbuild -r or something) so the user can decide for himself if he want's to take the risk. Like it's already done with the options -s or -b when he decides to use existing dependencies or build them from abs. But anyway.... it was only a thought....  smile

Dealing with dependencies by using the as arguments can also bee a pain in the butt, because in the case of xmltv sometimes the dependencies also have things they depend on which again are only available in the AUR. I did this once and it was pretty much the same like dealing with rpms. So maybe somebody has some better idea about that..... smile

Thanks anyway!

Offline

#73 2006-03-20 20:50:19

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

Re: aurbuild

When I'm aurbuilding a package dependend on mplayer and have mplayer-cvs installed aurbuild reports dependency missing.

Offline

#74 2006-03-21 02:22:16

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

logic error -I never made it look at the provides info in the database. Should be fixed now, just update it.

Offline

#75 2006-03-28 15:20:58

Insane-Boy
Member
Registered: 2006-02-27
Posts: 243

Re: aurbuild

can you add a option which skip depcheck ?

Offline

Board footer

Powered by FluxBB