All of lore.kernel.org
 help / color / mirror / Atom feed
* Build error pam on ppc
@ 2004-08-05 17:52 Wolfgang Pfeiffer
  2004-08-06  6:46 ` Russell Coker
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Pfeiffer @ 2004-08-05 17:52 UTC (permalink / raw)
  To: Russell Coker, SE-Linux

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
-- 
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Build error pam on ppc
  2004-08-05 17:52 Build error pam on ppc Wolfgang Pfeiffer
@ 2004-08-06  6:46 ` Russell Coker
  2004-08-06 23:31   ` Wolfgang Pfeiffer
  0 siblings, 1 reply; 5+ messages in thread
From: Russell Coker @ 2004-08-06  6:46 UTC (permalink / raw)
  To: Wolfgang Pfeiffer; +Cc: SE-Linux

On Fri, 6 Aug 2004 03:52, Wolfgang Pfeiffer <roto@gmx.net> wrote:
> 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

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.

-- 
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Build error pam on ppc
  2004-08-06  6:46 ` Russell Coker
@ 2004-08-06 23:31   ` Wolfgang Pfeiffer
  2004-08-08 15:19     ` Wolfgang Pfeiffer
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Pfeiffer @ 2004-08-06 23:31 UTC (permalink / raw)
  To: Russell Coker, SE-Linux

On Fri, 2004-08-06 at 08:46, Russell Coker wrote:
> On Fri, 6 Aug 2004 03:52, Wolfgang Pfeiffer <roto@gmx.net> wrote:
> > 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
> 
> 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
-- 
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Build error pam on ppc
  2004-08-06 23:31   ` Wolfgang Pfeiffer
@ 2004-08-08 15:19     ` Wolfgang Pfeiffer
  2004-08-08 15:24       ` Error: " Wolfgang Pfeiffer
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Pfeiffer @ 2004-08-08 15:19 UTC (permalink / raw)
  To: Russell Coker, SE-Linux

On Sat, 2004-08-07 at 01:31, Wolfgang Pfeiffer wrote:
> On Fri, 2004-08-06 at 08:46, Russell Coker wrote:
> > On Fri, 6 Aug 2004 03:52, Wolfgang Pfeiffer <roto@gmx.net> wrote:
> > > 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
> > 
> > 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
-- 
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Error: Re: Build error pam on ppc
  2004-08-08 15:19     ` Wolfgang Pfeiffer
@ 2004-08-08 15:24       ` Wolfgang Pfeiffer
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Pfeiffer @ 2004-08-08 15:24 UTC (permalink / raw)
  To: Russell Coker, SE-Linux

On Sun, 2004-08-08 at 17:19, Wolfgang Pfeiffer wrote:

> 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

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

Sorry
Wolfgang
-- 
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-08-08 15:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-05 17:52 Build error pam on ppc Wolfgang Pfeiffer
2004-08-06  6:46 ` Russell Coker
2004-08-06 23:31   ` Wolfgang Pfeiffer
2004-08-08 15:19     ` Wolfgang Pfeiffer
2004-08-08 15:24       ` Error: " Wolfgang Pfeiffer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.