Em Wed, Dec 07, 2022 at 11:31:38AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Dec 07, 2022 at 11:21:18AM -0300, Arnaldo Carvalho de Melo escreveu: > > One thing I'm doing now is testing with the container builds, and I'm > > afraid we have to delay deleting the in-kernel old copy of > > tools/lib/traceevent till distros that don't ship libtraceevent as a > > separate package are EOLed. > > > > We need in those cases to fallback to tools/lib/traceevent/, with a > > warning probably. > > > > I'm now updating my container build recipes to install > > libtraceevent-devel, when available, which isn't the case, for instance, > > for almalinux:8, the first I tried updating. > > No distro I tested so far has a package for libtracevent in is default > repositories: > > almalinux 8 and 9 and the recently released Alpine Linux 3.17 (at least > I hadn't a recipe for that one, will try with edge). No luck: [perfbuilder@five edge]$ db acmel/linux-perf-tools-build-alpine:edge STEP 1/8: FROM alpine:edge STEP 2/8: MAINTAINER Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> STEP 3/8: RUN apk add --no-cache make gcc g++ flex bison curl bc findutils libcap-dev mandoc clang clang-dev llvm llvm-dev libc-dev linux-headers libdwarf-dev musl-obstack-dev argp-standalone elfutils-dev openssl-dev slang-dev gtk+3.0-dev perl-dev python3-dev py3-setuptools binutils-dev xz-dev numactl-dev libunwind-dev zstd-dev libcap-dev openjdk8 xmlto asciidoc cmake asciidoc xmlto libtraceevent-dev fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz ERROR: unable to select packages: libtraceevent-dev (no such package): required by: world[libtraceevent-dev] error building at STEP "RUN apk add --no-cache make gcc g++ flex bison curl bc findutils libcap-dev mandoc clang clang-dev llvm llvm-dev libc-dev linux-headers libdwarf-dev musl-obstack-dev argp-standalone elfutils-dev openssl-dev slang-dev gtk+3.0-dev perl-dev python3-dev py3-setuptools binutils-dev xz-dev numactl-dev libunwind-dev zstd-dev libcap-dev openjdk8 xmlto asciidoc cmake asciidoc xmlto libtraceevent-dev": error while running runtime: exit status 1 [perfbuilder@five edge]$ vi Dockerfile [perfbuilder@five edge]$ db acmel/linux-perf-tools-build-alpine:edge STEP 1/8: FROM alpine:edge STEP 2/8: MAINTAINER Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> STEP 3/8: RUN apk add --no-cache make gcc g++ flex bison curl bc findutils libcap-dev mandoc clang clang-dev llvm llvm-dev libc-dev linux-headers libdwarf-dev musl-obstack-dev argp-standalone elfutils-dev openssl-dev slang-dev gtk+3.0-dev perl-dev python3-dev py3-setuptools binutils-dev xz-dev numactl-dev libunwind-dev zstd-dev libcap-dev openjdk8 xmlto asciidoc cmake asciidoc xmlto traceevent-dev fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz ERROR: unable to select packages: traceevent-dev (no such package): required by: world[traceevent-dev] error building at STEP "RUN apk add --no-cache make gcc g++ flex bison curl bc findutils libcap-dev mandoc clang clang-dev llvm llvm-dev libc-dev linux-headers libdwarf-dev musl-obstack-dev argp-standalone elfutils-dev openssl-dev slang-dev gtk+3.0-dev perl-dev python3-dev py3-setuptools binutils-dev xz-dev numactl-dev libunwind-dev zstd-dev libcap-dev openjdk8 xmlto asciidoc cmake asciidoc xmlto traceevent-dev": error while running runtime: exit status 1 [perfbuilder@five edge]$