Skip to content

libpfm-4.11.0 build failed #3573

@zhangguanzhang

Description

@zhangguanzhang

latest code

make docker-amd64
make[1]: [Makefile:408: install] Error 1 (ignored)
....
Step 16/22 : COPY --from=build /usr/local/lib/libpfm.so* /usr/local/lib/
 ---> 2c0ae9b53e38
Step 17/22 : COPY --from=build /usr/local/lib/libipmctl.so* /usr/local/lib/
COPY failed: no source files were specified
make info

Sending build context to Docker daemon 61.44MB
Step 1/22 : FROM registry.hub.docker.com/library/golang:1.22-alpine3.18 AS build
---> ef4e5330a687
Step 2/22 : RUN apk --no-cache add bash build-base cmake device-mapper findutils git libc6-compat linux-headers ndctl-dev pkgconfig python3 wget zfs && apk --no-cache add thin-provisioning-tools --repository http://dl-3.alpinelinux.org/alpine/edge/main/ && echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && rm -rf /var/cache/apk/*
---> Running in 0492a2670041
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
(1/77) Installing ncurses-terminfo-base (6.4_p20230506-r0)
(2/77) Installing libncursesw (6.4_p20230506-r0)
(3/77) Installing readline (8.2.1-r1)
(4/77) Installing bash (5.2.15-r5)
Executing bash-5.2.15-r5.post-install
(5/77) Installing libgcc (12.2.1_git20220924-r10)
(6/77) Installing libstdc++ (12.2.1_git20220924-r10)
(7/77) Installing zstd-libs (1.5.5-r4)
(8/77) Installing binutils (2.40-r7)
(9/77) Installing libmagic (5.45-r0)
(10/77) Installing file (5.45-r0)
(11/77) Installing libgomp (12.2.1_git20220924-r10)
(12/77) Installing libatomic (12.2.1_git20220924-r10)
(13/77) Installing gmp (6.2.1-r3)
(14/77) Installing isl26 (0.26-r1)
(15/77) Installing mpfr4 (4.2.0_p12-r0)
(16/77) Installing mpc1 (1.3.1-r1)
(17/77) Installing gcc (12.2.1_git20220924-r10)
(18/77) Installing libstdc++-dev (12.2.1_git20220924-r10)
(19/77) Installing musl-dev (1.2.4-r2)
(20/77) Installing libc-dev (0.7.2-r5)
(21/77) Installing g++ (12.2.1_git20220924-r10)
(22/77) Installing make (4.4.1-r1)
(23/77) Installing fortify-headers (1.1-r3)
(24/77) Installing patch (2.7.6-r10)
(25/77) Installing build-base (0.5-r3)
(26/77) Installing libacl (2.3.1-r3)
(27/77) Installing libbz2 (1.0.8-r5)
(28/77) Installing libexpat (2.6.2-r0)
(29/77) Installing lz4-libs (1.9.4-r4)
(30/77) Installing xz-libs (5.4.3-r0)
(31/77) Installing libarchive (3.7.4-r0)
(32/77) Installing brotli-libs (1.0.9-r14)
(33/77) Installing libunistring (1.1-r1)
(34/77) Installing libidn2 (2.3.4-r1)
(35/77) Installing nghttp2-libs (1.57.0-r0)
(36/77) Installing libcurl (8.9.0-r0)
(37/77) Installing libformw (6.4_p20230506-r0)
(38/77) Installing rhash-libs (1.4.3-r2)
(39/77) Installing libuv (1.44.2-r2)
(40/77) Installing cmake (3.26.5-r0)
(41/77) Installing libaio (0.3.113-r1)
(42/77) Installing libblkid (2.38.1-r8)
(43/77) Installing device-mapper-libs (2.03.21-r3)
(44/77) Installing device-mapper-event-libs (2.03.21-r3)
(45/77) Installing lvm2-libs (2.03.21-r3)
(46/77) Installing device-mapper (2.03.21-r3)
(47/77) Installing findutils (4.9.0-r5)
(48/77) Installing pcre2 (10.42-r1)
(49/77) Installing git (2.40.1-r0)
(50/77) Installing libc6-compat (1.2.4-r2)
(51/77) Installing linux-headers (6.3-r0)
(52/77) Installing kmod-libs (30-r3)
(53/77) Installing eudev-libs (3.2.11-r8)
(54/77) Installing libuuid (2.38.1-r8)
(55/77) Installing ndctl-libs (77-r0)
(56/77) Installing pkgconf (1.9.5-r0)
(57/77) Installing ndctl-dev (77-r0)
(58/77) Installing libffi (3.4.4-r2)
(59/77) Installing gdbm (1.23-r1)
(60/77) Installing mpdecimal (2.5.1-r2)
(61/77) Installing libpanelw (6.4_p20230506-r0)
(62/77) Installing sqlite-libs (3.41.2-r3)
(63/77) Installing python3 (3.11.8-r0)
(64/77) Installing python3-pycache-pyc0 (3.11.8-r0)
(65/77) Installing pyc (0.1-r0)
(66/77) Installing python3-pyc (3.11.8-r0)
(67/77) Installing wget (1.21.4-r0)
(68/77) Installing libintl (0.21.1-r7)
(69/77) Installing libtirpc-conf (1.3.3-r2)
(70/77) Installing krb5-conf (1.0-r2)
(71/77) Installing libcom_err (1.47.0-r2)
(72/77) Installing keyutils-libs (1.6.3-r3)
(73/77) Installing libverto (0.3.2-r2)
(74/77) Installing krb5-libs (1.20.2-r0)
(75/77) Installing libtirpc (1.3.3-r2)
(76/77) Installing zfs-libs (2.1.14-r0)
(77/77) Installing zfs (2.1.14-r0)
Executing busybox-1.36.1-r5.trigger
OK: 372 MiB in 93 packages
fetch http://dl-3.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
WARNING: Permanently redirected to https://dl-3.alpinelinux.org:443/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
(1/1) Installing thin-provisioning-tools (1.0.4-r0)
Executing busybox-1.36.1-r5.trigger
OK: 374 MiB in 94 packages
---> Removed intermediate container 0492a2670041
---> 1d5f4f7e0406
Step 3/22 : RUN wget https://sourceforge.net/projects/perfmon2/files/libpfm4/libpfm-4.11.0.tar.gz && echo "112bced9a67d565ff0ce6c2bb90452516d1183e5 libpfm-4.11.0.tar.gz" | sha1sum -c && tar -xzf libpfm-4.11.0.tar.gz && rm libpfm-4.11.0.tar.gz
---> Running in 7a00f62f3d93
--2024-08-06 03:02:33-- https://sourceforge.net/projects/perfmon2/files/libpfm4/libpfm-4.11.0.tar.gz
Resolving sourceforge.net (sourceforge.net)... 104.18.13.149, 104.18.12.149
Connecting to sourceforge.net (sourceforge.net)|104.18.13.149|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/projects/perfmon2/files/libpfm4/libpfm-4.11.0.tar.gz/ [following]
--2024-08-06 03:02:34-- https://sourceforge.net/projects/perfmon2/files/libpfm4/libpfm-4.11.0.tar.gz/
Reusing existing connection to sourceforge.net:443.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/projects/perfmon2/files/libpfm4/libpfm-4.11.0.tar.gz/download [following]
--2024-08-06 03:02:34-- https://sourceforge.net/projects/perfmon2/files/libpfm4/libpfm-4.11.0.tar.gz/download
Reusing existing connection to sourceforge.net:443.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.11.0.tar.gz?ts=gAAAAABmsZJKYCku3d8DwYv5zKn4ZoDzXK5PnDTRA_a8zERRmH61N2WiPJ5mv7qmjJQM4FqSBhYFQ0lODdLxQbiikxr1fxixqg%3D%3D&use_mirror=zenlayer&r= [following]
--2024-08-06 03:02:34-- https://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.11.0.tar.gz?ts=gAAAAABmsZJKYCku3d8DwYv5zKn4ZoDzXK5PnDTRA_a8zERRmH61N2WiPJ5mv7qmjJQM4FqSBhYFQ0lODdLxQbiikxr1fxixqg%3D%3D&use_mirror=zenlayer&r=
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 204.68.111.105
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|204.68.111.105|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://zenlayer.dl.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.11.0.tar.gz?viasf=1 [following]
--2024-08-06 03:02:35-- https://zenlayer.dl.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.11.0.tar.gz?viasf=1
Resolving zenlayer.dl.sourceforge.net (zenlayer.dl.sourceforge.net)... 98.98.48.225
Connecting to zenlayer.dl.sourceforge.net (zenlayer.dl.sourceforge.net)|98.98.48.225|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1043686 (1019K) [application/x-gzip]
Saving to: 'libpfm-4.11.0.tar.gz'

2024-08-06 03:02:36 (951 KB/s) - 'libpfm-4.11.0.tar.gz' saved [1043686/1043686]

libpfm-4.11.0.tar.gz: OK
---> Removed intermediate container 7a00f62f3d93
---> 74ba5e89f37b

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