Bug 2171710

Summary: rstudio: FTBFS in Fedora rawhide/f38
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: rstudioAssignee: IƱaki Ucar <i.ucar86>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dan.cermak, i.ucar86, jwakely, r-maint-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-23 10:57:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2117176    

Description Fedora Release Engineering 2023-02-20 12:02:51 UTC
rstudio failed to build from source in Fedora rawhide/f38

https://koji.fedoraproject.org/koji/taskinfo?taskID=96440188


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Please fix rstudio at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
rstudio will be orphaned. Before branching of Fedora 39,
rstudio will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Jonathan Wakely 2023-02-20 22:47:38 UTC
In file included from /builddir/build/BUILD/rstudio-2022.12.0-353/src/cpp/shared_core/system/Crypto.cpp:30:
/builddir/build/BUILD/rstudio-2022.12.0-353/src/cpp/shared_core/include/shared_core/system/Crypto.hpp:207:14: error: variable 'rstudio::core::Error rstudio::core::system::crypto::random' has initializer but incomplete type
  207 | Error random(uint32_t in_length, std::vector<unsigned char>& out_randomData);
      |              ^~~~~~~~
/builddir/build/BUILD/rstudio-2022.12.0-353/src/cpp/shared_core/include/shared_core/system/Crypto.hpp:207:14: error: 'uint32_t' was not declared in this scope
/builddir/build/BUILD/rstudio-2022.12.0-353/src/cpp/shared_core/include/shared_core/system/Crypto.hpp:35:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   34 | #include <vector>
  +++ |+#include <cstdint>
   35 |