[aur-general] makechrootpkg

2010-08-24 Thread Nathan O
Is there a way to make 'makechrootpkg' use clyde so it will install missing
dependencies from AUR? I looked at /etc/makepkg.conf /etc/pacman.conf and
couldn't find an option. I also looked at the source for makechrootpkg and
didn't see anything I could change to make it use clyde instead of pacman.

Thanks


Re: [aur-general] makechrootpkg

2010-08-24 Thread Ike Devolder
On Tuesday 24 August 2010 08:18:23 Nathan O wrote:
 Is there a way to make 'makechrootpkg' use clyde so it will install missing
 dependencies from AUR? I looked at /etc/makepkg.conf /etc/pacman.conf and
 couldn't find an option. I also looked at the source for makechrootpkg and
 didn't see anything I could change to make it use clyde instead of pacman.
 
 Thanks

http://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

all unrecognized args get passed to makepkg, so maybe, there is a need to 
install sudo in your chroot and then you can use '-s' and '-r' opions to 
makepkg for the dependency resolving


Re: [aur-general] makechrootpkg

2010-08-24 Thread Nathan O
On Tue, Aug 24, 2010 at 1:31 AM, Ike Devolder ike.devol...@gmail.comwrote:

 On Tuesday 24 August 2010 08:18:23 Nathan O wrote:
  Is there a way to make 'makechrootpkg' use clyde so it will install
 missing
  dependencies from AUR? I looked at /etc/makepkg.conf /etc/pacman.conf and
  couldn't find an option. I also looked at the source for makechrootpkg
 and
  didn't see anything I could change to make it use clyde instead of
 pacman.
 
  Thanks


 http://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

 all unrecognized args get passed to makepkg, so maybe, there is a need to
 install sudo in your chroot and then you can use '-s' and '-r' opions to
 makepkg for the dependency resolving


I did sudo pacman -S sudo -r /aur/ and retried and it still doesn't find the
package in AUR.


Re: [aur-general] makechrootpkg

2010-08-24 Thread Ike Devolder
On Tuesday 24 August 2010 08:36:39 Nathan O wrote:
 On Tue, Aug 24, 2010 at 1:31 AM, Ike Devolder ike.devol...@gmail.comwrote:
  On Tuesday 24 August 2010 08:18:23 Nathan O wrote:
   Is there a way to make 'makechrootpkg' use clyde so it will install
  
  missing
  
   dependencies from AUR? I looked at /etc/makepkg.conf /etc/pacman.conf
   and couldn't find an option. I also looked at the source for
   makechrootpkg
  
  and
  
   didn't see anything I could change to make it use clyde instead of
  
  pacman.
  
   Thanks
  
  http://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chr
  oot
  
  all unrecognized args get passed to makepkg, so maybe, there is a need to
  install sudo in your chroot and then you can use '-s' and '-r' opions to -
c
  makepkg for the dependency resolving
 
 I did sudo pacman -S sudo -r /aur/ and retried and it still doesn't find
 the package in AUR.

Did you follow the steps in the wiki to create the chroot ?

usage makechrootpkg [options] -r chrootdir [--] [makepkg args]

so for example makechrootpkg -c -r /home/myhome/archchroot -- -s -c -r
the first -c will clean your chroot
the first -r says where you have put your chroot
-- means the rest of the args goto makepkg
-s == get the deps as stated in the PKGBUILD
-c == cleanup after build ( remove src and pkg dirs )
-r == remove dependencies after build

the -s and -r flags for makepkg require sudo

more extended information can be found here:
http://wiki.archlinux.org/index.php/Makepkg

of course in combination with the Clean Chroot documentation

hope it helps you on track


Re: [aur-general] makechrootpkg

2010-08-24 Thread Jonathan Conder
On Tue, 2010-08-24 at 01:18 -0500, Nathan O wrote:
 Is there a way to make 'makechrootpkg' use clyde so it will install missing
 dependencies from AUR? I looked at /etc/makepkg.conf /etc/pacman.conf and
 couldn't find an option. I also looked at the source for makechrootpkg and
 didn't see anything I could change to make it use clyde instead of pacman.
 
 Thanks

Maybe try exporting PACMAN? For example:

export PACMAN=clyde
makechrootpkg ...

It won't work if clyde's argument syntax is different to pacman's.

Jonathan



Re: [aur-general] makechrootpkg

2010-08-24 Thread Ionuț Bîru

On 08/24/2010 10:18 AM, Jonathan Conder wrote:

On Tue, 2010-08-24 at 01:18 -0500, Nathan O wrote:

Is there a way to make 'makechrootpkg' use clyde so it will install missing
dependencies from AUR? I looked at /etc/makepkg.conf /etc/pacman.conf and
couldn't find an option. I also looked at the source for makechrootpkg and
didn't see anything I could change to make it use clyde instead of pacman.

Thanks


Maybe try exporting PACMAN? For example:

export PACMAN=clyde
makechrootpkg ...

It won't work if clyde's argument syntax is different to pacman's.

Jonathan



no. you will need to install clyde into chroot, root branch and point 
pacman to clyde.


--
Ionuț


Re: [aur-general] makechrootpkg

2010-08-24 Thread Ike Devolder
On Tuesday 24 August 2010 09:18:42 Jonathan Conder wrote:
 On Tue, 2010-08-24 at 01:18 -0500, Nathan O wrote:
  Is there a way to make 'makechrootpkg' use clyde so it will install
  missing dependencies from AUR? I looked at /etc/makepkg.conf
  /etc/pacman.conf and couldn't find an option. I also looked at the
  source for makechrootpkg and didn't see anything I could change to make
  it use clyde instead of pacman.
  
  Thanks
 
 Maybe try exporting PACMAN? For example:
 
 export PACMAN=clyde
 makechrootpkg ...
 
 It won't work if clyde's argument syntax is different to pacman's.
 
 Jonathan

ok damn me, i totaly misunderstood the question, dependencies from AUR !

forget what i said before.

but maybe you could try to add

alias pacman='clyde'

to your /etc/profile, or maybe in the .bashrc of your user


Re: [aur-general] makechrootpkg

2010-08-24 Thread Brad Fanella
On Tue, Aug 24, 2010 at 2:23 AM, Ike Devolder ike.devol...@gmail.comwrote:

 but maybe you could try to add

 alias pacman='clyde'

 to your /etc/profile, or maybe in the .bashrc of your user


I assume that makechrootpkg uses the full pacman path (/usr/bin/pacman), so
setting an alias would not help in this case.

Thanks,
Brad