Re: perl 5.10.0 is in rawhide!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 17, 2008 at 09:04:33AM +0000, David Woodhouse wrote:
> On Mon, 2008-03-10 at 11:12 -0400, Tom "spot" Callaway wrote:
> > You may notice that there are a lot of updated packages in rawhide
> > today... this is because perl 5.10.0 has arrived!
> 
> Hm. RPM doesn't catch the dependencies for this properly, and there may
> be some more packages which need updating -- for example, the exim
> package depends upon 'libperl.so' but doesn't find that because it has
> an rpath of /usr/lib/perl5/5.8.8/ppc-linux-thread-multi/CORE
> 
> I can rebuild Exim and it'll work, but we ought to get the dependencies
> right in RPM. Did I miss something I was supposed to be doing?

Sounds a bit like this bug:

  https://bugzilla.redhat.com/show_bug.cgi?id=436807
  https://www.redhat.com/archives/fedora-packaging/2008-March/thread.html#00070

I fixed the spec file to add an explicit Requires, but the fix is a
bit unsatisfactory:

  BuildRequires:  perl-ExtUtils-Embed
  %global libperldir %(perl -MExtUtils::Embed -e ldopts 2> /dev/null | egrep -o '/[^[:space:]]*CORE' | head -1)
  %if "%{?libperldir}" != "%{nil}"
  Requires: %{?libperldir}/libperl.so
  %endif

I don't know if you can see a simpler way to do this.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux