Paul's Blog Entries for March 2009

Sunday 1st March 2009

Local Packages

Monday 2nd March 2009

Local Packages

Discovered that rpm's internal dependency generator doesn't actually use the /usr/lib/rpm/redhat/find-provides and /usr/lib/rpm/redhat/find-requires scripts referred to by the %{__find_provides} and %{__find_requires} macros respectively (Bug #395961). The result of this is that disabling the internal dependency generator in order to filter out some bogus dependencies (such as soname provides for plugins that aren't in the linker search path) also takes out some dependencies that are actually wanted such as rtld(GNU_HASH).

I eventually came up with this scheme to filter out bogus provides from arch-specific perl modules without losing any of the other provides or requires:

# Don't "provide" private Perl libs
%global _use_internal_dependency_generator 0
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
%global __find_requires /bin/sh -c "%{__deploop R}"

Tuesday 3rd March 2009

Local Packages

Whilst rebuilding tidy, I found that the builds for Fedora 2, 3, and 4 (and RHEL 4) failed with segfaults in libxml2 when called from xsltproc. As the exact same libxml2 versions worked everywhere else, I figured this was a problem in libxslt so I made updated versions of that too, which required new packages libgpg-error and libgcrypt as build dependencies. These libraries are installed into /lib or /lib64 rather than /usr/lib or /usr/lib64 and after cleaning up the code for moving the installed libraries to the right place after the upstream install phase of the package build, I rediscovered Bug #89655 affecting symlinks on Red Hat Linux 9 and Red Hat Enterprise Linux 3, so I ended up building new packages for that too. The new libxslt versions did fix the tidy build errors thankfully.

Wednesday 4th March 2009

Local Packages

Thursday 5th March 2009

Fedora Project

Local Packages

Friday 6th March 2009

Local Packages

Saturday 7th March 2009

Fedora Project

Sunday 8th March 2009

Fedora Project

Monday 9th March 2009

Local Packages

Tuesday 10th March 2009

Local Packages

Thursday 12th March 2009

Local Packages

Friday 13th March 2009

Fedora Project

Branched and built a bunch of my perl module packages at the request of Xavier Bachelot, who needs the perl-Net-SSH-Perl stack to get perl-Net-SFTP into EPEL.

Saturday 14th March 2009

Local Packages

Monday 16th March 2009

Fedora Project

Tuesday 17th March 2009

Local Packages

Wednesday 18th March 2009

Fedora Project

Local Packages

Friday 20th March 2009

Local Packages

Monday 23rd March 2009

Local Packages

Wednesday 25th March 2009

Fedora Project

PPTP Client Project

Local Packages

Previous Month: February 2009
Next Month: April 2009