Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906073 - app-containers/podman-4.8.3 fails to compile (MUSL-SYSTEM): sqlite3-binding.c:35911:42: error: pread64 undeclared here (not in a function)
Summary: app-containers/podman-4.8.3 fails to compile (MUSL-SYSTEM): sqlite3-binding.c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-10 15:33 UTC by Agostino Sarubbo
Modified: 2024-03-23 08:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,210.04 KB, application/x-xz)
2023-05-10 15:33 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-10 15:33:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-containers/podman-4.5.0 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-10 15:33:49 UTC
Created attachment 861439 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-17 07:56:52 UTC
tinderbox_musl has reproduced this issue with version 4.8.3 - Updating summary.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-01 16:58:38 UTC
Just needs to use a newer version of go-sqlite3 (maybe it is already, please check - see https://github.com/mattn/go-sqlite3/issues/1164).
Comment 4 Larry the Git Cow gentoo-dev 2024-03-02 23:47:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95f0486e6038b73aba738b5f30e96a8164e36876

commit 95f0486e6038b73aba738b5f30e96a8164e36876
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-03-02 23:47:08 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-03-02 23:47:27 +0000

    app-containers/podman: Apply musl-1.2.4 largefile workaround
    
    Bug: https://bugs.gentoo.org/906073
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 app-containers/podman/podman-4.8.3.ebuild     | 3 +++
 app-containers/podman/podman-4.9.1.ebuild     | 3 +++
 app-containers/podman/podman-4.9.2.ebuild     | 3 +++
 app-containers/podman/podman-4.9.3.ebuild     | 3 +++
 app-containers/podman/podman-5.0.0_rc1.ebuild | 3 +++
 app-containers/podman/podman-5.0.0_rc3.ebuild | 3 +++
 app-containers/podman/podman-9999.ebuild      | 3 +++
 7 files changed, 21 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2024-03-23 08:29:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86ea5f418a7dbe75847a8dc940edc114e3a17b8

commit b86ea5f418a7dbe75847a8dc940edc114e3a17b8
Author:     Rahil Bhimjiani <me@rahil.rocks>
AuthorDate: 2024-03-20 11:50:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-23 08:29:03 +0000

    app-containers/podman: update to 5.0.0
    
    1) Podman 5 drops old, slow & insecure stack in favour of shiny new one:
    * slirp4netns -> passt/pasta
    * runc -> crun
    * cni-plugins -> netavark + aardvark-dns
    * cgroupv1 -> cgroupv2
    
    2) remove USE flags: cgroup-hybrid, init, rootless, fuse  because ...
    * cgroupv1 support is deprecated.
    * app-containers/catatonit, net-misc/passt, sys-fs/fuse-overlayfs are very minimal
    dependencies, <1M of installed size in <30s of compile time (ofc it
    varies).
    * These flags didn't do much except pulling in dependencies. So suppose
    someone goes from -init to +init they've to compile whole podman again,
    instead of just emerging catatonit.
    * Forcing fuse-overlayfs on users  makes sure to have a default graph driver in
    rootless mode. containers-storage(5)
    
    3) add python-any-r1.elcass to fix python-exec[-native-symlinks]
    
    Closes: https://bugs.gentoo.org/877719
    Closes: https://bugs.gentoo.org/906073
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=927501
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=927500
    Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-containers/podman/Manifest                     |   1 +
 .../podman/files/podman-auto-update-5.0.0.cron     |   5 +
 .../podman/files/podman-auto-update-5.0.0_rc4.cron |   7 --
 app-containers/podman/metadata.xml                 |   6 +-
 app-containers/podman/podman-5.0.0.ebuild          | 128 +++++++++++++++++++++
 app-containers/podman/podman-9999.ebuild           |  73 ++++--------
 6 files changed, 160 insertions(+), 60 deletions(-)