[Openswan Users] rpm build error

agt-public at troglodytic.net agt-public at troglodytic.net
Mon Mar 22 16:37:04 CET 2004


Hi there,

Was just trying to build the rpm's from your latest openswan release and 
ran into the errors below. Could you advise?

Thanks!
-Adam Thomas


[root at antimony openswan-2.1.1]# make rpm
please cd packaging/redhat and
run make RH_KERNELSRC=/some/path/to/kernel/src rpm
[root at antimony openswan-2.1.1]# cd packaging/redhat/
[root at antimony redhat]# pwd
/usr/src/openswan-2.1.1/packaging/redhat
[root at antimony redhat]# uname -a
Linux antimony.nimh.nih.gov 2.4.23-2aslsmp #1 SMP Fri Jan 9 17:19:08 EST 
2004 i686 athlon i386 GNU/Linux
[root at antimony redhat]# ls -l /usr/src/
total 20
drwxr-xr-x    2 root     root         4096 Jan 24  2003 debug
lrwxrwxrwx    1 root     root            9 Aug 19  2003 linux -> linux-2.4
lrwxrwxrwx    1 root     root           17 Jan  9 19:10 linux-2.4 -> 
linux-2.4.23-2asl
drwxr-xr-x   15 root     root         4096 Dec  7 21:06 linux-2.4.21-7asl
drwxr-xr-x   16 root     root         4096 Jan  9 19:09 linux-2.4.23-2asl
drwxrwxr-x   16 506      506          4096 Mar 21 09:25 openswan-2.1.1
drwxr-xr-x    7 root     root         4096 May  8  2003 redhat
[root at antimony redhat]# cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)


[root at antimony redhat]# make RH_KERNELSRC=/usr/src/linux/ rpm

{snip)

Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.41928
+ umask 022
+ cd /usr/src/openswan-2.1.1/packaging/redhat/rpms/BUILD
+ LANG=C
+ export LANG
+ /usr/lib/rpm/brp-compress
Processing files: freeswan-userland-2.1.1_2.4.23_2asl-0
Provides: config(freeswan-userland) = 2.1.1_2.4.23_2asl-0 ipsec-userland
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires: /bin/sh /usr/bin/perl config(freeswan-userland) = 
2.1.1_2.4.23_2asl-0 ipsec-kernel libc.so.6 libc.so.6(GLIBC_2.0) 
libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libgmp.so.3 
libresolv.so.2 libresolv.so.2(GLIBC_2.2) perl(Getopt::Long)
Processing files: freeswan-module-2.1.1_2.4.23_2asl-0
Provides: ipsec-kernel
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 
4.0-1
Requires(post): /bin/sh
Requires(postun): /bin/sh
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/usr/src/openswan-2.1.1/packaging/redhat/tmp.rpmbuild
error: Installed (but unpackaged) file(s) found:
   /etc/ipsec.d/examples/no_oe.conf


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /etc/ipsec.d/examples/no_oe.conf
make: *** [final_rpm] Error 1
[root at antimony redhat]#







More information about the Users mailing list