[aur-general] Problem with makechrootpkg
I am trying to run makechrootpkg -r /aur -- -i in the dir that contains the PKGBUILD /usr/bin/makepkg: line 461: /dev/null: Permission denied I redid the chroot with mkarchroot -f /aur/root base base-devel sudo to see if that would help but still the same error. I tried another package earlier and it gave the same error, thought maybe there was something else wrong.
On 30/05/10 15:20, Nathan O. wrote:
I am trying to run makechrootpkg -r /aur -- -i in the dir that contains the PKGBUILD
/usr/bin/makepkg: line 461: /dev/null: Permission denied
I redid the chroot with mkarchroot -f /aur/root base base-devel sudo to see if that would help but still the same error. I tried another package earlier and it gave the same error, thought maybe there was something else wrong.
Are you running it as root? It needs root permissions and then makechrootpkg changes to user nobody to do the building. Allan
On 05/30/2010 12:38 AM, Allan McRae wrote:
On 30/05/10 15:20, Nathan O. wrote:
I am trying to run makechrootpkg -r /aur -- -i in the dir that contains the PKGBUILD
/usr/bin/makepkg: line 461: /dev/null: Permission denied
I redid the chroot with mkarchroot -f /aur/root base base-devel sudo to see if that would help but still the same error. I tried another package earlier and it gave the same error, thought maybe there was something else wrong.
Are you running it as root? It needs root permissions and then makechrootpkg changes to user nobody to do the building.
Allan
Yup it is being ran as root
On 05/30/2010 12:36 AM, Nathan O. wrote:
On 05/30/2010 12:38 AM, Allan McRae wrote:
On 30/05/10 15:20, Nathan O. wrote:
I am trying to run makechrootpkg -r /aur -- -i in the dir that contains the PKGBUILD
/usr/bin/makepkg: line 461: /dev/null: Permission denied
I redid the chroot with mkarchroot -f /aur/root base base-devel sudo to see if that would help but still the same error. I tried another package earlier and it gave the same error, thought maybe there was something else wrong.
Are you running it as root? It needs root permissions and then makechrootpkg changes to user nobody to do the building.
Allan
Yup it is being ran as root
Hmm I restarted after some pacman upgrades and now it works. Now atleast this is a solution to try if anybody else gets this error.
On 05/29/2010 11:38 PM, Nathan O. wrote:
On 05/30/2010 12:36 AM, Nathan O. wrote:
On 05/30/2010 12:38 AM, Allan McRae wrote:
On 30/05/10 15:20, Nathan O. wrote:
I am trying to run makechrootpkg -r /aur -- -i in the dir that contains the PKGBUILD
/usr/bin/makepkg: line 461: /dev/null: Permission denied
I redid the chroot with mkarchroot -f /aur/root base base-devel sudo to see if that would help but still the same error. I tried another package earlier and it gave the same error, thought maybe there was something else wrong.
Are you running it as root? It needs root permissions and then makechrootpkg changes to user nobody to do the building.
Allan
Yup it is being ran as root
Hmm I restarted after some pacman upgrades and now it works. Now atleast this is a solution to try if anybody else gets this error.
Ignore my earlier noise/babble then. :)
On 05/29/2010 11:38 PM, Nathan O. wrote:
On 05/30/2010 12:36 AM, Nathan O. wrote:
On 05/30/2010 12:38 AM, Allan McRae wrote:
On 30/05/10 15:20, Nathan O. wrote:
I am trying to run makechrootpkg -r /aur -- -i in the dir that contains the PKGBUILD
/usr/bin/makepkg: line 461: /dev/null: Permission denied
I redid the chroot with mkarchroot -f /aur/root base base-devel sudo to see if that would help but still the same error. I tried another package earlier and it gave the same error, thought maybe there was something else wrong.
Are you running it as root? It needs root permissions and then makechrootpkg changes to user nobody to do the building.
Allan
Yup it is being ran as root
Hmm I restarted after some pacman upgrades and now it works. Now atleast this is a solution to try if anybody else gets this error.
Ignore my earlier noise/babble then. :) LOL it's ok, maybe some people will remember what I did and tell them if
On 05/30/2010 12:57 AM, jwbirdsong wrote: they upgraded packages in pacman to restart to try and fix it. :)
On 05/29/2010 11:36 PM, Nathan O. wrote:
On 05/30/2010 12:38 AM, Allan McRae wrote:
On 30/05/10 15:20, Nathan O. wrote:
I am trying to run makechrootpkg -r /aur -- -i in the dir that contains the PKGBUILD
/usr/bin/makepkg: line 461: /dev/null: Permission denied
I redid the chroot with mkarchroot -f /aur/root base base-devel sudo to see if that would help but still the same error. I tried another package earlier and it gave the same error, thought maybe there was something else wrong.
Are you running it as root? It needs root permissions and then makechrootpkg changes to user nobody to do the building.
Allan
Yup it is being ran as root
I had a same/similar issue the 1st time I tried to use a 'clean chroot' It's been a while and I'm kinda of vague on the details. My problem boiled down to I had installed to a 2nd USB drive and had/was having some mounting issues w/ whole drive in general. I think MY issue was permission(s) on the chroot/drive but once I move it to my $HOME it worked flawlessly. Not any real advice just maybe something will click for someone else that can help you.
On 05/30/2010 08:20 AM, Nathan O. wrote:
I am trying to run makechrootpkg -r /aur -- -i in the dir that contains the PKGBUILD
/usr/bin/makepkg: line 461: /dev/null: Permission denied
I redid the chroot with mkarchroot -f /aur/root base base-devel sudo to see if that would help but still the same error. I tried another package earlier and it gave the same error, thought maybe there was something else wrong.
that happens when you run the second compilation ON the same chroot. it breaking the permission of /dev/null -- Ionut
On 05/30/2010 11:56 AM, Ionut Biru wrote:
On 05/30/2010 08:20 AM, Nathan O. wrote:
I am trying to run makechrootpkg -r /aur -- -i in the dir that contains the PKGBUILD
/usr/bin/makepkg: line 461: /dev/null: Permission denied
I redid the chroot with mkarchroot -f /aur/root base base-devel sudo to see if that would help but still the same error. I tried another package earlier and it gave the same error, thought maybe there was something else wrong.
that happens when you run the second compilation ON the same chroot. it breaking the permission of /dev/null
to be more clearly. that happens when you have a compilation in progresss in /aur chroot and you start a second one in paralalel in the same chroot with -c. that will clear and delete everything and for some reason it breaking /dev/null permission. chmod 777 /dev/null is solving this or a reboot -- Ionut
On 05/30/2010 03:56 AM, Ionut Biru wrote:
On 05/30/2010 08:20 AM, Nathan O. wrote:
I am trying to run makechrootpkg -r /aur -- -i in the dir that contains the PKGBUILD
/usr/bin/makepkg: line 461: /dev/null: Permission denied
I redid the chroot with mkarchroot -f /aur/root base base-devel sudo to see if that would help but still the same error. I tried another package earlier and it gave the same error, thought maybe there was something else wrong.
that happens when you run the second compilation ON the same chroot. it breaking the permission of /dev/null
Funny thing is I can also run clean first and same error, I got it again a little ago after I figured out i would have to reboot to fix it, but it seems whenever an app needs intltool it gives that issue
On 30 May 2010 16:59, Nathan O. <ndowens04@gmail.com> wrote:
On 05/30/2010 03:56 AM, Ionut Biru wrote:
On 05/30/2010 08:20 AM, Nathan O. wrote:
I am trying to run makechrootpkg -r /aur -- -i in the dir that contains the PKGBUILD
/usr/bin/makepkg: line 461: /dev/null: Permission denied
I redid the chroot with mkarchroot -f /aur/root base base-devel sudo to see if that would help but still the same error. I tried another package earlier and it gave the same error, thought maybe there was something else wrong.
that happens when you run the second compilation ON the same chroot. it breaking the permission of /dev/null
Funny thing is I can also run clean first and same error, I got it again a little ago after I figured out i would have to reboot to fix it, but it seems whenever an app needs intltool it gives that issue
I have seen this a couple of times, and not only on my machine but on a build server too (pkgbuild.com). It was immediately after the move from aufs - that at least I can confirm. It has nothing to do with parallel builds or intltool because/and I can't reproduce it. However, ever since I have been fully updated, it hasn't resurfaced. It has got something to with memory and a core package, because all work is being done with virtual devices and writing to them is being denied. -- GPG/PGP ID: B42DDCAD
participants (5)
-
Allan McRae
-
Ionut Biru
-
jwbirdsong
-
Nathan O.
-
Ray Rashif