DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-musl', 'aarch64-linux', 'aarch64-linux-musl', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing shell function do_compile
NOTE: make -j 32
make -C libdm device-mapper
make -C conf device-mapper
make -C include device-mapper
make -C lib device-mapper
make -C libdaemon device-mapper
make -C scripts device-mapper
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/include'
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/lib'
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/libdaemon'
    [CC] list.c
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/conf'
    [CC] hash.c
    [CC] radix-tree.c
    [CC] bitset.c
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/scripts'
make[1]: Nothing to be done for 'device-mapper'.
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/include'
make[1]: Nothing to be done for 'device-mapper'.
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/lib'
    [CC] bitset.c
    [CC] hash.c
    [CC] list.c
    [CC] libdm-iface.c
    [CC] libdm-common.c
make[1]: Nothing to be done for 'device-mapper'.
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/libdaemon'
    [CC] libdm-common.c
    [CC] libdm-config.c
    [CC] libdm-config.c
make[1]: Nothing to be done for 'device-mapper'.
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/scripts'
make[1]: Nothing to be done for 'device-mapper'.
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/conf'
    [CC] libdm-deptree.c
    [CC] libdm-file.c
    [CC] libdm-report.c
    [CC] libdm-file.c
    [CC] libdm-deptree.c
    [CC] libdm-string.c
    [CC] libdm-report.c
    [CC] libdm-string.c
    [CC] libdm-stats.c
    [CC] libdm-timestamp.c
    [CC] pool.c
    [CC] libdm-targets.c
    [CC] libdm-targets.c
    [CC] matcher.c
    [CC] libdm-timestamp.c
    [CC] dbg_malloc.c
    [CC] pool.c
    [CC] ttree.c
    [CC] parse_rx.c
    [CC] matcher.c
    [CC] status.c
    [CC] parse_rx.c
    [CC] vdo_reader.c
    [CC] ttree.c
    [CC] libdm-iface.c
    [CC] vdo_target.c
    [AR] base/libbase.a
aarch64-yoe-linux-musl-llvm-ar: warning: creating base/libbase.a
    [AR] device_mapper/libdevice-mapper.a
aarch64-yoe-linux-musl-llvm-ar: warning: creating device_mapper/libdevice-mapper.a
    [CC] ioctl/libdevmapper.so.1.02
aarch64-yoe-linux-musl-ld.lld: warning: attempt to reassign symbol 'dm_bitset_parse_list' of version 'DM_1_02_129' to version 'DM_1_02_138'
    [LN] libdevmapper.so.1.02
    [LN] ioctl/libdevmapper.so
    [LN] ioctl/libdevmapper.so
    [CHECK] ioctl/libdevmapper.so
make -C daemons device-mapper
make -C tools device-mapper
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/tools'
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/daemons'
make -C dmeventd device-mapper
make[1]: Nothing to be done for 'device-mapper'.
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/tools'
make[2]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/daemons/dmeventd'
    [CC] libdevmapper-event.c
    [CC] dmeventd.c
libdevmapper-event.c:935:5: warning: cast to smaller integer type 'int' from 'pthread_t' (aka 'struct __pthread *') [-Wpointer-to-int-cast]
  935 |                                 (int)pthread_self(), subsys,
      |                                 ^~~~~~~~~~~~~~~~~~~
dmeventd.c:787:9: warning: cast to smaller integer type 'int' from 'pthread_t' (aka 'struct __pthread *') [-Wpointer-to-int-cast]
  787 |                                                   (int) thread->thread);
      |                                                   ^~~~~~~~~~~~~~~~~~~~
../../lib/log/log.h:88:46: note: expanded from macro 'log_debug'
   88 | #define log_debug(x...) LOG_LINE(_LOG_DEBUG, x)
      |                                              ^
../../libdm/misc/dm-logging.h:26:65: note: expanded from macro 'LOG_LINE'
   26 | #define LOG_LINE(l, x...) LOG_MESG(l, __FILE__, __LINE__, 0, ## x)
      |                                                                 ^
dmeventd.c:118:67: note: expanded from macro 'LOG_MESG'
  118 | #define LOG_MESG(l, f, ln, e, x...) _dmeventd_log(l, f, ln, e, ## x)
      |                                                                   ^
dmeventd.c:794:10: warning: cast to smaller integer type 'int' from 'pthread_t' (aka 'struct __pthread *') [-Wpointer-to-int-cast]
  794 |                                                           (int) thread->thread, strerror(ret));
      |                                                           ^~~~~~~~~~~~~~~~~~~~
../../lib/log/log.h:115:36: note: expanded from macro 'log_error'
  115 | #define log_error(args...) log_err(args)
      |                                    ^~~~
../../lib/log/log.h:105:68: note: expanded from macro 'log_err'
  105 | #define log_err(x...) LOG_LINE_WITH_ERRNO(_LOG_ERR, EUNCLASSIFIED, x)
      |                                                                    ^
../../libdm/misc/dm-logging.h:27:79: note: expanded from macro 'LOG_LINE_WITH_ERRNO'
   27 | #define LOG_LINE_WITH_ERRNO(l, e, x...) LOG_MESG(l, __FILE__, __LINE__, e, ## x)
      |                                                                               ^
dmeventd.c:118:67: note: expanded from macro 'LOG_MESG'
  118 | #define LOG_MESG(l, f, ln, e, x...) _dmeventd_log(l, f, ln, e, ## x)
      |                                                                   ^
dmeventd.c:955:38: warning: cast to smaller integer type 'int' from 'pthread_t' (aka 'struct __pthread *') [-Wpointer-to-int-cast]
  955 |                 log_error("Lost event in Thr %x.", (int)thread->thread);
      |                                                    ^~~~~~~~~~~~~~~~~~~
../../lib/log/log.h:115:36: note: expanded from macro 'log_error'
  115 | #define log_error(args...) log_err(args)
      |                                    ^~~~
../../lib/log/log.h:105:68: note: expanded from macro 'log_err'
  105 | #define log_err(x...) LOG_LINE_WITH_ERRNO(_LOG_ERR, EUNCLASSIFIED, x)
      |                                                                    ^
../../libdm/misc/dm-logging.h:27:79: note: expanded from macro 'LOG_LINE_WITH_ERRNO'
   27 | #define LOG_LINE_WITH_ERRNO(l, e, x...) LOG_MESG(l, __FILE__, __LINE__, e, ## x)
      |                                                                               ^
dmeventd.c:118:67: note: expanded from macro 'LOG_MESG'
  118 | #define LOG_MESG(l, f, ln, e, x...) _dmeventd_log(l, f, ln, e, ## x)
      |                                                                   ^
1 warning generated.
    [CC] libdevmapper-event.so.1.02
    [LN] libdevmapper-event.so
3 warnings generated.
    [CC] dmeventd
make[2]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/daemons/dmeventd'
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/daemons'
make -C libdm
make -C conf
make -C include
make -C libdaemon
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/include'
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/conf'
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/libdaemon'
make -C dm-tools device-mapper
    [GEN] cmds.h
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/conf'
make -C client device-mapper
make[2]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/libdaemon/client'
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/include'
    [CC] dmsetup.c
make[2]: Nothing to be done for 'device-mapper'.
make[2]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/libdaemon/client'
make -C client
make[2]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/libdaemon/client'
    [CC] daemon-io.c
    [CC] config-util.c
    [CC] daemon-client.c
    [AR] libdaemonclient.a
aarch64-yoe-linux-musl-llvm-ar: warning: creating libdaemonclient.a
make[2]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/libdaemon/client'
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/libdaemon'
make -C lib
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/lib'
    [CC] activate.c
    [CC] lvmcache.c
    [CC] writecache.c
    [CC] integrity.c
    [CC] cache.c
    [CC] config.c
    [CC] toolcontext.c
    [CC] btree.c
    [CC] bcache.c
    [CC] str_list.c
    [CC] bcache-utils.c
    [CC] dev-cache.c
    [CC] device_id.c
    [CC] dev-ext.c
    [CC] dev-io.c
    [CC] dev-md.c
    [CC] dev-mpath.c
    [CC] dev-swap.c
    [CC] dev-type.c
    [CC] dev-luks.c
commands/toolcontext.c:1689:32: warning: passing 'FILE *const *' (aka 'struct _IO_FILE *const *') to parameter of type 'FILE **' (aka 'struct _IO_FILE **') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 1689 |                         if (!re    [CC] dev-dasd.c
open_standard_stream(&stdin, "r"))
      |                                                     ^~~~~~
../lib/log/lvm-logging.h:41:35: note: passing argument to parameter 'stream' here
   41 | int reopen_standard_stream(FILE **stream, const char *mode);
      |                                   ^
commands/toolcontext.c:1700:32: warning: passing 'FILE *const *' (aka 'struct _IO_FILE *const *') to parameter of type 'FILE **' (aka 'struct _IO_FILE **') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 1700 |                         if (!reopen_standard_stream(&stdout, "w"))
      |                                                     ^~~~~~~
../lib/log/lvm-logging.h:41:35: note: passing argument to parameter 'stream' here
   41 | int reopen_standard_stream(FILE **stream, const char *mode);
      |                                   ^
commands/toolcontext.c:2052:31: warning: passing 'FILE *const *' (aka 'struct _IO_FILE *const *') to parameter of type 'FILE **' (aka 'struct _IO_FILE **') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2052 |                         if (reopen_standard_stream(&stdin, "r"))
      |                                                    ^~~~~~
../lib/log/lvm-logging.h:41:35: note: passing argument to parameter 'stream' here
   41 | int reopen_standard_stream(FILE **stream, const char *mode);
      |                                   ^
commands/toolcontext.c:2061:31: warning: passing 'FILE *const *' (aka 'struct _IO_FILE *const *') to parameter of type 'FILE **' (aka 'struct _IO_FILE **') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2061 |                         if (reopen_standard_stream(&stdout, "w"))
      |                                                    ^~~~~~~
../lib/log/lvm-logging.h:41:35: note: passing argument to parameter 'stream' here
   41 | int reopen_standard_stream(FILE **stream, const char *mode);
      |                                   ^
    [CC] dev-lvm1-pool.c
    [CC] filesystem.c
device/device_id.c:574:10: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  574 |                 base = basename(devname);
      |                        ^
device/device_id.c:574:8: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion]
  574 |                 base = basename(devname);
      |                      ^ ~~~~~~~~~~~~~~~~~
    [CC] online.c
    [CC] parse_vpd.c
    [CC] dev_util.c
    [CC] display.c
2 errors generated.
make[1]: *** [../make.tmpl:491: device/device_id.o] Error 1
make[1]: *** Waiting for unfinished jobs....
    [CC] errseg.c
4 warnings generated.
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/git/lib'
make: *** [make.tmpl:394: lib] Error 2
make: *** Waiting for unfinished jobs....
    [CC] dmsetup
make -C dm-tools
make[2]: Nothing to be done for 'all'.
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/temp/run.do_compile.2995381:182 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/temp/run.do_compile.2995381, line 182
	#2: die, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/temp/run.do_compile.2995381, line 166
	#3: oe_runmake, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/temp/run.do_compile.2995381, line 161
	#4: autotools_do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/temp/run.do_compile.2995381, line 156
	#5: do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/temp/run.do_compile.2995381, line 151
	#6: main, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/libdevmapper/2.03.22/temp/run.do_compile.2995381, line 195

Error details

Submitted on:
20/01/24 18:22
Error type:
Recipe
Task:
do_compile
Recipe:
libdevmapper
Recipe version:
2.03.22-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
x86_64-linux
Target system:
aarch64-yoe-linux-musl
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
413570d1dd311a1ef8bace299d78f43dbb7c9565
Build:
#177371
Submitter:
ab@rdk
Similar errors:
1
Open a bug