openSUSE 11.1 surprisingly refuses because of a warning

I have following warning, not error building dcmtk on openSUSE 11.1:

… checking for files with abuild user/group
… running 00-check-install-rpms
… installing all built rpms
Preparing packages for installation…
… running 01-check-debuginfo
… testing for empty debuginfo packages
… running 02-check-gcc-output
… testing for serious compiler warnings
(using /usr/lib/build/checks-data/check_gcc_output)
(using //.build.log)

I: Expression compares a char* pointer with a string literal.
Usually a strcmp() was intended by the programmer
E: dcmtk stringcompare
System halted.

Because of this I believe build.opensuse denies me of making an rpm. But it is the same code that works on Suse 10.3 to Mandriva 2008/fedora9…

Can you please help me of getting an rpm.
The problem is that the code is upstream and actually works as it is.

I would guess it’s a gcc43 issue with your source code, you will need
to add a patch to fix the error.

Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel
up 11:47, 2 users, load average: 0.89, 1.10, 0.58
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

I changed the code (after a talk with the authors) and now it passes the test, but fails on the next one:
dcmtk-3.5.4-18.1.i586.rpm: directories not owned by a package:

  • /usr/share/data
    Why fails it here and why had it passed all the times before?

Seems that openSUSE 11.1 has a new check for rpm-dir-owner.
I’ll just add the missing dirs with a %dir makro after the %file -f files
What about that?

Yes, the brp-check and rpmlint checks are a lot more stringent now, I
normally test on a local build and run the rpmlint checks direct.

You might try %run_permissions, are you using %{buildroot} as well?

Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel
up 19:25, 2 users, load average: 0.15, 0.12, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82