Skip to main content
Topic: Codium PKGBUILD for 1.85.2.24019 needs 2 changes in order to build (Read 220 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Codium PKGBUILD for 1.85.2.24019 needs 2 changes in order to build

Building the current PKGBUILD for codium  (1.85.2.24019) fails for two reasons:

  • wrong checksum
  • "too many open files error"

Regarding 1: according to AUR vscodium the checksums should be:

Code: [Select]
sha256sums=('63eccd0977b9dc783a11ff401940f48bbabd0d098b9563b7ef26402495dc9b88'
            '34da81ee4fd8b663237bfc946b4c95b8368b9c45e3b1404c3c3f86fbc3565e1c'
            '2cc43e5d6feb3fe198403df4aec9dc94168bf769bfe06c330134b891adc39cb9')


Regarding 2: the file limit 4096 is not sufficient.

Building the package locally using the next size 8192 by increasing the hard limit first:

Code: [Select]
sudo sh -c "ulimit -H -n 8192 && su $LOGNAME"

and then changing the soft limit for the current shell:

Code: [Select]
ulimit -n 8192

works well.

This line inside the PKGBUILD needs to be commented though:

Code: [Select]
build() {

    #ulimit -n 4094
...
}

before running
Code: [Select]
makepkg -s
, otherwise it would not accept the increased values.
Possibly a different shell process that does not respect the current hard limits.

Regards