Skip to content

Commit ad7380e

Browse files
paleolimbotjonkeane
authored andcommitted
ARROW-15857: [R] rhub/fedora-clang-devel fails to install 'sass' (rmarkdown dependency)
Fixes the nightly build failures for rhub/fedora-clang-devel (github-test-r-linux-as-cran). (For example, https://github.com/ursacomputing/crossbow/runs/5713825093?check_suite_focus=true#step:5:3011). The gist of the problem is that `-stdlib=libc++` is in CXXFLAGS but not LDFLAGS. @jonkeane I have no idea how to test to make sure this works! Closes #12734 from paleolimbot/r-fedora-clang Authored-by: Dewey Dunnington <[email protected]> Signed-off-by: Jonathan Keane <[email protected]>
1 parent 6a0770c commit ad7380e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎ci/scripts/r_docker_configure.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ if [ "$RHUB_PLATFORM" = "linux-x86_64-fedora-clang" ]; then
5252

5353
sed -i.bak -E -e 's/(CXXFLAGS = )(.*)/\1 -g -O3 -Wall -pedantic -frtti -fPIC/' $(${R_BIN} RHOME)/etc/Makeconf
5454
rm -rf $(${R_BIN} RHOME)/etc/Makeconf.bak
55+
56+
sed -i.bak -E -e 's/(LDFLAGS =.*)/\1 -stdlib=libc++/g' $(${R_BIN} RHOME)/etc/Makeconf
57+
rm -rf $(${R_BIN} RHOME)/etc/Makeconf.bak
5558
fi
5659

5760
# Special hacking to try to reproduce quirks on centos using non-default build

0 commit comments

Comments
 (0)