Skip to contentSkip to conversation

Build error pam on ppc

DISCUSSION Wolfgang Pfeiffer 2 participants 5 messages Aug 5, 2004 – Aug 8, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi All

When I built *successfully* pam on ppc with

fakeroot apt-get source --compile pam=0.77-0.se5

I got this error, that I *ignored*:

----------------------------------------

mkdir -p /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/lib
/usr/bin/install -m 755 libpamc.so /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/lib/libpamc.so.0.77 /sbin/ldconfig
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/shorty/russellpackages/pam/pam-0.77/Linux-PAM/libpamc'
make[2]: Entering directory `/home/shorty/russellpackages/pam/pam-0.77/Linux-PAM/libpam_misc'
mkdir -p dynamic
mkdir -p static
mkdir -p /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/usr/include/security
/usr/bin/install -m 644 include/security/pam_misc.h /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/usr/include/security mkdir -p /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/lib
/usr/bin/install -m 755 libpam_misc.so /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/lib/libpam_misc.so.0.77 /sbin/ldconfig
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[2]: *** [install] Error 1
____________________________________________________

Is it okay to offer packages for downloading if they're built with that error?

Thanks in anticipation

Regards
Wolfgang

Signature · 7 lines
Profile, links: http://profiles.yahoo.com/wolfgangpfeiffer


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 8 lines · Wolfgang Pfeiffer

Hi All

When I built *successfully* pam on ppc with

fakeroot apt-get source --compile pam=0.77-0.se5

I got this error, that I *ignored*:

Quoted 8 lines

----------------------------------------

mkdir -p /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/lib /usr/bin/install -m 755 libpamc.so /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/lib/libpamc.so.0.77 /sbin/ldconfig
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~:
Permission denied make[2]: *** [install] Error 1

I recall getting the same error on i386. I just ignored it, but probably we should have a bug report filed about that if you can reproduce it on the version of PAM that's in Debian.

Signature · 9 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
Quoted 18 lines · Russell Coker
Quoted 8 lines · Wolfgang Pfeiffer

Hi All

When I built *successfully* pam on ppc with

fakeroot apt-get source --compile pam=0.77-0.se5

I got this error, that I *ignored*:

Quoted 8 lines

----------------------------------------

mkdir -p /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/lib /usr/bin/install -m 755 libpamc.so /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/lib/libpamc.so.0.77 /sbin/ldconfig
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~:
Permission denied make[2]: *** [install] Error 1

Quoted 3 lines

I recall getting the same error on i386. I just ignored it, but probably we should have a bug report filed about that if you can reproduce it on the version of PAM that's in Debian.

I'll try to compile a stock Debian PAM this weekend, and if I see this error on that build, too, I'll file a bug report ...

Nice weekend

Best Regards
Wolfgang

Signature · 7 lines
Profile, links: http://profiles.yahoo.com/wolfgangpfeiffer


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#3 lore raw
Quoted 19 lines · Wolfgang Pfeiffer
Quoted 18 lines · Russell Coker
Quoted 16 lines · Wolfgang Pfeiffer

Hi All

When I built *successfully* pam on ppc with

fakeroot apt-get source --compile pam=0.77-0.se5

I got this error, that I *ignored*:

----------------------------------------

mkdir -p /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/lib /usr/bin/install -m 755 libpamc.so /home/shorty/russellpackages/pam/pam-0.77/debian/tmp/lib/libpamc.so.0.77 /sbin/ldconfig
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~:
Permission denied make[2]: *** [install] Error 1

Quoted 6 lines
Quoted 3 lines

I recall getting the same error on i386. I just ignored it, but probably we should have a bug report filed about that if you can reproduce it on the version of PAM that's in Debian.

I'll try to compile a stock Debian PAM this weekend, and if I see this error on that build, too, I'll file a bug report ...

                                                    [ ... ]

For all of the following please note that I tried the following builds all as non-root, with "fakeroot", as seen below.
(For those not being acquainted with the Debian tool:
"fakeroot - run a command in an environment faking root privileges for file manipulation" [Excerpt from "man fakeroot"])

And please note also that the latest PAM versions for Debian and SE-Linux differ: Stock-debian/unstable is at version pam_0.76, whereas SE-PAM is at 0.77, IINM ...

The whole issue seems to be one for the se-linux PAM:
SE-pam is getting built successfully with gcc-3.0, gcc-3.3 and gcc-2.95, but according to the logs I have always with this error line:
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied

SE-pam doesn't seem to get built here with gcc-3.4

I tried the SE-builds with something like this:
fakeroot apt-get source --compile pam=0.77-0.se5 &> $<some-build.log>

Default Debian Builds:

I built the stock-debian-PAM always successfully with something like

fakeroot apt-get source --compile pam=0.76-22 &> <some-build>.log

... but only with gcc-2.95 and gcc-3.3 for stock-Debian pam (I admit I got fed up with it after all these builds ... :)

Please note that in all builds, even the successful ones where the packages were built, whether those for the stock Debian or the SE-Pam one, there were errors:
I grepped the build log-files for both the stock Debian and the SE-Pam one with this:
grep -iR -A 5 -B 5 " error " . > ~/pam-build-errors

The resulting file is here:
<http://www.geocities.com/wolfgangpfeiffer/pam-build-errors.log>

The file names referred to in the latter log file are hopefully self-explaining enough, as I hope .. please let met know if that's an ugly lie ..

If you need the complete log file for one or all builds please let me
know: I put it/them on my website too if needed ...

HTH

Best Regards
Wolfgang

Signature · 12 lines
Profile: http://profiles.yahoo.com/wolfgangpfeiffer

3 more reasons for Linux:
<http://uptime.netcraft.com/up/graph?site=http%3A%2F%2Fwww.whitehouse.gov%2F>
<http://uptime.netcraft.com/up/graph?site=http%3A%2F%2Fwww.fbi.gov%2F>
<http://uptime.netcraft.com/up/graph?site=http%3A%2F%2Fwww.defenselink.mil>


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#4 lore raw

Error: Re: Build error pam on ppc

Quoted 3 lines · Wolfgang Pfeiffer

I grepped the build log-files for both the stock Debian and the SE-Pam one with this:
grep -iR -A 5 -B 5 " error " . > ~/pam-build-errors

                                                               ^^^^^^^^^^

should probably say:
grep -iR -A 5 -B 5 " error " . > ~/pam-build-errors.log

Quoted 3 lines

The resulting file is here:
<http://www.geocities.com/wolfgangpfeiffer/pam-build-errors.log>

Sorry
Wolfgang

Signature · 7 lines
Profile, links: http://profiles.yahoo.com/wolfgangpfeiffer


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.