Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 15932] New: libcap 2.20 fails during install

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 15932] New: libcap 2.20 fails during install
  • Date: 28 Jan 2011 08:36:25 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15932

Summary: libcap 2.20 fails during install
Product: Codex
Version: test grimoire
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: libs
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: pyrobor AT ver.si


logfile:

make[1]: Leaving directory `/usr/src/libcap-2.20/doc'
Preparing to install libcap
Dispelled spell: libcap
Compile log for libcap 2.20 Completed Build on Fri Jan 28 08:24:53 UTC 2011
castfs: checking sanity of <mnt-dir> and <stage-dir>
castfs: stagedir is okay!
Installing libcap into the stage
/usr/bin/make -C libcap install
make[1]: Entering directory `/usr/src/libcap-2.20/libcap'
mkdir -p -m 0755 /usr/include/sys
install -m 0644 include/sys/capability.h /usr/include/sys
mkdir -p -m 0755 /lib
install -m 0644 libcap.a /lib/libcap.a
install -m 0644 libcap.so.2.20 /lib/libcap.so.2.20
ln -sf libcap.so.2.20 /lib/libcap.so.2
ln -sf libcap.so.2 /lib/libcap.so
/sbin/ldconfig
make[1]: Leaving directory `/usr/src/libcap-2.20/libcap'
/usr/bin/make -C progs install
make[1]: Entering directory `/usr/src/libcap-2.20/progs'
mkdir -p -m 0755 /sbin
for p in getpcaps capsh getcap setcap ; do \
install -m 0755 $p /sbin ; \
done
/sbin/setcap cap_setfcap=i /sbin/setcap
Failed to set capabilities on file `/sbin/setcap' (Operation not supported)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>)
<filenameN> ]

Note <filename> must be a regular (non-symlink) file.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/libcap-2.20/progs'
make: *** [install] Error 2
Running make with 5 jobs failed. Attempt to run with a single job? [y] Running
make with 5 jobs failed. Attempt to run with a single job? [y]

/usr/bin/make -C libcap install
make[1]: Entering directory `/usr/src/libcap-2.20/libcap'
mkdir -p -m 0755 /usr/include/sys
install -m 0644 include/sys/capability.h /usr/include/sys
mkdir -p -m 0755 /lib
install -m 0644 libcap.a /lib/libcap.a
install -m 0644 libcap.so.2.20 /lib/libcap.so.2.20
ln -sf libcap.so.2.20 /lib/libcap.so.2
ln -sf libcap.so.2 /lib/libcap.so
/sbin/ldconfig
make[1]: Leaving directory `/usr/src/libcap-2.20/libcap'
/usr/bin/make -C progs install
make[1]: Entering directory `/usr/src/libcap-2.20/progs'
mkdir -p -m 0755 /sbin
for p in getpcaps capsh getcap setcap ; do \
install -m 0755 $p /sbin ; \
done
/sbin/setcap cap_setfcap=i /sbin/setcap
Failed to set capabilities on file `/sbin/setcap' (Operation not supported)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>)
<filenameN> ]

Note <filename> must be a regular (non-symlink) file.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/libcap-2.20/progs'
make: *** [install] Error 2
Problem Detected!
INSTALL failed!


And due to the fact that error is in INSTALL after spell is dispelled user is
left without libcap installed. Which leads to errors like this one:
ls: error while loading shared libraries: libcap.so.2: cannot open shared
object file: No such file or directory


We should really resurect old version if cast fails during INSTALL... but that
is sorcery bug.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page