Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues reported by nss/poppler #6335

Open
Begasus opened this issue Oct 26, 2021 · 4 comments
Open

Fix issues reported by nss/poppler #6335

Begasus opened this issue Oct 26, 2021 · 4 comments
Labels
hacktoberfest Issues proposed to Hacktoberfest participants type-bug

Comments

@Begasus
Copy link
Contributor

Begasus commented Oct 26, 2021

To get texstudio and qpdfview I disabled nss for poppler atm, did some digging but wasn't able to find a quick solution, hence the merge for #6323
Issue reported at: #6318 (for now it is "fixed", but should get a proper fix).

@Begasus Begasus added the hacktoberfest Issues proposed to Hacktoberfest participants label Oct 26, 2021
@Begasus
Copy link
Contributor Author

Begasus commented Oct 29, 2021

From comment: #6323 (comment)

This isn't working for me, tried adding it to the base and _qt REQUIRES with no luck

@Begasus
Copy link
Contributor Author

Begasus commented Dec 31, 2021

Created a recipe for poppler 21.12.0 yesterday, enabling nss still gives the error mentioned in #6318

Added: devel:libsmime3$secondaryArchSuffix in REQUIRES no luck ...

@Begasus
Copy link
Contributor Author

Begasus commented Jan 1, 2022

Checking nss I see this:

prefix=${prefix}
exec_prefix=${prefix}
libdir=${libDir}
includedir=${includeDir}
Name: NSS
Description: Network Security Services
Version: $portVersion
Requires: nspr
Libs: -L${developLibDir} -lssl3 -lsmime3 -lnss3 -lnssutil3
Cflags: -I${includeDir}/nss

Shouldn't libdir= reflect the use in Libs: ? (PS, checked this path and didn't solve anything, but still) ...

Checking readelf -d I see this:

~> readelf -d /system/lib/x86/libpoppler.so.116.0.0 

Dynamic section at offset 0x2ab2ec contains 39 entries:
 Tag        Type                         Name/Value
0x00000001 (NEEDED)                     Shared library: [libfreetype.so.6]
0x00000001 (NEEDED)                     Shared library: [libfontconfig.so.1]
0x00000001 (NEEDED)                     Shared library: [libjpeg.so.62]
0x00000001 (NEEDED)                     Shared library: [libz.so.1]
0x00000001 (NEEDED)                     Shared library: [libcurl.so.4]
0x00000001 (NEEDED)                     Shared library: [libopenjp2.so.7]
0x00000001 (NEEDED)                     Shared library: [liblcms2.so.2]
0x00000001 (NEEDED)                     Shared library: [libpng16.so.16]
0x00000001 (NEEDED)                     Shared library: [libtiff.so.5]
0x00000001 (NEEDED)                     Shared library: [/packages/nss_x86-3.63-1/.self/develop/lib/x86/libsmime3.so]
0x00000001 (NEEDED)                     Shared library: [/packages/nss_x86-3.63-1/.self/develop/lib/x86/libnss3.so]
0x00000001 (NEEDED)                     Shared library: [/packages/nss_x86-3.63-1/.self/develop/lib/x86/libnssutil3.so]
0x00000001 (NEEDED)                     Shared library: [libplc4.so]
0x00000001 (NEEDED)                     Shared library: [libnspr4.so]
0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED)                     Shared library: [libroot.so]
0x0000000e (SONAME)                     Library soname: [libpoppler.so.116]

Adding: devel:libsmime3$secondaryArchSuffix in REQUIRES (for poppler/texstudio/extractpdfmark) doesn't solve it either.

Main packages checked with this is TeXstudio and extractpdfmark ...

Seems it's not a stand-alone issue, looking through some recipes through Repology I see some not using/enabling nss either in their ports?
Issue: https://bugzilla.redhat.com/show_bug.cgi?id=1908951

@Begasus
Copy link
Contributor Author

Begasus commented Jan 3, 2022

extractpdfmark is infected by this also:

extractpdfmark 
runtime_loader: /boot/system/lib/x86/libpoppler.so.116.0.0: Version dependency "/packages/nss_x86-3.73.1-1/.self/develop/lib/x86/libsmime3.so" not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Issues proposed to Hacktoberfest participants type-bug
Development

No branches or pull requests

2 participants