SeLinux packages compiled smoothly on ppc (after some help ..)
Sorry I have to paste below the content from the archives - By a stupid accident ("rm -rf *" in the wrong directory: I did this dozens of times the last 2 days: This time in the wrong dir :) I lost all my mails ... I had to let nsa Majordomo send me the archives of the messages from the last few days.
Here's Russell Cokers archived message that I will answer below (I hope I didn't destroy the correct formatting of Russell's message):
######################################################
Quoted 2 lines · Wolfgang Pfeiffer
dpkg_1.10.22_powerpc.deb
ssh_3.8.1p1-7_powerpc.deb
Looks like you got the wrong version of these two.
Quoted 13 lines
fakeroot apt-get source --compile dpkg=1.10.22-se1
works not with 2.95, but with 3.4.
The build with 2.95 ended with:
______________________________________
checking for initscr in -lncurses... yes
checking if TIOCNOTTY is defined insys/ioctl.h... yes
checking forva_copy... no
checking forva_listassignment copy... configure: error: no
make: *** [/home/shorty/testone/dpkg-1.10.22/build/configure-stamp] Error 1 Build command 'cd dpkg-1.10.22 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
______________________________________
File a FTBFS bug against dpkg in the Debian BTS.
Quoted 6 lines
And this:
I patched the openssh sources only with the openssh-selinux.patch.gz and *not* with the
ssh.diff.gz
that can be found in the same directory on
http://www.coker.com.au/newselinux/
Then you need to run "autoconf" before building it, otherwise you don't get SE Linux support.
Quoted 3 lines
And please let me know in case someone would like to upload ppc packages like the ones above. With detailed guidance on how exactly to build them I'd enjoy to help here, and make them available for others, too ...
Please make them available for the benefit of other people.
#########################################################
I have a problem in downloading the openssh sources from
http://selinux.lemuria.org/newselinux/ssh/
with a
apt-get source openssh
This command will download me a package from the debian mirrors I have in my sources list, but not the package from
<http://selinux.lemuria.org/newselinux>
that I also have in my sources list.
Is there a possibility to downlowd the openssh sources from
http://selinux.lemuria.org/newselinux manually and then create the debian/ dir in the unpacked openssh dir with dpkg-source, or a with similar tool?
I know I could simply try replace the original openssh_3.8.1p1-7.diff.gz from the debian mirror with the
http://selinux.lemuria.org/newselinux/ssh/openssh_3.8.1p1-7.se1.diff.gz
But I'm not sure whether this will mess up the resulting binary ... so if possible I'd like to run a standard build with one of the apt/dpkg/whatever tools on Debian
Second:
The compile errors probably will disappear if I run "autoconf" as you told -- But is it neccessary to run "autoconf" for every build I was reporting yesterday, or definitely just for the 2 (dpkg, ssh) you were mentioning?
Thanks in anticipation
Note:
Sorry for the slightly pedantic procedure here: But I'd like to make the resulting packages available for others, too ...
Note 2:
Those who sent me private mails the last 2 days are invited to send them again to me, if possible: I lost, as I said, all mails this afternoon: I have all mails that were double-sent to me *and* this list (Thanks to nsa Majordomo :) ...
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.