Public bug reported:

Imported from Debian bug http://bugs.debian.org/1138436:

Package: gridsite
Version: 3.0.0~20240125git1200598-2
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: [email protected]
Usertags: openssl-4.0

OpenSSL 4.0 is in experimental. This package fails to build against it:

| libtool: compile:  gcc -g -O2 -Werror=implicit-function-declaration 
"-ffile-prefix-map=/build/reproducible-path/gridsite-3.0.0~20240125git1200598=."
 -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-I../interface -DPIC -fPIC -DLINUX=2 -D_REENTRANT -D_LARGEFILE64_SOURCE 
-I/usr/include/httpd -I/usr/include/apache2 -I/usr/include/apr-0 
-I/usr/include/apr-1 -I/usr/include/apr-1.0 -I/usr/kerberos/include -c 
grst_canl_x509.c  -fPIC -DPIC -o .libs/grst_canl_x509.o
| grst_canl_x509.c: In function 'is_robot_certificate':
| grst_canl_x509.c:153:17: warning: assignment discards 'const' qualifier from 
pointer target type [-Wdiscarded-qualifiers]
|   153 |         subject = X509_get_subject_name(cert);
|       |                 ^
| grst_canl_x509.c:160:20: warning: assignment discards 'const' qualifier from 
pointer target type [-Wdiscarded-qualifiers]
|   160 |                 ne = X509_NAME_get_entry(subject, i);
|       |                    ^
| grst_canl_x509.c:161:23: warning: assignment discards 'const' qualifier from 
pointer target type [-Wdiscarded-qualifiers]
|   161 |                 value = X509_NAME_ENTRY_get_data(ne);
|       |                       ^
| grst_canl_x509.c: In function 'GRSTx509KnownCriticalExts':
| grst_canl_x509.c:279:12: warning: assignment discards 'const' qualifier from 
pointer target type [-Wdiscarded-qualifiers]
|   279 |         ex = X509_get_ext(cert, i);
|       |            ^
| grst_canl_x509.c: In function 'GRSTx509VerifySig':
| grst_canl_x509.c:380:32: error: implicit declaration of function 
'ASN1_STRING_data'; did you mean 'ASN1_STRING_set0'? 
[-Wimplicit-function-declaration]
|   380 |            
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notBefore(cert)),0);
|       |                                ^~~~~~~~~~~~~~~~
|       |                                ASN1_STRING_set0
| grst_canl_x509.c:380:32: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|   380 |            
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notBefore(cert)),0);
|       |                                
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                |
|       |                                int
| In file included from grst_canl_x509.c:75:
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:385:32: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|   385 |            
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notAfter(cert)),0);
|       |                                
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                |
|       |                                int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c: In function 'GRSTx509VerifyVomsSigCert':
| grst_canl_x509.c:690:20: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|   690 |                    ASN1_STRING_data(X509_get_notBefore(cacert)), 0);
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                    |
|       |                    int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:694:20: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|   694 |                    ASN1_STRING_data(X509_get_notAfter(cacert)), 0);
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                    |
|       |                    int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:700:20: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|   700 |                    ASN1_STRING_data(X509_get_notBefore(vomscert)), 0);
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                    |
|       |                    int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:704:20: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|   704 |                    ASN1_STRING_data(X509_get_notAfter(vomscert)), 0);
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                    |
|       |                    int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c: In function 'GRSTx509ChainVomsAdd':
| grst_canl_x509.c:841:23: error: storage size of 'acissuerserialASN1' isn't 
known
|   841 |    ASN1_INTEGER       acissuerserialASN1;
|       |                       ^~~~~~~~~~~~~~~~~~
| grst_canl_x509.c:843:15: warning: assignment discards 'const' qualifier from 
pointer target type [-Wdiscarded-qualifiers]
|   843 |    asn1data   = X509_EXTENSION_get_data(ex);
|       |               ^
| grst_canl_x509.c:844:15: error: assignment to 'char *' from 'int' makes 
pointer from integer without a cast [-Wint-conversion]
|   844 |    asn1string = ASN1_STRING_data(asn1data);
|       |               ^
| grst_canl_x509.c: In function 'GRSTx509ChainLoad':
| grst_canl_x509.c:1190:32: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  1190 |                                
ASN1_STRING_data(X509_get_notBefore(cert)), 0);
|       |                                
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                |
|       |                                int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:1192:32: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  1192 |                                
ASN1_STRING_data(X509_get_notAfter(cert)), 0);
|       |                                
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                |
|       |                                int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:1284:25: warning: assignment discards 'const' qualifier from 
pointer target type [-Wdiscarded-qualifiers]
|  1284 |                      ex = X509_get_ext(cert, j);
|       |                         ^
| grst_canl_x509.c: In function 'GRSTx509ParseVomsExt':
| grst_canl_x509.c:1439:23: error: storage size of 'acissuerserialASN1' isn't 
known
|  1439 |    ASN1_INTEGER       acissuerserialASN1;
|       |                       ^~~~~~~~~~~~~~~~~~
| grst_canl_x509.c:1441:15: warning: assignment discards 'const' qualifier from 
pointer target type [-Wdiscarded-qualifiers]
|  1441 |    asn1data   = X509_EXTENSION_get_data(ex);
|       |               ^
| grst_canl_x509.c:1442:15: error: assignment to 'char *' from 'int' makes 
pointer from integer without a cast [-Wint-conversion]
|  1442 |    asn1string = ASN1_STRING_data(asn1data);
|       |               ^
| grst_canl_x509.c: In function 'GRSTx509GetVomsCreds':
| grst_canl_x509.c:1553:29: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  1553 |         
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notBefore(usercert)),0);
|       |                             
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                             |
|       |                             int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:1555:29: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  1555 |         
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notAfter(usercert)),0);
|       |                             
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                             |
|       |                             int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:1567:31: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  1567 |           
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notBefore(cert)),0);
|       |                               
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                               |
|       |                               int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:1571:31: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  1571 |           
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notAfter(cert)),0);
|       |                               
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                               |
|       |                               int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:1576:15: warning: assignment discards 'const' qualifier from 
pointer target type [-Wdiscarded-qualifiers]
|  1576 |            ex = X509_get_ext(cert, i);
|       |               ^
| grst_canl_x509.c: In function 'GRSTx509CompactCreds':
| grst_canl_x509.c:1705:43: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  1705 |           (long long) 
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notBefore(usercert)),0),
|       |                                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                           |
|       |                                           int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:1706:43: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  1706 |           (long long) 
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notAfter(usercert)),0),
|       |                                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                           |
|       |                                           int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:1722:43: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  1722 |           (long long) 
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notBefore(gsiproxycert)),0),
|       |                                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                           |
|       |                                           int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:1723:43: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  1723 |           (long long) 
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notAfter(gsiproxycert)),0),
|       |                                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                           |
|       |                                           int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:1732:8: warning: 'GRSTx509GetVomsCreds' is deprecated 
[-Wdeprecated-declarations]
|  1732 |        GRSTx509GetVomsCreds(lastcred, maxcreds, credlen, creds,
|       |        ^~~~~~~~~~~~~~~~~~~~
| grst_canl_x509.c:1538:5: note: declared here
|  1538 | int GRSTx509GetVomsCreds(int *lastcred, int maxcreds, size_t credlen,
|       |     ^~~~~~~~~~~~~~~~~~~~
| grst_canl_x509.c: In function 'GRSTx509ProxyGetTimes':
| grst_canl_x509.c:2585:33: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  2585 |   *start  = 
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notBefore(cert)),0);
|       |                                 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                 |
|       |                                 int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| grst_canl_x509.c:2586:33: error: passing argument 1 of 'GRSTasn1TimeToTimeT' 
makes pointer from integer without a cast [-Wint-conversion]
|  2586 |   *finish = 
GRSTasn1TimeToTimeT(ASN1_STRING_data(X509_get_notAfter(cert)),0);
|       |                                 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                 |
|       |                                 int
| ../interface/gridsite.h:453:28: note: expected 'char *' but argument is of 
type 'int'
|   453 | time_t GRSTasn1TimeToTimeT(char *, size_t);
|       |                            ^~~~~~
| make[2]: *** [Makefile:142: grst_canl_x509.lo] Error 1

Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/gridsite_3.0.0~20240125git1200598-2_amd64-2026-04-19T13:12:21Z

Sebastian

** Affects: gridsite (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: gridsite (Debian)
     Importance: Undecided
         Status: New

** Bug watch added: Debian Bug tracker #1138436
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138436

** Changed in: gridsite (Debian)
 Remote watch: None => Debian Bug tracker #1138436

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154984

Title:
  gridsite: FTBFS with openssl 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gridsite/+bug/2154984/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to