Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937872 - sci-electronics/kicad-8.0.3: build failure with sys-devel/gcc-15.0.9999: kicad_curl_easy.h:135:27: error: ‘uint64_t’ has not been declared
Summary: sci-electronics/kicad-8.0.3: build failure with sys-devel/gcc-15.0.9999: kica...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zoltan Puskas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-13 13:12 UTC by Kacper Słomiński
Modified: 2024-08-15 20:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sci-electronics/kicad-8.0.3 build.log (build.log,319.07 KB, text/x-log)
2024-08-13 13:12 UTC, Kacper Słomiński
Details
`emerge --info '=sci-electronics/kicad-8.0.3::gentoo'` output (emerge-info.log,8.26 KB, text/x-log)
2024-08-13 13:13 UTC, Kacper Słomiński
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kacper Słomiński 2024-08-13 13:12:57 UTC
Created attachment 900065 [details]
sci-electronics/kicad-8.0.3 build.log

While building sci-electronics/kicad-8.0.3 I ran into the following error:

In file included from /var/tmp/portage/sci-electronics/kicad-8.0.3/work/kicad-8.0.3/common/kicad_curl/kicad_curl_easy.cpp:30:
/var/tmp/portage/sci-electronics/kicad-8.0.3/work/kicad-8.0.3/include/kicad_curl/kicad_curl_easy.h:135:27: error: ‘uint64_t’ has not been declared
  135 |     int GetTransferTotal( uint64_t& aDownloadedBytes ) const;
      |                           ^~~~~~~~
/var/tmp/portage/sci-electronics/kicad-8.0.3/work/kicad-8.0.3/common/kicad_curl/kicad_curl_easy.cpp:339:5: error: no declaration matches ‘int KICAD_CURL_EASY::GetTransferTotal(uint64_t&) const’
  339 | int KICAD_CURL_EASY::GetTransferTotal( uint64_t& aDownloadedBytes ) const
      |     ^~~~~~~~~~~~~~~
/var/tmp/portage/sci-electronics/kicad-8.0.3/work/kicad-8.0.3/include/kicad_curl/kicad_curl_easy.h:135:9: note: candidate is: ‘int KICAD_CURL_EASY::GetTransferTotal(int&) const’
  135 |     int GetTransferTotal( uint64_t& aDownloadedBytes ) const;
      |         ^~~~~~~~~~~~~~~~
/var/tmp/portage/sci-electronics/kicad-8.0.3/work/kicad-8.0.3/include/kicad_curl/kicad_curl_easy.h:67:20: note: ‘class KICAD_CURL_EASY’ defined here
   67 | class KICOMMON_API KICAD_CURL_EASY
      |                    ^~~~~~~~~~~~~~~

It appears that kicad_curl_easy.h is just missing the appropriate include, and libstdc++ is no longer bringing it in transitively.
Comment 1 Kacper Słomiński 2024-08-13 13:13:48 UTC
Created attachment 900066 [details]
`emerge --info '=sci-electronics/kicad-8.0.3::gentoo'` output
Comment 2 Larry the Git Cow gentoo-dev 2024-08-15 20:15:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e944a08d87d20f6459a69e4658f43f30bf1ce899

commit e944a08d87d20f6459a69e4658f43f30bf1ce899
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-08-15 20:14:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-15 20:14:32 +0000

    sci-electronics/kicad: fix build w/ gcc-15
    
    Closes: https://bugs.gentoo.org/937872
    Signed-off-by: Sam James <sam@gentoo.org>

 .../kicad/files/kicad-8.0.3-gcc15-cstdint.patch    | 25 ++++++++++++++++++++++
 sci-electronics/kicad/kicad-8.0.3.ebuild           |  6 +++++-
 2 files changed, 30 insertions(+), 1 deletion(-)