[aur-general] makechrootpkg
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
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
On Tue, Aug 24, 2010 at 1:31 AM, Ike Devolder <ike.devolder@gmail.com>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
On Tuesday 24 August 2010 08:18:23 Nathan O wrote: 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.
On Tuesday 24 August 2010 08:36:39 Nathan O wrote:
On Tue, Aug 24, 2010 at 1:31 AM, Ike Devolder <ike.devolder@gmail.com>wrote:
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
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
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ț
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
On Tue, Aug 24, 2010 at 2:23 AM, Ike Devolder <ike.devolder@gmail.com>wrote:
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
participants (5)
-
Brad Fanella
-
Ike Devolder
-
Ionuț Bîru
-
Jonathan Conder
-
Nathan O