[pve-devel] make error in pve-access-control/trunk

Seth Lauzon seth.lauzon at gmail.com
Fri Jun 24 22:12:08 CEST 2011


Dietmar,

My apologies this is an error on my end.  Apparently an executable gid bit is set for anything under the /usr/local directory.  After removing the bit there were no other errors.

Thanks,
Seth


On Jun 24, 2011, at 1:22 PM, Dietmar Maurer wrote:

> It is related to the setgid bit on your filesystem. I am unsure how to fix, because I can't reproduce it.
> 
> Please can you try to debug yourself?
> 
> (will be offline now for today)
> 
> - Dietmar
> 
>> -----Original Message-----
>> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
>> bounces at pve.proxmox.com] On Behalf Of Seth Lauzon
>> Sent: Freitag, 24. Juni 2011 19:43
>> To: pve-devel at pve.proxmox.com
>> Subject: [pve-devel] make error in pve-access-control/trunk
>> 
>> rm -rf debian
>> mkdir debian
>> make DESTDIR=/usr/local/src/pve/pve-access-control/trunk/debian install
>> make[1]: Entering directory `/usr/local/src/pve/pve-access-control/trunk'
>> install -d /usr/local/src/pve/pve-access-control/trunk/debian/usr/bin
>> install -d /usr/local/src/pve/pve-access-control/trunk/debian/usr/sbin
>> install -m 0755 pveum /usr/local/src/pve/pve-access-
>> control/trunk/debian/usr/sbin
>> make -C PVE install
>> make[2]: Entering directory `/usr/local/src/pve/pve-access-control/trunk/PVE'
>> install -D -m 0644 AccessControl.pm /usr/local/src/pve/pve-access-
>> control/trunk/debian/usr/share/perl5/PVE/AccessControl.pm
>> install -D -m 0644 RPCEnvironment.pm /usr/local/src/pve/pve-access-
>> control/trunk/debian/usr/share/perl5/PVE/RPCEnvironment.pm
>> make -C API2 install
>> make[3]: Entering directory `/usr/local/src/pve/pve-access-
>> control/trunk/PVE/API2'
>> for i in AccessControl.pm Domains.pm ACL.pm Role.pm Group.pm User.pm; do
>> install -D -m 0644 $i /usr/local/src/pve/pve-access-
>> control/trunk/debian/usr/share/perl5/PVE/API2/$i; done
>> make[3]: Leaving directory `/usr/local/src/pve/pve-access-
>> control/trunk/PVE/API2'
>> make[2]: Leaving directory `/usr/local/src/pve/pve-access-control/trunk/PVE'
>> perl -I. ./pveum verifyapi
>> install -d /usr/local/src/pve/pve-access-
>> control/trunk/debian/usr/share/man/man1
>> pod2man -n pveum -s 1 -r "proxmox 2.0" -c "Proxmox Documentation" <pveum
>> | gzip -9 > /usr/local/src/pve/pve-access-
>> control/trunk/debian/usr/share/man/man1/pveum.1.gz
>> make[1]: Leaving directory `/usr/local/src/pve/pve-access-control/trunk'
>> install -d -m 0755 debian/DEBIAN
>> sed -e s/@@VERSION@@/0.1/ -e s/@@PKGRELEASE@@/1/ -e
>> s/@@ARCH@@/amd64/ <control.in >debian/DEBIAN/control install -D -m 0644
>> copyright debian//usr/share/doc/libpve-access-control/copyright
>> install -m 0644 changelog.Debian debian//usr/share/doc/libpve-access-control/
>> gzip -9 debian//usr/share/doc/libpve-access-control/changelog.Debian
>> install -m 0644 ChangeLog debian//usr/share/doc/libpve-access-
>> control/changelog
>> gzip -9 debian//usr/share/doc/libpve-access-control/changelog
>> dpkg-deb --build debian
>> dpkg-deb: building package `libpve-access-control' in `debian.deb'.
>> dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and
>> <=0775)
>> make: *** [deb] Error 2
>> 
>> root at pve2:/usr/local/src/pve/pve-access-control/trunk# ls -lrt total 72 drwxr-
>> sr-x 3 root staff  4096 Jun 24 12:41 test
>> -rw-r--r-- 1 root staff   177 Jun 24 12:41 user.cfg.ex
>> -rw-r--r-- 1 root staff  1029 Jun 24 12:41 TODO
>> -rwxr-xr-x 1 root staff   638 Jun 24 12:41 test.pl
>> -rw-r--r-- 1 root staff  8555 Jun 24 12:41 README -rwxr-xr-x 1 root staff  2616
>> Jun 24 12:41 pveum drwxr-sr-x 4 root staff  4096 Jun 24 12:41 PVE
>> -rw-r--r-- 1 root staff  1921 Jun 24 12:41 Makefile
>> -rw-r--r-- 1 root staff   764 Jun 24 12:41 copyright
>> -rw-r--r-- 1 root staff   550 Jun 24 12:41 control.in
>> -rw-r--r-- 1 root staff   176 Jun 24 12:41 changelog.Debian
>> -rw-r--r-- 1 root staff 13826 Jun 24 12:41 ChangeLog drwxr-sr-x 4 root staff
>> 4096 Jun 24 12:41 debian
>> 
>> 
>> Thanks,
>> Seth
>> 
>> _______________________________________________
>> pve-devel mailing list
>> pve-devel at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 




More information about the pve-devel mailing list