libnetfilter_acct.c: In function 'nfacct_nlmsg_build_payload':
libnetfilter_acct.c:348: warning: implicit declaration of function 'htobe64'
and htobe64(3) says htobe64 is available starting glibc-2.9.
Additionally,
../include/linux/netfilter/nfnetlink.h:4:46: error:
linux/netfilter/nfnetlink_compat.h: No such file or directory
so it also requires linux-glibc-devel >= 2.6.24, which RHEL5 also
does not have.
OK, lets have it then, shall we?
[mockbuild@test1 ~]$ rpm -ivh libnetfilter_acct-1.0.1-0.fc13.src.rpm
1:libnetfilter_acct ###########################################
[100%]
[mockbuild@test1 ~]$ cd build/SPECS/
[mockbuild@test1 SPECS]$
[mockbuild@test1 SPECS]$ rpmbuild -bb libnetfilter_acct.spec
[...lots of output skipped, but could be provided on Mr Engelhardt's
request]
Processing files: libnetfilter_acct-1.0.1-0.fc13.x86_64
Provides: libnetfilter_acct.so.1()(64bit)
libnetfilter_acct.so.1(LIBNETFILTER_ACCT_1.0)(64bit)
libnetfilter_acct.so.1(LIBNETFILTER_ACCT_1.1)(64bit)
Requires(interp): /sbin/ldconfig /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit) libmnl.so.0()(64bit)
libmnl.so.0(LIBMNL_1.0)(64bit) libnetfilter_acct.so.1()(64bit)
rtld(GNU_HASH)
Processing files: libnetfilter_acct-devel-1.0.1-0.fc13.x86_64
Provides: pkgconfig(libnetfilter_acct) = 1.0.1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1
Requires: /usr/bin/pkg-config libnetfilter_acct.so.1()(64bit)
Processing files: libnetfilter_acct-debuginfo-1.0.1-0.fc13.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/builddir/build/BUILDROOT/libnetfilter_acct-1.0.1-0.fc13.x86_64
Wrote: /builddir/build/RPMS/libnetfilter_acct-1.0.1-0.fc13.x86_64.rpm
Wrote: /builddir/build/RPMS/libnetfilter_acct-devel-1.0.1-0.fc13.x86_64.rpm
Wrote:
/builddir/build/RPMS/libnetfilter_acct-debuginfo-1.0.1-0.fc13.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OOQQCq
+ umask 022
+ cd /builddir/build/BUILD
+ cd libnetfilter_acct-1.0.1
+ /bin/rm -rf
/builddir/build/BUILDROOT/libnetfilter_acct-1.0.1-0.fc13.x86_64
+ exit 0
[mockbuild@test1 SPECS]$ uname -a
Linux test1.my.net 3.3.4-6.fc13.x86_64 #1 SMP Fri Jul 6 00:28:31 BST
2012 x86_64 x86_64 x86_64 GNU/Linux
[mockbuild@test1 SPECS]$ rpm -qa | grep glibc
glibc-headers-2.12.2-1.x86_64
glibc-2.12.2-1.x86_64
glibc-common-2.12.2-1.x86_64
glibc-devel-2.12.2-1.x86_64
glibc-static-2.12.2-1.x86_64
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html