On 12/24/2011 01:05 PM, Andrew Z wrote:
Happy holidays!
i can't get my old version of the ulogd-1.24-2.src.rpm to compile. I'm
getting "No build ID note found in ulogd_LOCAL.so" google didn't want to
help me. Apparently i'm doing smth very silly.
I did changed on line in the original spec:
%build
#configure --with-mysql --with-pgsql
%configure --with-pgsql
LOG:
+ mkdir -p /builddir/build/BUILDROOT/ulogd-1.24-2.el6.x86_64/var/log/ulogd
+ mkdir -p /builddir/build/BUILDROOT/ulogd-1.24-2.el6.x86_64/etc/logrotate.d
+ install -m644 /builddir/build/SOURCES/ulogd.logrotate
/builddir/build/BUILDROOT/ulogd-1.24-2.el6.x86_64/etc/logrotate.d/ulogd
+ mkdir -p
/builddir/build/BUILDROOT/ulogd-1.24-2.el6.x86_64/usr/share/man/man8
+ sed -e s/@VERSION@/1.24/g /builddir/build/SOURCES/ulogd.8
+ gzip
/builddir/build/BUILDROOT/ulogd-1.24-2.el6.x86_64/usr/share/man/man8/ulogd.8
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id
/builddir/build/BUILD/ulogd-1.24
extracting debug info from
/builddir/build/BUILDROOT/ulogd-1.24-2.el6.x86_64/usr/sbin/ulogd
extracting debug info from
/builddir/build/BUILDROOT/ulogd-1.24-2.el6.x86_64/usr/lib64/ulogd/ulogd_LOCAL.so
*** ERROR: No build ID note found in
/builddir/build/BUILDROOT/ulogd-1.24-2.el6.x86_64/usr/lib64/ulogd/ulogd_LOCAL.so
LOG END
I wonder if you can share the spec file for ulogd srpm or, please, point
to my mistake.
thank you
Andrew
Hi Andrew
I couldn't find ulogd srpms in current EPEL or EL6 repos. Has it been
removed?
Anyway, after finding some Fedora sources I played with this a little
and found that removing mysql support is quite a bit more work than
simply omitting it from the make options. Actually, a lot more involved.
That said, the MySQL module can be segregated and pushed into a
supporting RPM, which is the way this SRPM works (there are also quite a
few new patches and fixes to this build vs the 1.24-2 version):
http://zxq9.com/repo/ulogd-1.24-14.el6.src.rpm
If you explore the repo/ folder you'll also find clean binaries built in
mock as well as my public packaging key if you have trouble.
Of course, let me know if the thing just doesn't work for you after
installation.