Update digest package dependency version#447
Open
shajoezhu wants to merge 1 commit intorstudio:mainfrom
Open
Conversation
Adding the digest package version requirement 0.6.37. I was investigating some dependency of package formatters, and I ran into problem with this build https://github.com/insightsengineering/formatters/actions/runs/20563614119/job/59058035025 it complains about the installation of digest, 0.6.36 had problem from installation, and the dependency tracked down to the line https://github.com/insightsengineering/formatters/actions/runs/20563614119/job/59058035025#step:9:762 ``` │ ├─htmltools 0.5.8.1 [new] │ │ ├─base64enc │ │ ├─digest 0.6.36 [new][bld][cmp] │ │ ├─fastmap 1.2.0 [new] │ │ └─rlang ``` ``` ✖ Failed to build digest 0.6.36 (3.4s) ! Failed to build source package digest., stdout + stderr: OE> * installing *source* package ‘digest’ ... OE> ** this is package ‘digest’ version ‘0.6.36’ OE> ** package ‘digest’ successfully unpacked and MD5 sums checked OE> staged installation is only possible with locking OE> ** using non-staged installation OE> ** libs OE> using C compiler: ‘gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0’ OE> using C++ compiler: ‘g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0’ OE> g++ -std=gnu++17 -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c SpookyV2.cpp -o SpookyV2.o OE> gcc -std=gnu2x -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c aes.c -o aes.o OE> gcc -std=gnu2x -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c blake3.c -o blake3.o OE> gcc -std=gnu2x -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c blake3_dispatch.c -o blake3_dispatch.o OE> gcc -std=gnu2x -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c blake3_portable.c -o blake3_portable.o OE> gcc -std=gnu2x -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c crc32.c -o crc32.o OE> g++ -std=gnu++17 -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c crc32c.cpp -o crc32c.o OE> g++ -std=gnu++17 -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c crc32c_portable.cpp -o crc32c_portable.o OE> gcc -std=gnu2x -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c digest.c -o digest.o OE> gcc -std=gnu2x -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c digest2int.c -o digest2int.o OE> gcc -std=gnu2x -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c init.c -o init.o OE> gcc -std=gnu2x -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c md5.c -o md5.o OE> gcc -std=gnu2x -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c pmurhash.c -o pmurhash.o OE> gcc -std=gnu2x -I"/usr/local/lib/R/include" -DNDEBUG -I. -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -pedantic -c raes.c -o raes.o OE> raes.c: In function ‘AESFinalizer’: OE> raes.c:25:3: warning: implicit declaration of function ‘Free’; did you mean ‘free’? [-Wimplicit-function-declaration] Error in "stop_task_build(state, worker)" : ! Failed to build source package digest. OE> 25 | Free(ctx); OE> | ^~~~ OE> | free OE> raes.c: In function ‘AESinit’: OE> raes.c:42:23: warning: implicit declaration of function ‘Calloc’; did you mean ‘calloc’? [-Wimplicit-function-declaration] OE> 42 | ctx = (aes_context*)Calloc(sizeof(*ctx), char); OE> | ^~~~~~ OE> | calloc OE> raes.c:42:44: error: expected expression before ‘char’ OE> 42 | ctx = (aes_context*)Calloc(sizeof(*ctx), char); OE> | ^~~~ OE> make: *** [/usr/local/lib/R/etc/Makeconf:202: raes.o] Error 1 OE> ERROR: compilation failed for package ‘digest’ OE> * removing ‘/tmp/Rtmpm2RqlQ/pkg-libc2645cc606/digest’ ``` 0.6.37 seems to work fine. Would love to make a small suggestion here to help user installation experience. Thank you!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding the digest package version requirement 0.6.37.
I was investigating some dependency of package formatters, and I ran into problem with this build
https://github.com/insightsengineering/formatters/actions/runs/20563614119/job/59058035025
it complains about the installation of digest, 0.6.36 had problem from installation, and the dependency tracked down to the line
https://github.com/insightsengineering/formatters/actions/runs/20563614119/job/59058035025#step:9:762
0.6.37 seems to work fine. Would love to make a small suggestion here to help user installation experience. Thank you!