Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 903516

Summary: sys-block/ndctl-76.1 - event_trace.c:(.text+<snip>): undefined reference to tep_event_fields
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
sys-block:ndctl-76.1:20230328-235916.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-03-29 08:38:43 UTC
too long lines were shrinked:

[87/173] x86_64-pc-linux-gnu-gcc -Itest/libndctl.p -Itest -I../ndctl-76.1/test -I. -I../ndctl-76.1 -Indctl -I../ndctl-76.1/ndctl -I/usr/include/uuid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wmissing-p
[88/173] x86_64-pc-linux-gnu-gcc -Icxl/cxl.p -Icxl -I../ndctl-76.1/cxl -I. -I../ndctl-76.1 -Indctl -I../ndctl-76.1/ndctl -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/traceevent -I/usr/include/tracefs -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -Wchar-
[89/173] x86_64-pc-linux-gnu-gcc  -o cxl/cxl cxl/cxl.p/cxl.c.o cxl/cxl.p/list.c.o cxl/cxl.p/port.c.o cxl/cxl.p/bus.c.o cxl/cxl.p/region.c.o cxl/cxl.p/memdev.c.o cxl/cxl.p/json.c.o cxl/cxl.p/filter.c.o cxl/cxl.p/event_trace.c.o cxl/cxl.p/monitor.c.o -Wl,--as-needed -Wl,--no-undefined -O2 -pipe -march
FAILED: cxl/cxl 
x86_64-pc-linux-gnu-gcc  -o cxl/cxl cxl/cxl.p/cxl.c.o cxl/cxl.p/list.c.o cxl/cxl.p/port.c.o cxl/cxl.p/bus.c.o cxl/cxl.p/region.c.o cxl/cxl.p/memdev.c.o cxl/cxl.p/json.c.o cxl/cxl.p/filter.c.o cxl/cxl.p/event_trace.c.o cxl/cxl.p/monitor.c.o -Wl,--as-needed -Wl,--no-undefined -O2 -pipe -march=native -
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: cxl/cxl.p/event_trace.c.o: in function `cxl_event_parse':
event_trace.c:(.text+0x1d8): undefined reference to `tep_event_fields'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: event_trace.c:(.text+0x291): undefined reference to `tep_get_field_raw'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: event_trace.c:(.text+0x2dc): undefined reference to `tep_get_field_raw'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20230326-225504

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 16.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.0
Python 3.10.10
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.68.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 3709476adbeedba3cb1aa74c7c29d4f4860a712f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Mar 28 23:16:59 2023 +0000

    2023-03-28 23:16:58 UTC

emerge -qpvO sys-block/ndctl
[ebuild  N    ] sys-block/ndctl-76.1  USE="libtracefs -doc -systemd -test"
Comment 1 Toralf Förster gentoo-dev 2023-03-29 08:38:44 UTC
Created attachment 859224 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-29 08:38:45 UTC
Created attachment 859225 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-03-29 08:38:46 UTC
Created attachment 859226 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-03-29 08:38:47 UTC
Created attachment 859227 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-03-29 08:38:48 UTC
Created attachment 859228 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-29 08:38:49 UTC
Created attachment 859229 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-03-29 08:38:50 UTC
Created attachment 859230 [details]
sys-block:ndctl-76.1:20230328-235916.log
Comment 8 Toralf Förster gentoo-dev 2023-03-29 08:38:51 UTC
Created attachment 859231 [details]
temp.tar.bz2