Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937770 - sci-libs/pdal-2.8.0 fails with gcc-15 error: ‘uint64_t’ has not been declared
Summary: sci-libs/pdal-2.8.0 fails with gcc-15 error: ‘uint64_t’ has not been declared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Bettler
URL: https://github.com/PDAL/PDAL/pull/4537
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-11 17:05 UTC by tdr
Modified: 2024-11-11 22:39 UTC (History)
5 users (show)

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


Attachments
include cstdlib to LazPerfVlrCompression.hpp (PDAL-2.6.2-LazPerfVlrCompression.hpp-cstdint.patch,713 bytes, patch)
2024-08-11 17:16 UTC, tdr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-08-11 17:05:45 UTC
missing cstdint include

Reproducible: Always

Steps to Reproduce:
select gcc-15
emerge -1 pal
Actual Results:  
LazPerfVlrCompression.hpp:

/var/tmp/portage/sci-libs/pdal-2.6.2/work/PDAL-2.6.2-src/pdal/compression/LazPerfVlrCompression.hpp:62:9: error: ‘uint32_t’ has not been declared
   62 |         uint32_t chunksize);
      |         ^~~~~~~~
/var/tmp/portage/sci-libs/pdal-2.6.2/work/PDAL-2.6.2-src/pdal/compression/LazPerfVlrCompression.hpp:80:15: error: ‘uint64_t’ has not been declared
   80 |     bool seek(uint64_t record);
      |               ^~~~~~~~
Comment 1 tdr 2024-08-11 17:16:54 UTC
Created attachment 899851 [details, diff]
include cstdlib to LazPerfVlrCompression.hpp
Comment 2 tdr 2024-08-20 23:25:30 UTC
Bug 937770 also prevents using gcc-15 but this one is hit before its gets to bug during compiling

patch does not breake/prevent building with older gcc versions
Comment 3 Thomas Bettler 2024-08-21 15:24:42 UTC
@tdr your effort to push such issues or pr upstream would be highly appreciated.
nb: you may better be able to explain upstream the details of your findings
Comment 4 Agostino Sarubbo gentoo-dev 2024-10-25 07:09:06 UTC
tinderbox_x86 has reproduced this issue with version 2.8.0 - Updating summary.
Comment 5 Thomas Bettler 2024-10-25 15:23:34 UTC
will be fixed in 2.8.1 see https://github.com/PDAL/PDAL/commit/1b8411719009ea770c3efd18bb85d1ee1835389f
Comment 6 Larry the Git Cow gentoo-dev 2024-11-11 22:39:36 UTC
The bug has been closed via the following commit(s):

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

commit 9015bb68ace477338299e410925bda10c0a490c4
Author:     Thomas Bettler <thomas.bettler@gmail.com>
AuthorDate: 2024-11-04 16:21:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-11 22:39:01 +0000

    sci-libs/pdal: bump to v2.8.1
    
    Closes: https://bugs.gentoo.org/937770
    Signed-off-by: Thomas Bettler <thomas.bettler@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/39201
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/pdal/Manifest          |  1 +
 sci-libs/pdal/pdal-2.8.1.ebuild | 69 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)