Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592504 - app-crypt/xca fails to build with >=dev-libs/openssl-1.1.0
Summary: app-crypt/xca fails to build with >=dev-libs/openssl-1.1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2016-08-30 22:40 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-07-25 12:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,24.06 KB, text/plain)
2016-08-30 22:40 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-30 22:40:16 UTC
Created attachment 444514 [details]
build.log

x86_64-pc-linux-gnu-g++ -DXCA_PREFIX=\"/usr/share/xca\" -DETC=\"/etc\" -DDOCDIR=\"/usr/share/doc/xca-1.3.2-r2\" -march=native -mtune=native -O2 -pipe  -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/incl
ude/qt4/QtCore -I/var/tmp/portage/app-crypt/xca-1.3.2-r2/work/xca-1.3.2 -I/var/tmp/portage/app-crypt/xca-1.3.2-r2/work/xca-1.3.2 -I/var/tmp/portage/app-crypt/xca-1.3.2-r2/work/xca-1.3.2/ui -Wall -Wextra -O2  -c pki_x509.cpp -o pki_x509.o
pki_x509.cpp: In member function ‘void pki_x509::setSerial(const a1int&)’:
pki_x509.cpp:149:10: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
  if (cert->cert_info->serialNumber != NULL ) {
          ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp:150:25: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
   ASN1_INTEGER_free(cert->cert_info->serialNumber);
                         ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp:152:6: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
  cert->cert_info->serialNumber = serial.get();
      ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp: In member function ‘a1int pki_x509::getIncCaSerial()’:
pki_x509.cpp:179:35: error: ‘RAND_pseudo_bytes’ was not declared in this scope
  RAND_pseudo_bytes(buf, SERIAL_LEN);
                                   ^
pki_x509.cpp: In member function ‘a1int pki_x509::hashInfo(const EVP_MD*) const’:
pki_x509.cpp:190:16: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
     (char*)cert->cert_info,digest,&len))
                ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp: In member function ‘void pki_x509::setNotBefore(const a1time&)’:
pki_x509.cpp:377:38: error: ‘X509_set_notBefore’ was not declared in this scope
  X509_set_notBefore(cert, t.get_utc());
                                      ^
pki_x509.cpp: In member function ‘void pki_x509::setNotAfter(const a1time&)’:
pki_x509.cpp:384:37: error: ‘X509_set_notAfter’ was not declared in this scope
  X509_set_notAfter(cert, t.get_utc());
                                     ^
pki_x509.cpp: In member function ‘a1time pki_x509::getNotBefore() const’:
pki_x509.cpp:390:34: error: ‘X509_get_notBefore’ was not declared in this scope
  a1time a(X509_get_notBefore(cert));
                                  ^
pki_x509.cpp: In member function ‘a1time pki_x509::getNotAfter() const’:
pki_x509.cpp:396:33: error: ‘X509_get_notAfter’ was not declared in this scope
  a1time a(X509_get_notAfter(cert));
                                 ^
pki_x509.cpp: In member function ‘virtual x509name pki_x509::getSubject() const’:
pki_x509.cpp:402:17: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
  x509name x(cert->cert_info->subject);
                 ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp: In member function ‘x509name pki_x509::getIssuer() const’:
pki_x509.cpp:409:17: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
  x509name x(cert->cert_info->issuer);
                 ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp: In member function ‘void pki_x509::setSubject(const x509name&)’:
pki_x509.cpp:416:10: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
  if (cert->cert_info->subject != NULL)
          ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp:417:22: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
   X509_NAME_free(cert->cert_info->subject);
                      ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp:418:6: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
  cert->cert_info->subject = n.get();
      ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp: In member function ‘void pki_x509::setIssuer(const x509name&)’:
pki_x509.cpp:424:11: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
  if ((cert->cert_info->issuer) != NULL)
           ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp:425:22: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
   X509_NAME_free(cert->cert_info->issuer);
                      ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp:426:6: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
  cert->cert_info->issuer = n.get();
      ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp: In member function ‘virtual extList pki_x509::getV3ext()’:
pki_x509.cpp:743:18: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
  el.setStack(cert->cert_info->extensions);
                  ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
pki_x509.cpp: In member function ‘virtual ASN1_OBJECT* pki_x509::sigAlg()’:
pki_x509.cpp:764:13: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
  return cert->sig_alg->algorithm;
             ^
In file included from /usr/include/openssl/x509.h:20:0,
                 from pki_x509.h:12,
                 from pki_x509.cpp:9:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of ‘X509 {aka struct x509_st}’
 typedef struct x509_st X509;
                ^
make[1]: *** [/var/tmp/portage/app-crypt/xca-1.3.2-r2/work/xca-1.3.2/Rules.mak:31: pki_x509.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-crypt/xca-1.3.2-r2/work/xca-1.3.2/lib'
make: *** [Makefile:79: lib/.build-stamp] Error 2
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2018-05-24 19:08:18 UTC
please check xca-1.4.1 should work.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-07-25 12:37:49 UTC
Indeed. Sorry it took so long for me to check.