Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940754 - dev-libs/nss-3.105: abi_x86_32 fails due to large filesystem
Summary: dev-libs/nss-3.105: abi_x86_32 fails due to large filesystem
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lfs-tracker
  Show dependency tree
 
Reported: 2024-10-04 12:30 UTC by squishypandadev
Modified: 2025-03-07 16:30 UTC (History)
3 users (show)

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


Attachments
Build Log (build.log,60.29 KB, text/x-log)
2024-10-05 20:34 UTC, squishypandadev
Details
Emerge Info (emerge-info.txt,6.86 KB, text/plain)
2024-10-05 20:38 UTC, squishypandadev
Details
Emerge pqv (emerge-pqv.txt,125 bytes, text/plain)
2024-10-05 20:38 UTC, squishypandadev
Details
Modified ebuild (nss-3.105.ebuild,11.55 KB, application/vnd.gentoo.ebuild)
2024-10-09 13:54 UTC, squishypandadev
Details
lfs.patch (lfs.patch,4.67 KB, patch)
2025-03-07 16:10 UTC, Sam James
Details | Diff
lfs.patch (lfs.patch,1.09 KB, patch)
2025-03-07 16:11 UTC, Sam James
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description squishypandadev 2024-10-04 12:30:45 UTC
The abi_x86_32 fails to build on a large 2TB XFS drive. Using a small tmpfs fixes this issue

Build log:
https://bpa.st/FNUXU

Emerge info:
https://bpa.st/FQBC2

Emerge pqv:
https://bpa.st/HPB6G
Comment 1 Leonardo Hernández Hernández 2024-10-05 20:32:12 UTC
Please attach the files to this bug as pastebins have expiration date.
Comment 2 squishypandadev 2024-10-05 20:34:55 UTC
Created attachment 904943 [details]
Build Log
Comment 3 squishypandadev 2024-10-05 20:38:15 UTC
Created attachment 904944 [details]
Emerge Info
Comment 4 squishypandadev 2024-10-05 20:38:38 UTC
Created attachment 904945 [details]
Emerge pqv
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-06 15:03:55 UTC
append-lfs-flags should fix it
Comment 6 Joonas Niilola gentoo-dev 2024-10-09 13:39:55 UTC
Could you try adding 

  append-lfs-flags

somewhere in 

multilib_src_configure() {
 ..
 ..
}

and test if it works? Remember to "git restore" your file if you edit it. (check "git status" if you edit the main ::gentoo repo). You can utilize an overlay, too.
Comment 7 squishypandadev 2024-10-09 13:53:30 UTC
No dice. I don't think it's the compiler. The error seems to be coming from nsinstall. Some kind of built-in tool that is not lfs aware?
Comment 8 squishypandadev 2024-10-09 13:54:17 UTC
Created attachment 905136 [details]
Modified ebuild
Comment 9 Joonas Niilola gentoo-dev 2024-10-09 14:04:31 UTC
> nsinstall: cannot access pkix_tools.h: Value too large for defined data type
Comment 10 Georgi 2025-03-01 20:59:54 UTC
Related thread:

https://forums.gentoo.org/viewtopic-p-8855923.html
Comment 11 Christopher May-Townsend 2025-03-07 15:58:43 UTC
Can confirm the same problem and workaround for me.
Comment 12 Christopher May-Townsend 2025-03-07 16:08:49 UTC
sorry, forgot to add for me it was with dev-libs/nss-3.109
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-07 16:10:23 UTC
Created attachment 920332 [details, diff]
lfs.patch

```
	XCFLAGS="${BUILD_CFLAGS}" \
```

It's possible we need to add it in there too.

Please try this modified ebuild.
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-07 16:11:29 UTC
Created attachment 920333 [details, diff]
lfs.patch

Better patch.