Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15857

[R] rhub/fedora-clang-devel fails to install 'sass' (rmarkdown dependency)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.0.0
    • R

    Description

      Starting 2022-03-03, we get a failure on the rhub/fedora-clang-devel nightly build. It seems to be a linking error but nothing in the sass package seems to have changed for some time (last update May 2021).

      https://github.com/ursacomputing/crossbow/runs/5444005154?check_suite_focus=true#step:5:3007

      Build log for the sass package:

      #14 1099.2 make[1]: Entering directory '/tmp/RtmpvEMraB/R.INSTALL555d42b8f18e/sass/src'
      #14 1099.2 /opt/R-devel/lib64/R/share/make/shlib.mk:18: warning: overriding recipe for target 'shlib-clean'
      #14 1099.2 Makevars:12: warning: ignoring old recipe for target 'shlib-clean'
      #14 1099.2 /usr/bin/clang -I"/opt/R-devel/lib64/R/include" -DNDEBUG -I./libsass/include  -I/usr/local/include   -fpic  -g -O2  -c compile.c -o compile.o
      #14 1099.2 /usr/bin/clang -I"/opt/R-devel/lib64/R/include" -DNDEBUG -I./libsass/include  -I/usr/local/include   -fpic  -g -O2  -c init.c -o init.o
      #14 1099.2 MAKEFLAGS= CC="/usr/bin/clang" CFLAGS="-g -O2 " CXX="/usr/bin/clang++ -std=gnu++14 -stdlib=libc++" AR="ar" LDFLAGS="-L/usr/local/lib64" make -C libsass
      #14 1099.2 make[2]: Entering directory '/tmp/RtmpvEMraB/R.INSTALL555d42b8f18e/sass/src/libsass'
      #14 1099.2 /usr/bin/clang -g -O2  -O2 -I ./include  -fPIC -c -o src/cencode.o src/cencode.c
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/ast.o src/ast.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/ast_values.o src/ast_values.cpp
      #14 1099.2 src/ast_values.cpp:484:23: warning: loop variable 'numerator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
      #14 1099.2       for (const auto numerator : numerators)
      #14 1099.2                       ^
      #14 1099.2 src/ast_values.cpp:484:12: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
      #14 1099.2       for (const auto numerator : numerators)
      #14 1099.2            ^~~~~~~~~~~~~~~~~~~~~~
      #14 1099.2                       &
      #14 1099.2 src/ast_values.cpp:486:23: warning: loop variable 'denominator' creates a copy from type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>' [-Wrange-loop-construct]
      #14 1099.2       for (const auto denominator : denominators)
      #14 1099.2                       ^
      #14 1099.2 src/ast_values.cpp:486:12: note: use reference type 'const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> &' to prevent copying
      #14 1099.2       for (const auto denominator : denominators)
      #14 1099.2            ^~~~~~~~~~~~~~~~~~~~~~~~
      #14 1099.2                       &
      #14 1099.2 2 warnings generated.
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/ast_supports.o src/ast_supports.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/ast_sel_cmp.o src/ast_sel_cmp.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/ast_sel_unify.o src/ast_sel_unify.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/ast_sel_super.o src/ast_sel_super.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/ast_sel_weave.o src/ast_sel_weave.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/ast_selectors.o src/ast_selectors.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/context.o src/context.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/constants.o src/constants.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/fn_utils.o src/fn_utils.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/fn_miscs.o src/fn_miscs.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/fn_maps.o src/fn_maps.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/fn_lists.o src/fn_lists.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/fn_colors.o src/fn_colors.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/fn_numbers.o src/fn_numbers.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/fn_strings.o src/fn_strings.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/fn_selectors.o src/fn_selectors.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/color_maps.o src/color_maps.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/environment.o src/environment.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/ast_fwd_decl.o src/ast_fwd_decl.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/bind.o src/bind.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/file.o src/file.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/util.o src/util.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/util_string.o src/util_string.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/json.o src/json.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/units.o src/units.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/values.o src/values.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/plugins.o src/plugins.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/source.o src/source.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/position.o src/position.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/lexer.o src/lexer.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/parser.o src/parser.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/parser_selectors.o src/parser_selectors.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/prelexer.o src/prelexer.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/eval.o src/eval.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/eval_selectors.o src/eval_selectors.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/expand.o src/expand.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/listize.o src/listize.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/cssize.o src/cssize.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/extender.o src/extender.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/extension.o src/extension.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/stylesheet.o src/stylesheet.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/output.o src/output.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/inspect.o src/inspect.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/emitter.o src/emitter.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/check_nesting.o src/check_nesting.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/remove_placeholders.o src/remove_placeholders.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/sass.o src/sass.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/sass_values.o src/sass_values.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/sass_context.o src/sass_context.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/sass_functions.o src/sass_functions.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/sass2scss.o src/sass2scss.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/backtrace.o src/backtrace.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/operators.o src/operators.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/ast2c.o src/ast2c.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/c2ast.o src/c2ast.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/to_value.o src/to_value.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/source_map.o src/source_map.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/error_handling.o src/error_handling.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/memory/allocator.o src/memory/allocator.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/memory/shared_ptr.o src/memory/shared_ptr.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/utf8_string.o src/utf8_string.cpp
      #14 1099.2 /usr/bin/clang++ -std=gnu++14 -stdlib=libc++ -Wall -O2 -std=c++11 -I ./include  -fPIC -c -o src/base64vlq.o src/base64vlq.cpp
      #14 1099.2 mkdir lib
      #14 1099.2 ar rcvs lib/libsass.a src/cencode.o src/ast.o src/ast_values.o src/ast_supports.o src/ast_sel_cmp.o src/ast_sel_unify.o src/ast_sel_super.o src/ast_sel_weave.o src/ast_selectors.o src/context.o src/constants.o src/fn_utils.o src/fn_miscs.o src/fn_maps.o src/fn_lists.o src/fn_colors.o src/fn_numbers.o src/fn_strings.o src/fn_selectors.o src/color_maps.o src/environment.o src/ast_fwd_decl.o src/bind.o src/file.o src/util.o src/util_string.o src/json.o src/units.o src/values.o src/plugins.o src/source.o src/position.o src/lexer.o src/parser.o src/parser_selectors.o src/prelexer.o src/eval.o src/eval_selectors.o src/expand.o src/listize.o src/cssize.o src/extender.o src/extension.o src/stylesheet.o src/output.o src/inspect.o src/emitter.o src/check_nesting.o src/remove_placeholders.o src/sass.o src/sass_values.o src/sass_context.o src/sass_functions.o src/sass2scss.o src/backtrace.o src/operators.o src/ast2c.o src/c2ast.o src/to_value.o src/source_map.o src/error_handling.o src/memory/allocator.o src/memory/shared_ptr.o src/utf8_string.o src/base64vlq.o
      #14 1099.2 a - src/cencode.o
      #14 1099.2 a - src/ast.o
      #14 1099.2 a - src/ast_values.o
      #14 1099.2 a - src/ast_supports.o
      #14 1099.2 a - src/ast_sel_cmp.o
      #14 1099.2 a - src/ast_sel_unify.o
      #14 1099.2 a - src/ast_sel_super.o
      #14 1099.2 a - src/ast_sel_weave.o
      #14 1099.2 a - src/ast_selectors.o
      #14 1099.2 a - src/context.o
      #14 1099.2 a - src/constants.o
      #14 1099.2 a - src/fn_utils.o
      #14 1099.2 a - src/fn_miscs.o
      #14 1099.2 a - src/fn_maps.o
      #14 1099.2 a - src/fn_lists.o
      #14 1099.2 a - src/fn_colors.o
      #14 1099.2 a - src/fn_numbers.o
      #14 1099.2 a - src/fn_strings.o
      #14 1099.2 a - src/fn_selectors.o
      #14 1099.2 a - src/color_maps.o
      #14 1099.2 a - src/environment.o
      #14 1099.2 a - src/ast_fwd_decl.o
      #14 1099.2 a - src/bind.o
      #14 1099.2 a - src/file.o
      #14 1099.2 a - src/util.o
      #14 1099.2 a - src/util_string.o
      #14 1099.2 a - src/json.o
      #14 1099.2 a - src/units.o
      #14 1099.2 a - src/values.o
      #14 1099.2 a - src/plugins.o
      #14 1099.2 a - src/source.o
      #14 1099.2 a - src/position.o
      #14 1099.2 a - src/lexer.o
      #14 1099.2 a - src/parser.o
      #14 1099.2 a - src/parser_selectors.o
      #14 1099.2 a - src/prelexer.o
      #14 1099.2 a - src/eval.o
      #14 1099.2 a - src/eval_selectors.o
      #14 1099.2 a - src/expand.o
      #14 1099.2 a - src/listize.o
      #14 1099.2 a - src/cssize.o
      #14 1099.2 a - src/extender.o
      #14 1099.2 a - src/extension.o
      #14 1099.2 a - src/stylesheet.o
      #14 1099.2 a - src/output.o
      #14 1099.2 a - src/inspect.o
      #14 1099.2 a - src/emitter.o
      #14 1099.2 a - src/check_nesting.o
      #14 1099.2 a - src/remove_placeholders.o
      #14 1099.2 a - src/sass.o
      #14 1099.2 a - src/sass_values.o
      #14 1099.2 a - src/sass_context.o
      #14 1099.2 a - src/sass_functions.o
      #14 1099.2 a - src/sass2scss.o
      #14 1099.2 a - src/backtrace.o
      #14 1099.2 a - src/operators.o
      #14 1099.2 a - src/ast2c.o
      #14 1099.2 a - src/c2ast.o
      #14 1099.2 a - src/to_value.o
      #14 1099.2 a - src/source_map.o
      #14 1099.2 a - src/error_handling.o
      #14 1099.2 a - src/memory/allocator.o
      #14 1099.2 a - src/memory/shared_ptr.o
      #14 1099.2 a - src/utf8_string.o
      #14 1099.2 a - src/base64vlq.o
      #14 1099.2 make[2]: Leaving directory '/tmp/RtmpvEMraB/R.INSTALL555d42b8f18e/sass/src/libsass'
      #14 1099.2 /usr/bin/clang -shared -L/opt/R-devel/lib64/R/lib -L/usr/local/lib64 -o sass.so compile.o init.o ./libsass/lib/libsass.a -lstdc++ -L/opt/R-devel/lib64/R/lib -lR
      #14 1099.2 make[1]: Leaving directory '/tmp/RtmpvEMraB/R.INSTALL555d42b8f18e/sass/src'
      #14 1099.2 installing to /opt/R-devel/lib64/R/library/00LOCK-sass/00new/sass/libs
      #14 1099.2 ** R
      #14 1099.2 ** inst
      #14 1099.2 ** byte-compile and prepare package for lazy loading
      #14 1099.2 ** help
      #14 1099.2 *** installing help indices
      #14 1099.2 *** copying figures
      #14 1099.2 ** building package indices
      #14 1099.2 ** installing vignettes
      #14 1099.2 ** testing if installed package can be loaded from temporary location
      #14 1099.2 Error: package or namespace load failed for ‘sass’ in dyn.load(file, DLLpath = DLLpath, ...):
      #14 1099.2  unable to load shared object '/opt/R-devel/lib64/R/library/00LOCK-sass/00new/sass/libs/sass.so':
      #14 1099.2   /opt/R-devel/lib64/R/library/00LOCK-sass/00new/sass/libs/sass.so: undefined symbol: _ZTINSt3__113basic_ostreamIcNS_11char_traitsIcEEEE
      

      Attachments

        Issue Links

          Activity

            People

              paleolimbot Dewey Dunnington
              paleolimbot Dewey Dunnington
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h