Bug 1731048 - lldb: FTBFS in Fedora rawhide on aarch64, ppc64le, s390x
Summary: lldb: FTBFS in Fedora rawhide on aarch64, ppc64le, s390x
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: lldb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom Stellard
QA Contact: Fedora Extras Quality Assurance
URL: http://apps.fedoraproject.org/koschei...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-18 08:43 UTC by Jitka Plesnikova
Modified: 2019-07-23 07:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-23 07:49:06 UTC
Type: Bug


Attachments (Terms of Use)

Description Jitka Plesnikova 2019-07-18 08:43:25 UTC
Description of problem:
Package lldb fails to build from source in Fedora rawhide on aarch64, ppc64le, s390x. It fails with following errors:

On aarch64:
BUILDSTDERR: /builddir/build/BUILD/lldb-8.0.0.src/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp:792:29: error: aggregate 'lldb_private::process_linux::NativeRegisterContextLinux_arm64::ReadHardwareDebugInfo()::user_hwdebug_state dreg_state' has incomplete type and cannot be defined
BUILDSTDERR:   792 |   struct user_hwdebug_state dreg_state;
BUILDSTDERR:       |                             ^~~~~~~~~~
...

On ppc64le:
BUILDSTDERR: /builddir/build/BUILD/lldb-8.0.0.src/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.cpp:575:15: error: 'PPC_BREAKPOINT_TRIGGER_WRITE' was not declared in this scope
BUILDSTDERR:   575 |     rw_mode = PPC_BREAKPOINT_TRIGGER_WRITE;
BUILDSTDERR:       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

On s390x
BUILDSTDERR:                  from /builddir/build/BUILD/lldb-8.0.0.src/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp:22:
BUILDSTDERR: /usr/include/sys/ptrace.h:129:3: error: expected identifier before numeric constant
BUILDSTDERR:   129 |   PTRACE_SINGLEBLOCK = 12,
BUILDSTDERR:       |   ^~~~~~~~~~~~~~~~~~
BUILDSTDERR: /usr/include/sys/ptrace.h:129:3: error: expected '}' before numeric constant
BUILDSTDERR: In file included from /builddir/build/BUILD/lldb-8.0.0.src/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp:24:
BUILDSTDERR: /usr/include/sys/ptrace.h:85:1: note: to match this '{'
BUILDSTDERR:    85 | {
BUILDSTDERR:       | ^
BUILDSTDERR: In file included from /usr/include/asm/ptrace.h:6,
...
BUILDSTDERR: /builddir/build/BUILD/lldb-8.0.0.src/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp:307:5: error: 's390_fp_regs' was not declared in this scope
BUILDSTDERR:   307 |     s390_fp_regs fp_regs;
BUILDSTDERR:       |     ^~~~~~~~~~~~


Version-Release number of selected component (if applicable):
8.0.0-2.fc31

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/lldb

Dependency changes from the last successful build:
https://apps.fedoraproject.org/koschei/build/6688596

Comment 1 Jan Kratochvil 2019-07-23 07:49:06 UTC
It has fixed on its own (probably due to kernel-headers update) later:
https://apps.fedoraproject.org/koschei/build/6715649


Note You need to log in before you can comment on or make changes to this bug.