On 10/17/07, Andrew Beekhof <[EMAIL PROTECTED]> wrote:
> On 10/12/07, Carson Gaspar <[EMAIL PROTECTED]> wrote:
> > Lars Marowsky-Bree wrote:
> > > On 2007-10-11T02:37:05, Carson Gaspar <[EMAIL PROTECTED]> wrote:
> > >> Then either your package is broken (has a missing dependency) or the 
> > >> build
> > >> service is broken (doesn't check multi-level dependencies). Yuck. I'll 
> > >> just
> > >> keep hacking it out.
> > >
> > > The internal build system of older SUSE releases indeed doesn't do
> > > recursive expansion; newer ones do. So it should be alright to special
> > > case this for SUSE in the specfile.
> >
> > Look at the SPEC file in
> > http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_7/src/heartbeat-2.1.2-10.1.src.rpm
> >
> > It has LZO dependencies for _everyone_.
>
> I was under the impression we needed it
> Apparently I was mistaken

The configure output holds the reason:

checking for libgnutls-config... /usr/bin/libgnutls-config
checking for gnutls library flags... -L/usr/lib -lgnutls -lgcrypt
-lgpg-error -llzo2 -lz

Though this only seems to occur on SUSE_Linux_10.0 (versions before
and after seem not to include -llzo2)

The rpm now only pulls it in when building for this case.

>
> > And if you undef it, it fails
> > because the macro isn't conditionalized when referenced later (%{foo}
> > instead of %{?foo}). I had to whack it with a machete to get it to build.
> >
> > I can provide diffs that improve sanity if so desired... but AFAIK there
> > is no RPM macro to detect RHEL4, so I'm not sure how to conditionalize
> > the RHEL4 settings properly.
>
> http://en.opensuse.org/Build_Service/cross_distribution_package_how_to
>
> but don't worry, i'm fiddling with it now anyway
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to