GH-39523: [R] Don't override explicitly set NOT_CRAN=false when on dev version#39524
GH-39523: [R] Don't override explicitly set NOT_CRAN=false when on dev version#39524assignUser merged 3 commits intoapache:mainfrom
Conversation
|
@github-actions crossbow submit test-r-rhub-debian-gcc-devel-lto-latest |
|
Revision: 56a3caca91c8d93e920ae141248d08dd9360cb81 Submitted crossbow builds: ursacomputing/crossbow @ actions-7790c7b4b9
|
|
It seems our azure queue is pretty long again (13) and this is the last in line. I have run the job locally using archery and it succeeds: |
|
That works as well: |
|
@github-actions crossbow submit test-r-rhub-debian-gcc-devel-lto-latest |
|
Revision: 0193cb97bc5629a51087b058dc62cdaaf67621f4 Submitted crossbow builds: ursacomputing/crossbow @ actions-278d36119d
|
|
hm, thats weird ... I'll test with main to confirm it fails locally. @kou anyidea why it didn't work? |
|
I could reproduce this by |
|
For me it passes on main as well... :/ Thanks for taking a look! |
There was a problem hiding this comment.
Sorry. We need REGEX:
| string(REPLACE "-flto[^ ]*" "" AWS_LC_C_FLAGS "${AWS_LC_C_FLAGS}") | |
| string(REGEX REPLACE "-flto[^ ]*" "" AWS_LC_C_FLAGS "${AWS_LC_C_FLAGS}") |
But there is another error:
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/arrow/r/check/arrow.Rcheck/00LOCK-arrow/00new/arrow/libs/arrow.so':
/arrow/r/check/arrow.Rcheck/00LOCK-arrow/00new/arrow/libs/arrow.so: undefined symbol: OPENSSL_free
There was a problem hiding this comment.
This warning may be related:
g++ -std=gnu++17 -shared -Wall -pedantic -flto -fpic -L/opt/R-devel/lib/R/lib -L/usr/local/lib -o arrow.so RTasks.o altrep.o array.o array_to_vector.o arraydata.o arrowExports.o bridge.o buffer.o chunkedarray.o compression.o compute-exec.o compute.o config.o csv.o dataset.o datatype.o expression.o extension-impl.o feather.o field.o filesystem.o io.o json.o memorypool.o message.o parquet.o r_to_arrow.o recordbatch.o recordbatchreader.o recordbatchwriter.o safe-call-into-r-impl.o scalar.o schema.o symbols.o table.o threadpool.o type_infer.o -L/arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/libarrow/arrow-14.0.1.100000264/lib -L/usr/lib/lib/x86_64-linux-gnu -L/usr/lib/lib -larrow_dataset -lparquet -larrow_acero -larrow -larrow_bundled_dependencies /usr/lib/x86_64-linux-gnu/libbz2.so -lbrotlidec -lbrotlienc -lz -lzstd -lcurl -lssl -lcrypto -L/opt/R-devel/lib/R/lib -lR
lto-wrapper: warning: Extra option to ‘-Xassembler’: --noexecstack, dropping all ‘-Xassembler’ and ‘-Wa’ options.
/tmp/RtmpoBLPp7/working_dir/RtmpRJJbvI/file77c6759da9b/aws_lc_ep-install/include/openssl/err.h:176: warning: type of ‘ERR_get_error’ does not match original declaration [-Wlto-type-mismatch]
/usr/include/openssl/err.h:417: note: return value type mismatch
417 | unsigned long ERR_get_error(void);
|
/usr/include/openssl/err.h:417: note: type ‘long unsigned int’ should match type ‘uint32_t’
/usr/include/openssl/err.h:417: note: ‘ERR_get_error’ was previously declared here
/usr/include/openssl/err.h:417: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
lto-wrapper: warning: using serial compilation of 128 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
There was a problem hiding this comment.
Hmm, OPENSSL_free() is a macro both in OpenSSL 1.1 and 3.
Is a wrong header file used?
There was a problem hiding this comment.
aws-lc's openssl/mem.h defines OPENSSL_free() as a function...
There was a problem hiding this comment.
oh wait, I think I know why this is happening, let me check.
|
Yeah, sorry this is my fault, in the build refactor I also set not_cran=true if we are on a dev version and it overrides explicitly set envvar. So the issues is that this was never supposed to build like this. I will revert these changes and fix the issue in |
|
@github-actions crossbow submit test-r-rhub-debian-gcc-devel-lto-latest |
This comment was marked as outdated.
This comment was marked as outdated.
|
Revision: 1795586 Submitted crossbow builds: ursacomputing/crossbow @ actions-89de4b20e3
|
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
|
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 3cc04f1. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 2 possible false positives for unstable benchmarks that are known to sometimes produce them. |
… on dev version (apache#39524) ### Rationale for this change The default linux build used in the lto job should not build with aws/gcs. A change in the build system changed this. ### What changes are included in this PR? Revert to old behavior by not overriding explicitly set `NOT_CRAN=false`. ### Are these changes tested? CI ### Are there any user-facing changes? No * Closes: apache#39523 Lead-authored-by: Jacob Wujciak-Jens <jacob@wujciak.de> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
…v version (#39524) ### Rationale for this change The default linux build used in the lto job should not build with aws/gcs. A change in the build system changed this. ### What changes are included in this PR? Revert to old behavior by not overriding explicitly set `NOT_CRAN=false`. ### Are these changes tested? CI ### Are there any user-facing changes? No * Closes: #39523 Lead-authored-by: Jacob Wujciak-Jens <jacob@wujciak.de> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Rationale for this change
The default linux build used in the lto job should not build with aws/gcs. A change in the build system changed this.
What changes are included in this PR?
Revert to old behavior by not overriding explicitly set
NOT_CRAN=false.Are these changes tested?
CI
Are there any user-facing changes?
No