Bug 2341331 - scitokens-cpp: FTBFS in Fedora rawhide/f42
Summary: scitokens-cpp: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: scitokens-cpp
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Derek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 21:55 UTC by Fedora Release Engineering
Modified: 2025-03-04 16:33 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-03-04 16:33:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-01-22 21:55 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 21:55 UTC, Fedora Release Engineering
no flags Details
state.log (1.66 KB, text/plain)
2025-01-22 21:55 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2025-01-22 21:55:18 UTC
scitokens-cpp failed to build from source in Fedora rawhide/f42

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix scitokens-cpp 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,
scitokens-cpp will be orphaned. Before branching of Fedora 43,
scitokens-cpp 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 Fedora Release Engineering 2025-01-22 21:55:21 UTC
Created attachment 2072513 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 21:55:23 UTC
Created attachment 2072514 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 21:55:24 UTC
Created attachment 2072515 [details]
state.log

Comment 4 Derek 2025-01-22 22:21:26 UTC
At least 1 issue:

In file included from /builddir/build/BUILD/scitokens-cpp-1.1.2-build/scitokens-cpp-1.1.2/src/scitokens_internal.cpp:7:
/builddir/build/BUILD/scitokens-cpp-1.1.2-build/scitokens-cpp-1.1.2/vendor/jwt-cpp/include/jwt-cpp/base.h: In static member function ‘static std::string jwt::base::encode(const std::string&, const std::array<char, 64>&, const std::string&)’:
/builddir/build/BUILD/scitokens-cpp-1.1.2-build/scitokens-cpp-1.1.2/vendor/jwt-cpp/include/jwt-cpp/base.h:90:33: error: ‘uint32_t’ was not declared in this scope
   90 |                                 uint32_t octet_a = static_cast<unsigned char>(bin[i++]);
      |                                 ^~~~~~~~
/builddir/build/BUILD/scitokens-cpp-1.1.2-build/scitokens-cpp-1.1.2/vendor/jwt-cpp/include/jwt-cpp/base.h:1:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
  +++ |+#include <cstdint>


Need ton include the cstdint header.  Upstream added it already.

Comment 5 Aoife Moloney 2025-02-26 13:45:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 6 Derek 2025-03-04 16:33:50 UTC
Built, and released into EPEL for f42: https://koji.fedoraproject.org/koji/buildinfo?buildID=2665556


Note You need to log in before you can comment on or make changes to this bug.