LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-23-2018, 07:34 PM   #1411
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,686

Rep: Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801

Quote:
Originally Posted by sombragris View Post
First I built both packages with sbopkg, meaning that gnustep-base tried to be built before gnustep-make. However, after that, gnustep-make built OK, and then I tried to build gnustep-base again, to no avail.
I just built latest gnustep-base and gnustep-make here and it worked fine with sbopkg

Code:
gnustep-make:
  MD5SUM check for gnustep-make-2.7.0.tar.gz ... OK
  Building package gnustep-make-2.7.0-x86_64-2_SBo.tgz ... OK
  Installing package gnustep-make-2.7.0-x86_64-2_SBo.tgz ... OK

gnustep-base:
  MD5SUM check for gnustep-base-1.25.1.tar.gz ... OK
  Building package gnustep-base-1.25.1-x86_64-1_SBo.tgz ... OK
  Installing package gnustep-base-1.25.1-x86_64-1_SBo.tgz ... OK
 
1 members found this post helpful.
Old 09-23-2018, 10:49 PM   #1412
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 906

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Quote:
Originally Posted by willysr View Post
I just built latest gnustep-base and gnustep-make here and it worked fine with sbopkg

Code:
gnustep-make:
  MD5SUM check for gnustep-make-2.7.0.tar.gz ... OK
  Building package gnustep-make-2.7.0-x86_64-2_SBo.tgz ... OK
  Installing package gnustep-make-2.7.0-x86_64-2_SBo.tgz ... OK

gnustep-base:
  MD5SUM check for gnustep-base-1.25.1.tar.gz ... OK
  Building package gnustep-base-1.25.1-x86_64-1_SBo.tgz ... OK
  Installing package gnustep-base-1.25.1-x86_64-1_SBo.tgz ... OK
Still get the problem.

I investigated and the problem seems to be that chown looks for '/usr/lib64/GNUstep/Libraries' but that directory is in /usr/lib/GNUstep/Libraries instead. (I run Slack64 with no multilib)

Code:
Making install in Resources ...
Making install for resource_set base-resources...
 Creating /tmp/SBo/package-gnustep-base//usr/lib/GNUstep/Libraries/gnustep-base/Versions/1.25/Resources/Languages...
 Creating /tmp/SBo/package-gnustep-base//usr/lib/GNUstep/Libraries/gnustep-base/Versions/1.25/Resources/GSTLS...
Making install in Tests ...
gmake[1]: Nothing to be done for 'install'.
chown: cannot access '/tmp/SBo/package-gnustep-base/usr/lib64/GNUstep/Libraries': No such file or directory
what I see is this. The SlackBuild states:

Code:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --mandir=/usr/man \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --localstatedir=/var \
  --sysconfdir=/etc \
  --enable-ffcall \
  --build=$ARCH-slackware-linux

make
make install DESTDIR=$PKG GNUSTEP_INSTALLATION_DOMAIN=SYSTEM

chown -R root:root $PKG/usr/lib${LIBDIRSUFFIX}/GNUstep/Libraries
chmod -R go-w $PKG/usr/lib${LIBDIRSUFFIX}/GNUstep/Libraries
but somehow the build system does not respect the --libdir parameter of --configure or maybe Libraries are put according to --prefix instead of --libdir.

Meanwhile, getting rid of ${LIBDIRSUFFIX} in the chown lines enables me to finish packaging without a problem. However, the libraries are misplaced in /usr/lib.
 
Old 09-23-2018, 11:38 PM   #1413
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Original Poster
Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by Tonus View Post
Hi all,

Can't have mpd builded till last 2 updates for current (yesterday and today).

The whole queue builds fine but mpd that ends with :
Code:
src/archive/plugins/libarchive_a-Iso9660ArchivePlugin.o `test -f 'src/archive/plugins/Iso9660ArchivePlugin.cxx' || echo './'`src/archive/plugins/Iso9660ArchivePlugin.cxx
src/archive/plugins/Iso9660ArchivePlugin.cxx: Dans la fonction membre «*void Iso9660ArchiveFile::Visit(char*, size_t, size_t, ArchiveVisitor&)*»:
src/archive/plugins/Iso9660ArchivePlugin.cxx:118:32: error: trop peu d'arguments pour la fonction «*void _cdio_list_free(CdioList_t*, int, CdioDataFree_t)*»
  _cdio_list_free (entlist, true);
                                ^
In file included from /usr/include/cdio/iso9660.h:40,
                 from src/archive/plugins/Iso9660ArchivePlugin.cxx:34:
/usr/include/cdio/ds.h:46:6: note: déclaré ici
 void _cdio_list_free (CdioList_t *p_list, int free_data, CdioDataFree_t free_fn);
      ^~~~~~~~~~~~~~~
make[1]: *** [Makefile:7913: src/archive/plugins/libarchive_a-Iso9660ArchivePlugin.o] Error 1
make[1]*: on quitte le répertoire «*/tmp/SBo/mpd-0.20.6*»
make: *** [Makefile:4681: all] Error 2
Any advice (of what I forgot or what I have to do) ?
I think you haven't updated your local copy of the repository, because mpd is at version 0.20.18 on SBo.
 
1 members found this post helpful.
Old 09-23-2018, 11:45 PM   #1414
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Original Poster
Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by sombragris View Post
Still get the problem.

I investigated and the problem seems to be that chown looks for '/usr/lib64/GNUstep/Libraries' but that directory is in /usr/lib/GNUstep/Libraries instead. (I run Slack64 with no multilib)

Code:
Making install in Resources ...
Making install for resource_set base-resources...
 Creating /tmp/SBo/package-gnustep-base//usr/lib/GNUstep/Libraries/gnustep-base/Versions/1.25/Resources/Languages...
 Creating /tmp/SBo/package-gnustep-base//usr/lib/GNUstep/Libraries/gnustep-base/Versions/1.25/Resources/GSTLS...
Making install in Tests ...
gmake[1]: Nothing to be done for 'install'.
chown: cannot access '/tmp/SBo/package-gnustep-base/usr/lib64/GNUstep/Libraries': No such file or directory
what I see is this. The SlackBuild states:

Code:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --mandir=/usr/man \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --localstatedir=/var \
  --sysconfdir=/etc \
  --enable-ffcall \
  --build=$ARCH-slackware-linux

make
make install DESTDIR=$PKG GNUSTEP_INSTALLATION_DOMAIN=SYSTEM

chown -R root:root $PKG/usr/lib${LIBDIRSUFFIX}/GNUstep/Libraries
chmod -R go-w $PKG/usr/lib${LIBDIRSUFFIX}/GNUstep/Libraries
but somehow the build system does not respect the --libdir parameter of --configure or maybe Libraries are put according to --prefix instead of --libdir.

Meanwhile, getting rid of ${LIBDIRSUFFIX} in the chown lines enables me to finish packaging without a problem. However, the libraries are misplaced in /usr/lib.
I can confirm that building gnustep-base, like in willysr's case, installs everything in the right place: I really have no idea what's happening there...
 
1 members found this post helpful.
Old 09-23-2018, 11:51 PM   #1415
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 906

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
obviously somehow in this very particular case, ./config doesn't seem to obey --libdir. Anyway, Since I got a workaround, I can manage. I'll keep an eye open for the reason for this odd behavior.
 
Old 09-24-2018, 03:11 AM   #1416
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 822

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
qt5 compilation error:

Part of the error:

Code:
N_CONNECT -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB --include .moc/moc_predefs.h -I/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/mkspecs/linux-g++ -I/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/src/network -I/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/src/network/kernel -I/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/include -I/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/include/QtNetwork -I/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/include/QtNetwork/5.9.6 -I/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/include/QtNetwork/5.9.6/QtNetwork -I/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/include/QtCore/5.9.6 -I/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/include/QtCore/5.9.6/QtCore -I/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/include/QtCore -I/usr/lib64/qt/include -I/usr/include/c++/8.2.0 -I/usr/include/c++/8.2.0/x86_64-slackware-linux -I/usr/include/c++/8.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/8.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/8.2.0/include-fixed -I/usr/include ssl/qsslsocket.h -o .moc/moc_qsslsocket.cpp
g++ -c -pipe -O2 -fPIC -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -Ikernel -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.9.6 -I../../include/QtNetwork/5.9.6/QtNetwork -I../../include/QtCore/5.9.6 -I../../include/QtCore/5.9.6/QtCore -I../../include/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qsslsocket.o ssl/qsslsocket.cpp
In file included from ../../include/QtCore/qdebug.h:1,
                 from ../../include/QtCore/../../src/corelib/io/qloggingcategory.h:44,
                 from ../../include/QtCore/qloggingcategory.h:1,
                 from ../../include/QtCore/QLoggingCategory:1,
                 from ssl/qssl_p.h:57,
                 from ssl/qsslsocket.cpp:312:
../../include/QtCore/../../src/corelib/io/qdebug.h: In member function ‘void QDebug::Stream::setVerbosity(int)’:
../../include/QtCore/../../src/corelib/io/qdebug.h:99:42: warning: result of ‘(7 << 29)’ requires 33 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
                 flags &= ~(VerbosityMask << VerbosityShift);
                            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
g++ -c -pipe -O2 -fPIC -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -Ikernel -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.9.6 -I../../include/QtNetwork/5.9.6/QtNetwork -I../../include/QtCore/5.9.6 -I../../include/QtCore/5.9.6/QtCore -I../../include/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qsslpresharedkeyauthenticator.o ssl/qsslpresharedkeyauthenticator.cpp
g++ -c -pipe -O2 -fPIC -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -Ikernel -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.9.6 -I../../include/QtNetwork/5.9.6/QtNetwork -I../../include/QtCore/5.9.6 -I../../include/QtCore/5.9.6/QtCore -I../../include/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qsslcertificateextension.o ssl/qsslcertificateextension.cpp
g++ -c -pipe -O2 -fPIC -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -Ikernel -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.9.6 -I../../include/QtNetwork/5.9.6/QtNetwork -I../../include/QtCore/5.9.6 -I../../include/QtCore/5.9.6/QtCore -I../../include/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qsslcertificate_openssl.o ssl/qsslcertificate_openssl.cpp
In file included from ../../include/QtCore/qdebug.h:1,
                 from ../../include/QtCore/../../src/corelib/io/qloggingcategory.h:44,
                 from ../../include/QtCore/qloggingcategory.h:1,
                 from ../../include/QtCore/QLoggingCategory:1,
                 from ssl/qssl_p.h:57,
                 from ssl/qsslcertificate_openssl.cpp:40:
../../include/QtCore/../../src/corelib/io/qdebug.h: In member function ‘void QDebug::Stream::setVerbosity(int)’:
../../include/QtCore/../../src/corelib/io/qdebug.h:99:42: warning: result of ‘(7 << 29)’ requires 33 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
                 flags &= ~(VerbosityMask << VerbosityShift);
                            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
ssl/qsslcertificate_openssl.cpp: In function ‘uint qHash(const QSslCertificate&, uint)’:
ssl/qsslcertificate_openssl.cpp:69:30: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
         return qHashBits(x509->sha1_hash, SHA_DIGEST_LENGTH, seed);
                              ^~
In file included from /usr/include/openssl/crypto.h:25,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:17,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:60,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/qsslcontext_openssl_p.h:1,
                 from ssl/qsslsocket_p.h:62,
                 from ssl/qsslsocket_openssl_p.h:70,
                 from ssl/qsslsocket_openssl_symbols_p.h:71,
                 from ssl/qsslcertificate_openssl.cpp:41:
/usr/include/openssl/ossl_typ.h:120:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
 typedef struct x509_st X509;
                ^~~~~~~
ssl/qsslcertificate_openssl.cpp: In member function ‘QByteArray QSslCertificate::version() const’:
ssl/qsslcertificate_openssl.cpp:93:68: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
             QByteArray::number(qlonglong(q_ASN1_INTEGER_get(d->x509->cert_info->version)) + 1);
                                                                    ^~
In file included from /usr/include/openssl/crypto.h:25,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:17,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:60,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/qsslcontext_openssl_p.h:1,
                 from ssl/qsslsocket_p.h:62,
                 from ssl/qsslsocket_openssl_p.h:70,
                 from ssl/qsslsocket_openssl_symbols_p.h:71,
                 from ssl/qsslcertificate_openssl.cpp:41:
/usr/include/openssl/ossl_typ.h:120:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
 typedef struct x509_st X509;
                ^~~~~~~
ssl/qsslcertificate_openssl.cpp: In member function ‘QByteArray QSslCertificate::serialNumber() const’:
ssl/qsslcertificate_openssl.cpp:102:45: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
         ASN1_INTEGER *serialNumber = d->x509->cert_info->serialNumber;
                                             ^~
In file included from /usr/include/openssl/crypto.h:25,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:17,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:60,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/qsslcontext_openssl_p.h:1,
                 from ssl/qsslsocket_p.h:62,
                 from ssl/qsslsocket_openssl_p.h:70,
                 from ssl/qsslsocket_openssl_symbols_p.h:71,
                 from ssl/qsslcertificate_openssl.cpp:41:
/usr/include/openssl/ossl_typ.h:120:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
 typedef struct x509_st X509;
                ^~~~~~~
ssl/qsslcertificate_openssl.cpp: In member function ‘QSslKey QSslCertificate::publicKey() const’:
ssl/qsslcertificate_openssl.cpp:238:32: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
     X509_PUBKEY *xkey = d->x509->cert_info->key;
                                ^~
In file included from /usr/include/openssl/crypto.h:25,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:17,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:60,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/qsslcontext_openssl_p.h:1,
                 from ssl/qsslsocket_p.h:62,
                 from ssl/qsslsocket_openssl_p.h:70,
                 from ssl/qsslsocket_openssl_symbols_p.h:71,
                 from ssl/qsslcertificate_openssl.cpp:41:
/usr/include/openssl/ossl_typ.h:120:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
 typedef struct x509_st X509;
                ^~~~~~~
ssl/qsslcertificate_openssl.cpp:242:29: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
     if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_RSA) {
                             ^~
In file included from /usr/include/openssl/crypto.h:25,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:17,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:60,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/qsslcontext_openssl_p.h:1,
                 from ssl/qsslsocket_p.h:62,
                 from ssl/qsslsocket_openssl_p.h:70,
                 from ssl/qsslsocket_openssl_symbols_p.h:71,
                 from ssl/qsslcertificate_openssl.cpp:41:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
ssl/qsslcertificate_openssl.cpp:246:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
     } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA) {
                                    ^~
In file included from /usr/include/openssl/crypto.h:25,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:17,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:60,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/qsslcontext_openssl_p.h:1,
                 from ssl/qsslsocket_p.h:62,
                 from ssl/qsslsocket_openssl_p.h:70,
                 from ssl/qsslsocket_openssl_symbols_p.h:71,
                 from ssl/qsslcertificate_openssl.cpp:41:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
ssl/qsslcertificate_openssl.cpp:251:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
     } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_EC) {
                                    ^~
In file included from /usr/include/openssl/crypto.h:25,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:17,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:60,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/qsslcontext_openssl_p.h:1,
                 from ssl/qsslsocket_p.h:62,
                 from ssl/qsslsocket_openssl_p.h:70,
                 from ssl/qsslsocket_openssl_symbols_p.h:71,
                 from ssl/qsslcertificate_openssl.cpp:41:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
ssl/qsslcertificate_openssl.cpp:256:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
     } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DH) {
                                    ^~
In file included from /usr/include/openssl/crypto.h:25,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:17,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:60,
                 from ../../include/QtNetwork/5.9.6/QtNetwork/private/qsslcontext_openssl_p.h:1,
                 from ssl/qsslsocket_p.h:62,
                 from ssl/qsslsocket_openssl_p.h:70,
                 from ssl/qsslsocket_openssl_symbols_p.h:71,
                 from ssl/qsslcertificate_openssl.cpp:41:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
make[3]: *** [Makefile:24967: .obj/qsslcertificate_openssl.o] Error 1
make[3]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/src/network'
make[2]: *** [Makefile:219: sub-network-make_first] Error 2
make[2]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase/src'
make[1]: *** [Makefile:49: sub-src-make_first] Error 2
make[1]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.6/qtbase'
make: *** [Makefile:83: module-qtbase-make_first] Error 2

qt5:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
System: Slacware current 64-bit (NO multilib)
 
Old 09-24-2018, 04:31 AM   #1417
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Original Poster
Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
I was looking at it since yesterday: it has to be heavily patched to build against openssl-1.1.x and I wanted to see if it was possbile to use that instead of falling back to openssl-1.0.x (like I had done previously for qt5-5.7.1).

ATM I am evaluating this patch from the kde people, but if someone else has other (working and tested) proposals I'm all ears

Last edited by ponce; 09-24-2018 at 04:36 AM.
 
Old 09-24-2018, 05:00 AM   #1418
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 822

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
Quote:
Originally Posted by ponce View Post
I was looking at it since yesterday: it has to be heavily patched to build against openssl-1.1.x and I wanted to see if it was possbile to use that instead of falling back to openssl-1.0.x (like I had done previously for qt5-5.7.1).

ATM I am evaluating this patch from the kde people, but if someone else has other (working and tested) proposals I'm all ears
I am doing something easier, compiling QT 5.11.2, it is still compiling, went much further than QT 5.9.6.
 
Old 09-24-2018, 05:09 AM   #1419
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Original Poster
Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by Bindestreck View Post
I am doing something easier, compiling QT 5.11.2, it is still compiling, went much further than QT 5.9.6.
I'm sorry but I don't think I'll follow you in that, as qt-5.9.x has already been tested by dive, willysr and 55020 for compatibility with SBo's scripts depending on it.
 
Old 09-24-2018, 06:00 AM   #1420
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 822

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
Quote:
Originally Posted by ponce View Post
I'm sorry but I don't think I'll follow you in that, as qt-5.9.x has already been tested by dive, willysr and 55020 for compatibility with SBo's scripts depending on it.
This is exactly what I am gonna do.
 
Old 09-24-2018, 06:30 AM   #1421
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Original Poster
Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
BTW, qt5-5.9.6 seems to build fine with these modifications

http://cgit.ponce.cc/slackbuilds/commit/?h=qt5
 
2 members found this post helpful.
Old 09-24-2018, 08:36 AM   #1422
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 822

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
Quote:
Originally Posted by ponce View Post
BTW, qt5-5.9.6 seems to build fine with these modifications

http://cgit.ponce.cc/slackbuilds/commit/?h=qt5
It looks like QT 5.10 and 5.11 also fails, but with other complaints and no time to hassle with them. I guess I go back to 5.9, it works with your patch, thank you!
 
Old 09-24-2018, 09:12 AM   #1423
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 906

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Quote:
Originally Posted by ponce View Post
I can confirm that building gnustep-base, like in willysr's case, installs everything in the right place: I really have no idea what's happening there...
I forgot to mention that I have glibc-2.28 from /testing. This might be related to the issue, perhaps...
 
Old 09-24-2018, 09:31 AM   #1424
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,131

Original Poster
Rep: Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202Reputation: 4202
Quote:
Originally Posted by sombragris View Post
I forgot to mention that I have glibc-2.28 from /testing. This might be related to the issue, perhaps...
it shouldn't, I tested with it installed as it's not in /testing anymore
 
1 members found this post helpful.
Old 09-29-2018, 04:43 AM   #1425
lord_
Member
 
Registered: Apr 2018
Distribution: Slackware -current
Posts: 44

Rep: Reputation: Disabled
Some problem in python2-sip

Got this from rebuilding

Code:
sip-4.19.6/
sip-4.19.6/ChangeLog
sip-4.19.6/configure.py
sip-4.19.6/doc/
sip-4.19.6/doc/html/
sip-4.19.6/doc/html/_sources/
sip-4.19.6/doc/html/_sources/annotations.rst.txt
sip-4.19.6/doc/html/_sources/build_system.rst.txt
sip-4.19.6/doc/html/_sources/c_api.rst.txt
sip-4.19.6/doc/html/_sources/command_line.rst.txt
sip-4.19.6/doc/html/_sources/directives.rst.txt
sip-4.19.6/doc/html/_sources/distutils.rst.txt
sip-4.19.6/doc/html/_sources/embedding.rst.txt
sip-4.19.6/doc/html/_sources/incompatibilities.rst.txt
sip-4.19.6/doc/html/_sources/index.rst.txt
sip-4.19.6/doc/html/_sources/installation.rst.txt
sip-4.19.6/doc/html/_sources/introduction.rst.txt
sip-4.19.6/doc/html/_sources/python_api.rst.txt
sip-4.19.6/doc/html/_sources/specification_files.rst.txt
sip-4.19.6/doc/html/_sources/using.rst.txt
sip-4.19.6/doc/html/_static/
sip-4.19.6/doc/html/_static/ajax-loader.gif
sip-4.19.6/doc/html/_static/basic.css
sip-4.19.6/doc/html/_static/classic.css
sip-4.19.6/doc/html/_static/comment-bright.png
sip-4.19.6/doc/html/_static/comment-close.png
sip-4.19.6/doc/html/_static/comment.png
sip-4.19.6/doc/html/_static/doctools.js
sip-4.19.6/doc/html/_static/down-pressed.png
sip-4.19.6/doc/html/_static/down.png

[...]
cp -f sip.so /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/sip.so
strip /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/sip.so
cp -f /tmp/SBo/sip-4.19.6/siplib/sip.h /tmp/SBo/package-python2-sip/usr/include/python2.7/sip.h
cp -f /tmp/SBo/sip-4.19.6/sip.pyi /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/sip.pyi
make[1]: Leaving directory '/tmp/SBo/sip-4.19.6/siplib'
cp -f sipconfig.py /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/sipconfig.py
cp -f /tmp/SBo/sip-4.19.6/sipdistutils.py /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/sipdistutils.py
mv: cannot stat '/tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/sipdistutils.py': No such file or directory
There's some error in the SlackBuild (lines 103 - 107):

Code:
for oldf in sipdistutils.py sip.pyi sipconfig.py
do
  mv $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/$oldf \
  $PKG/usr/lib$LIBDIRSUFFIX/python$PYTHONVER/site-packages/python2_$oldf
done
the files sipdistutils.py and sipconfig.py are in /tmp/SBo/package-python2-sip/usr/lib64/python2.7/site-packages/PyQt5/ now.
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration