Skip to content

Build fails with "ERROR: zlib not found" if run as non-root user #124

@RaphaelWimmer

Description

@RaphaelWimmer

On Debian 11 (i386), if I execute export root=sudo, and run the build process as non-root user, it fails during the configure phase with

ERROR: zlib not found

Actually, zlib is installed correctly. The log file gives a hint:

ccache: error: Failed to create directory /run/user/0/ccache-tmp: Permission denied
ERROR: zlib not found

If I run the build process as root, the error does not happen.

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