Skip to content

Instantly share code, notes, and snippets.

@danboid
Created May 17, 2023 07:20
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/9dcd84df690394f33be205be578ff6bf to your computer and use it in GitHub Desktop.
Save danboid/9dcd84df690394f33be205be578ff6bf to your computer and use it in GitHub Desktop.
VF2 Haiku nighly raw build error
dan@zbook:~/src/haiku/generated.riscv64$ HAIKU_REVISION=hrev57000 jam -j8 -q @nightly-raw
Starting build of type regular ...
Building Haiku Nightly
AddHaikuImagePackages: package vision not available!
WebPositive not available on riscv64
build-feature packages unavailable on riscv64: glu mesa fontconfig gutenprint webkit jasper qrencode_kdl tiff openexr libdvdread libdvdnav libraw libavif live555
AddHaikuImagePackages: package icu66 not available!
AddHaikuImagePackages: package glu not available!
AddHaikuImagePackages: package mawk not available!
AddHaikuImagePackages: package mesa not available!
AddHaikuImagePackages: package mesa_devel not available!
AddHaikuImagePackages: package mesa_swpipe not available!
AddHaikuImagePackages: package sharutils not available!
/home/dan/src/haiku/src/add-ons/kernel/bus_managers/isa/arch/riscv64/Jamfile: No such file or directory
/home/dan/src/haiku/src/add-ons/kernel/debugger/disasm/riscv64/Jamfile: No such file or directory
/home/dan/src/haiku/src/bin/debug/ltrace/arch/riscv64/Jamfile: No such file or directory
AddHaikuImagePackages: package cdrtools not available!
AddHaikuImagePackages: package nasm not available!
Asked for riscv target boot platform
Unknown path to handle adding to image
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...found 94251 target(s)...
...updating 13987 target(s)...
InitScript1 haiku.image-init-vars
C++ objects/linux/x86_64/release/build/libroot/function_remapper.o
C++ objects/linux/x86_64/release/build/libroot/atomic.o
C++ objects/linux/x86_64/release/build/libroot/byteorder.o
C++ objects/linux/x86_64/release/build/libroot/errors.o
C++ objects/linux/x86_64/release/build/libroot/find_directory.o
C++ objects/linux/x86_64/release/build/libroot/fs.o
C++ objects/linux/x86_64/release/build/libroot/fs_attr.o
C++ objects/linux/x86_64/release/build/libroot/fs_descriptors.o
C++ objects/linux/x86_64/release/build/libroot/misc.o
C++ objects/linux/x86_64/release/build/libroot/sem.o
C++ objects/linux/x86_64/release/build/libroot/thread.o
Archive objects/linux/x86_64/release/build/libroot/libroot_build_function_remapper.a
ar: creating objects/linux/x86_64/release/build/libroot/libroot_build_function_remapper.a
C++ objects/linux/x86_64/release/build/libroot/SHA256.o
C++ objects/linux/x86_64/release/build/libroot/driver_settings.o
Cc objects/linux/x86_64/release/build/libroot/strlcpy.o
Cc objects/linux/x86_64/release/build/libroot/strlcat.o
Ranlib objects/linux/x86_64/release/build/libroot/libroot_build_function_remapper.a
C++ objects/linux/x86_64/release/build/libroot/strnlen.o
C++ objects/linux/x86_64/release/build/libroot/KMessage.o
C++ objects/linux/x86_64/release/tools/addattr/main.o
C++ objects/linux/x86_64/release/tools/addattr/addAttr.o
C++ objects/linux/x86_64/release/build/libbe/app/Application.o
C++ objects/linux/x86_64/release/build/libbe/app/AppMisc.o
C++ objects/linux/x86_64/release/build/libbe/app/Looper.o
C++ objects/linux/x86_64/release/build/libbe/app/Message.o
C++ objects/linux/x86_64/release/build/libbe/app/MessageAdapter.o
C++ objects/linux/x86_64/release/build/libbe/app/Messenger.o
C++ objects/linux/x86_64/release/build/libbe/app/MessageUtils.o
C++ objects/linux/x86_64/release/build/libbe/app/TypeConstants.o
C++ objects/linux/x86_64/release/build/libbe/icon/FlatIconFormat.o
C++ objects/linux/x86_64/release/build/libbe/icon/FlatIconImporter.o
C++ objects/linux/x86_64/release/build/libbe/icon/LittleEndianBuffer.o
C++ objects/linux/x86_64/release/build/libbe/icon/PathCommandQueue.o
C++ objects/linux/x86_64/release/build/libbe/icon/Defines.o
C++ objects/linux/x86_64/release/build/libbe/icon/MessageImporter.o
../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/linux/x86_64/release/build/libbe/icon/PathContainer.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, 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(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);
| ^~~~~~~~~~~~~~~~
../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);
| ^~~~~~~~~~~~~~~~
../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);
| ^~~~~~~~~~~~~~~~
../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 {
| ^~~~~~~~~~
C++ objects/linux/x86_64/release/build/libbe/icon/Shape.o
C++ objects/linux/x86_64/release/build/libbe/icon/ShapeContainer.o
Link objects/linux/x86_64/release/build/libroot/libroot_build.so
Chmod1 objects/linux/x86_64/release/build/libroot/libroot_build.so
File /home/dan/src/haiku/generated.riscv64/objects/linux/lib/libroot_build.so
Chmod1 /home/dan/src/haiku/generated.riscv64/objects/linux/lib/libroot_build.so
Chmod1 /home/dan/src/haiku/generated.riscv64/objects/linux/lib/libroot_build.so
C++ objects/linux/x86_64/release/build/libbe/icon/VectorPath.o
C++ objects/linux/x86_64/release/build/libbe/icon/GradientTransformable.o
C++ objects/linux/x86_64/release/build/libbe/icon/Style.o
C++ objects/linux/x86_64/release/build/libbe/icon/StyleContainer.o
C++ objects/linux/x86_64/release/build/libbe/icon/Transformable.o
C++ objects/linux/x86_64/release/build/libbe/icon/AffineTransformer.o
C++ objects/linux/x86_64/release/build/libbe/icon/ContourTransformer.o
C++ objects/linux/x86_64/release/build/libbe/icon/PathSource.o
C++ objects/linux/x86_64/release/build/libbe/icon/PerspectiveTransformer.o
C++ objects/linux/x86_64/release/build/libbe/icon/StrokeTransformer.o
C++ objects/linux/x86_64/release/build/libbe/icon/Transformer.o
MergeObjectFromObjects1 objects/linux/x86_64/release/build/libbe/app/app_kit.o
C++ objects/linux/x86_64/release/build/libbe/icon/TransformerFactory.o
C++ objects/linux/x86_64/release/build/libbe/icon/Icon.o
C++ objects/linux/x86_64/release/build/libbe/icon/IconRenderer.o
C++ objects/linux/x86_64/release/build/libbe/icon/IconUtils.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_arc.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_arrowhead.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_bezier_arc.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_bspline.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_curves.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_embedded_raster_fonts.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_gsv_text.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_image_filters.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_line_aa_basics.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_line_profile_aa.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_rounded_rect.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_sqrt_tables.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_trans_affine.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_trans_double_path.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_trans_single_path.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_trans_warp_magnifier.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_vcgen_bspline.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_vcgen_contour.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_vcgen_dash.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_vcgen_markers_term.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_vcgen_smooth_poly1.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_vcgen_stroke.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_vpgen_clip_polygon.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_vpgen_clip_polyline.o
C++ objects/linux/x86_64/release/build/libbe/icon/agg_vpgen_segmentator.o
C++ objects/linux/x86_64/release/build/libbe/interface/Bitmap.o
C++ objects/linux/x86_64/release/build/libbe/interface/Gradient.o
C++ objects/linux/x86_64/release/build/libbe/interface/GradientLinear.o
C++ objects/linux/x86_64/release/build/libbe/interface/GradientRadial.o
C++ objects/linux/x86_64/release/build/libbe/interface/GradientRadialFocus.o
C++ objects/linux/x86_64/release/build/libbe/interface/GradientDiamond.o
C++ objects/linux/x86_64/release/build/libbe/interface/GradientConic.o
C++ objects/linux/x86_64/release/build/libbe/interface/GraphicsDefs.o
C++ objects/linux/x86_64/release/build/libbe/interface/Point.o
C++ objects/linux/x86_64/release/build/libbe/interface/Rect.o
C++ objects/linux/x86_64/release/build/libbe/interface/Region.o
C++ objects/linux/x86_64/release/build/libbe/interface/RegionSupport.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/linux/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 {
| ^~~~~~~~~
MergeObjectFromObjects1 objects/linux/x86_64/release/build/libbe/icon/icon_kit.o
C++ objects/linux/x86_64/release/build/libbe/storage/AppFileInfo.o
C++ objects/linux/x86_64/release/build/libbe/storage/Directory.o
C++ objects/linux/x86_64/release/build/libbe/storage/DriverSettings.o
C++ objects/linux/x86_64/release/build/libbe/storage/Entry.o
...on 100th target...
C++ objects/linux/x86_64/release/build/libbe/storage/EntryList.o
C++ objects/linux/x86_64/release/build/libbe/storage/FdIO.o
C++ objects/linux/x86_64/release/build/libbe/storage/File.o
C++ objects/linux/x86_64/release/build/libbe/storage/FileIO.o
C++ objects/linux/x86_64/release/build/libbe/storage/FindDirectory.o
C++ objects/linux/x86_64/release/build/libbe/storage/MergedDirectory.o
C++ objects/linux/x86_64/release/build/libbe/storage/Mime.o
C++ objects/linux/x86_64/release/build/libbe/storage/MimeType.o
C++ objects/linux/x86_64/release/build/libbe/storage/Node.o
C++ objects/linux/x86_64/release/build/libbe/storage/NodeInfo.o
C++ objects/linux/x86_64/release/build/libbe/storage/OffsetFile.o
C++ objects/linux/x86_64/release/build/libbe/storage/Path.o
C++ objects/linux/x86_64/release/build/libbe/storage/ResourceFile.o
C++ objects/linux/x86_64/release/build/libbe/storage/ResourceItem.o
C++ objects/linux/x86_64/release/build/libbe/storage/Resources.o
C++ objects/linux/x86_64/release/build/libbe/storage/ResourcesContainer.o
C++ objects/linux/x86_64/release/build/libbe/storage/ResourceStrings.o
C++ objects/linux/x86_64/release/build/libbe/storage/Statable.o
C++ objects/linux/x86_64/release/build/libbe/storage/SymLink.o
C++ objects/linux/x86_64/release/build/libbe/storage/Volume.o
C++ objects/linux/x86_64/release/build/libbe/storage/storage_support.o
C++ objects/linux/x86_64/release/build/libbe/storage/AppMetaMimeCreator.o
C++ objects/linux/x86_64/release/build/libbe/storage/AssociatedTypes.o
C++ objects/linux/x86_64/release/build/libbe/storage/Database.o
C++ objects/linux/x86_64/release/build/libbe/storage/DatabaseDirectory.o
C++ objects/linux/x86_64/release/build/libbe/storage/DatabaseLocation.o
C++ objects/linux/x86_64/release/build/libbe/storage/database_support.o
C++ objects/linux/x86_64/release/build/libbe/storage/InstalledTypes.o
C++ objects/linux/x86_64/release/build/libbe/storage/MimeEntryProcessor.o
C++ objects/linux/x86_64/release/build/libbe/storage/MimeInfoUpdater.o
C++ objects/linux/x86_64/release/build/libbe/storage/MimeSniffer.o
C++ objects/linux/x86_64/release/build/libbe/storage/MimeSnifferAddon.o
C++ objects/linux/x86_64/release/build/libbe/storage/MimeSnifferAddonManager.o
C++ objects/linux/x86_64/release/build/libbe/storage/SnifferRules.o
C++ objects/linux/x86_64/release/build/libbe/storage/Supertype.o
C++ objects/linux/x86_64/release/build/libbe/storage/SupportingApps.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 4095 bytes into a region of size between 0 and 4095 [-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 8192 bytes into a destination of size 4096
379 | snprintf(fulltype, B_PATH_NAME_LENGTH, "%s/%s",
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
380 | supertype, subtype);
| ~~~~~~~~~~~~~~~~~~~
C++ objects/linux/x86_64/release/build/libbe/storage/TextSnifferAddon.o
C++ objects/linux/x86_64/release/build/libbe/storage/CharStream.o
C++ objects/linux/x86_64/release/build/libbe/storage/Err.o
MergeObjectFromObjects1 objects/linux/x86_64/release/build/libbe/interface/interface_kit.o
C++ objects/linux/x86_64/release/build/libbe/storage/DisjList.o
C++ objects/linux/x86_64/release/build/libbe/storage/Pattern.o
C++ objects/linux/x86_64/release/build/libbe/storage/PatternList.o
C++ objects/linux/x86_64/release/build/libbe/storage/Parser.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 4095 bytes into a region of size between 0 and 4095 [-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 8192 bytes into a destination of size 4096
377 | snprintf(fulltype, B_PATH_NAME_LENGTH, "%s/%s",
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
378 | supertype, subtype);
| ~~~~~~~~~~~~~~~~~~~
C++ objects/linux/x86_64/release/build/libbe/storage/Range.o
C++ objects/linux/x86_64/release/build/libbe/storage/RPattern.o
C++ objects/linux/x86_64/release/build/libbe/storage/RPatternList.o
C++ objects/linux/x86_64/release/build/libbe/storage/Rule.o
C++ objects/linux/x86_64/release/build/libbe/support/Archivable.o
C++ objects/linux/x86_64/release/build/libbe/support/BlockCache.o
C++ objects/linux/x86_64/release/build/libbe/support/BufferIO.o
C++ objects/linux/x86_64/release/build/libbe/support/ByteOrder.o
C++ objects/linux/x86_64/release/build/libbe/support/CompressionAlgorithm.o
C++ objects/linux/x86_64/release/build/libbe/support/DataIO.o
C++ objects/linux/x86_64/release/build/libbe/support/DataPositionIOWrapper.o
C++ objects/linux/x86_64/release/build/libbe/support/Flattenable.o
C++ objects/linux/x86_64/release/build/libbe/support/Job.o
C++ objects/linux/x86_64/release/build/libbe/support/JobQueue.o
C++ objects/linux/x86_64/release/build/libbe/support/List.o
C++ objects/linux/x86_64/release/build/libbe/support/Locker.o
C++ objects/linux/x86_64/release/build/libbe/support/PointerList.o
C++ objects/linux/x86_64/release/build/libbe/support/Referenceable.o
C++ objects/linux/x86_64/release/build/libbe/support/String.o
C++ objects/linux/x86_64/release/build/libbe/support/StringList.o
C++ objects/linux/x86_64/release/build/libbe/support/Url.o
C++ objects/linux/x86_64/release/build/libbe/support/ZlibCompressionAlgorithm.o
C++ objects/linux/x86_64/release/build/libbe/support/ZstdCompressionAlgorithm.o
C++ objects/linux/x86_64/release/build/libshared/Keymap.o
MergeObjectFromObjects1 objects/linux/x86_64/release/build/libbe/storage/storage_kit.o
C++ objects/linux/x86_64/release/build/libshared/NaturalCompare.o
../src/kits/support/PointerList.cpp:87:28: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
87 | struct comparator : public binary_function<const void*, const void*, bool>
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/functional:49,
from ../src/kits/support/PointerList.cpp:23:
/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here
131 | struct binary_function
| ^~~~~~~~~~~~~~~
C++ objects/linux/x86_64/release/build/libshared/RegExp.o
C++ objects/linux/x86_64/release/tools/bfs_shell/additional_commands.o
C++ objects/linux/x86_64/release/tools/bfs_shell/command_checkfs.o
C++ objects/linux/x86_64/release/tools/bfs_shell/command_resizefs.o
C++ objects/linux/x86_64/release/tools/bfs_shell/bfs_disk_system.o
C++ objects/linux/x86_64/release/tools/bfs_shell/BlockAllocator.o
C++ objects/linux/x86_64/release/tools/bfs_shell/BPlusTree.o
Archive objects/linux/x86_64/release/build/libshared/libshared_build.a
C++ objects/linux/x86_64/release/tools/bfs_shell/Attribute.o
ar: creating objects/linux/x86_64/release/build/libshared/libshared_build.a
C++ objects/linux/x86_64/release/tools/bfs_shell/CheckVisitor.o
Ranlib objects/linux/x86_64/release/build/libshared/libshared_build.a
C++ objects/linux/x86_64/release/tools/bfs_shell/Debug.o
C++ objects/linux/x86_64/release/tools/bfs_shell/DeviceOpener.o
C++ objects/linux/x86_64/release/tools/bfs_shell/FileSystemVisitor.o
C++ objects/linux/x86_64/release/tools/bfs_shell/Index.o
C++ objects/linux/x86_64/release/tools/bfs_shell/Inode.o
C++ objects/linux/x86_64/release/tools/bfs_shell/Journal.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/linux/x86_64/release/tools/bfs_shell/Query.o
C++ objects/linux/x86_64/release/tools/bfs_shell/QueryParserUtils.o
C++ objects/linux/x86_64/release/tools/bfs_shell/ResizeVisitor.o
C++ objects/linux/x86_64/release/tools/bfs_shell/Volume.o
C++ objects/linux/x86_64/release/tools/bfs_shell/kernel_interface.o
MergeObjectFromObjects1 objects/linux/x86_64/release/build/libbe/support/support_kit.o
Link /home/dan/src/haiku/generated.riscv64/objects/linux/lib/libbe_build.so
C++ objects/linux/x86_64/release/tools/fs_shell/external_commands_unix.o
C++ objects/linux/x86_64/release/tools/fs_shell/external_commands_unix.o
C++ objects/linux/x86_64/release/tools/fs_shell/fssh.o
Chmod1 /home/dan/src/haiku/generated.riscv64/objects/linux/lib/libbe_build.so
Link objects/linux/x86_64/release/tools/addattr/addattr
C++ objects/linux/x86_64/release/tools/fs_shell/fssh_additional_commands.o
C++ objects/linux/x86_64/release/tools/fs_shell/atomic.o
C++ objects/linux/x86_64/release/tools/fs_shell/block_cache.o
Chmod1 objects/linux/x86_64/release/tools/addattr/addattr
AddTargetVariableToScript1 <unique!target>_target_981
...on 200th target...
C++ objects/linux/x86_64/release/tools/fs_shell/byte_order.o
C++ objects/linux/x86_64/release/tools/fs_shell/command_cp.o
C++ objects/linux/x86_64/release/tools/fs_shell/disk_device_manager.o
C++ objects/linux/x86_64/release/tools/fs_shell/driver_settings.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/linux/x86_64/release/tools/fs_shell/errno.o
C++ objects/linux/x86_64/release/tools/fs_shell/fcntl.o
C++ objects/linux/x86_64/release/tools/fs_shell/fd.o
C++ objects/linux/x86_64/release/tools/fs_shell/file_cache.o
C++ objects/linux/x86_64/release/tools/fs_shell/file_map.o
C++ objects/linux/x86_64/release/tools/fs_shell/kernel_export.o
C++ objects/linux/x86_64/release/tools/fs_shell/KPath.o
C++ objects/linux/x86_64/release/tools/fs_shell/hash.o
C++ objects/linux/x86_64/release/tools/fs_shell/list.o
C++ objects/linux/x86_64/release/tools/fs_shell/lock.o
C++ objects/linux/x86_64/release/tools/fs_shell/module.o
C++ objects/linux/x86_64/release/tools/fs_shell/node_monitor.o
MergeObjectFromObjects1 objects/linux/x86_64/release/tools/bfs_shell/bfs.o
C++ objects/linux/x86_64/release/tools/fs_shell/partition_support.o
C++ objects/linux/x86_64/release/tools/fs_shell/path_util.o
C++ objects/linux/x86_64/release/tools/fs_shell/rootfs.o
C++ objects/linux/x86_64/release/tools/fs_shell/sem.o
C++ objects/linux/x86_64/release/tools/fs_shell/stat.o
C++ objects/linux/x86_64/release/tools/fs_shell/stat_util.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/linux/x86_64/release/tools/fs_shell/stdio.o
C++ objects/linux/x86_64/release/tools/fs_shell/string.o
C++ objects/linux/x86_64/release/tools/fs_shell/thread.o
C++ objects/linux/x86_64/release/tools/fs_shell/time.o
C++ objects/linux/x86_64/release/tools/fs_shell/uio.o
C++ objects/linux/x86_64/release/tools/fs_shell/unistd.o
C++ objects/linux/x86_64/release/tools/fs_shell/vfs.o
C++ objects/linux/x86_64/release/tools/fs_shell/fs_shell_command.o
C++ objects/linux/x86_64/release/tools/fs_shell/fs_shell_command_unix.o
C++ objects/linux/x86_64/release/tools/copyattr.o
C++ objects/linux/x86_64/release/tools/create_image.o
../src/tools/fs_shell/vfs.cpp: In function ‘fssh_status_t FSShell::dir_vnode_to_path(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;
| ^~~~~~~~
C++ objects/linux/x86_64/release/tools/makebootable/platform/efi/makebootable.o
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(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)
| ^~~~
C++ objects/linux/x86_64/release/tools/rc/rc.o
Link objects/linux/x86_64/release/tools/fs_shell/fs_shell_command
../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)
| ^~~~
Link objects/linux/x86_64/release/tools/makebootable/platform/efi/makebootable
Link objects/linux/x86_64/release/tools/create_image
Yacc1 objects/linux/x86_64/common/tools/rc/parser.cpp objects/linux/x86_64/common/tools/rc/parser.hpp
Chmod1 objects/linux/x86_64/release/tools/fs_shell/fs_shell_command
../src/tools/fs_shell/vfs.cpp: In function ‘fssh_status_t FSShell::get_vnode_name(vnode*, vnode*, char*, fssh_size_t)’:
../src/tools/fs_shell/vfs.cpp:1397:1: warning: infinite recursion detected [-Winfinite-recursion]
1397 | get_vnode_name(struct vnode *vnode, struct vnode *parent, char *name,
| ^~~~~~~~~~~~~~
../src/tools/fs_shell/vfs.cpp:1403:46: note: recursive call
1403 | fssh_status_t status = get_vnode_name(vnode, parent, buffer, sizeof(buffer));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C++ objects/linux/x86_64/release/tools/rc/decompile.o
Chmod1 objects/linux/x86_64/release/tools/create_image
C++ objects/linux/x86_64/release/tools/rc/rdef.o
Chmod1 objects/linux/x86_64/release/tools/makebootable/platform/efi/makebootable
C++ objects/linux/x86_64/release/tools/resattr/resattr.o
Cc objects/linux/x86_64/release/tools/unzip/unzip.o
Cc objects/linux/x86_64/release/tools/unzip/unreduce.o
Cc objects/linux/x86_64/release/tools/unzip/unshrink.o
C++ objects/linux/x86_64/release/tools/rc/compile.o
C++ objects/linux/x86_64/release/tools/rc/parser.o
Link objects/linux/x86_64/release/tools/resattr/resattr
Lex objects/linux/x86_64/common/tools/rc/lexer.cpp
C++ objects/linux/x86_64/release/tools/rc/lexer.o
Chmod1 objects/linux/x86_64/release/tools/resattr/resattr
Cc objects/linux/x86_64/release/tools/unzip/crc32.o
Cc objects/linux/x86_64/release/tools/unzip/ttyio.o
Cc objects/linux/x86_64/release/tools/unzip/crctab.o
Cc objects/linux/x86_64/release/tools/unzip/crypt.o
Link objects/linux/x86_64/release/tools/copyattr
Cc objects/linux/x86_64/release/tools/unzip/envargs.o
Chmod1 objects/linux/x86_64/release/tools/copyattr
Cc objects/linux/x86_64/release/tools/unzip/explode.o
Cc objects/linux/x86_64/release/tools/unzip/extract.o
Cc objects/linux/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;
| ^~~~~~~~~~~
Cc objects/linux/x86_64/release/tools/unzip/globals.o
Cc objects/linux/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/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:
../src/bin/unzip/globals.h:412:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
../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),
| ^~~~
../src/bin/unzip/globals.h:412:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
../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),
| ^~~~
../src/bin/unzip/globals.h:412:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
../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),
| ^~~~
../src/bin/unzip/globals.h:412:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
../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),
| ^~~~
../src/bin/unzip/globals.h:412:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
../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 */
| ^~
Cc objects/linux/x86_64/release/tools/unzip/list.o
Cc objects/linux/x86_64/release/tools/unzip/match.o
../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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../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),
| ^~~~
../src/bin/unzip/globals.h:412:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
../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,
| ^~~~
../src/bin/unzip/globals.h:412:31: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
412 | extern Uz_Globs G;
| ^
../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,
| ^~~~
../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 function ‘extract_or_test_entrylist’,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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),
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_entrylist’,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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,
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_entrylist’,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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,
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_entrylist’,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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,
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_entrylist’,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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,
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_entrylist’,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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,
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_entrylist’,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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,
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_member’,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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",
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_member’,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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),
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_member’,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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),
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_member’,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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,
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_member’,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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),
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_member’,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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,
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_member’,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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),
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_member’,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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),
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_member’,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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,
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_member’,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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),
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘TestExtraField’,
inlined from ‘extract_or_test_member’ at ../src/bin/unzip/extract.c:1665:22,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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 ",
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘TestExtraField’,
inlined from ‘extract_or_test_member’ at ../src/bin/unzip/extract.c:1665:22,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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 ",
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘TestExtraField’,
inlined from ‘extract_or_test_member’ at ../src/bin/unzip/extract.c:1665:22,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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 ",
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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 function ‘extract_or_test_member’,
inlined from ‘extract_or_test_entrylist’ at ../src/bin/unzip/extract.c:1316:22,
inlined from ‘extract_or_test_files’ at ../src/bin/unzip/extract.c:485:17:
../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 ",
| ^~~~
../src/bin/unzip/globals.h: In function ‘extract_or_test_files’:
../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/match.c:76:
../src/bin/unzip/match.c: In function ‘recmatch’:
../src/bin/unzip/unzpriv.h:2113:24: warning: operand of ‘?:’ changes signedness from ‘char’ to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare]
2113 | # define ToLower(x) ((char)(isupper((int)x)? tolower((int)x) : x))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/bin/unzip/match.c:94:23: note: in expansion of macro ‘ToLower’
94 | #define Case(x) (ic? ToLower(x) : (x))
| ^~~~~~~
../src/bin/unzip/match.c:254:39: note: in expansion of macro ‘Case’
254 | if ((unsigned)Case(c) == cc) /* typecast for MSC bug */
| ^~~~
Cc objects/linux/x86_64/release/tools/unzip/process.o
Cc objects/linux/x86_64/release/tools/unzip/zipinfo.o
../src/bin/unzip/inflate.c: In function ‘inflate_dynamic’:
../src/bin/unzip/inflate.c:1103:3: warning: ‘tl’ may be used uninitialized [-Wmaybe-uninitialized]
1103 | huft_free(tl);
| ^~~~~~~~~~~~~
../src/bin/unzip/inflate.c:944:16: note: ‘tl’ declared here
944 | struct huft *tl; /* literal/length code table */
| ^~
../src/bin/unzip/inflate.c:1104:3: warning: ‘td’ may be used uninitialized [-Wmaybe-uninitialized]
1104 | huft_free(td);
| ^~~~~~~~~~~~~
../src/bin/unzip/inflate.c:945:16: note: ‘td’ declared here
945 | struct huft *td; /* distance code table */
| ^~
../src/bin/unzip/inflate.c:1103:3: warning: ‘tl’ may be used uninitialized [-Wmaybe-uninitialized]
1103 | huft_free(tl);
| ^~~~~~~~~~~~~
../src/bin/unzip/inflate.c:944:16: note: ‘tl’ declared here
944 | struct huft *tl; /* literal/length code table */
| ^~
../src/bin/unzip/inflate.c:1104:3: warning: ‘td’ may be used uninitialized [-Wmaybe-uninitialized]
1104 | huft_free(td);
| ^~~~~~~~~~~~~
../src/bin/unzip/inflate.c:945:16: note: ‘td’ declared here
945 | struct huft *td; /* distance code table */
| ^~
../src/bin/unzip/inflate.c:1103:3: warning: ‘tl’ may be used uninitialized [-Wmaybe-uninitialized]
1103 | huft_free(tl);
| ^~~~~~~~~~~~~
../src/bin/unzip/inflate.c:944:16: note: ‘tl’ declared here
944 | struct huft *tl; /* literal/length code table */
| ^~
../src/bin/unzip/inflate.c:1104:3: warning: ‘td’ may be used uninitialized [-Wmaybe-uninitialized]
1104 | huft_free(td);
| ^~~~~~~~~~~~~
../src/bin/unzip/inflate.c:945:16: note: ‘td’ declared here
945 | struct huft *td; /* distance code table */
| ^~
../src/bin/unzip/inflate.c:1103:3: warning: ‘tl’ may be used uninitialized [-Wmaybe-uninitialized]
1103 | huft_free(tl);
| ^~~~~~~~~~~~~
../src/bin/unzip/inflate.c:944:16: note: ‘tl’ declared here
944 | struct huft *tl; /* literal/length code table */
| ^~
../src/bin/unzip/inflate.c:1104:3: warning: ‘td’ may be used uninitialized [-Wmaybe-uninitialized]
1104 | huft_free(td);
| ^~~~~~~~~~~~~
../src/bin/unzip/inflate.c:945:16: note: ‘td’ declared here
945 | struct huft *td; /* distance code table */
| ^~
Cc objects/linux/x86_64/release/tools/unzip/beos.o
C++ objects/linux/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;
| ^~~~~~
C++ objects/linux/x86_64/release/tools/vmdkimage/vmdkimage.o
MergeObjectFromObjects1 objects/linux/x86_64/release/tools/fs_shell/fs_shell_kernel.o
../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 4097) into a destination of size 4096
1324 | sprintf( buff, "%s/%s", getcwd( cwd_buff, PATH_MAX ), file );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Archive objects/linux/x86_64/release/tools/fs_shell/fs_shell.a
ar: creating objects/linux/x86_64/release/tools/fs_shell/fs_shell.a
Ranlib objects/linux/x86_64/release/tools/fs_shell/fs_shell.a
../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 4097 equals destination size [-Wstringop-truncation]
324 | strncpy(fullPath + 5, file, sizeof(fullPath) - 5);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Link objects/linux/x86_64/release/tools/bfs_shell/bfs_shell
C++ objects/linux/x86_64/release/tools/rm_attrs.o
Link objects/linux/x86_64/release/tools/vmdkimage/vmdkimage
Chmod1 objects/linux/x86_64/release/tools/bfs_shell/bfs_shell
AddTargetVariableToScript1 <unique!target>_target_091
AddTargetVariableToScript1 <unique!target>_target_191
AddTargetVariableToScript1 <unique!target>_target_291
AddTargetVariableToScript1 <unique!target>_target_391
AddTargetVariableToScript1 <unique!target>_target_491
C++ objects/linux/x86_64/release/tools/package/command_add.o
Chmod1 objects/linux/x86_64/release/tools/vmdkimage/vmdkimage
C++ objects/linux/x86_64/release/tools/package/command_checksum.o
C++ objects/linux/x86_64/release/tools/package/command_create.o
C++ objects/linux/x86_64/release/tools/package/command_dump.o
../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);
| ^~~~
In function ‘zi_short’,
inlined from ‘zipinfo’ at ../src/bin/unzip/zipinfo.c:815:34:
../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: In function ‘zipinfo’:
../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);
| ^
In function ‘zi_short’,
inlined from ‘zipinfo’ at ../src/bin/unzip/zipinfo.c:815:34:
../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: In function ‘zipinfo’:
../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);
| ^
In function ‘zi_short’,
inlined from ‘zipinfo’ at ../src/bin/unzip/zipinfo.c:815:34:
../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: In function ‘zipinfo’:
../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);
| ^
In function ‘zi_short’,
inlined from ‘zipinfo’ at ../src/bin/unzip/zipinfo.c:815:34:
../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: In function ‘zipinfo’:
../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);
| ^
In function ‘zi_short’,
inlined from ‘zipinfo’ at ../src/bin/unzip/zipinfo.c:815:34:
../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: In function ‘zipinfo’:
../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);
| ^
In function ‘zi_short’,
inlined from ‘zipinfo’ at ../src/bin/unzip/zipinfo.c:815:34:
../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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Link objects/linux/x86_64/release/tools/rm_attrs_tmp
C++ objects/linux/x86_64/release/tools/package/command_extract.o
C++ objects/linux/x86_64/release/tools/package/command_info.o
C++ objects/linux/x86_64/release/tools/package/command_list.o
C++ objects/linux/x86_64/release/tools/package/command_recompress.o
Chmod1 objects/linux/x86_64/release/tools/rm_attrs_tmp
File objects/linux/x86_64/release/tools/rm_attrs
Chmod1 objects/linux/x86_64/release/tools/rm_attrs
C++ objects/linux/x86_64/release/tools/package/package.o
C++ objects/linux/x86_64/release/tools/package/PackageWriterListener.o
C++ objects/linux/x86_64/release/tools/package/PackageWritingUtils.o
C++ objects/linux/x86_64/release/build/libpackage/ActivateRepositoryCacheJob.o
C++ objects/linux/x86_64/release/build/libpackage/ActivateRepositoryConfigJob.o
C++ objects/linux/x86_64/release/build/libpackage/ActivationTransaction.o
C++ objects/linux/x86_64/release/build/libpackage/AddRepositoryRequest.o
C++ objects/linux/x86_64/release/build/libpackage/Attributes.o
C++ objects/linux/x86_64/release/build/libpackage/ChecksumAccessors.o
C++ objects/linux/x86_64/release/build/libpackage/CommitTransactionResult.o
...on 300th target...
Archive objects/linux/x86_64/release/tools/unzip/libunzip.a
C++ objects/linux/x86_64/release/build/libpackage/Context.o
ar: creating objects/linux/x86_64/release/tools/unzip/libunzip.a
Ranlib objects/linux/x86_64/release/tools/unzip/libunzip.a
Link objects/linux/x86_64/release/tools/unzip/unzip
C++ objects/linux/x86_64/release/build/libpackage/DownloadFileRequest.o
Chmod1 objects/linux/x86_64/release/tools/unzip/unzip
C++ objects/linux/x86_64/release/build/libpackage/DropRepositoryRequest.o
C++ objects/linux/x86_64/release/build/libpackage/FetchFileJob.o
C++ objects/linux/x86_64/release/build/libpackage/InstallationLocationInfo.o
C++ objects/linux/x86_64/release/build/libpackage/Job.o
C++ objects/linux/x86_64/release/build/libpackage/PackageInfo.o
C++ objects/linux/x86_64/release/build/libpackage/PackageInfoContentHandler.o
Archive objects/linux/x86_64/release/tools/rc/librdef.a
C++ objects/linux/x86_64/release/build/libpackage/PackageInfoParser.o
ar: creating objects/linux/x86_64/release/tools/rc/librdef.a
Ranlib objects/linux/x86_64/release/tools/rc/librdef.a
C++ objects/linux/x86_64/release/build/libpackage/PackageInfoSet.o
C++ objects/linux/x86_64/release/build/libpackage/PackageResolvable.o
Link objects/linux/x86_64/release/tools/rc/rc
C++ objects/linux/x86_64/release/build/libpackage/PackageResolvableExpression.o
C++ objects/linux/x86_64/release/build/libpackage/PackageRoster.o
Chmod1 objects/linux/x86_64/release/tools/rc/rc
AddTargetVariableToScript1 <unique!target>_target_591
AddTargetVariableToScript1 <unique!target>_target_691
AddTargetVariableToScript1 <unique!target>_target_791
AddTargetVariableToScript1 <unique!target>_target_891
AddTargetVariableToScript1 <unique!target>_target_991
C++ objects/linux/x86_64/release/build/libpackage/PackageVersion.o
C++ objects/linux/x86_64/release/build/libpackage/RefreshRepositoryRequest.o
C++ objects/linux/x86_64/release/build/libpackage/RemoveRepositoryJob.o
C++ objects/linux/x86_64/release/build/libpackage/RepositoryCache.o
C++ objects/linux/x86_64/release/build/libpackage/RepositoryConfig.o
C++ objects/linux/x86_64/release/build/libpackage/RepositoryInfo.o
C++ objects/linux/x86_64/release/build/libpackage/Request.o
C++ objects/linux/x86_64/release/build/libpackage/TempfileManager.o
C++ objects/linux/x86_64/release/build/libpackage/User.o
C++ objects/linux/x86_64/release/build/libpackage/ValidateChecksumJob.o
C++ objects/linux/x86_64/release/build/libpackage/AttributeDataReader.o
C++ objects/linux/x86_64/release/build/libpackage/BlockBufferPool.o
C++ objects/linux/x86_64/release/build/libpackage/BlockBufferPoolImpl.o
C++ objects/linux/x86_64/release/build/libpackage/BlockBufferPoolNoLock.o
C++ objects/linux/x86_64/release/build/libpackage/BufferPool.o
C++ objects/linux/x86_64/release/build/libpackage/PoolBuffer.o
C++ objects/linux/x86_64/release/build/libpackage/DataReader.o
C++ objects/linux/x86_64/release/build/libpackage/ErrorOutput.o
C++ objects/linux/x86_64/release/build/libpackage/FDDataReader.o
C++ objects/linux/x86_64/release/build/libpackage/FetchUtils.o
C++ objects/linux/x86_64/release/build/libpackage/GlobalWritableFileInfo.o
C++ objects/linux/x86_64/release/build/libpackage/HPKGDefs.o
C++ objects/linux/x86_64/release/build/libpackage/PackageContentHandler.o
C++ objects/linux/x86_64/release/build/libpackage/PackageData.o
C++ objects/linux/x86_64/release/build/libpackage/PackageDataReader.o
C++ objects/linux/x86_64/release/build/libpackage/PackageEntry.o
C++ objects/linux/x86_64/release/build/libpackage/PackageEntryAttribute.o
C++ objects/linux/x86_64/release/build/libpackage/PackageFileHeapAccessorBase.o
C++ objects/linux/x86_64/release/build/libpackage/PackageFileHeapReader.o
C++ objects/linux/x86_64/release/build/libpackage/PackageFileHeapWriter.o
C++ objects/linux/x86_64/release/build/libpackage/PackageReader.o
C++ objects/linux/x86_64/release/build/libpackage/PackageReaderImpl.o
C++ objects/linux/x86_64/release/build/libpackage/PackageWriter.o
C++ objects/linux/x86_64/release/build/libpackage/PackageWriterImpl.o
C++ objects/linux/x86_64/release/build/libpackage/ReaderImplBase.o
C++ objects/linux/x86_64/release/build/libpackage/RepositoryContentHandler.o
C++ objects/linux/x86_64/release/build/libpackage/RepositoryReader.o
C++ objects/linux/x86_64/release/build/libpackage/RepositoryReaderImpl.o
C++ objects/linux/x86_64/release/build/libpackage/RepositoryWriter.o
C++ objects/linux/x86_64/release/build/libpackage/RepositoryWriterImpl.o
C++ objects/linux/x86_64/release/build/libpackage/Strings.o
C++ objects/linux/x86_64/release/build/libpackage/UserSettingsFileInfo.o
C++ objects/linux/x86_64/release/build/libpackage/WriterImplBase.o
C++ objects/linux/x86_64/release/build/libpackage/HPKGDefsV1.o
C++ objects/linux/x86_64/release/build/libpackage/PackageContentHandlerV1.o
C++ objects/linux/x86_64/release/build/libpackage/PackageDataReaderV1.o
C++ objects/linux/x86_64/release/build/libpackage/PackageDataV1.o
C++ objects/linux/x86_64/release/build/libpackage/PackageEntryAttributeV1.o
C++ objects/linux/x86_64/release/build/libpackage/PackageEntryV1.o
C++ objects/linux/x86_64/release/build/libpackage/PackageInfoContentHandlerV1.o
C++ objects/linux/x86_64/release/build/libpackage/PackageReaderImplV1.o
C++ objects/linux/x86_64/release/build/libpackage/PackageReaderV1.o
C++ objects/linux/x86_64/release/build/libpackage/ReaderImplBaseV1.o
C++ objects/linux/x86_64/release/build/libpackage/NoErrorOutput.o
C++ objects/linux/x86_64/release/build/libpackage/StandardErrorOutput.o
C++ objects/linux/x86_64/release/build/libpackage/Exceptions.o
C++ objects/linux/x86_64/release/build/libpackage/RepositoryBuilder.o
C++ objects/linux/x86_64/release/build/libpackage/Solver.o
C++ objects/linux/x86_64/release/build/libpackage/SolverPackage.o
C++ objects/linux/x86_64/release/build/libpackage/SolverPackageSpecifier.o
C++ objects/linux/x86_64/release/build/libpackage/SolverPackageSpecifierList.o
C++ objects/linux/x86_64/release/build/libpackage/SolverProblem.o
C++ objects/linux/x86_64/release/build/libpackage/SolverProblemSolution.o
C++ objects/linux/x86_64/release/build/libpackage/SolverRepository.o
C++ objects/linux/x86_64/release/build/libpackage/SolverResult.o
C++ objects/linux/x86_64/release/tools/get_package_dependencies/get_package_dependencies.o
DownloadLocatedFile1 download/libsolv-0.3.0_haiku_2014_12_22-1-riscv64.hpkg
--2023-05-17 08:06:22-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/6ed86d8983c4078a3445a740c36b04cd04f9f77985676c1a974875fa70d24af4/packages/libsolv-0.3.0_haiku_2014_12_22-1-riscv64.hpkg
Resolving eu.hpkg.haiku-os.org (eu.hpkg.haiku-os.org)... 206.189.242.242
Connecting to eu.hpkg.haiku-os.org (eu.hpkg.haiku-os.org)|206.189.242.242|:443... connected.
DownloadLocatedFile1 download/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg
--2023-05-17 08:06:22-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/6ed86d8983c4078a3445a740c36b04cd04f9f77985676c1a974875fa70d24af4/packages/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg
HTTP request sent, awaiting response... Resolving eu.hpkg.haiku-os.org (eu.hpkg.haiku-os.org)... DownloadLocatedFile1 download/libsolv_source-0.3.0_haiku_2014_12_22-1-source.hpkg
DownloadLocatedFile1 download/mandoc-1.14.3-2-riscv64.hpkg
--2023-05-17 08:06:22-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/6ed86d8983c4078a3445a740c36b04cd04f9f77985676c1a974875fa70d24af4/packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source.hpkg
--2023-05-17 08:06:22-- https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/6ed86d8983c4078a3445a740c36b04cd04f9f77985676c1a974875fa70d24af4/packages/mandoc-1.14.3-2-riscv64.hpkg
206.189.242.242
Connecting to eu.hpkg.haiku-os.org (eu.hpkg.haiku-os.org)|206.189.242.242|:443... Resolving eu.hpkg.haiku-os.org (eu.hpkg.haiku-os.org)... Resolving eu.hpkg.haiku-os.org (eu.hpkg.haiku-os.org)... 404 Not Found
2023-05-17 08:06:22 ERROR 404: Not Found.
source="objects/haiku/riscv64/packaging/repositories/HaikuPorts-checksum"
wget --retry-connrefused --timeout 30 -O "download/libsolv-0.3.0_haiku_2014_12_22-1-riscv64.hpkg" https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/`cat $source`/packages/libsolv-0.3.0_haiku_2014_12_22-1-riscv64.hpkg || exit 1
touch "download/libsolv-0.3.0_haiku_2014_12_22-1-riscv64.hpkg"
...failed DownloadLocatedFile1 download/libsolv-0.3.0_haiku_2014_12_22-1-riscv64.hpkg ...
...removing download/libsolv-0.3.0_haiku_2014_12_22-1-riscv64.hpkg
206.189.242.242
Connecting to eu.hpkg.haiku-os.org (eu.hpkg.haiku-os.org)|206.189.242.242|:443... connected.
206.189.242.242
Connecting to eu.hpkg.haiku-os.org (eu.hpkg.haiku-os.org)|206.189.242.242|:443... connected.
connected.
HTTP request sent, awaiting response... HTTP request sent, awaiting response... HTTP request sent, awaiting response... 404 Not Found
2023-05-17 08:06:23 ERROR 404: Not Found.
source="objects/haiku/riscv64/packaging/repositories/HaikuPorts-checksum"
wget --retry-connrefused --timeout 30 -O "download/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg" https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/`cat $source`/packages/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg || exit 1
touch "download/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg"
...failed DownloadLocatedFile1 download/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg ...
...removing download/libsolv_devel-0.3.0_haiku_2014_12_22-1-riscv64.hpkg
404 Not Found
2023-05-17 08:06:23 ERROR 404: Not Found.
source="objects/haiku/riscv64/packaging/repositories/HaikuPorts-checksum"
wget --retry-connrefused --timeout 30 -O "download/libsolv_source-0.3.0_haiku_2014_12_22-1-source.hpkg" https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/`cat $source`/packages/libsolv_source-0.3.0_haiku_2014_12_22-1-source.hpkg || exit 1
touch "download/libsolv_source-0.3.0_haiku_2014_12_22-1-source.hpkg"
...failed DownloadLocatedFile1 download/libsolv_source-0.3.0_haiku_2014_12_22-1-source.hpkg ...
...removing download/libsolv_source-0.3.0_haiku_2014_12_22-1-source.hpkg
404 Not Found
2023-05-17 08:06:23 ERROR 404: Not Found.
source="objects/haiku/riscv64/packaging/repositories/HaikuPorts-checksum"
wget --retry-connrefused --timeout 30 -O "download/mandoc-1.14.3-2-riscv64.hpkg" https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/`cat $source`/packages/mandoc-1.14.3-2-riscv64.hpkg || exit 1
touch "download/mandoc-1.14.3-2-riscv64.hpkg"
...failed DownloadLocatedFile1 download/mandoc-1.14.3-2-riscv64.hpkg ...
...removing download/mandoc-1.14.3-2-riscv64.hpkg
Link /home/dan/src/haiku/generated.riscv64/objects/linux/lib/libpackage_build.so
Chmod1 /home/dan/src/haiku/generated.riscv64/objects/linux/lib/libpackage_build.so
Link objects/linux/x86_64/release/tools/package/package
Chmod1 objects/linux/x86_64/release/tools/package/package
AddTargetVariableToScript1 <unique!target>_target_002
BUILD FAILURE:
...failed updating 4 target(s)...
...skipped 44 target(s)...
...updated 390 target(s)...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment