Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
Re: [opensuse-buildservice] OBS check causing questionable failure.

Quoting Roger Oberholtzer <roger@xxxxxx>:

When I build the mingw32 package, OBS makes a
debug package. I did not (I think) request this. Part of the build
checks the source. In my case, I get this complaint:

mingw32-blt-debug-2.5-51.1
... running 01-check-debuginfo
... testing for empty debuginfo packages
!
! //usr/src/packages/RPMS/noarch/mingw32-blt-debugsource-2.5-51.1.noarch.rpm: empty debuginfo/debugsource package, deleting
!
... running 02-check-gcc-output
... testing for serious compiler warnings
(using /usr/lib/build/checks-data/check_gcc_output)
(using //.build.log)
E: mingw32-blt 64bit-portability-issue bltWindow.c:876

And then the build fails. Even though the RPMs I really wanted are
made...

I don't think you should disable this. The 'actual' issue is very likely, when you look at the build log, that there is an 'implicit declaration of "foo". during the build. can be a simple error as a typo, or very often/commonly a missnig #include of a header.

Instead of working around build root policy checks, you should accept that the tests might make some sense :) (implicit declarations in *most* cases cause program crashes when reached; and no correct symbol happens to be in memory at the time.

Hth,
Dominique
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
References