Opened 6 months ago

Last modified 5 months ago

#15043 new bug

jam -q clean fails due to rm argument list length

Reported by: kallisti5 Owned by: bonefish
Priority: low Milestone: Unscheduled
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Under Haiku, jam -q clean fails due to the rm argument list being too long.

~/haiku> jam -q clean
HOST_PYTHON variable not defined --> will default to 'python' 
Starting build of type regular ... 
Skipping setjmp_test2.S test on non-x86 
...patience...
...found 1 target(s)...
...updating 1 target(s)...
Clean clean 
/bin/sh: line 1: /bin/rm: Argument too big

rm -f "generated/objects/haiku/x86_64/common/add-ons/disk_systems/bfs/BFSAddOn.rsrc" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/bfs/bfs" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/bfs/BFSAddOn.o" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/bfs/InitializeParameterEditor.o" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/bfs/bfs_disk_system.o" "generated/objects/haiku/x86_64/common/add-ons/disk_systems/fat/FATAddOn.rsrc" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/fat/fat" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/fat/FATAddOn.o" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/fat/InitializeParameterEditor.o" "generated/objects/haiku/x86_64/common/add-ons/disk_systems/gpt/GPTDiskAddOn.rsrc" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/gpt/gpt" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/gpt/GPTDiskSystem.o" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/gpt/GPTDiskAddOn.o" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/gpt/GPTPartitionHandle.o" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/gpt/utility.o" "generated/objects/haiku/x86_64/common/add-ons/disk_systems/intel/IntelDiskAddOn.rsrc" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/intel/intel" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/intel/IntelDiskSystem.o" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/intel/ExtendedPartitionAddOn.o" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/intel/PartitionMapAddOn.o" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/intel/PrimaryParameterEditor.o" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/intel/PartitionMap.o" "generated/objects/haiku/x86_64/common/add-ons/disk_systems/ntfs/NTFSAddOn.rsrc" "generated/objects/haiku/x86_64/release/add-ons/disk_systems/ntfs/ntfs"

Change History (2)

comment:1 by ttcoder, 6 months ago

IIRC jam has a "piecemeal" modifier for problems like this one; wonder if it could help here (or maybe it's already in use but no succeeding?)

grep piecemeal /system/documentation/packages/jam/*

comment:2 by waddlesplash, 5 months ago

Clean already is piecemeal: actions piecemeal together existing Clean

We may need to tweak some internal limit, or bash.

Note: See TracTickets for help on using tickets.