Bug 2171488

Summary: fbthrift: FTBFS in Fedora rawhide/f38
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: fbthriftAssignee: Michel Lind <michel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: davide, filbranden, jwakely, michel, trodgers
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fbthrift-2023.04.24.00-1.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-04 19:22:47 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: 2165219    
Bug Blocks: 2117176, 2158241    

Description Fedora Release Engineering 2023-02-20 11:47:48 UTC
fbthrift failed to build from source in Fedora rawhide/f38

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Please fix fbthrift 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,
fbthrift will be orphaned. Before branching of Fedora 39,
fbthrift 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:40:48 UTC
/builddir/build/BUILD/fbthrift-2022.07.11.00/thrift/compiler/generate/json.cc: In function 'std::ostream& apache::thrift::compiler::json_quote_ascii(std::ostream&, const std::string&)':
/builddir/build/BUILD/fbthrift-2022.07.11.00/thrift/compiler/generate/json.cc:45:9: error: 'uint8_t' was not declared in this scope
   45 |         uint8_t b = static_cast<uint8_t>(c);
      |         ^~~~~~~
/builddir/build/BUILD/fbthrift-2022.07.11.00/thrift/compiler/generate/json.cc:21:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   20 | #include <sstream>
  +++ |+#include <cstdint>
   21 |

Comment 2 Fedora Admin user for bugzilla script actions 2023-04-21 00:04:44 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Fedora Admin user for bugzilla script actions 2023-04-22 00:03:54 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 4 Fedora Update System 2023-04-26 01:54:01 UTC
FEDORA-2023-c20554f9c2 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c20554f9c2

Comment 5 Fedora Update System 2023-04-26 01:58:47 UTC
FEDORA-2023-c20554f9c2 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2023-04-26 21:15:51 UTC
FEDORA-2023-34fdd01c21 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-34fdd01c21

Comment 7 Fedora Update System 2023-04-27 02:30:31 UTC
FEDORA-2023-34fdd01c21 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-34fdd01c21`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-34fdd01c21

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-05-04 19:22:47 UTC
FEDORA-2023-34fdd01c21 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.