FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2024 PLD Team
$Revision: 1.37 $
Powered by Paranoid Android.
Your IP: 44.211.31.134

iwyu c077a75a-7134-4568-b649-f8769b615448

Status:Failed
Source URL:https://buildlogs.pld-linux.org/pld/th/x32/FAIL/iwyu,c077a75a-7134-4568-b649-f8769b615448.bz2
text/plain URL:View!
full text:View!
rpm -qa of builder:View!
Date:2024/06/10 17:09:12
Runtime:0:00:28.805233

Toc:

  • error 1
  • /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.cc:253:69: error: 'ETK_None' is not a member of 'clang'; did you mean 'EST_None'?
  • error 2
  • make[2]: *** [CMakeFiles/include-what-you-use.dir/build.make:93: CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o] Error 1
  • error 3
  • /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu.cc:4200:55: error: 'ETK_None' is not a member of 'clang'; did you mean 'EST_None'?
  • error 4
  • make[2]: *** [CMakeFiles/include-what-you-use.dir/build.make:79: CMakeFiles/include-what-you-use.dir/iwyu.cc.o] Error 1
  • error 5
  • make[1]: *** [CMakeFiles/Makefile2:249: CMakeFiles/include-what-you-use.dir/all] Error 2
  • error 6
  • error: Bad exit status from /tmp/B.jobx817o/BUILD/tmp/rpm-tmp.YfWawr (%build)
  • error 7
  • RPM build errors:
  • error 8
  • error: No files produced.

Content:

/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h: In function 'bool include_what_you_use::IsBuiltinOrCommandLineFile(const clang::FileEntry*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h:81:46: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
   81 |   return IsBuiltinFile(file) || file->getName().equals("<command line>");
      |                                 ~~~~~~~~~~~~~^~
In file included from /usr/include/clang/Basic/SourceLocation.h:17,
                 from /usr/include/clang/Basic/Diagnostic.h:19,
                 from /usr/include/clang/AST/NestedNameSpecifier.h:18,
                 from /usr/include/clang/AST/Type.h:21,
                 from /usr/include/clang/AST/DeclarationName.h:16,
                 from /usr/include/clang/AST/DeclBase.h:18,
                 from /usr/include/clang/AST/Decl.h:20,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_output.h:27,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_preprocessor.h:70,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_preprocessor.cc:10:
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h: In function 'std::string include_what_you_use::GetFilePath(const clang::FileEntry*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h:92:42: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
   92 |           NormalizeFilePath(file->getName().str()));
      |                             ~~~~~~~~~~~~~^~
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
make[2]: Leaving directory '/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/build'
make[2]: Entering directory '/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/build'
[ 98%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o
/usr/bin/x86_64-pld-linux-gnux32-g++ -DIWYU_GIT_REV=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -ffunction-sections -fdata-sections -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -DNDEBUG -DQT_NO_DEBUG -std=c++17  -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o -c /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_driver.cc
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_driver.cc: In lambda function:
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_driver.cc:182:26: warning: 'bool llvm::StringRef::startswith(llvm::StringRef) const' is deprecated: Use starts_with instead [-Wdeprecated-declarations]
  182 |     return arg.startswith("-save-temps") || arg.startswith("--save-temps");
      |            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /usr/include/llvm/ADT/SmallString.h:18,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_driver.cc:23:
/usr/include/llvm/ADT/StringRef.h:263:29: note: declared here
  263 |         "starts_with") bool startswith(StringRef Prefix) const {
      |                             ^~~~~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_driver.cc:182:59: warning: 'bool llvm::StringRef::startswith(llvm::StringRef) const' is deprecated: Use starts_with instead [-Wdeprecated-declarations]
  182 |     return arg.startswith("-save-temps") || arg.startswith("--save-temps");
      |                                             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/llvm/ADT/StringRef.h:263:29: note: declared here
  263 |         "starts_with") bool startswith(StringRef Prefix) const {
      |                             ^~~~~~~~~~
make[2]: Leaving directory '/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/build'
make[2]: Entering directory '/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/build'
[ 96%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o
/usr/bin/x86_64-pld-linux-gnux32-g++ -DIWYU_GIT_REV=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -ffunction-sections -fdata-sections -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -DNDEBUG -DQT_NO_DEBUG -std=c++17  -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o -c /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_globals.cc
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
In file included from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_globals.cc:24:
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h: In function 'bool include_what_you_use::IsBuiltinOrCommandLineFile(const clang::FileEntry*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h:81:46: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
   81 |   return IsBuiltinFile(file) || file->getName().equals("<command line>");
      |                                 ~~~~~~~~~~~~~^~
In file included from /usr/include/clang/Basic/SourceLocation.h:17,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_lexer_utils.h:15,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_globals.cc:23:
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h: In function 'std::string include_what_you_use::GetFilePath(const clang::FileEntry*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h:92:42: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
   92 |           NormalizeFilePath(file->getName().str()));
      |                             ~~~~~~~~~~~~~^~
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
make[2]: Leaving directory '/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/build'
make[2]: Entering directory '/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/build'
[ 95%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o
/usr/bin/x86_64-pld-linux-gnux32-g++ -DIWYU_GIT_REV=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -ffunction-sections -fdata-sections -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -DNDEBUG -DQT_NO_DEBUG -std=c++17  -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o -c /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.cc
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
In file included from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.cc:19:
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h: In function 'bool include_what_you_use::IsBuiltinOrCommandLineFile(const clang::FileEntry*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h:81:46: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
   81 |   return IsBuiltinFile(file) || file->getName().equals("<command line>");
      |                                 ~~~~~~~~~~~~~^~
In file included from /usr/include/clang/Basic/SourceLocation.h:17,
                 from /usr/include/clang/Basic/Diagnostic.h:19,
                 from /usr/include/clang/AST/NestedNameSpecifier.h:18,
                 from /usr/include/clang/AST/Type.h:21,
                 from /usr/include/clang/AST/DeclarationName.h:16,
                 from /usr/include/clang/AST/DeclBase.h:18,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.h:22,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.cc:12:
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h: In function 'std::string include_what_you_use::GetFilePath(const clang::FileEntry*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h:92:42: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
   92 |           NormalizeFilePath(file->getName().str()));
      |                             ~~~~~~~~~~~~~^~
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.cc: In function 'bool include_what_you_use::IsElaboratedTypeSpecifier(const ASTNode*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.cc:253:69: error: 'ETK_None' is not a member of 'clang'; did you mean 'EST_None'?
  253 |   return elaborated_type && elaborated_type->getKeyword() != clang::ETK_None;
      |                                                                     ^~~~~~~~
      |                                                                     EST_None
In file included from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.h:19:
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.cc: In member function 'bool include_what_you_use::ASTNode::FillLocationIfKnown(clang::SourceLocation*) const':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_port.h:62:46: warning: control reaches end of non-void function [-Wreturn-type]
   62 |   ::include_what_you_use::OstreamVoidifier() & \
      |                           ~~~~~~~~~~~~~~~~~~~^~~
   63 |   ::include_what_you_use::FatalMessageEmitter( \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   64 |       __FILE__, __LINE__, message).stream()
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.cc:244:3: note: in expansion of macro 'CHECK_UNREACHABLE_'
  244 |   CHECK_UNREACHABLE_("Unexpected kind of ASTNode");
      |   ^~~~~~~~~~~~~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.cc: In function 'clang::SourceRange include_what_you_use::GetSourceRangeOfClassDecl(const clang::Decl*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_port.h:62:46: warning: control reaches end of non-void function [-Wreturn-type]
   62 |   ::include_what_you_use::OstreamVoidifier() & \
      |                           ~~~~~~~~~~~~~~~~~~~^~~
   63 |   ::include_what_you_use::FatalMessageEmitter( \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   64 |       __FILE__, __LINE__, message).stream()
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.cc:771:3: note: in expansion of macro 'CHECK_UNREACHABLE_'
  771 |   CHECK_UNREACHABLE_("Cannot get source range for this decl type");
      |   ^~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/include-what-you-use.dir/build.make:93: CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o] Error 1
make[2]: Leaving directory '/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/build'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/build'
[ 96%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o
/usr/bin/x86_64-pld-linux-gnux32-g++ -DIWYU_GIT_REV=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -ffunction-sections -fdata-sections -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -DNDEBUG -DQT_NO_DEBUG -std=c++17  -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o -c /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_output.cc
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
In file included from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_output.cc:22:
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h: In function 'bool include_what_you_use::IsBuiltinOrCommandLineFile(const clang::FileEntry*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h:81:46: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
   81 |   return IsBuiltinFile(file) || file->getName().equals("<command line>");
      |                                 ~~~~~~~~~~~~~^~
In file included from /usr/include/clang/Basic/SourceLocation.h:17,
                 from /usr/include/clang/Basic/Diagnostic.h:19,
                 from /usr/include/clang/AST/NestedNameSpecifier.h:18,
                 from /usr/include/clang/AST/Type.h:21,
                 from /usr/include/clang/AST/DeclarationName.h:16,
                 from /usr/include/clang/AST/DeclBase.h:18,
                 from /usr/include/clang/AST/Decl.h:20,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_output.h:27,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_output.cc:10:
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h: In function 'std::string include_what_you_use::GetFilePath(const clang::FileEntry*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h:92:42: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
   92 |           NormalizeFilePath(file->getName().str()));
      |                             ~~~~~~~~~~~~~^~
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_output.cc: In function 'void include_what_you_use::internal::CleanupPrefixHeaderIncludes(const include_what_you_use::IwyuPreprocessorInfo*, std::vector<include_what_you_use::OneIncludeOrForwardDeclareLine>*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_output.cc:1940:38: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
 1940 |                << file_entry->getName() << "\n";
      |                   ~~~~~~~~~~~~~~~~~~~^~
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_output.cc: In member function 'void include_what_you_use::IwyuFileInfo::HandlePreprocessingDone()':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_output.cc:2177:71: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
 2177 |       ERRSYM(file_) << "Keep #include " << macro_use_includee->getName()
      |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_output.cc:2178:48: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
 2178 |                     << " in " << file_->getName()
      |                                  ~~~~~~~~~~~~~~^~
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
make[2]: Leaving directory '/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/build'
make[2]: Entering directory '/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/build'
[ 94%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu.cc.o
/usr/bin/x86_64-pld-linux-gnux32-g++ -DIWYU_GIT_REV=\"\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -ffunction-sections -fdata-sections -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -DNDEBUG -DQT_NO_DEBUG -std=c++17  -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu.cc.o -c /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu.cc
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
In file included from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu.cc:108:
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h: In function 'bool include_what_you_use::IsBuiltinOrCommandLineFile(const clang::FileEntry*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h:81:46: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
   81 |   return IsBuiltinFile(file) || file->getName().equals("<command line>");
      |                                 ~~~~~~~~~~~~~^~
In file included from /usr/include/clang/Basic/SourceLocation.h:17,
                 from /usr/include/clang/Basic/Diagnostic.h:19,
                 from /usr/include/clang/AST/NestedNameSpecifier.h:18,
                 from /usr/include/clang/AST/Type.h:21,
                 from /usr/include/clang/AST/DeclarationName.h:16,
                 from /usr/include/clang/AST/DeclBase.h:18,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.h:22,
                 from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu.cc:104:
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h: In function 'std::string include_what_you_use::GetFilePath(const clang::FileEntry*)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_location_util.h:92:42: warning: 'llvm::StringRef clang::FileEntry::getName() const' is deprecated: Use FileEntryRef::getName() instead. [-Wdeprecated-declarations]
   92 |           NormalizeFilePath(file->getName().str()));
      |                             ~~~~~~~~~~~~~^~
/usr/include/clang/Basic/FileEntry.h:332:13: note: declared here
  332 |   StringRef getName() const { return LastRef->getName(); }
      |             ^~~~~~~
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu.cc: In member function 'bool include_what_you_use::IwyuAstConsumer::VisitElaboratedTypeLoc(clang::ElaboratedTypeLoc)':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu.cc:4200:55: error: 'ETK_None' is not a member of 'clang'; did you mean 'EST_None'?
 4200 |     if (type_loc.getTypePtr()->getKeyword() != clang::ETK_None) {
      |                                                       ^~~~~~~~
      |                                                       EST_None
In file included from /tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.h:19:
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.h: In member function 'const void* include_what_you_use::ASTNode::DynCast(const void*) const [with Ignored = void]':
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_port.h:62:46: warning: control reaches end of non-void function [-Wreturn-type]
   62 |   ::include_what_you_use::OstreamVoidifier() & \
      |                           ~~~~~~~~~~~~~~~~~~~^~~
   63 |   ::include_what_you_use::FatalMessageEmitter( \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   64 |       __FILE__, __LINE__, message).stream()
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/iwyu_ast_util.h:338:5: note: in expansion of macro 'CHECK_UNREACHABLE_'
  338 |     CHECK_UNREACHABLE_("Unknown kind");
      |     ^~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/include-what-you-use.dir/build.make:79: CMakeFiles/include-what-you-use.dir/iwyu.cc.o] Error 1
make[2]: Leaving directory '/tmp/B.jobx817o/BUILD/include-what-you-use-0.21/build'
make[1]: *** [CMakeFiles/Makefile2:249: CMakeFiles/include-what-you-use.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
error: Bad exit status from /tmp/B.jobx817o/BUILD/tmp/rpm-tmp.YfWawr (%build)

RPM build errors:
    Bad exit status from /tmp/B.jobx817o/BUILD/tmp/rpm-tmp.YfWawr (%build)
ended at: Mon Jun 10 17:09:11 2024, done in 0:00:28.805233
error: No files produced.
+ chmod -R u+rwX /tmp/B.jobx817o/BUILD
+ rm -rf /tmp/B.jobx817o/tmp /tmp/B.jobx817o/BUILD
+ rm -rf /tmp/B.jobx817o
Begin-PLD-Builder-Info
Build-Time: user:123.93s sys:16.79s real:31.25s (faults io:135 non-io:2179307)

End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]