Mass rebuild, noarch and binary files

Panu Matilainen pmatilai at laiskiainen.org
Sat Feb 28 08:57:26 UTC 2009


On Fri, 27 Feb 2009, Thibault North wrote:

> Le Friday, 27. February 2009 12:02:24 pm Florian Festi, vous avez écrit :
>> Panu Matilainen wrote:
>>>> %global _binaries_in_noarch_packages_terminate_build 0
>>>
>>> Yup, that's the way to turn to turn it off from a spec.
>
> Looks like it is not enough (same error). (Have put it right
> after %description)

Me thinks you have a typo in there somewhere, I just tried a mock rebuild 
of avr-libc and this makes it build just fine (it'll warn about the 
binaries but it wont stop the build):

--- avr-libc.spec	24 Feb 2009 03:43:26 -0000	1.3
+++ avr-libc.spec	28 Feb 2009 08:55:23 -0000
@@ -1,3 +1,5 @@
+%global _binaries_in_noarch_packages_terminate_build 0
+
  Name:           avr-libc
  Version:        1.6.4
  Release:        2%{?dist}
@@ -20,7 +22,6 @@ Berkeley license is intented to be compa


>
>> Wouldn't removing the executable bit from the files in question be the
>> better solution?
>>
>> Florian
>
> It comes with an executable file, avr-man, which is a shell script
> is /usr/bin, needs to be +x amha.
>
> By the way, rpmbuild doesn't mention the problematic files. Any way to have
> them echoed ?

Not at the moment. It could (or should) do that of course.

 	- Panu -




More information about the devel mailing list