Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922378 - app-emulation/cloud-hypervisor-31.0 fails to compile (MUSL-SYSTEM): util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h98bf812367189a95E+0x4a): undefined reference to open64
Summary: app-emulation/cloud-hypervisor-31.0 fails to compile (MUSL-SYSTEM): util_libc...
Status: RESOLVED PKGREMOVED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2024-01-18 12:41 UTC by Agostino Sarubbo
Modified: 2024-07-20 07:41 UTC (History)
0 users

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


Attachments
build.log (build.log,240.46 KB, text/plain)
2024-01-18 12:41 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 2024-01-18 12:41:01 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-emulation/cloud-hypervisor-31.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 2024-01-18 12:41:03 UTC
Created attachment 882531 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-18 12:41:05 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


          /usr/lib/gcc/x86_64-gentoo-linux-musl/13/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/app-emulation/cloud-hypervisor-31.0/work/cloud-hypervisor-31.0/qcow/src/raw_file.rs:260:(.text._ZN58_$LT$qcow..raw_file..RawFile$u20$as$u20$std..io..Write$GT$5write17h9579311d587ae9bfE+0x3e8): undefined reference to `pwrite64'
          /usr/lib/gcc/x86_64-gentoo-linux-musl/13/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/app-emulation/cloud-hypervisor-31.0/work/cloud-hypervisor-31.0/virtio-devices/src/vhost_user/fs.rs:239:(.text._ZN132_$LT$virtio_devices..vhost_user..fs..SlaveReqHandler$u20$as$u20$vhost..vhost_user..master_req_handler..VhostUserMasterReqHandler$GT$11fs_slave_io17hb70beb297d44fe55E+0x9f6): undefined reference to `pwrite64'
          /var/tmp/portage/app-emulation/cloud-hypervisor-31.0/work/cloud-hypervisor-31.0/qcow/src/raw_file.rs:161:(.text._ZN57_$LT$qcow..raw_file..RawFile$u20$as$u20$std..io..Read$GT$4read17h7215e8e7be5916ddE+0x29e): undefined reference to `pread64'
          /var/tmp/portage/app-emulation/cloud-hypervisor-31.0/work/cloud-hypervisor-31.0/qcow/src/raw_file.rs:241:(.text._ZN58_$LT$qcow..raw_file..RawFile$u20$as$u20$std..io..Write$GT$5write17h9579311d587ae9bfE+0x298): undefined reference to `pread64'
          /var/tmp/portage/app-emulation/cloud-hypervisor-31.0/work/cloud-hypervisor-31.0/vendor/getrandom/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h98bf812367189a95E+0x4a): undefined reference to `open64'
          /var/tmp/portage/app-emulation/cloud-hypervisor-31.0/work/cloud-hypervisor-31.0/vendor/vmm-sys-util/src/linux/fallocate.rs:87:(.text._ZN12vmm_sys_util5linux9fallocate9fallocate17h5178f5fc2c3e7df4E+0xfb): undefined reference to `fallocate64'
          /var/tmp/portage/app-emulation/cloud-hypervisor-31.0/work/cloud-hypervisor-31.0/virtio-devices/src/balloon.rs:152:(.text._ZN14virtio_devices7balloon19BalloonEpollHandler20release_memory_range17h30e3e9ce3a762060E+0x253): undefined reference to `fallocate64'
          /var/tmp/portage/app-emulation/cloud-hypervisor-31.0/work/cloud-hypervisor-31.0/virtio-devices/src/mem.rs:422:(.text._ZN14virtio_devices3mem15MemEpollHandler20discard_memory_range17h88fec237b5cc9704E+0x60): undefined reference to `fallocate64'
          /var/tmp/portage/app-emulation/cloud-hypervisor-31.0/work/cloud-hypervisor-31.0/virtio-devices/src/vhost_user/fs.rs:249:(.text._ZN132_$LT$virtio_devices..vhost_user..fs..SlaveReqHandler$u20$as$u20$vhost..vhost_user..master_req_handler..VhostUserMasterReqHandler$GT$11fs_slave_io17hb70beb297d44fe55E+0x862): undefined reference to `pread64'
error: linking with `cc` failed: exit status: 1
Comment 3 Larry the Git Cow gentoo-dev 2024-07-20 07:41:06 UTC
The bug has been closed via the following commit(s):

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

commit b327e6786b3866ddf083d89e1f83a9c19df8753c
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-07-20 07:40:27 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-07-20 07:40:27 +0000

    app-emulation/cloud-hypervisor: treeclean
    
    Closes: https://bugs.gentoo.org/922378 (pkgremoved)
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 app-emulation/cloud-hypervisor/Manifest            |  2 -
 .../cloud-hypervisor/cloud-hypervisor-31.0.ebuild  | 49 ----------------------
 .../cloud-hypervisor/cloud-hypervisor-9999.ebuild  | 44 -------------------
 .../files/cloud-hypervisor-31.0-vendor-config      | 45 --------------------
 app-emulation/cloud-hypervisor/metadata.xml        | 11 -----
 profiles/package.mask                              |  6 ---
 6 files changed, 157 deletions(-)