From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Wolfgang Pfeiffer <roto@gmx.net>
Cc: Colin Walters <walters@verbum.org>,
Erich Schubert <erich@debian.org>,
SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: Building SE-ssh. Result: fakeroot: Permission denied
Date: Fri, 30 Jul 2004 23:08:37 +0100 [thread overview]
Message-ID: <20040730220837.GD3378@lkcl.net> (raw)
In-Reply-To: <1091217211.19256.227.camel@debby>
typically what you should do when building a package is to to
apt-get build-dep <packagename> before-hand.
that will pull in any source building dependencies for you.
if the package DOESN'T compile when you do this, then you need to
run (and install if you didn't have it) reportbug to report the
problem, mentioning in this case (if it is actually true!) that
a build dependency isn't included.
l.
On Fri, Jul 30, 2004 at 09:53:31PM +0200, Wolfgang Pfeiffer wrote:
> Colin Walters, Erich Schubert:
>
> Thanks.
>
> On Fri, 2004-07-30 at 15:15, Erich Schubert wrote:
> > Hi,
> >
> > > > /usr/bin/fakeroot: line 146: debian/rules: Permission denied
> >
> > Try "chmod +x debian/rules"
>
> [ .... ]
>
> This worked ... Thanks .. :)
>
> Result:
> openssh-client-udeb_3.8.1p1-7.se1_powerpc.udeb
> openssh-server-udeb_3.8.1p1-7.se1_powerpc.udeb
> ssh-askpass-gnome_3.8.1p1-7.se1_powerpc.deb
> ssh_3.8.1p1-7.se1_powerpc.deb
>
> But there was another obstacle before the package(s ?) finally built:
>
> At the end of a build:
> ---------------------------
> In file included from /usr/include/unistd.h:195,
> from ../includes.h:69,
> from ../ssh-dss.c:25:
> /usr/lib/gcc-lib/powerpc-linux/2.95.4/include/stddef.h:28: machine/ansi.h: No such file or directory
> make[1]: *** [ssh-dss.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/home/shorty/test/openssh-3.8.1p1/build-udeb'
> make: *** [build-udeb-stamp] Error 2
> -----------------------------
>
> I could solve the issue (Thank you,
> "apt-file search ansi.h | grep machine/ansi.h")
> above by installing the Debian packages
> ecos, ecosconfig, libwxgtk2.4:
>
> $ apt-file search ansi.h | grep machine/ansi.h
> ecos: usr/src/ecos/packages/net/common/v2_0/include/machine/ansi.h
> newlib-m68hc1x: usr/m68hc11/include/machine/ansi.h
>
> Thank you, "apt-file" ...
>
> But this dependency (ansi.h etc.) is nowhere declared in the ssh
> sources, or at least i didn't find something about it: Is this something
> one should be worried about? gcc-bug?
>
> Please remember that I intend to upload the packages above for downloads
> as soon as I have a place on www somewhere for them ... So I'd like to
> make sure not to ruin other folks' systems by building and providing
> messed up stuff ...
>
>
> I'll try to to rebuild
> ssh, dpkg, cron, sysvinit, logrotate, and pam
> for SE-Linux/ppc this weekend.
> All of them with gcc-2.95, running "autoconf" only on the dpkg and ssh
> packages.
>
> IINM only the sources for the the packages I can't download and compile
> via a
>
> fakeroot apt-get source --compile <somepackage>=<someversion>
>
> might need a "autoconf"
> Please let me know if someone thinks the rest of the packages might like
> an "autoconf" kiss, too ..
>
> Nice weekend
>
> And thanks to everyone for sharing knowledge ...
>
> Regards
> Wolfgang
> --
> Profile: http://profiles.yahoo.com/wolfgangpfeiffer
>
> and 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.
--
--
Information I post is with honesty, integrity, and the expectation that
you will take full responsibility if acting on the information contained,
and that, should you find it to be flawed or even mildly useful, you
will act with both honesty and integrity in return - and tell me.
--
<a href="http://lkcl.net"> lkcl.net </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />
--
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.
next prev parent reply other threads:[~2004-07-30 21:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-30 11:42 Building SE-ssh. Result: fakeroot: Permission denied Wolfgang Pfeiffer
2004-07-30 11:48 ` Wolfgang Pfeiffer
2004-07-30 13:15 ` Erich Schubert
2004-07-30 19:53 ` Wolfgang Pfeiffer
2004-07-30 22:08 ` Luke Kenneth Casson Leighton [this message]
2004-07-30 15:23 ` Colin Walters
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040730220837.GD3378@lkcl.net \
--to=lkcl@lkcl.net \
--cc=erich@debian.org \
--cc=roto@gmx.net \
--cc=selinux@tycho.nsa.gov \
--cc=walters@verbum.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.