SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a new Slackware user. Actually, I'm evaluating 14.1 in a VM right now and really love how it works, so I plan to install it for good once 14.2 comes out. Anyway, I was trying to build QT5 using the SBo script and ran into this error:
Code:
/tmp/SBo/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss
/ssl/ssl3con.c: In function 'ssl3_ChaCha20Poly1305':
/tmp/SBo/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss
/ssl/ssl3con.c:2091:15: error: 'CK_NSS_AEAD_PARAMS' has no member named 'pIv'
aeadParams.pIv = (unsigned char *) additionalData;
^
/tmp/SBo/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss
/ssl/ssl3con.c:2092:15: error: 'CK_NSS_AEAD_PARAMS' has no member named 'ulIvLen'
aeadParams.ulIvLen = 8;
^
I tracked down the issue to the included file /usr/include/nss/pkcs11n.h, which defines CK_NSS_AEAD_PARAMS but doesn't have the members needed in ssl3con.c. This struct is redefined in ssl3con.c, but it is inside a conditional compile block that gets ignored on my system to prevent a redefinition error. I ended up working around the problem by moving it out of the block and renaming it slightly both in the definition and the one place where it's used in ssl3con.c. Here is the diff between the original file and the fixed one:
After the fix, QT5 compiled and installed without issue. My question is, does this constitute a bug that should be reported on SBo? I don't think my system is unusual at all, because I've only installed things using slackpkg and SBo after the initial system installation. So I would think that anyone trying to use the SlackBuild script would run into the same problem, but maybe I did something wrong. I didn't install any of the optional dependencies, unless some of them came in the initial Slackware installation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.