fs_api_module_register

Eric Broch ebroch at whitehorsetc.com
Tue May 19 02:16:20 UTC 2015


I found the reason for this build error. It has to do with the rpath
setting. Under Fedora packaging guidelines
<https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#AlternativeRpath>
the following settings are changed in the spec file under %configure for
libtool:

%configure
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

commenting them out solved the problem, but I'm not sure that this is the best, or the appropriate, solution...yet.

Anyway, thanks for providing the SUSE spec file, Marcus.

EricB




On 5/17/2015 9:55 AM, Eric Broch wrote:
>
>
>
>
> Marcus,
>
> Thanks for the spec file.
>
> I'm fairly new to creating RPM's and I just found out that the issue is
> taking place during the 'make check' portion of the spec file. I'm not
> sure what 'make check' does after having googled it, although, I think
> it checks for run-time errors. Any hints?
>
> Eric
>
> On 5/16/2015 12:52 PM, Marcus Rueckert wrote:
>> On 2015-05-16 11:52:55 -0600, Eric Broch wrote:
>>> I'm building on CentOS 5 (x86) and CentOS 6 (x86_64). The rpmbuild
>>> failed on both with the same error. Is there any other information you
>>> would need from me? I'm not sure if I'm missing some dependency, or not.
>>> May I trouble you for the dovecot.spec file you used to build your RPM?
>> https://build.opensuse.org/package/show/server:mail/dovecot22
>>
>> sles 11 should be close to centos 6.
>>
>>     darix
>>



More information about the dovecot mailing list