Skip to content

CMakeLists.txt: use 64-bit file API on 32-bit linux#11518

Merged
doxygen merged 1 commit into
doxygen:masterfrom
trofi:lfs-fix
Apr 24, 2025
Merged

CMakeLists.txt: use 64-bit file API on 32-bit linux#11518
doxygen merged 1 commit into
doxygen:masterfrom
trofi:lfs-fix

Conversation

@trofi

@trofi trofi commented Mar 30, 2025

Copy link
Copy Markdown
Contributor

Without the change doxygen fails to run when built against i686-linux target and installed on thew filesystem with 64-bit inodes (btrfs with many files in my case):

$ doxygen -g && doxygen && echo ok
Configuration file 'Doxyfile' created.
...
error: Doxyfile not found and no input file specified!

This happens because the inode number is outside 32-bit values:

$ stat Doxyfile
...
Device: 0,31    Inode: 11833552292  Links: 1

After the change the doc generation succeeds as expected:

$ doxygen -g && doxygen && echo ok
...
ok

The change enables the respective macros to enable 64-bit API.

Without the change `doxygen` fails to run when built against
`i686-linux` target and installed on thew filesystem with 64-bit
inodes (`btrfs` with many files in my case):

    $ doxygen -g && doxygen && echo ok
    Configuration file 'Doxyfile' created.
    ...
    error: Doxyfile not found and no input file specified!

This happens because the inode number is outside 32-bit values:

    $ stat Doxyfile
    ...
    Device: 0,31    Inode: 11833552292  Links: 1

After the change the doc generation succeeds as expected:

    $ doxygen -g && doxygen && echo ok
    ...
    ok

The change enables the respective macros to enable 64-bit API.
@doxygen
doxygen merged commit 3752be7 into doxygen:master Apr 24, 2025
@trofi
trofi deleted the lfs-fix branch April 24, 2025 20:05
@albert-github albert-github added bug fixed but not released Bug is fixed in github, but still needs to make its way to an official release install/build bug in the installation or build scripts labels Apr 25, 2025
@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug install/build bug in the installation or build scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants