Skip to content

Instantly share code, notes, and snippets.

@danboid
Created May 14, 2023 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danboid/6d173240e983953f1de937b950cca586 to your computer and use it in GitHub Desktop.
Save danboid/6d173240e983953f1de937b950cca586 to your computer and use it in GitHub Desktop.
Haiku VF2 build error
Welcome to the Haiku shell.
~> cd src/haiku/generated.riscv64/
~/src/haiku/generated.riscv64> time jam -j4 -q @minimum-raw
Starting build of type minimum ...
Building Haiku Minimum Target
AddHaikuImagePackages: package openssl not available!
build-feature packages unavailable on riscv64: giflib glu mesa ffmpeg fluidlite libvorbis fontconfig gutenprint webkit libpng libicns jasper jpeg libedit qrencode_kdl tiff openexr libdvdread libdvdnav libraw libwebp libavif live555
AddHaikuImagePackages: package bc not available!
AddHaikuImagePackages: package icu66 not available!
/boot/home/src/haiku/src/add-ons/kernel/bus_managers/isa/arch/riscv64/Jamfile: No such file or directory
/boot/home/src/haiku/src/add-ons/kernel/debugger/disasm/riscv64/Jamfile: No such file or directory
/boot/home/src/haiku/src/bin/debug/ltrace/arch/riscv64/Jamfile: No such file or directory
Asked for riscv target boot platform
Unknown path to handle adding to image
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...found 61677 target(s)...
...updating 9427 target(s)...
InitScript1 haiku.image-init-vars
MkDir1 objects
MkDir1 /boot/home/src/haiku/generated.riscv64/objects
MkDir1 build_packages
MkDir1 objects/haiku_host
MkDir1 /boot/home/src/haiku/generated.riscv64/objects/haiku_host
MkDir1 download
MkDir1 objects/haiku
MkDir1 objects/haiku_host/x86_64
MkDir1 objects/common
MkDir1 /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib
MkDir1 objects/haiku/riscv64
MkDir1 objects/haiku_host/x86_64/release
MkDir1 objects/haiku_host/x86_64/common
MkDir1 objects/common/build
MkDir1 objects/haiku/riscv64/packaging
MkDir1 objects/haiku_host/x86_64/release/build
MkDir1 objects/haiku_host/x86_64/common/tools
MkDir1 objects/haiku_host/x86_64/release/tools
MkDir1 objects/haiku/riscv64/packaging/repositories
MkDir1 objects/haiku_host/x86_64/release/build/libroot
MkDir1 objects/haiku_host/x86_64/common/tools/rc
MkDir1 objects/haiku_host/x86_64/release/tools/addattr
ChecksumFileSHA256 objects/haiku/riscv64/packaging/repositories/HaikuPorts-checksum
C++ objects/haiku_host/x86_64/release/build/libroot/function_remapper.o
Yacc1 objects/haiku_host/x86_64/common/tools/rc/parser.cpp objects/haiku_host/x86_64/common/tools/rc/parser.hpp
C++ objects/haiku_host/x86_64/release/tools/addattr/main.o
DownloadLocatedFile1 download/libsolv-0.3.0_haiku_2014_12_22-1-riscv64.hpkg
--2023-05-14 18:02:15-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/9bb85ca4851e861b9260eb9a24087bf6e86a39b33b01db9a9fc4883c92a73c36/packages/libsolv-0.3.0_haiku_2014_12_22-1-riscv64.hpkg
Resolving eu.hpkg.haiku-os.org... Archive objects/haiku_host/x86_64/release/build/libroot/libroot_build_function_remapper.a
DownloadLocatedFile1 download/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg
ar: creating objects/haiku_host/x86_64/release/build/libroot/libroot_build_function_remapper.a
Ranlib objects/haiku_host/x86_64/release/build/libroot/libroot_build_function_remapper.a
--2023-05-14 18:02:16-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/9bb85ca4851e861b9260eb9a24087bf6e86a39b33b01db9a9fc4883c92a73c36/packages/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg
DownloadLocatedFile1 download/libsolv_source-0.3.0_haiku_2014_12_22-1-source.hpkg
Resolving eu.hpkg.haiku-os.org... --2023-05-14 18:02:16-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/9bb85ca4851e861b9260eb9a24087bf6e86a39b33b01db9a9fc4883c92a73c36/packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source.hpkg
Resolving eu.hpkg.haiku-os.org... C++ objects/haiku_host/x86_64/release/tools/addattr/addAttr.o
206.189.242.242
Connecting to eu.hpkg.haiku-os.org|206.189.242.242|:443... 206.189.242.242
Connecting to eu.hpkg.haiku-os.org|206.189.242.242|:443... 206.189.242.242
Connecting to eu.hpkg.haiku-os.org|206.189.242.242|:443... connected.
connected.
connected.
HTTP request sent, awaiting response... HTTP request sent, awaiting response... HTTP request sent, awaiting response... 200 OK
Length: 321945 (314K) [text/plain]
Saving to: ‘download/libsolv-0.3.0_haiku_2014_12_22-1-riscv64.hpkg’
download/libsolv-0.3.0_ 0%[ ] 0 --.-KB/s 200 OK
Length: 26966 (26K) [text/plain]
Saving to: ‘download/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg’
download/libsolv_devel- 0%[ ] 0 --.-KB/s 200 OK
Length: 442510 (432K) [text/plain]
Saving to: ‘download/libsolv_source-0.3.0_haiku_2014_12_22-1-source.hpkg’
download/libsolv_devel-0.3.0_haiku_2014_12_22-1 100%[=====================================================================================================>] 26.33K --.-KB/s in 0.03s
2023-05-14 18:02:16 (1.01 MB/s) - ‘download/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg’ saved [26966/26966]
Lex objects/haiku_host/x86_64/common/tools/rc/lexer.cpp
C++ objects/haiku_host/x86_64/release/build/libroot/atomic.o
C++ objects/haiku_host/x86_64/release/build/libroot/byteorder.o
download/libsolv-0.3.0_haiku_2014_12_22-1-riscv 100%[=====================================================================================================>] 314.40K --.-KB/s in 0.1s
2023-05-14 18:02:16 (2.12 MB/s) - ‘download/libsolv-0.3.0_haiku_2014_12_22-1-riscv64.hpkg’ saved [321945/321945]
C++ objects/haiku_host/x86_64/release/build/libroot/errors.o
C++ objects/haiku_host/x86_64/release/build/libroot/find_directory.o
download/libsolv_source-0.3.0_haiku_2014_12_22- 100%[=====================================================================================================>] 432.14K 2.11MB/s in 0.2s
C++ objects/haiku_host/x86_64/release/build/libroot/fs.o
2023-05-14 18:02:16 (2.11 MB/s) - ‘download/libsolv_source-0.3.0_haiku_2014_12_22-1-source.hpkg’ saved [442510/442510]
C++ objects/haiku_host/x86_64/release/build/libroot/fs_attr.o
C++ objects/haiku_host/x86_64/release/build/libroot/fs_descriptors.o
C++ objects/haiku_host/x86_64/release/build/libroot/misc.o
C++ objects/haiku_host/x86_64/release/build/libroot/sem.o
C++ objects/haiku_host/x86_64/release/build/libroot/thread.o
C++ objects/haiku_host/x86_64/release/build/libroot/SHA256.o
C++ objects/haiku_host/x86_64/release/build/libroot/driver_settings.o
C++ objects/haiku_host/x86_64/release/build/libroot/strnlen.o
C++ objects/haiku_host/x86_64/release/build/libroot/KMessage.o
MkDir1 objects/haiku_host/x86_64/release/tools/bfs_shell
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/additional_commands.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/command_checkfs.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/command_resizefs.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/bfs_disk_system.o
Link /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libroot_build.so
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/BlockAllocator.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/BPlusTree.o
Chmod1 /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libroot_build.so
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/Attribute.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/CheckVisitor.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/Debug.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/DeviceOpener.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/FileSystemVisitor.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/Index.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/Inode.o
../src/add-ons/kernel/file_systems/bfs/Inode.cpp: In member function 'fssh_status_t Inode::_ShrinkStream(Transaction&, fssh_off_t)':
../src/add-ons/kernel/file_systems/bfs/Inode.cpp:2212:44: warning: taking address of packed member of 'data_stream' may result in an unaligned pointer value [-Waddress-of-packed-member]
2212 | off_t* maxDoubleIndirect = &data->max_double_indirect_range;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/add-ons/kernel/file_systems/bfs/Inode.cpp:2239:46: warning: taking address of packed member of 'data_stream' may result in an unaligned pointer value [-Waddress-of-packed-member]
2239 | off_t* maxIndirect = &data->max_indirect_range;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../src/add-ons/kernel/file_systems/bfs/Inode.cpp:2255:36: warning: taking address of packed member of 'data_stream' may result in an unaligned pointer value [-Waddress-of-packed-member]
2255 | off_t *maxDirect = &data->max_direct_range;
| ^~~~~~~~~~~~~~~~~~~~~~~
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/Journal.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/Query.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/QueryParserUtils.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/ResizeVisitor.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/Volume.o
C++ objects/haiku_host/x86_64/release/tools/bfs_shell/kernel_interface.o
MkDir1 objects/haiku_host/x86_64/release/tools/fs_shell
C++ objects/haiku_host/x86_64/release/tools/fs_shell/external_commands_unix.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/external_commands_unix.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/fssh.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/fssh_additional_commands.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/atomic.o
../src/tools/fs_shell/fssh.cpp: In function 'fssh_status_t FSShell::command_chmod(int, const char* const*)':
../src/tools/fs_shell/fssh.cpp:633:14: warning: variable 'recursive' set but not used [-Wunused-but-set-variable]
633 | bool recursive = false;
| ^~~~~~~~~
C++ objects/haiku_host/x86_64/release/tools/fs_shell/block_cache.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/byte_order.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/command_cp.o
MergeObjectFromObjects1 objects/haiku_host/x86_64/release/tools/bfs_shell/bfs.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/disk_device_manager.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/driver_settings.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/errno.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/fcntl.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/fd.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/file_cache.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/file_map.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/kernel_export.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/KPath.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/hash.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/list.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/lock.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/module.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/node_monitor.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/partition_support.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/path_util.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/rootfs.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/sem.o
../src/system/kernel/fs/rootfs.cpp:38: warning: "user_strlcpy" redefined
38 | # define user_strlcpy(to, from, len) (strlcpy(to, from, len), FSSH_B_OK)
|
In file included from ../src/system/kernel/fs/rootfs.cpp:11:
../headers/private/fs_shell/fssh_api_wrapper.h:1404: note: this is the location of the previous definition
1404 | #define user_strlcpy fssh_strlcpy
|
C++ objects/haiku_host/x86_64/release/tools/fs_shell/stat.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/stat_util.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/stdio.o
...on 100th target...
C++ objects/haiku_host/x86_64/release/tools/fs_shell/string.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/thread.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/time.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/uio.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/unistd.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/vfs.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/fs_shell_command.o
C++ objects/haiku_host/x86_64/release/tools/fs_shell/fs_shell_command_unix.o
C++ objects/haiku_host/x86_64/release/tools/copyattr.o
../src/tools/fs_shell/vfs.cpp: In function 'fssh_status_t FSShell::dir_vnode_to_path(FSShell::vnode*, char*, fssh_size_t)':
../src/tools/fs_shell/vfs.cpp:1467:31: warning: variable 'parentID' set but not used [-Wunused-but-set-variable]
1467 | fssh_vnode_id parentID;
| ^~~~~~~~
In file included from ../headers/private/fs_shell/fssh_disk_device_defs.h:9,
from ../headers/private/fs_shell/fssh_fs_interface.h:11,
from ../src/tools/fs_shell/vfs.h:12,
from ../src/tools/fs_shell/vfs.cpp:11:
../src/tools/fs_shell/vfs.cpp: In function 'fssh_status_t FSShell::vfs_init(FSShell::kernel_args*)':
../src/tools/fs_shell/vfs.cpp:2920:70: warning: 'offsetof' within non-standard-layout type 'FSShell::vnode' is conditionally-supported [-Winvalid-offsetof]
2920 | sVnodeTable = hash_init(VNODE_HASH_TABLE_SIZE, fssh_offsetof(struct vnode, next),
../headers/private/fs_shell/fssh_defs.h:47:57: note: in definition of macro 'fssh_offsetof'
47 | #define fssh_offsetof(type,member) __builtin_offsetof(type, member)
| ^~~~
../src/tools/fs_shell/vfs.cpp:2925:56: warning: 'offsetof' within non-standard-layout type 'FSShell::vnode' is conditionally-supported [-Winvalid-offsetof]
2925 | list_init_etc(&sUnusedVnodeList, fssh_offsetof(struct vnode, unused_link));
../headers/private/fs_shell/fssh_defs.h:47:57: note: in definition of macro 'fssh_offsetof'
47 | #define fssh_offsetof(type,member) __builtin_offsetof(type, member)
| ^~~~
../src/tools/fs_shell/vfs.cpp: In function 'fssh_dev_t FSShell::fs_mount(char*, const char*, const char*, uint32_t, const char*, bool)':
../src/tools/fs_shell/vfs.cpp:4599:53: warning: 'offsetof' within non-standard-layout type 'FSShell::vnode' is conditionally-supported [-Winvalid-offsetof]
4599 | list_init_etc(&mount->vnodes, fssh_offsetof(struct vnode, mount_link));
../headers/private/fs_shell/fssh_defs.h:47:57: note: in definition of macro 'fssh_offsetof'
47 | #define fssh_offsetof(type,member) __builtin_offsetof(type, member)
| ^~~~
C++ objects/haiku_host/x86_64/release/tools/create_image.o
Link objects/haiku_host/x86_64/release/tools/fs_shell/fs_shell_command
Chmod1 objects/haiku_host/x86_64/release/tools/fs_shell/fs_shell_command
MkDir1 objects/haiku_host/x86_64/release/tools/makebootable
Link objects/haiku_host/x86_64/release/tools/create_image
MkDir1 objects/haiku_host/x86_64/release/tools/makebootable/platform
MkDir1 objects/haiku_host/x86_64/release/tools/makebootable/platform/efi
Chmod1 objects/haiku_host/x86_64/release/tools/create_image
C++ objects/haiku_host/x86_64/release/tools/makebootable/platform/efi/makebootable.o
MkDir1 objects/haiku_host/x86_64/release/tools/rc
C++ objects/haiku_host/x86_64/release/tools/rc/rc.o
Link objects/haiku_host/x86_64/release/tools/makebootable/platform/efi/makebootable
Chmod1 objects/haiku_host/x86_64/release/tools/makebootable/platform/efi/makebootable
C++ objects/haiku_host/x86_64/release/tools/rc/compile.o
C++ objects/haiku_host/x86_64/release/tools/rc/decompile.o
C++ objects/haiku_host/x86_64/release/tools/rc/lexer.o
C++ objects/haiku_host/x86_64/release/tools/rc/parser.o
MergeObjectFromObjects1 objects/haiku_host/x86_64/release/tools/fs_shell/fs_shell_kernel.o
C++ objects/haiku_host/x86_64/release/tools/rc/rdef.o
Archive objects/haiku_host/x86_64/release/tools/fs_shell/fs_shell.a
ar: creating objects/haiku_host/x86_64/release/tools/fs_shell/fs_shell.a
Ranlib objects/haiku_host/x86_64/release/tools/fs_shell/fs_shell.a
MkDir1 objects/haiku_host/x86_64/release/tools/resattr
Link objects/haiku_host/x86_64/release/tools/bfs_shell/bfs_shell
C++ objects/haiku_host/x86_64/release/tools/resattr/resattr.o
Chmod1 objects/haiku_host/x86_64/release/tools/bfs_shell/bfs_shell
MkDir1 objects/haiku_host/x86_64/release/tools/unzip
Cc objects/haiku_host/x86_64/release/tools/unzip/unzip.o
Cc objects/haiku_host/x86_64/release/tools/unzip/unreduce.o
Cc objects/haiku_host/x86_64/release/tools/unzip/unshrink.o
Cc objects/haiku_host/x86_64/release/tools/unzip/crc32.o
Cc objects/haiku_host/x86_64/release/tools/unzip/ttyio.o
Cc objects/haiku_host/x86_64/release/tools/unzip/crctab.o
Cc objects/haiku_host/x86_64/release/tools/unzip/crypt.o
Cc objects/haiku_host/x86_64/release/tools/unzip/envargs.o
Cc objects/haiku_host/x86_64/release/tools/unzip/explode.o
Cc objects/haiku_host/x86_64/release/tools/unzip/extract.o
Cc objects/haiku_host/x86_64/release/tools/unzip/fileio.o
../src/bin/unzip/fileio.c: In function 'is_vms_varlen_txt':
../src/bin/unzip/fileio.c:1037:9: warning: variable 'vms_fileorg' set but not used [-Wunused-but-set-variable]
1037 | uch vms_fileorg = 0;
| ^~~~~~~~~~~
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/extract.c: In function 'store_info':
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:770:13: note: in expansion of macro 'Info'
770 | Info(slide, 0x401, ((char *)slide, LoadFarString(VersionMsg),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:760:13: note: in expansion of macro 'Info'
760 | Info(slide, 0x481, ((char *)slide, LoadFarString(VMSFormatQuery),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:751:17: note: in expansion of macro 'Info'
751 | Info(slide, 0x401, ((char *)slide, LoadFarString(VersionMsg),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:787:17: note: in expansion of macro 'Info'
787 | Info(slide, 0x401, ((char *)slide, LoadFarString(ComprMsgNum),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:782:17: note: in expansion of macro 'Info'
782 | Info(slide, 0x401, ((char *)slide, LoadFarString(ComprMsgName),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
Cc objects/haiku_host/x86_64/release/tools/unzip/globals.o
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/extract.c: In function 'extract_or_test_files':
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:396:21: note: in expansion of macro 'Info'
396 | Info(slide, 0x401, ((char *)slide, LoadFarString(FilNamMsg),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:408:21: note: in expansion of macro 'Info'
408 | Info(slide, 0x401, ((char *)slide,
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:427:21: note: in expansion of macro 'Info'
427 | Info(slide, 0x421, ((char *)slide,
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:983:17: note: in expansion of macro 'Info'
983 | Info(slide, 0x401, ((char *)slide, LoadFarString(FilNamMsg),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:998:17: note: in expansion of macro 'Info'
998 | Info(slide, 0x401, ((char *)slide,
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1017:17: note: in expansion of macro 'Info'
1017 | Info(slide, 0x401, ((char *)slide,
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1010:21: note: in expansion of macro 'Info'
1010 | Info(slide, 0x401, ((char *)slide,
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1069:20: note: in expansion of macro 'Info'
1069 | Info(slide, 0x401, ((char *)slide,
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1240:17: note: in expansion of macro 'Info'
1240 | Info(slide, 0x81, ((char *)slide,
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1161:21: note: in expansion of macro 'Info'
1161 | Info(slide, 1, ((char *)slide,
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 4 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1391:13: note: in expansion of macro 'Info'
1391 | Info(slide, 0, ((char *)slide, LoadFarString(ExtractMsg), "test",
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
Cc objects/haiku_host/x86_64/release/tools/unzip/inflate.o
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 4 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1513:17: note: in expansion of macro 'Info'
1513 | Info(slide, 0, ((char *)slide, LoadFarString(ExtractMsg),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 10 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1542:21: note: in expansion of macro 'Info'
1542 | Info(slide, 0x401, ((char *)slide, LoadFarString(LengthMsg),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 5 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1521:25: note: in expansion of macro 'Info'
1521 | Info(slide, 0x401, ((char *)slide,
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 4 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1561:17: note: in expansion of macro 'Info'
1561 | Info(slide, 0, ((char *)slide, LoadFarString(ExtractMsg),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 5 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1574:25: note: in expansion of macro 'Info'
1574 | Info(slide, 0x401, ((char *)slide,
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 4 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1437:17: note: in expansion of macro 'Info'
1437 | Info(slide, 0, ((char *)slide, LoadFarString(ExtractMsg),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 4 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1433:21: note: in expansion of macro 'Info'
1433 | Info(slide, 0, ((char *)slide, LoadFarString(ExtractMsg),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1594:13: note: in expansion of macro 'Info'
1594 | Info(slide, 0x401, ((char *)slide,
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1637:13: note: in expansion of macro 'Info'
1637 | Info(slide, 0x421, ((char *)slide, LoadFarString(FileTruncated),
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1794:25: note: in expansion of macro 'Info'
1794 | Info(slide, 1, ((char *)slide, "%-22s ",
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1750:25: note: in expansion of macro 'Info'
1750 | Info(slide, 1, ((char *)slide, "%-22s ",
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1712:17: note: in expansion of macro 'Info'
1712 | Info(slide, 1, ((char *)slide, "%-22s ",
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/unzpriv.h:2141:53: warning: 'sprintf' argument 3 may overlap destination object 'G' [-Wrestrict]
2141 | (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
../src/bin/unzip/extract.c:1653:13: note: in expansion of macro 'Info'
1653 | Info(slide, 0x401, ((char *)slide, "%-22s ",
| ^~~~
In file included from ../src/bin/unzip/unzpriv.h:1697,
from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/extract.c:33:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
Cc objects/haiku_host/x86_64/release/tools/unzip/list.o
../src/bin/unzip/inflate.c: In function 'huft_build':
../src/bin/unzip/inflate.c:1395:42: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare]
1395 | z = (z = g - w) > (unsigned)*m ? *m : z; /* upper limit */
| ^~
../src/bin/unzip/list.c: In function 'list_files':
../src/bin/unzip/list.c:323:39: warning: '%03u' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=]
323 | sprintf(&methbuf[4], "%03u", G.crec.compression_method);
| ^~~~
../src/bin/unzip/list.c:323:38: note: directive argument in the range [0, 65535]
323 | sprintf(&methbuf[4], "%03u", G.crec.compression_method);
| ^~~~~~
../src/bin/unzip/list.c:323:17: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4
323 | sprintf(&methbuf[4], "%03u", G.crec.compression_method);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/list.c:24:
../src/bin/unzip/unzpriv.h:914:45: warning: '%%' directive writing 1 byte into a region of size between 0 and 8 [-Wformat-overflow=]
914 | # define LoadFarString(x) (char *)(x)
| ^
../src/bin/unzip/list.c:345:37: note: in expansion of macro 'LoadFarString'
345 | sprintf(cfactorstr, LoadFarString(CompFactorStr), sgn, cfactor);
| ^~~~~~~~~~~~~
../src/bin/unzip/list.c:345:17: note: 'sprintf' output between 4 and 12 bytes into a destination of size 10
345 | sprintf(cfactorstr, LoadFarString(CompFactorStr), sgn, cfactor);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/bin/unzip/unzip.h:610,
from ../src/bin/unzip/list.c:24:
../src/bin/unzip/unzpriv.h:914:45: warning: '%%' directive writing 1 byte into a region of size between 0 and 8 [-Wformat-overflow=]
914 | # define LoadFarString(x) (char *)(x)
| ^
../src/bin/unzip/list.c:423:33: note: in expansion of macro 'LoadFarString'
423 | sprintf(cfactorstr, LoadFarString(CompFactorStr), sgn, cfactor);
| ^~~~~~~~~~~~~
../src/bin/unzip/list.c:423:13: note: 'sprintf' output between 4 and 12 bytes into a destination of size 10
423 | sprintf(cfactorstr, LoadFarString(CompFactorStr), sgn, cfactor);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cc objects/haiku_host/x86_64/release/tools/unzip/match.o
Cc objects/haiku_host/x86_64/release/tools/unzip/process.o
Cc objects/haiku_host/x86_64/release/tools/unzip/zipinfo.o
Cc objects/haiku_host/x86_64/release/tools/unzip/beos.o
Archive objects/haiku_host/x86_64/release/tools/rc/librdef.a
ar: creating objects/haiku_host/x86_64/release/tools/rc/librdef.a
Ranlib objects/haiku_host/x86_64/release/tools/rc/librdef.a
C++ objects/haiku_host/x86_64/release/tools/unzip/beosmain.o
../src/bin/unzip/beos.c: In function 'setBeOSexfield':
../src/bin/unzip/beos.c:1177:10: warning: variable 'id' set but not used [-Wunused-but-set-variable]
1177 | ush id = 0;
| ^~
../src/bin/unzip/beos.c: In function 'assign_MIME':
../src/bin/unzip/beos.c:1319:9: warning: variable 'retval' set but not used [-Wunused-but-set-variable]
1319 | int retval;
| ^~~~~~
../src/bin/unzip/beos.c: In function 'assign_MIME.constprop':
../src/bin/unzip/beos.c:1324:30: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
1324 | sprintf( buff, "%s/%s", getcwd( cwd_buff, PATH_MAX ), file );
| ^
../src/bin/unzip/beos.c:1324:9: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024
1324 | sprintf( buff, "%s/%s", getcwd( cwd_buff, PATH_MAX ), file );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MkDir1 objects/haiku_host/x86_64/release/tools/vmdkimage
C++ objects/haiku_host/x86_64/release/tools/vmdkimage/vmdkimage.o
MkDir1 objects/haiku_host/x86_64/release/tools/package
../src/bin/unzip/zipinfo.c: In function 'zipinfo':
../src/bin/unzip/zipinfo.c:1789:31: warning: '%03u' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=]
1789 | sprintf(&methbuf[1], "%03u", G.crec.compression_method);
| ^~~~
../src/bin/unzip/zipinfo.c:1789:30: note: directive argument in the range [0, 65535]
1789 | sprintf(&methbuf[1], "%03u", G.crec.compression_method);
| ^~~~~~
../src/bin/unzip/zipinfo.c:1789:9: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4
1789 | sprintf(&methbuf[1], "%03u", G.crec.compression_method);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/bin/unzip/zipinfo.c:1837:49: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
1837 | sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
| ^
../src/bin/unzip/zipinfo.c:1837:21: note: 'sprintf' output between 4 and 5 bytes into a destination of size 4
1837 | sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/bin/unzip/zipinfo.c:1880:41: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
1880 | sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
| ^
../src/bin/unzip/zipinfo.c:1880:13: note: 'sprintf' output between 4 and 5 bytes into a destination of size 4
1880 | sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/bin/unzip/zipinfo.c:1855:41: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
1855 | sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
| ^
../src/bin/unzip/zipinfo.c:1855:13: note: 'sprintf' output between 4 and 5 bytes into a destination of size 4
1855 | sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/bin/unzip/zipinfo.c:1926:52: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
1926 | sprintf(attribs, ".r.-... %u.%u", hostver/10, hostver%10);
| ^
../src/bin/unzip/zipinfo.c:1926:17: note: 'sprintf' output between 16 and 17 bytes into a destination of size 16
1926 | sprintf(attribs, ".r.-... %u.%u", hostver/10, hostver%10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/bin/unzip/zipinfo.c:1982:41: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
1982 | sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
| ^
../src/bin/unzip/zipinfo.c:1982:13: note: 'sprintf' output between 4 and 5 bytes into a destination of size 4
1982 | sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C++ objects/haiku_host/x86_64/release/tools/package/command_add.o
C++ objects/haiku_host/x86_64/release/tools/package/command_checksum.o
../src/tools/vmdkimage/vmdkimage.cpp: In function 'int main(int, char**)':
../src/tools/vmdkimage/vmdkimage.cpp:324:32: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 1025 equals destination size [-Wstringop-truncation]
324 | strncpy(fullPath + 5, file, sizeof(fullPath) - 5);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Link objects/haiku_host/x86_64/release/tools/vmdkimage/vmdkimage
C++ objects/haiku_host/x86_64/release/tools/package/command_create.o
C++ objects/haiku_host/x86_64/release/tools/package/command_dump.o
Chmod1 objects/haiku_host/x86_64/release/tools/vmdkimage/vmdkimage
C++ objects/haiku_host/x86_64/release/tools/package/command_extract.o
C++ objects/haiku_host/x86_64/release/tools/package/command_info.o
Archive objects/haiku_host/x86_64/release/tools/unzip/libunzip.a
C++ objects/haiku_host/x86_64/release/tools/package/command_list.o
ar: creating objects/haiku_host/x86_64/release/tools/unzip/libunzip.a
Ranlib objects/haiku_host/x86_64/release/tools/unzip/libunzip.a
C++ objects/haiku_host/x86_64/release/tools/package/command_recompress.o
C++ objects/haiku_host/x86_64/release/tools/package/package.o
C++ objects/haiku_host/x86_64/release/tools/package/PackageWriterListener.o
C++ objects/haiku_host/x86_64/release/tools/package/PackageWritingUtils.o
MkDir1 objects/haiku_host/x86_64/release/tools/get_package_dependencies
MkDir1 objects/haiku_host/x86_64/release/build/libbe
C++ objects/haiku_host/x86_64/release/tools/get_package_dependencies/get_package_dependencies.o
MkDir1 objects/haiku_host/x86_64/release/build/libbe/app
C++ objects/haiku_host/x86_64/release/build/libbe/app/Application.o
C++ objects/haiku_host/x86_64/release/build/libbe/app/AppMisc.o
C++ objects/haiku_host/x86_64/release/build/libbe/app/Looper.o
C++ objects/haiku_host/x86_64/release/build/libbe/app/Message.o
C++ objects/haiku_host/x86_64/release/build/libbe/app/MessageAdapter.o
C++ objects/haiku_host/x86_64/release/build/libbe/app/Messenger.o
C++ objects/haiku_host/x86_64/release/build/libbe/app/MessageUtils.o
../src/build/libbe/app/Message.cpp: In member function 'status_t BMessage::Rename(const char*, const char*)':
../src/build/libbe/app/Message.cpp:652:28: warning: taking address of packed member of 'BMessage::message_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
652 | int32 *nextField = &fHeader->hash_table[hash];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../src/build/libbe/app/Message.cpp:665:37: warning: taking address of packed member of 'BMessage::message_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
665 | nextField = &fHeader->hash_table[hash];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../src/build/libbe/app/Message.cpp:667:45: warning: taking address of packed member of 'BMessage::field_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
667 | nextField = &fFields[*nextField].next_field;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/build/libbe/app/Message.cpp:681:29: warning: taking address of packed member of 'BMessage::field_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
681 | nextField = &field->next_field;
| ^~~~~~~~~~~~~~~~~~
../src/build/libbe/app/Message.cpp: In member function 'status_t BMessage::_AddField(const char*, type_code, bool, BMessage::field_header**)':
../src/build/libbe/app/Message.cpp:1292:28: warning: taking address of packed member of 'BMessage::message_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
1292 | int32 *nextField = &fHeader->hash_table[hash];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../src/build/libbe/app/Message.cpp:1294:29: warning: taking address of packed member of 'BMessage::field_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
1294 | nextField = &fFields[*nextField].next_field;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/build/libbe/app/Message.cpp: In member function 'status_t BMessage::_RemoveField(BMessage::field_header*)':
../src/build/libbe/app/Message.cpp:1333:33: warning: taking address of packed member of 'BMessage::message_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
1333 | int32 *value = fHeader->hash_table;
| ~~~~~~~~~^~~~~~~~~~
../src/build/libbe/app/Message.cpp: In member function 'status_t BMessage::FindPoint(const char*, BPoint*) const':
../src/build/libbe/app/Message.cpp:1644:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class BPoint' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
1644 | memcpy(p, ptr, sizeof(type)); \
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
../src/build/libbe/app/Message.cpp:1683:1: note: in expansion of macro 'DEFINE_FUNCTIONS'
1683 | DEFINE_FUNCTIONS(BPoint, Point, B_POINT_TYPE);
| ^~~~~~~~~~~~~~~~
In file included from ../headers/build/os/interface/Point.h:1,
from ../headers/build/../os/interface/Rect.h:11,
from ../headers/build/os/interface/Rect.h:1,
from ../headers/build/os/app/Message.h:16,
from ../src/build/libbe/app/Message.cpp:10:
../headers/build/../os/interface/Point.h:15:7: note: 'class BPoint' declared here
15 | class BPoint {
| ^~~~~~
../src/build/libbe/app/Message.cpp: In member function 'status_t BMessage::FindPoint(const char*, int32, BPoint*) const':
../src/build/libbe/app/Message.cpp:1660:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class BPoint' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
1660 | memcpy(p, ptr, sizeof(type)); \
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
../src/build/libbe/app/Message.cpp:1683:1: note: in expansion of macro 'DEFINE_FUNCTIONS'
1683 | DEFINE_FUNCTIONS(BPoint, Point, B_POINT_TYPE);
| ^~~~~~~~~~~~~~~~
In file included from ../headers/build/os/interface/Point.h:1,
from ../headers/build/../os/interface/Rect.h:11,
from ../headers/build/os/interface/Rect.h:1,
from ../headers/build/os/app/Message.h:16,
from ../src/build/libbe/app/Message.cpp:10:
../headers/build/../os/interface/Point.h:15:7: note: 'class BPoint' declared here
15 | class BPoint {
| ^~~~~~
../src/build/libbe/app/Message.cpp: In member function 'status_t BMessage::FindRect(const char*, BRect*) const':
../src/build/libbe/app/Message.cpp:1644:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class BRect' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
1644 | memcpy(p, ptr, sizeof(type)); \
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
../src/build/libbe/app/Message.cpp:1684:1: note: in expansion of macro 'DEFINE_FUNCTIONS'
1684 | DEFINE_FUNCTIONS(BRect, Rect, B_RECT_TYPE);
| ^~~~~~~~~~~~~~~~
In file included from ../headers/build/os/interface/Rect.h:1,
from ../headers/build/os/app/Message.h:16,
from ../src/build/libbe/app/Message.cpp:10:
../headers/build/../os/interface/Rect.h:15:7: note: 'class BRect' declared here
15 | class BRect {
| ^~~~~
../src/build/libbe/app/Message.cpp: In member function 'status_t BMessage::FindRect(const char*, int32, BRect*) const':
../src/build/libbe/app/Message.cpp:1660:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class BRect' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
1660 | memcpy(p, ptr, sizeof(type)); \
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
../src/build/libbe/app/Message.cpp:1684:1: note: in expansion of macro 'DEFINE_FUNCTIONS'
1684 | DEFINE_FUNCTIONS(BRect, Rect, B_RECT_TYPE);
| ^~~~~~~~~~~~~~~~
In file included from ../headers/build/os/interface/Rect.h:1,
from ../headers/build/os/app/Message.h:16,
from ../src/build/libbe/app/Message.cpp:10:
../headers/build/../os/interface/Rect.h:15:7: note: 'class BRect' declared here
15 | class BRect {
| ^~~~~
../src/build/libbe/app/Message.cpp: In member function 'status_t BMessage::FindMessenger(const char*, int32, BMessenger*) const':
../src/build/libbe/app/Message.cpp:1970:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class BMessenger' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
1970 | memcpy(messenger, data, sizeof(BMessenger));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../headers/build/private/app/MessagePrivate.h:13,
from ../src/build/libbe/app/Message.cpp:12:
../headers/build/os/app/Messenger.h:20:7: note: 'class BMessenger' declared here
20 | class BMessenger {
| ^~~~~~~~~~
../src/kits/app/MessageAdapter.cpp: In static member function 'static status_t BPrivate::MessageAdapter::_UnflattenR5Message(uint32, BMessage*, BDataIO*)':
../src/kits/app/MessageAdapter.cpp:567:24: warning: taking address of packed member of 'BMessage::message_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
567 | reader(&header->target, sizeof(header->target));
| ^~~~~~~~~~~~~~~
../src/kits/app/MessageAdapter.cpp:571:24: warning: taking address of packed member of 'BMessage::message_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
571 | reader(&header->reply_port, sizeof(header->reply_port));
| ^~~~~~~~~~~~~~~~~~~
../src/kits/app/MessageAdapter.cpp:572:24: warning: taking address of packed member of 'BMessage::message_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
572 | reader(&header->reply_target, sizeof(header->reply_target));
| ^~~~~~~~~~~~~~~~~~~~~
../src/kits/app/MessageAdapter.cpp:573:24: warning: taking address of packed member of 'BMessage::message_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
573 | reader(&header->reply_team, sizeof(header->reply_team));
| ^~~~~~~~~~~~~~~~~~~
C++ objects/haiku_host/x86_64/release/build/libbe/app/TypeConstants.o
MkDir1 objects/haiku_host/x86_64/release/build/libbe/icon
C++ objects/haiku_host/x86_64/release/build/libbe/icon/FlatIconFormat.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/FlatIconImporter.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/LittleEndianBuffer.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/PathCommandQueue.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/Defines.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/MessageImporter.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/PathContainer.o
MergeObjectFromObjects1 objects/haiku_host/x86_64/release/build/libbe/app/app_kit.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/Shape.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/ShapeContainer.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/VectorPath.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/GradientTransformable.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/Style.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/StyleContainer.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/Transformable.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/AffineTransformer.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/ContourTransformer.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/PathSource.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/PerspectiveTransformer.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/StrokeTransformer.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/Transformer.o
...on 200th target...
C++ objects/haiku_host/x86_64/release/build/libbe/icon/TransformerFactory.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/Icon.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/IconRenderer.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/IconUtils.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_arc.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_arrowhead.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_bezier_arc.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_bspline.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_curves.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_embedded_raster_fonts.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_gsv_text.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_image_filters.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_line_aa_basics.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_line_profile_aa.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_rounded_rect.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_sqrt_tables.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_trans_affine.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_trans_double_path.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_trans_single_path.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_trans_warp_magnifier.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_vcgen_bspline.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_vcgen_contour.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_vcgen_dash.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_vcgen_markers_term.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_vcgen_smooth_poly1.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_vcgen_stroke.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_vpgen_clip_polygon.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_vpgen_clip_polyline.o
C++ objects/haiku_host/x86_64/release/build/libbe/icon/agg_vpgen_segmentator.o
MkDir1 objects/haiku_host/x86_64/release/build/libbe/interface
C++ objects/haiku_host/x86_64/release/build/libbe/interface/Bitmap.o
C++ objects/haiku_host/x86_64/release/build/libbe/interface/Gradient.o
C++ objects/haiku_host/x86_64/release/build/libbe/interface/GradientLinear.o
MergeObjectFromObjects1 objects/haiku_host/x86_64/release/build/libbe/icon/icon_kit.o
C++ objects/haiku_host/x86_64/release/build/libbe/interface/GradientRadial.o
C++ objects/haiku_host/x86_64/release/build/libbe/interface/GradientRadialFocus.o
C++ objects/haiku_host/x86_64/release/build/libbe/interface/GradientDiamond.o
../src/build/libbe/interface/Bitmap.cpp: In member function 'status_t BPrivate::PaletteConverter::SetTo(const rgb_color*)':
../src/build/libbe/interface/Bitmap.cpp:424:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rgb_color' {aka 'struct rgb_color'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
424 | memcpy(fOwnColorMap->color_list, palette, sizeof(rgb_color) * 256);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../headers/build/os/interface/GraphicsDefs.h:1,
from ../headers/build/../os/interface/InterfaceDefs.h:9,
from ../headers/build/os/interface/InterfaceDefs.h:1,
from ../headers/build/os/interface/Bitmap.h:16,
from ../src/build/libbe/interface/Bitmap.cpp:19:
../headers/build/../os/interface/GraphicsDefs.h:42:16: note: 'rgb_color' {aka 'struct rgb_color'} declared here
42 | typedef struct rgb_color {
| ^~~~~~~~~
C++ objects/haiku_host/x86_64/release/build/libbe/interface/GradientConic.o
C++ objects/haiku_host/x86_64/release/build/libbe/interface/GraphicsDefs.o
C++ objects/haiku_host/x86_64/release/build/libbe/interface/Point.o
C++ objects/haiku_host/x86_64/release/build/libbe/interface/Rect.o
C++ objects/haiku_host/x86_64/release/build/libbe/interface/Region.o
C++ objects/haiku_host/x86_64/release/build/libbe/interface/RegionSupport.o
C++ objects/haiku_host/x86_64/release/build/libbe/interface/SystemPalette.o
../src/build/libbe/interface/SystemPalette.cpp: In function 'void FillColorMap(const rgb_color*, color_map*)':
../src/build/libbe/interface/SystemPalette.cpp:95:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rgb_color' {aka 'struct rgb_color'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
95 | memcpy(map->color_list, palette, sizeof(map->color_list));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../headers/build/os/interface/GraphicsDefs.h:1,
from ../src/build/libbe/interface/SystemPalette.cpp:13:
../headers/build/../os/interface/GraphicsDefs.h:42:16: note: 'rgb_color' {aka 'struct rgb_color'} declared here
42 | typedef struct rgb_color {
| ^~~~~~~~~
MkDir1 objects/haiku_host/x86_64/release/build/libbe/storage
MkDir1 objects/haiku_host/x86_64/release/build/libbe/support
C++ objects/haiku_host/x86_64/release/build/libbe/storage/AppFileInfo.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/Archivable.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/BlockCache.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/BufferIO.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/ByteOrder.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/CompressionAlgorithm.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/DataIO.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/DataPositionIOWrapper.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/Flattenable.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/Job.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/JobQueue.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/List.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/Locker.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/PointerList.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/Referenceable.o
MergeObjectFromObjects1 objects/haiku_host/x86_64/release/build/libbe/interface/interface_kit.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/String.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/StringList.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/Url.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/ZlibCompressionAlgorithm.o
C++ objects/haiku_host/x86_64/release/build/libbe/support/ZstdCompressionAlgorithm.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Directory.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/DriverSettings.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Entry.o
MergeObjectFromObjects1 objects/haiku_host/x86_64/release/build/libbe/support/support_kit.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/EntryList.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/FdIO.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/File.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/FileIO.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/FindDirectory.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/MergedDirectory.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Mime.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/MimeType.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Node.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/NodeInfo.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/OffsetFile.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Path.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/ResourceFile.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/ResourceItem.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Resources.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/ResourcesContainer.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/ResourceStrings.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Statable.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/SymLink.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Volume.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/storage_support.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/AppMetaMimeCreator.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/AssociatedTypes.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Database.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/DatabaseDirectory.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/DatabaseLocation.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/database_support.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/InstalledTypes.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/MimeEntryProcessor.o
...on 300th target...
C++ objects/haiku_host/x86_64/release/build/libbe/storage/MimeInfoUpdater.o
../src/kits/storage/mime/AssociatedTypes.cpp: In member function 'status_t BPrivate::Storage::Mime::AssociatedTypes::BuildAssociatedTypesTable()':
../src/kits/storage/mime/AssociatedTypes.cpp:379:116: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
379 | snprintf(fulltype, B_PATH_NAME_LENGTH, "%s/%s",
| ^~
380 | supertype, subtype);
| ~~~~~~~
../src/kits/storage/mime/AssociatedTypes.cpp:379:81: note: 'snprintf' output between 2 and 2048 bytes into a destination of size 1024
379 | snprintf(fulltype, B_PATH_NAME_LENGTH, "%s/%s",
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
380 | supertype, subtype);
| ~~~~~~~~~~~~~~~~~~~
C++ objects/haiku_host/x86_64/release/build/libbe/storage/MimeSniffer.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/MimeSnifferAddon.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/MimeSnifferAddonManager.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/SnifferRules.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Supertype.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/SupportingApps.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/TextSnifferAddon.o
../src/kits/storage/mime/SnifferRules.cpp: In member function 'status_t BPrivate::Storage::Mime::SnifferRules::BuildRuleList()':
../src/kits/storage/mime/SnifferRules.cpp:377:116: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
377 | snprintf(fulltype, B_PATH_NAME_LENGTH, "%s/%s",
| ^~
378 | supertype, subtype);
| ~~~~~~~
../src/kits/storage/mime/SnifferRules.cpp:377:81: note: 'snprintf' output between 2 and 2048 bytes into a destination of size 1024
377 | snprintf(fulltype, B_PATH_NAME_LENGTH, "%s/%s",
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
378 | supertype, subtype);
| ~~~~~~~~~~~~~~~~~~~
C++ objects/haiku_host/x86_64/release/build/libbe/storage/CharStream.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Err.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/DisjList.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Pattern.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/PatternList.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Parser.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Range.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/RPattern.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/RPatternList.o
C++ objects/haiku_host/x86_64/release/build/libbe/storage/Rule.o
MkDir1 objects/haiku_host/x86_64/release/build/libshared
C++ objects/haiku_host/x86_64/release/build/libshared/Keymap.o
C++ objects/haiku_host/x86_64/release/build/libshared/NaturalCompare.o
C++ objects/haiku_host/x86_64/release/build/libshared/RegExp.o
MkDir1 objects/haiku_host/x86_64/release/build/libpackage
C++ objects/haiku_host/x86_64/release/build/libpackage/ActivateRepositoryCacheJob.o
C++ objects/haiku_host/x86_64/release/build/libpackage/ActivateRepositoryConfigJob.o
MergeObjectFromObjects1 objects/haiku_host/x86_64/release/build/libbe/storage/storage_kit.o
C++ objects/haiku_host/x86_64/release/build/libpackage/ActivationTransaction.o
C++ objects/haiku_host/x86_64/release/build/libpackage/AddRepositoryRequest.o
Archive objects/haiku_host/x86_64/release/build/libshared/libshared_build.a
C++ objects/haiku_host/x86_64/release/build/libpackage/Attributes.o
ar: creating objects/haiku_host/x86_64/release/build/libshared/libshared_build.a
Ranlib objects/haiku_host/x86_64/release/build/libshared/libshared_build.a
Link /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libbe_build.so
C++ objects/haiku_host/x86_64/release/build/libpackage/ChecksumAccessors.o
Chmod1 /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libbe_build.so
Link objects/haiku_host/x86_64/release/tools/addattr/addattr
Link objects/haiku_host/x86_64/release/tools/copyattr
Chmod1 objects/haiku_host/x86_64/release/tools/addattr/addattr
Link objects/haiku_host/x86_64/release/tools/rc/rc
Link objects/haiku_host/x86_64/release/tools/resattr/resattr
AddTargetVariableToScript1 <unique!target>_target_961
Chmod1 objects/haiku_host/x86_64/release/tools/copyattr
AddTargetVariableToScript1 <unique!target>_target_071
Link objects/haiku_host/x86_64/release/tools/unzip/unzip
AddTargetVariableToScript1 <unique!target>_target_171
AddTargetVariableToScript1 <unique!target>_target_271
Chmod1 objects/haiku_host/x86_64/release/tools/rc/rc
Chmod1 objects/haiku_host/x86_64/release/tools/resattr/resattr
AddTargetVariableToScript1 <unique!target>_target_371
C++ objects/haiku_host/x86_64/release/build/libpackage/CommitTransactionResult.o
AddTargetVariableToScript1 <unique!target>_target_471
C++ objects/haiku_host/x86_64/release/build/libpackage/Context.o
AddTargetVariableToScript1 <unique!target>_target_571
Chmod1 objects/haiku_host/x86_64/release/tools/unzip/unzip
AddTargetVariableToScript1 <unique!target>_target_671
C++ objects/haiku_host/x86_64/release/build/libpackage/DownloadFileRequest.o
AddTargetVariableToScript1 <unique!target>_target_771
AddTargetVariableToScript1 <unique!target>_target_871
C++ objects/haiku_host/x86_64/release/build/libpackage/DropRepositoryRequest.o
C++ objects/haiku_host/x86_64/release/build/libpackage/FetchFileJob.o
C++ objects/haiku_host/x86_64/release/build/libpackage/InstallationLocationInfo.o
C++ objects/haiku_host/x86_64/release/build/libpackage/Job.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageInfo.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageInfoContentHandler.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageInfoParser.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageInfoSet.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageResolvable.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageResolvableExpression.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageRoster.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageVersion.o
C++ objects/haiku_host/x86_64/release/build/libpackage/RefreshRepositoryRequest.o
C++ objects/haiku_host/x86_64/release/build/libpackage/RemoveRepositoryJob.o
C++ objects/haiku_host/x86_64/release/build/libpackage/RepositoryCache.o
C++ objects/haiku_host/x86_64/release/build/libpackage/RepositoryConfig.o
C++ objects/haiku_host/x86_64/release/build/libpackage/RepositoryInfo.o
C++ objects/haiku_host/x86_64/release/build/libpackage/Request.o
C++ objects/haiku_host/x86_64/release/build/libpackage/TempfileManager.o
C++ objects/haiku_host/x86_64/release/build/libpackage/User.o
C++ objects/haiku_host/x86_64/release/build/libpackage/ValidateChecksumJob.o
C++ objects/haiku_host/x86_64/release/build/libpackage/AttributeDataReader.o
C++ objects/haiku_host/x86_64/release/build/libpackage/BlockBufferPool.o
C++ objects/haiku_host/x86_64/release/build/libpackage/BlockBufferPoolImpl.o
C++ objects/haiku_host/x86_64/release/build/libpackage/BlockBufferPoolNoLock.o
C++ objects/haiku_host/x86_64/release/build/libpackage/BufferPool.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PoolBuffer.o
C++ objects/haiku_host/x86_64/release/build/libpackage/DataReader.o
C++ objects/haiku_host/x86_64/release/build/libpackage/ErrorOutput.o
C++ objects/haiku_host/x86_64/release/build/libpackage/FDDataReader.o
C++ objects/haiku_host/x86_64/release/build/libpackage/FetchUtils.o
C++ objects/haiku_host/x86_64/release/build/libpackage/GlobalWritableFileInfo.o
C++ objects/haiku_host/x86_64/release/build/libpackage/HPKGDefs.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageContentHandler.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageData.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageDataReader.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageEntry.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageEntryAttribute.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageFileHeapAccessorBase.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageFileHeapReader.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageFileHeapWriter.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageReader.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageReaderImpl.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageWriter.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageWriterImpl.o
C++ objects/haiku_host/x86_64/release/build/libpackage/ReaderImplBase.o
C++ objects/haiku_host/x86_64/release/build/libpackage/RepositoryContentHandler.o
C++ objects/haiku_host/x86_64/release/build/libpackage/RepositoryReader.o
C++ objects/haiku_host/x86_64/release/build/libpackage/RepositoryReaderImpl.o
C++ objects/haiku_host/x86_64/release/build/libpackage/RepositoryWriter.o
...on 400th target...
C++ objects/haiku_host/x86_64/release/build/libpackage/RepositoryWriterImpl.o
C++ objects/haiku_host/x86_64/release/build/libpackage/Strings.o
C++ objects/haiku_host/x86_64/release/build/libpackage/UserSettingsFileInfo.o
C++ objects/haiku_host/x86_64/release/build/libpackage/WriterImplBase.o
C++ objects/haiku_host/x86_64/release/build/libpackage/HPKGDefsV1.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageContentHandlerV1.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageDataReaderV1.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageDataV1.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageEntryAttributeV1.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageEntryV1.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageInfoContentHandlerV1.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageReaderImplV1.o
C++ objects/haiku_host/x86_64/release/build/libpackage/PackageReaderV1.o
C++ objects/haiku_host/x86_64/release/build/libpackage/ReaderImplBaseV1.o
C++ objects/haiku_host/x86_64/release/build/libpackage/NoErrorOutput.o
C++ objects/haiku_host/x86_64/release/build/libpackage/StandardErrorOutput.o
C++ objects/haiku_host/x86_64/release/build/libpackage/Exceptions.o
C++ objects/haiku_host/x86_64/release/build/libpackage/RepositoryBuilder.o
C++ objects/haiku_host/x86_64/release/build/libpackage/Solver.o
C++ objects/haiku_host/x86_64/release/build/libpackage/SolverPackage.o
C++ objects/haiku_host/x86_64/release/build/libpackage/SolverPackageSpecifier.o
C++ objects/haiku_host/x86_64/release/build/libpackage/SolverPackageSpecifierList.o
C++ objects/haiku_host/x86_64/release/build/libpackage/SolverProblem.o
C++ objects/haiku_host/x86_64/release/build/libpackage/SolverProblemSolution.o
C++ objects/haiku_host/x86_64/release/build/libpackage/SolverRepository.o
C++ objects/haiku_host/x86_64/release/build/libpackage/SolverResult.o
MkDir1 objects/haiku_host/x86_64/release/build/libpackage/solver
MkDir1 objects/haiku_host/x86_64/release/build/libsolv
MkDir1 objects/common/build/libsolv
DownloadLocatedFile1 download/bash-4.4.023-1-riscv64.hpkg
DownloadLocatedFile1 download/freetype-2.6.3-1-riscv64.hpkg
DownloadLocatedFile1 download/zlib-1.2.11-1-riscv64.hpkg
--2023-05-14 18:03:22-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/9bb85ca4851e861b9260eb9a24087bf6e86a39b33b01db9a9fc4883c92a73c36/packages/bash-4.4.023-1-riscv64.hpkg
--2023-05-14 18:03:22-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/9bb85ca4851e861b9260eb9a24087bf6e86a39b33b01db9a9fc4883c92a73c36/packages/freetype-2.6.3-1-riscv64.hpkg
Resolving eu.hpkg.haiku-os.org... Resolving eu.hpkg.haiku-os.org... 206.189.242.242
Connecting to eu.hpkg.haiku-os.org|206.189.242.242|:443... --2023-05-14 18:03:22-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/9bb85ca4851e861b9260eb9a24087bf6e86a39b33b01db9a9fc4883c92a73c36/packages/zlib-1.2.11-1-riscv64.hpkg
206.189.242.242
Connecting to eu.hpkg.haiku-os.org|206.189.242.242|:443... connected.
Resolving eu.hpkg.haiku-os.org... connected.
HTTP request sent, awaiting response... 206.189.242.242
Connecting to eu.hpkg.haiku-os.org|206.189.242.242|:443... HTTP request sent, awaiting response... 200 OK
Length: 3643430 (3.5M) [text/plain]
Saving to: ‘download/bash-4.4.023-1-riscv64.hpkg’
download/bash-4.4.023-1-riscv64.hpkg 0%[ ] 0 --.-KB/s connected.
200 OK
Length: 1221449 (1.2M) [text/plain]
Saving to: ‘download/freetype-2.6.3-1-riscv64.hpkg’
download/freetype-2.6.3-1-riscv64.hpkg 0%[ ] 0 --.-KB/s HTTP request sent, awaiting response... 200 OK
Length: 55659 (54K) [text/plain]
Saving to: ‘download/zlib-1.2.11-1-riscv64.hpkg’
download/zlib-1.2.11-1-riscv64.hpkg 100%[=====================================================================================================>] 54.35K --.-KB/s in 0.04s
2023-05-14 18:03:22 (1.23 MB/s) - ‘download/zlib-1.2.11-1-riscv64.hpkg’ saved [55659/55659]
DownloadLocatedFile1 download/coreutils-8.22-1-riscv64.hpkg
download/bash-4.4.023-1-riscv64.hpkg 12%[============> ] 456.00K 2.17MB/s Link /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libpackage_build.so
download/freetype-2.6.3-1-riscv64.hpkg 36%[====================================> ] 436.06K 2.13MB/s --2023-05-14 18:03:22-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/9bb85ca4851e861b9260eb9a24087bf6e86a39b33b01db9a9fc4883c92a73c36/packages/coreutils-8.22-1-riscv64.hpkg
Resolving eu.hpkg.haiku-os.org... 206.189.242.242
Connecting to eu.hpkg.haiku-os.org|206.189.242.242|:443... connected.
HTTP request sent, awaiting response... Chmod1 /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libpackage_build.so
200 OK
Length: 4371177 (4.2M) [text/plain]
Saving to: ‘download/coreutils-8.22-1-riscv64.hpkg’
download/coreutils-8.22-1-riscv64.hpkg 0%[ ] 0 --.-KB/s Link objects/haiku_host/x86_64/release/tools/package/package
download/freetype-2.6.3-1-riscv64.hpkg 77%[=============================================================================> ] 919.81K 2.23MB/s Chmod1 objects/haiku_host/x86_64/release/tools/package/package
download/freetype-2.6.3-1-riscv64.hpkg 100%[=====================================================================================================>] 1.16M 2.32MB/s in 0.5s
2023-05-14 18:03:22 (2.32 MB/s) - ‘download/freetype-2.6.3-1-riscv64.hpkg’ saved [1221449/1221449]
DownloadLocatedFile1 download/gcc_syslibs-11.2.0_2021_07_28-5-riscv64.hpkg
AddTargetVariableToScript1 <unique!target>_target_971
ExtractHPKGArchive1 build_packages/libsolv-0.3.0_haiku_2014_12_22-1-riscv64
download/bash-4.4.023-1-riscv64.hpkg 41%[========================================> ] 1.43M 2.36MB/s --2023-05-14 18:03:22-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/9bb85ca4851e861b9260eb9a24087bf6e86a39b33b01db9a9fc4883c92a73c36/packages/gcc_syslibs-11.2.0_2021_07_28-5-riscv64.hpkg
Resolving eu.hpkg.haiku-os.org... ExtractHPKGArchive1 build_packages/libsolv-0.3.0_haiku_2014_12_22-1-riscv64
206.189.242.242
Connecting to eu.hpkg.haiku-os.org|206.189.242.242|:443... connected.
HTTP request sent, awaiting response... C++ objects/haiku_host/x86_64/release/build/libpackage/solver/LibsolvSolver.o
200 OK
Length: 1397225 (1.3M) [text/plain]
Saving to: ‘download/gcc_syslibs-11.2.0_2021_07_28-5-riscv64.hpkg’
download/gcc_syslibs-11.2.0_2021_07_28-5-riscv6 100%[=====================================================================================================>] 1.33M 2.27MB/s in 0.6s
2023-05-14 18:03:23 (2.27 MB/s) - ‘download/gcc_syslibs-11.2.0_2021_07_28-5-riscv64.hpkg’ saved [1397225/1397225]
ExtractHPKGArchive1 build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source
download/bash-4.4.023-1-riscv64.hpkg 100%[=====================================================================================================>] 3.47M 2.43MB/s in 1.4s
2023-05-14 18:03:23 (2.43 MB/s) - ‘download/bash-4.4.023-1-riscv64.hpkg’ saved [3643430/3643430]
MkDir1 objects/haiku/riscv64/packaging/packages
MkDir1 objects/haiku/riscv64/packaging/packages_build
MkDir1 objects/haiku/riscv64/packaging/packages_build/minimum
download/coreutils-8.22-1-riscv64.hpkg 68%[====================================================================> ] 2.84M 2.34MB/s MkDir1 objects/haiku/riscv64/packaging/packages_build/minimum/hpkg_-haiku_loader.hpkg
DetermineHaikuRevision1 build/haiku-revision
GenerateLibsolvVersionHeader objects/common/build/libsolv/solvversion.h
download/coreutils-8.22-1-riscv64.hpkg 77%[==============================================================================> ] 3.23M 2.28MB/s Cc objects/haiku_host/x86_64/release/build/libsolv/solv_xfopen.o
fatal: No names found, cannot describe anything.
Error: you are using a Haiku clone without tags, please set
the revision tag to use (e.g. HAIKU_REVISION=hrev43210)
../build/scripts/determine_haiku_revision .. build/haiku-revision
...failed DetermineHaikuRevision1 build/haiku-revision ...
Cc objects/haiku_host/x86_64/release/build/libsolv/testcase.o
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/ext/solv_xfopen.c:8: warning: "_GNU_SOURCE" redefined
8 | #define _GNU_SOURCE
|
<command-line>: note: this is the location of the previous definition
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/ext/solv_xfopen.c: In function 'cookieopen':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/ext/solv_xfopen.c:41:14: warning: assignment to 'ssize_t (**)(void *, char *, size_t)' {aka 'long int (**)(void *, char *, long unsigned int)'} from incompatible pointer type 'ssize_t (*)(void *, char *, size_t)' {aka 'long int (*)(void *, char *, long unsigned int)'} [-Wincompatible-pointer-types]
41 | cio.read = cread;
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/ext/solv_xfopen.c:43:15: warning: assignment to 'ssize_t (**)(void *, const char *, size_t)' {aka 'long int (**)(void *, const char *, long unsigned int)'} from incompatible pointer type 'ssize_t (*)(void *, const char *, size_t)' {aka 'long int (*)(void *, const char *, long unsigned int)'} [-Wincompatible-pointer-types]
43 | cio.write = cwrite;
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/ext/solv_xfopen.c:44:13: warning: assignment to 'ssize_t (**)(void *)' {aka 'long int (**)(void *)'} from incompatible pointer type 'int (*)(void *)' [-Wincompatible-pointer-types]
44 | cio.close = cclose;
| ^
download/coreutils-8.22-1-riscv64.hpkg 90%[===========================================================================================> ] 3.78M 2.33MB/s C++ objects/haiku_host/x86_64/release/build/libsolv/repo_haiku.o
download/coreutils-8.22-1-riscv64.hpkg 100%[=====================================================================================================>] 4.17M 2.38MB/s in 1.7s
2023-05-14 18:03:24 (2.38 MB/s) - ‘download/coreutils-8.22-1-riscv64.hpkg’ saved [4371177/4371177]
Cc objects/haiku_host/x86_64/release/build/libsolv/bitmap.o
Cc objects/haiku_host/x86_64/release/build/libsolv/poolarch.o
Cc objects/haiku_host/x86_64/release/build/libsolv/poolvendor.o
Cc objects/haiku_host/x86_64/release/build/libsolv/poolid.o
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/ext/repo_haiku.cpp: In function 'void add_resolvable_expressions(Repo*, Offset&, const BObjectList<BPackageKit::BPackageResolvableExpression>&)':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/ext/repo_haiku.cpp:77:14: warning: enumeration value 'B_PACKAGE_RESOLVABLE_OP_ENUM_COUNT' not handled in switch [-Wswitch]
77 | switch (expression->Operator())
| ^
Cc objects/haiku_host/x86_64/release/build/libsolv/strpool.o
Cc objects/haiku_host/x86_64/release/build/libsolv/dirpool.o
Cc objects/haiku_host/x86_64/release/build/libsolv/solver.o
Cc objects/haiku_host/x86_64/release/build/libsolv/solverdebug.o
Cc objects/haiku_host/x86_64/release/build/libsolv/repo_solv.o
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/solver.c: In function 'solver_calculate_multiversionmap':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/solver.c:2692:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
2692 | if (repo)
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/solver.c: In function 'solver_solve':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/solver.c:3414:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
3414 | if (repo)
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/solver.c:3482:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
3482 | if (repo)
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/solver.c: In function 'pool_job2solvables':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/solver.c:4177:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
4177 | if (repo)
| ^
Cc objects/haiku_host/x86_64/release/build/libsolv/repo_write.o
Cc objects/haiku_host/x86_64/release/build/libsolv/evr.o
Cc objects/haiku_host/x86_64/release/build/libsolv/pool.o
Cc objects/haiku_host/x86_64/release/build/libsolv/queue.o
Cc objects/haiku_host/x86_64/release/build/libsolv/repo.o
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/repo.c:15: warning: "_GNU_SOURCE" redefined
15 | #define _GNU_SOURCE
|
<command-line>: note: this is the location of the previous definition
Cc objects/haiku_host/x86_64/release/build/libsolv/repodata.o
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/repodata.c:17: warning: "_GNU_SOURCE" redefined
17 | #define _GNU_SOURCE
|
<command-line>: note: this is the location of the previous definition
Cc objects/haiku_host/x86_64/release/build/libsolv/repopage.o
Cc objects/haiku_host/x86_64/release/build/libsolv/util.o
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/repodata.c: In function 'repodata_dir2str':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/repodata.c:385:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
385 | strncpy(p, comps, l);
| ^~~~~~~~~~~~~~~~~~~~
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/repodata.c:383:11: note: length computed here
383 | l = strlen(comps);
| ^~~~~~~~~~~~~
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/util.c:8: warning: "_GNU_SOURCE" redefined
8 | #define _GNU_SOURCE
|
<command-line>: note: this is the location of the previous definition
Cc objects/haiku_host/x86_64/release/build/libsolv/policy.o
In file included from build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/util.c:157:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/qsort_r.c:50: warning: "min" redefined
50 | #define min(a, b) (a) < (b) ? a : b
|
In file included from ./../headers/build/HaikuBuildCompatibility.h:21,
from <command-line>:
/boot/system/develop/headers/os/support/SupportDefs.h:208: note: this is the location of the previous definition
208 | # define min(a,b) ((a)>(b)?(b):(a))
|
Cc objects/haiku_host/x86_64/release/build/libsolv/solvable.o
Cc objects/haiku_host/x86_64/release/build/libsolv/transaction.o
Cc objects/haiku_host/x86_64/release/build/libsolv/rules.o
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/transaction.c: In function 'transaction_check_order':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/transaction.c:2078:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
2078 | if (pool->installed)
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/rules.c: In function 'jobtodisablelist':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/rules.c:1759:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
1759 | if (select == SOLVER_SOLVABLE_ALL || (select == SOLVER_SOLVABLE_REPO && what == installed->repoid))
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/rules.c: In function 'solver_createcleandepsmap':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/rules.c:2924:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
2924 | if (select == SOLVER_SOLVABLE_ALL || (select == SOLVER_SOLVABLE_REPO && what == installed->repoid))
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/rules.c: In function 'solver_get_unneeded':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/rules.c:3550:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
3550 | if (off)
| ^~
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/rules.c:3567:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
3567 | if (pass == 0)
| ^~
Cc objects/haiku_host/x86_64/release/build/libsolv/problems.o
Cc objects/haiku_host/x86_64/release/build/libsolv/chksum.o
Cc objects/haiku_host/x86_64/release/build/libsolv/md5.o
Cc objects/haiku_host/x86_64/release/build/libsolv/sha1.o
Cc objects/haiku_host/x86_64/release/build/libsolv/sha2.o
Cc objects/haiku_host/x86_64/release/build/libsolv/solvversion.o
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:564:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=]
564 | void solv_SHA256_Final(sha2_byte digest[], SHA256_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
In file included from build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:43:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.h:72:24: note: previously declared as 'uint8_t[32]' {aka 'unsigned char[32]'}
72 | void solv_SHA256_Final(uint8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c: In function 'solv_SHA256_Final':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:623:37: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
623 | MEMSET_BZERO(context, sizeof(context));
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:172:49: note: in definition of macro 'MEMSET_BZERO'
172 | #define MEMSET_BZERO(p,l) memset((p), 0, (l))
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c: At top level:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:627:49: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=]
627 | char *solv_SHA256_End(SHA256_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:43:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.h:73:36: note: previously declared as 'char[65]'
73 | char* solv_SHA256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c: In function 'solv_SHA256_End':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:644:45: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
644 | MEMSET_BZERO(context, sizeof(context));
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:172:49: note: in definition of macro 'MEMSET_BZERO'
172 | #define MEMSET_BZERO(p,l) memset((p), 0, (l))
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c: At top level:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:927:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=]
927 | void solv_SHA512_Final(sha2_byte digest[], SHA512_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
In file included from build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:43:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.h:84:24: note: previously declared as 'uint8_t[64]' {aka 'unsigned char[64]'}
84 | void solv_SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c: In function 'solv_SHA512_Final':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:953:37: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
953 | MEMSET_BZERO(context, sizeof(context));
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:172:49: note: in definition of macro 'MEMSET_BZERO'
172 | #define MEMSET_BZERO(p,l) memset((p), 0, (l))
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c: At top level:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:956:49: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=]
956 | char *solv_SHA512_End(SHA512_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:43:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.h:85:36: note: previously declared as 'char[129]'
85 | char* solv_SHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c: In function 'solv_SHA512_End':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:973:45: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
973 | MEMSET_BZERO(context, sizeof(context));
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:172:49: note: in definition of macro 'MEMSET_BZERO'
172 | #define MEMSET_BZERO(p,l) memset((p), 0, (l))
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c: At top level:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:1002:34: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=]
1002 | void solv_SHA384_Final(sha2_byte digest[], SHA384_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
In file included from build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:43:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.h:78:24: note: previously declared as 'uint8_t[48]' {aka 'unsigned char[48]'}
78 | void solv_SHA384_Final(uint8_t[SHA384_DIGEST_LENGTH], SHA384_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c: In function 'solv_SHA384_Final':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:1028:37: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
1028 | MEMSET_BZERO(context, sizeof(context));
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:172:49: note: in definition of macro 'MEMSET_BZERO'
172 | #define MEMSET_BZERO(p,l) memset((p), 0, (l))
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c: At top level:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:1031:49: warning: argument 2 of type 'char[]' with mismatched bound [-Warray-parameter=]
1031 | char *solv_SHA384_End(SHA384_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:43:
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.h:79:36: note: previously declared as 'char[97]'
79 | char* solv_SHA384_End(SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c: In function 'solv_SHA384_End':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:1048:45: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
1048 | MEMSET_BZERO(context, sizeof(context));
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/sha2.c:172:49: note: in definition of macro 'MEMSET_BZERO'
172 | #define MEMSET_BZERO(p,l) memset((p), 0, (l))
| ^
Cc objects/haiku_host/x86_64/release/build/libsolv/selection.o
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/selection.c:13: warning: "_GNU_SOURCE" redefined
13 | #define _GNU_SOURCE
|
<command-line>: note: this is the location of the previous definition
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/selection.c: In function 'selection_prune':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/selection.c:55:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
55 | if (repo)
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/selection.c: In function 'selection_solvables':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/selection.c:98:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
98 | if (repo)
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/selection.c: In function 'selection_filter':
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/selection.c:815:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
815 | if (repo)
| ^
build_packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source/develop/sources/libsolv-0.3.0_haiku_2014_12_22-1/sources/src/selection.c:846:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
846 | if (repo)
| ^
Link /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libsolv_build.so
Chmod1 /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libsolv_build.so
Link /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libsolvext_build.so
Chmod1 /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libsolvext_build.so
Link /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libpackage-add-on-libsolv_build.so
Chmod1 /boot/home/src/haiku/generated.riscv64/objects/haiku_host/lib/libpackage-add-on-libsolv_build.so
Link objects/haiku_host/x86_64/release/tools/get_package_dependencies/get_package_dependencies
Chmod1 objects/haiku_host/x86_64/release/tools/get_package_dependencies/get_package_dependencies
AddTargetVariableToScript1 <unique!target>_target_081
BUILD FAILURE:
...failed updating 1 target(s)...
...skipped 5 target(s)...
...updated 481 target(s)...
real 1m28.871s
user 4m30.454s
sys 0m29.167s
~/src/haiku/generated.riscv64>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment