Good day!
After move to the version 22.05 I found 2 problems in scrcpy app (which I used as a sample for my own)
1. Incorrect fix of run file:
--- /var/services/homes/admin/gen/22.05/repos/world/run/scrcpy.run 2022-06-03 12:27:27.438797613 +0300
+++ /var/services/homes/admin/gen/21.11/repos/world/run/scrcpy.run 2021-12-13 16:29:17.534528834 +0300
@@ -201,13 +201,16 @@
<affinity-space width="4"/>
<parent-provides>
<service name="ROM"/>
+ <service name="RAM"/>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="IO_PORT"/>
+ <service name="CAP"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
+ <service name="SIGNAL"/>}
append_if $use_trace config {
<service name="TRACE"/>}
Pay attention that you remove accidentally }
1. After fix of the above I found another problem:
Library base
Program drivers/nic/virtio/spec/x86/virtio_pci_nic
make[1]: Leaving directory '/var/services/homes/admin/gen/22.05/build/x86_64'
genode build completed
checking configuration syntax
CHECK init
CHECK init -> nic_router
using 'core-nova.a' as 'core.a'
error copying "bin/ipxe_nic_drv": no such file or directory
while executing
"file copy -force $src $dst"
(procedure "copy_file" line 2)
invoked from within
"copy_file bin/[kernel_specific_binary $binary] [run_dir]/genode/$binary"
(procedure "copy_genode_binaries_to_run_dir" line 4)
invoked from within
"copy_genode_binaries_to_run_dir $modules"
(procedure "build_core_image" line 12)
invoked from within
"build_core_image $binaries"
(procedure "run_boot_dir" line 26)
invoked from within
"run_boot_dir $binaries"
(procedure "build_boot_image" line 35)
invoked from within
"build_boot_image $boot_modules"
(file "/var/services/homes/admin/gen/22.05/repos/world/run/scrcpy.run" line 584)
invoked from within
"source $include_name"
("foreach" body line 6)
invoked from within
"foreach include_name [get_cmd_arg --include ""] {
# first check if the include name is absolute
if {[string first "/" $include_name] == 0} {
puts ..."
(file "/var/services/homes/admin/gen/22.05/tool/run/run" line 1155)
make: *** [Makefile:421: run/scrcpy] Error 1
make: Leaving directory '/var/services/homes/admin/gen/22.05/build/x86_64'
Any idea how to fix?
Hello Alexander,
On Fri, Jun 03, 2022 at 11:31:24 CEST, Alexander Tormasov via users wrote:
- Incorrect fix of run file:
[...]
Pay attention that you remove accidentally }
Sorry for my laziness - I fixed this bug now in genode-world branch staging.
- After fix of the above I found another problem:
error copying "bin/ipxe_nic_drv": no such file or directory
[...]
Any idea how to fix?
It seems your build directory is not configured to include repos/dde_ipxe in REPOSITORIES. Therefore, 'make drivers/nic' does not produce ipxe_nic_drv. Adding the following line to etc/build.conf should help.
REPOSITORIES += $(GENODE_DIR)/repos/dde_ipxe
Regards