fluxengine icon indicating copy to clipboard operation
fluxengine copied to clipboard

make issue on linux mint 20.3

Open Pacardeoum opened this issue 7 months ago • 5 comments

pacardeoum@pacardeoum-MS-7887:~/Downloads/fluxengine-dev$ make AB loading build.py loading build/c.py loading build/utils.py loading build/toolchain.py loading build/protobuf.py loading build/pkg.py loading config.py fluxengine-testdata not found; skipping corpus tests Traceback (most recent call last): File "build/ab.py", line 647, in main() File "build/ab.py", line 639, in main loadbuildfile(f) File "build/ab.py", line 423, in loadbuildfile spec.loader.exec_module(module) File "build/ab.py", line 90, in exec_module super(SourceFileLoader, self).exec_module(module) File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "build.py", line 99, in items={ TypeError: unsupported operand type(s) for |: 'dict' and 'dict' make: *** No rule to make target '+all', needed by 'all'. Stop.

all my packages are up to date, I don't know if I'm missing some obvious step to making this work or not

Pacardeoum avatar Apr 25 '25 02:04 Pacardeoum

okay many such cases: i may have found the issue after posting. dug through closed issues and my 3.8.2 python3 version is probably the issue here, getting 3.13 set up now, hopefully that solves this

Pacardeoum avatar Apr 25 '25 02:04 Pacardeoum

okay accidentally closed this issue, i got python 3.13.3 set up and now i getting a whole new error

pacardeoum@pacardeoum-MS-7887:~/Downloads/fluxengine-dev$ make AB loading build.py loading build/c.py loading build/utils.py loading build/toolchain.py loading build/protobuf.py loading build/pkg.py loading config.py fluxengine-testdata not found; skipping corpus tests loading dep/fmt/build.py loading src/build.py loading dep/adflib/build.py loading dep/agg/build.py loading dep/fatfs/build.py loading dep/hfsutils/build.py loading dep/libusbp/build.py loading dep/stb/build.py loading lib/config/build.py loading lib/core/build.py loading lib/external/build.py loading lib/decoders/build.py loading arch/build.py loading lib/fluxsink/build.py loading lib/encoders/build.py loading lib/fluxsource/build.py loading lib/imagereader/build.py loading lib/imagewriter/build.py loading lib/usb/build.py loading lib/vfs/build.py loading lib/data/build.py loading lib/algorithms/build.py loading src/formats/build.py loading scripts/build.py loading tests/build.py loading src/gui/build.py loading extras/build.py loading build/zip.py loading src/gui/drivetypes/build.py loading tools/build.py loading dep/snowhouse/build.py [1/682] CHEADERS dep/hfsutils/+hfsutils_hdr [2/682] CHEADERS dep/agg/+agg_hdr [3/682] CHEADERS lib/config/+config_hdr [4/682] PROTO lib/config/+common_proto [5/682] CHEADERS lib/vfs/+vfs_hdr [6/682] CHEADERS arch/+arch_ibm_hdr [7/682] PROTO lib/external/+fl2_proto [8/682] CHEADERS arch/+arch_victor9k_hdr [9/682] CHEADERS lib/external/+external_hdr [10/682] CHEADERS lib/algorithms/+algorithms_hdr [11/682] CHEADERS lib/data/+data_hdr [12/682] CHEADERS arch/+arch_micropolis_hdr [13/682] CHEADERS +protocol_hdr [14/682] CHEADERS lib/decoders/+decoders_hdr [15/682] CHEADERS arch/+arch_macintosh_hdr [16/682] CHEADERS arch/+arch_aeslanier_hdr [17/682] CHEADERS dep/adflib/+adflib_hdr [18/682] CHEADERS arch/+arch_agat_hdr [19/682] CHEADERS arch/+arch_fb100_hdr [20/682] CHEADERS dep/libusbp/+libusbp_hdr [21/682] CHEADERS dep/fatfs/+fatfs_hdr [22/682] CHEADERS lib/usb/+usb_hdr [23/682] CHEADERS arch/+arch_rolandd20_hdr [24/682] CHEADERS arch/+arch_f85_hdr [25/682] CHEADERS lib/fluxsink/+fluxsink_hdr [26/682] CHEADERS lib/core/+core_hdr [27/682] CHEADERS arch/+arch_tartu_hdr [28/682] CHEADERS dep/stb/+stb_hdr [29/682] CHEADERS arch/+arch_smaky6_hdr [30/682] CHEADERS arch/+arch_amiga_hdr [31/682] CHEADERS arch/+arch_northstar_hdr [32/682] CHEADERS arch/+arch_c64_hdr [33/682] CHEADERS arch/+arch_apple2_hdr [34/682] CHEADERS arch/+arch_hdr [35/682] CHEADERS lib/encoders/+encoders_hdr [36/682] CHEADERS arch/+arch_zilogmcz_hdr [37/682] CHEADERS arch/+arch_brother_hdr [38/682] CHEADERS lib/imagewriter/+imagewriter_hdr [39/682] CHEADERS lib/imagereader/+imagereader_hdr [40/682] CHEADERS arch/+arch_tids990_hdr [41/682] CHEADERS arch/+arch_mx_hdr [42/682] CHEADERS lib/fluxsource/+fluxsource_hdr [43/682] MKTABLE src/formats/+table_cc [44/682] OBJECTIFY extras/+icon_h [45/682] OBJECTIFY extras/+fluxfile_h [46/682] OBJECTIFY extras/+imagefile_h [47/682] OBJECTIFY extras/+hardware_h [48/682] MKTABLE src/gui/drivetypes/+drivetypes_table_cc [49/682] CHEADERS dep/snowhouse/+snowhouse_hdr [50/682] PROTOCC lib/config/+common_proto_lib_srcs [51/682] PROTO lib/fluxsink/+proto [52/682] PROTO arch/+proto_mx [53/682] PROTO arch/+proto_c64 Only one of --descriptor_set_in and --proto_path can be specified. make: *** [.obj/unix/build.mk:2168: .obj/unix/lib/config/+common_proto_lib_srcs/hash_9e20f265eceb739f0bc9a1747528f05442a71eb2] Error 1 make: *** Waiting for unfinished jobs.... Only one of --descriptor_set_in and --proto_path can be specified. make: *** [.obj/unix/build.mk:2017: .obj/unix/lib/fluxsink/+proto/hash_28e29559d2a8dc3ab85cee6b2572da85bea7482d] Error 1 Only one of --descriptor_set_in and --proto_path can be specified. make: *** [.obj/unix/build.mk:1860: .obj/unix/arch/+proto_c64/hash_ce62d6e32344f7bbda64f5a8aeeb6ad53cc4a053] Error 1 Only one of --descriptor_set_in and --proto_path can be specified. make: *** [.obj/unix/build.mk:1826: .obj/unix/arch/+proto_mx/hash_1d8167a9ba67148d70206c031907c0079e3de254] Error 1

Pacardeoum avatar Apr 25 '25 04:04 Pacardeoum

The basic problem is that your distribution is really old --- you need a more modern Python (as you've found) and protobuf tools. I should add some better version checks, though, so it at least tells you why the build failed.

davidgiven avatar Apr 25 '25 15:04 davidgiven

Wait. You need a very new python to even build the client? I don‘t even got it to recognize the installed C libs … I give up.

elosha avatar Jun 07 '25 14:06 elosha

The | operator was added in 3.9, which dates from 2020, and is the oldest supported Python. That does not count as 'very new'.

davidgiven avatar Jun 07 '25 14:06 davidgiven