Buildservice 11.3: zlib disappeared?

Hi,

one of the packages has a build requirement zlib-devel, and was building nicely. Just recently the build just fails there:


checking pkg-config is at least version 0.9.0… yes
checking for LIBUSB… yes
checking for ZLIB… no
: error: Package requirements (zlib) were not met:

No package ‘zlib’ found

This is strange, as zlib should be in the standard 11.3 repo.
Any ideas what goes wrong?

Hi
It’s there, but it looks like they split out the .pc file in into
zlib-devel-pkgconfig, so maybe you need that as well now.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.9-desktop
up 20:39, 3 users, load average: 0.09, 0.13, 0.09
GPU GeForce 8600 GTS Silent - Driver Version: 290.10

Hm, does not sound like a good idea to lately change the packages.

I included a

%if 0%{?suse_version} = 1130
BuildRequires: zlib-devel-pkgconfig
%endif

In the spec file, but the build fails for all versions, including the 11.3:

  • exec rpmbuild -ba --define ‘_srcdefattr (-,root,root)’ --define ‘disturl obs://build.opensuse.org/home:garminplugin/openSUSE_11.3/90da1fdee4dc2eb6707eb7cffb4089ab-garminplugin’ /usr/src/packages/SOURCES/GarminPlugin.spec
    error: syntax error while parsing ==
    error: /usr/src/packages/SOURCES/GarminPlugin.spec:33: parseExpressionBoolean returns -1

33 is the line with the ‘%if 0%{?suse_version} = 1130’ Query
…but at least it passed the zlib-point :slight_smile:
Is the syntax wrong, or maybe a bug?

Hi
equals always needs to be ‘==’


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.9-desktop
up 1 day 21:15, 3 users, load average: 0.00, 0.05, 0.11
GPU GeForce 8600 GTS Silent - Driver Version: 290.10

The difference between a mathematician and a programmer…Thanks!