[ATrpms-devel] Rebuilding dovecot

John Robinson john.robinson at anonymous.org.uk
Mon Feb 19 10:36:44 CET 2007


On 19/02/2007 09:14, Axel Thimm wrote:
> On Sun, Feb 18, 2007 at 07:31:03PM +0000, John Robinson wrote:
>> On 18/02/2007 14:40, Axel Thimm wrote:
[...]
>>> Is bcond giving you headaches?
>> Yup.
>>
>>> Then use
>>>
>>> %bcond_with()           %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
>>> %bcond_without()        %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}
>>>
>>> in /etc/rpm/macros
[...]
> Looks you also need
> 
> %with()         %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}
> %without()      %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}
> 
> I'm building on RHEL4 with rpm 4.4 :)
> 
> http://atrpms.net/dist/el4/rpm/

OK, I tried the extra macros above, and then your rpm and rpm-build 4.4, 
then both, and I'm still getting:

checking if we can use inotify... "no"
configure: error: inotify requested but not available
error: Bad exit status from /var/tmp/rpm-tmp.26119 (%build)

A quick look there shows configure was indeed called with 
--with-inotify=inotify.

I feel really stupid now :-(

Cheers,

John.



More information about the atrpms-devel mailing list