#12006 closed defect (fixed)

BACKENDS: RASPBERRYPI: "sudo make install" crashes

Reported by: michas0602 Owned by: michas0602
Priority: normal Component: Port: Raspberry PI
Version: Keywords: compile make install
Cc: Game:


As written,
after compiling ScummVM (current daily) as written in your Wiki
(https://wiki.scummvm.org/index.php/Compiling_ScummVM/GCC )

a "sudo make install" is producing an error:
"Install -c -m 644 " user/local/lib/scummvm/"
"Install: Fehlender Zieldatei-Operand hinter '/usr/local/lib/scummvm/'"

Same on two different machines, amd64 and arm-architecture - both produce exactly the same errormessage.

Furthermore there are many, many warnings while compiling, and on arm/Raspberry the compiling breaks if Twine-engine is enabled.

System one is a Raspberry Pi 3, second is a Amd64 with latest Mint Mate OS.

Change History (10)

comment:1 by lotharsm, 20 months ago

Are you still able to replicate this or does compiling the latest master code works for you?

comment:2 by michas0602, 20 months ago

On my Raspberry Pi it definately was still a problem 2-3 days ago.
For arm64 I am not 100% sure, but when I am not wrong it was gone a few days ago, but I have to test again

comment:3 by sev-, 20 months ago

Priority: highnormal
Summary: "sudo make install" crashesRASPBERRYPI: "sudo make install" crashes

comment:4 by sev-, 20 months ago

Summary: RASPBERRYPI: "sudo make install" crashesBACKENDS: RASPBERRYPI: "sudo make install" crashes

comment:5 by sev-, 17 months ago

Component: Port: LinuxPort: Raspberry PI

comment:6 by antoniou79, 17 months ago

On our wiki we have a separate page for cross-compiling for RPi (for Raspbian OS) from a Linux host machine:

I, myself, have tested, heavily updated and expanded the existing instructions last year while building for my RPi 3B.

Additionally, a few months ago another community member under the nickname "Old Kid" wrote a detailed guide for cross compiling from Windows 10. I was helping with parts of the process, online from Discord, while they were following the steps, and updated our wiki where it made sense to clarify or add stuff as appropriate. Their very detailed guide is here:

I also have a Docker image for building for RPi, although the Dockerfile for that will need updating to include cross-compiling any new third party library dependencies, and the configure command should also set the "prefix" path for a distribution build (which will copy the additional needed files (eg. engine dat files, non-built in themes etc) in the target directory.

Note, that the Dockerfile uses a more straightforward method for cross-compilation; it essentially uses the standard Debian toolchain for armhf, instead of the older "official" one.

comment:7 by antoniou79, 17 months ago

Also note that if building natively on you RPi, aside for being too slow, the build also may run out of memory during the linking process. This is explained in Note 2 under Section Configuring ScummVM on the wiki page linked above.

Note 2: If building ScummVM directly on the Raspberry Pi / Raspbian itself, it's possible to run out of memory during the final linking process of the build. If GNU ld is used for compiling, then execute the following before running configure:

export LDFLAGS="-Wl,--no-keep-memory"
This tells GNU ld to optimize the linking for memory usage.

Disclaimer: I have not tested fully building ScummVM directly on RPi. It is a very slow process on my setup.

comment:8 by antoniou79, 17 months ago

A final note, as co-developer lephilousophe reminded me on Discord, our new Dockerised build-bot which is going live imminently has a RPi build which targets all RPIs, so expect dedicated stable and daily developer builds for RPi in the very near future (possibly within the week or the next couple of days!)

comment:9 by michas0602, 15 months ago

This could be closed I think as it seems to work fine atm

comment:10 by michas0602, 15 months ago

Owner: set to michas0602
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.