lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 7 Dec 2022 11:33:03 -0300
From:   Arnaldo Carvalho de Melo <acme@...nel.org>
To:     Ian Rogers <irogers@...gle.com>,
        Steven Rostedt <rostedt@...dmis.org>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Jiri Olsa <jolsa@...nel.org>,
        Namhyung Kim <namhyung@...nel.org>,
        Nick Desaulniers <ndesaulniers@...gle.com>,
        linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org,
        bpf@...r.kernel.org, Stephane Eranian <eranian@...gle.com>
Subject: Re: [ALMOST ready] Re: [PATCH 2/3] perf build: Use libtraceevent
 from the system

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@...e edge]$ db
acmel/linux-perf-tools-build-alpine:edge
STEP 1/8: FROM alpine:edge
STEP 2/8: MAINTAINER Arnaldo Carvalho de Melo <acme@...nel.org>
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@...e edge]$ vi Dockerfile
[perfbuilder@...e edge]$ db
acmel/linux-perf-tools-build-alpine:edge
STEP 1/8: FROM alpine:edge
STEP 2/8: MAINTAINER Arnaldo Carvalho de Melo <acme@...nel.org>
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@...e edge]$

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ