Overview

Request 554990 superseded

Fix build with RPM 4.14

Loading...

Dominique Leuenberger's avatar

This does indeed not fix the build failure, but there seems to be multiple errors stacked up by now. Keep in mind that mozldap did not see a successful build in openSUSE:Factory since Oct 3rd, 2017 (since the upgrade of perl to 5.26)

The perl issue seems rather easy to be fixed:

Index: mozldap-6.0.7/c-sdk/ldap/build/replace.pm
===================================================================
--- mozldap-6.0.7.orig/c-sdk/ldap/build/replace.pm
+++ mozldap-6.0.7/c-sdk/ldap/build/replace.pm
@@ -62,7 +62,7 @@ sub GenerateHeader ($$\%) {
     while(<TEMPLATE>) {
         my $line = $_;
         while(($orig, $replace) = each %$keywords) {
-            $line =~ s/{{$orig}}/$replace/g;
+            $line =~ s/\{\{$orig\}\}/$replace/g;
         }

    # the first line is a comment specific to the template file, which we

But that only leads to the next error:

abandon.c:267:31: error: unknown type name 'LDAP'; did you mean 'LDAP_C'?
 nsldapi_send_abandon_message( LDAP *ld, LDAPConn *lc, BerElement *ber,
                               ^~~~
                               LDAP_C

Request History
Dominique Leuenberger's avatar

dimstar created request

Fix build with RPM 4.14


Wolfgang Rosenauer's avatar

wrosenauer accepted review


Wolfgang Rosenauer's avatar

wrosenauer approved review


Dominique Leuenberger's avatar

dimstar superseded request

superseded by 559261

openSUSE Build Service is sponsored by