Skip to content

Architecture dependent ELF File generated while building debian package #244

@SpaciousCoder78

Description

@SpaciousCoder78

Hi,

The debian package is almost done with a small few errors remaining.

I applied the schema file patch on the debian version to fix the validations and that worked fine but now there seems to be some architecture dependent C files that get generated after building and Debian's lintian says there's an existence of architecture dependent ELF file.

The package targets amd64 and arm64.

Upon discussing with some debian developers, the following suggestions were given:

Install the library to /usr/lib

patch the meson build file, something is wrong with it

I'm thinking the origin of this error this time is the Meson build file, please have a look at it.

Error log:

Processing triggers for ca-certificates (20250419) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Running lintian...
N:
E: gradia: arch-dependent-file-in-usr-share [usr/share/gradia/gradia/libgradient_gen.so]
N: 
N:   This package installs an ELF binary in the /usr/share hierarchy, which is
N:   reserved for architecture-independent files.
N: 
N:   Please refer to /usr/share : Architecture-independent data (Section 4.11)
N:   in the Filesystem Hierarchy Standard for details.
N: 
N:   Visibility: error
N:   Show-Always: no
N:   Check: binaries/location
N: 
N:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions