Skip to content

Build SPAdes-4.2.0 fails under Linux #1505

@alienzj

Description

@alienzj

Description of bug

Missing cstdint Header:

The primary error occurs in binary.hpp where uint64_t and uint8_t are not recognized because the <cstdint> header is missing. This causes subsequent errors in functions like encodeULEB128 and decodeULEB128.

Full log file:
build.log

Or from build log of BioArchLinux:
https://build.bioarchlinux.org/api/pkg/spades/log/1753834621

spades.log

OS information:

Kernel: Linux 6.12.40
GCC: gcc (GCC) 15.1.1 20250425
cmake: cmake version 4.0.3-dirty

params.txt

cmake -B build -S spades-4.2.0/src \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_SKIP_INSTALL_RPATH=ON \
    -DCMAKE_BUILD_TYPE=None \
    -DZLIB_ENABLE_TESTS=OFF \
    -DSPADES_BUILD_INTERNAL=OFF

  make -C build

SPAdes version

4.2.0

Operating System

ArchLinux 6.12.40

Python Version

Python 3.13.5

Method of SPAdes installation

manual

No errors reported in spades.log

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions