[opensuse-buildservice] strange build error
Hi guys, for 2 weeks now, I get strange build errors in some of my packages. For instance the one below from https://build.opensuse.org/package/show/ home:scalpel4k/kde-now First, it complains about some files not being packaged, although they are not installed in BUILDROOT. Second, I can't find any %if macro that could be malformed as stated; even my project config is clean. What am I doing wrong? thx Michi
BUILD OUTPUT >>>
[ 161s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/ abuild/rpmbuild/BUILDROOT/kde- now-2016.08.01git~20161017T194355~3b41834-18.1.x86_64 [ 161s] error: Installed (but unpackaged) file(s) found: [ 161s] /home/abuild/rpmbuild/BUILD/kde- now-2016.08.01git~20161017T194355~3b41834/build/src/KDENowCoreTargets- relwithdebinfo.cmake [ 161s] /home/abuild/rpmbuild/BUILD/kde- now-2016.08.01git~20161017T194355~3b41834/build/src/KDENowCoreTargets.cmake [ 161s] [ 161s] [ 161s] RPM build errors: [ 161s] Macro %if has illegal name (%define) [ 161s] Macro %endif has empty body [ 161s] Macro %if has illegal name (%define) [ 161s] Macro %endif has empty body [ 161s] Installed (but unpackaged) file(s) found: [ 161s] /home/abuild/rpmbuild/BUILD/kde- now-2016.08.01git~20161017T194355~3b41834/build/src/KDENowCoreTargets- relwithdebinfo.cmake [ 161s] /home/abuild/rpmbuild/BUILD/kde- now-2016.08.01git~20161017T194355~3b41834/build/src/KDENowCoreTargets.cmake [ 161s] error: Macro %if has illegal name (%define) [ 161s] error: Macro %endif has empty body [ 161s] error: Macro %if has illegal name (%define) [ 161s] error: Macro %endif has empty body [ 161s] [ 161s] lamb07 failed "build kde-now.spec" at Sat Oct 22 08:22:17 UTC 2016. [ 161s] [ 161s] ### WATCHDOG MARKER START ### -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Sat, Oct 22, 2016 at 10:32:39AM +0200, scalpel4k wrote:
Second, I can't find any %if macro that could be malformed as stated; even my project config is clean.
What am I doing wrong?
That's not your fault, but the fault of the KDE:Unstable:Extra maintainers. Their project config contains: Macros: %_without_lang 0 %if "%_repository" == "openSUSE_13.2" || "%_repository" == "openSUSE_Tumbleweed" %_kf5_kxmlguidir %{_kf5_sharedir}/kxmlgui5 %endif # Leap 42.1 doesn't know _kf5_appstreamdir %if %_repository == openSUSE_42.1 %_kf5_appstreamdir %{_kf5_sharedir}/appdata %endif :Macros I.e. they define a %if and %endif macro ;-) Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Michael Schroeder
-
scalpel4k