You are not logged in.

#1 2011-03-13 23:09:16

City-busz
Package Maintainer (PM)
From: Budapest, Hungary
Registered: 2010-12-27
Posts: 194
Website

Problem with building packages in chroot

I set up a clean chroot with 'sudo mkarchroot <chrootdir>/root base base-devel sudo', but I can't build packages with 'sudo makechrootpkg -c -r <chrootdir>' command:

creating clean working copy...done
==> Making package: empathy 2.32.2-2.1 (Sun Mar 13 21:35:44 UTC 2011)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
sudo: must be setuid root
==> ERROR: 'pacman' failed to install missing dependencies.
Build failed, check /media/a9317af4-033b-40e5-8076-9fa120dd3ca1__/chroot/copy/build

I don't know what is the problem. I tried to set permissions on sudo binary in chroot, but no helps.

Offline

#2 2011-03-14 00:56:59

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: Problem with building packages in chroot

Did you follow the wiki instructions exactly?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2011-03-14 01:49:48

City-busz
Package Maintainer (PM)
From: Budapest, Hungary
Registered: 2010-12-27
Posts: 194
Website

Re: Problem with building packages in chroot

Yes, I follow this page (create chroot directory, run mkarchroot, and run makechrootpkg from PKGBUILD's directory).

Last edited by City-busz (2011-03-14 01:50:14)

Offline

#4 2011-03-14 03:31:15

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: Problem with building packages in chroot

Your chroot is on a linux partition right? No NTFS or similar?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2011-03-14 16:50:45

City-busz
Package Maintainer (PM)
From: Budapest, Hungary
Registered: 2010-12-27
Posts: 194
Website

Re: Problem with building packages in chroot

It's an ext4 partition on external hard drive. Now I tried to set up chroot on my system's partition, and it works fine. I don't know it's why not works on external partition.

Offline

#6 2011-03-15 00:33:17

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: Problem with building packages in chroot

City-busz wrote:

It's an ext4 partition on external hard drive. Now I tried to set up chroot on my system's partition, and it works fine. I don't know it's why not works on external partition.

Most likely your mount options have some issue, or perhaps an ownership issue.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB