You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The static library libresvg.a is missing for the musl libc environment, causing significant build issues for projects that depend on resvg, such as usql. Additionally, this issue disrupts Nix builds, as noted in xo/usql#494
Problem Description:
The dependency on libresvg.a is incompatible with musl, resulting in failed builds in musl-based environments (e.g., Alpine Linux).
This issue also affects Nix builds, as outlined in the referenced issue. The combination of these problems creates significant obstacles for compiling dependent projects across various environments.
Steps to Reproduce:
Use a musl-based environment (e.g., Alpine Linux).
Attempt to compile a project that depends on resvg, such as usql.
Observe the failure caused by the absence of libresvg.a.
The build process should successfully compile the project by including a musl-compatible version of libresvg.a.
Nix builds should proceed without errors stemming from the missing dependency.
Actual Behavior:
Compilation fails with errors indicating the absence of libresvg.a in musl environments.
Nix builds are similarly disrupted, further exacerbating the issue.
Proposed Solution:
Provide a precompiled musl-compatible version of libresvg.a.
Ensure compatibility with Nix builds, potentially by bundling the required static library or generating it dynamically during the build process.
Environment:
OS: musl-based (e.g., Alpine Linux)
Build Tool: Nix
Project: usql
Dependency: resvg
This enhancement is critical to restoring build compatibility in musl environments and with Nix. Resolving this issue will unblock a broader range of use cases and enable smoother integration with dependent projects.
The static library
libresvg.ais missing for the musl libc environment, causing significant build issues for projects that depend onresvg, such asusql. Additionally, this issue disrupts Nix builds, as noted in xo/usql#494Problem Description:
libresvg.ais incompatible with musl, resulting in failed builds in musl-based environments (e.g., Alpine Linux).Steps to Reproduce:
resvg, such asusql.libresvg.a.usqlusing Nix and encounter the same issue (see Build breaks on arm64, armv7, i386: undefined reference to `resvg_parse_tree_from_data' usql#494).Expected Behavior:
libresvg.a.Actual Behavior:
libresvg.ain musl environments.Proposed Solution:
libresvg.a.Environment:
usqlresvgThis enhancement is critical to restoring build compatibility in musl environments and with Nix. Resolving this issue will unblock a broader range of use cases and enable smoother integration with dependent projects.