make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8' arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o crc32.o crc32.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o support.o support.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o guid.o guid.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o gptpart.o gptpart.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o mbrpart.o mbrpart.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o basicmbr.o basicmbr.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o mbr.o mbr.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o gpt.o gpt.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o bsd.o bsd.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o parttypes.o parttypes.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o attributes.o attributes.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o diskio.o diskio.cc arm-openwrt-linux-muslgnueabi-g++ -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8=gptfdisk-1.0.8 -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -std=c++11 -fno-rtti -Wno-format-security -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a5+vfpv4_gcc-12.3.0_musl_eabi/include -Wall -D_FILE_OFFSET_BITS=64 -c -o diskio-unix.o diskio-unix.cc diskio-unix.cc: In member function 'int DiskIO::OpenForRead()': diskio-unix.cc:55:18: error: aggregate 'DiskIO::OpenForRead()::stat64 st' has incomplete type and cannot be defined 55 | struct stat64 st; | ^~ diskio-unix.cc:81:14: error: 'fstat64' was not declared in this scope; did you mean 'stat64'? 81 | if (fstat64(fd, &st) == 0) { | ^~~~~~~ | stat64 diskio-unix.cc: In member function 'int DiskIO::Seek(uint64_t)': diskio-unix.cc:314:4: error: 'off64_t' was not declared in this scope; did you mean 'off_t'? 314 | off64_t seekTo, sought; | ^~~~~~~ | off_t diskio-unix.cc:322:7: error: 'seekTo' was not declared in this scope; did you mean 'fseeko'? 322 | seekTo = sector * (uint64_t) GetBlockSize(); | ^~~~~~ | fseeko diskio-unix.cc:323:7: error: 'sought' was not declared in this scope 323 | sought = lseek64(fd, seekTo, SEEK_SET); | ^~~~~~ diskio-unix.cc:323:16: error: 'lseek64' was not declared in this scope; did you mean 'lseek'? 323 | sought = lseek64(fd, seekTo, SEEK_SET); | ^~~~~~~ | lseek diskio-unix.cc: In member function 'uint64_t DiskIO::DiskSize(int*)': diskio-unix.cc:431:4: error: 'off64_t' was not declared in this scope; did you mean 'off_t'? 431 | off64_t bytes = 0; // size in bytes | ^~~~~~~ | off_t diskio-unix.cc:432:18: error: aggregate 'DiskIO::DiskSize(int*)::stat64 st' has incomplete type and cannot be defined 432 | struct stat64 st; | ^~ diskio-unix.cc:491:14: error: 'fstat64' was not declared in this scope; did you mean 'stat64'? 491 | if (fstat64(fd, &st) == 0) { | ^~~~~~~ | stat64 diskio-unix.cc:492:13: error: 'bytes' was not declared in this scope 492 | bytes = st.st_size; | ^~~~~ make[4]: *** [: diskio-unix.o] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8' make[3]: *** [Makefile:102: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/gptfdisk-1.0.8/.built] Error 2 time: package/feeds/packages/gptfdisk/compile#4.02#0.52#7.67