I had another topic here mentioning a build issue where the username “user” was hard coded into the build script. I am not building my Whonix VM modules under that username. Hence in attempting to build from source I have again run into a step where the process attempts to create files in /home/user. Here is the recent error:
/usr/share/genmkfile/makefile-full:68 recipe for target deb-icup failed.
It’s trying to create /home/user/whonix_binary because line 68 of makefile-full refers to make-helper.bsh. Inside that file there are two lines hard coded for username “user” at lines 366 and 367 of the file. This comes during build step 1200_create-debian-packages The make-helper.bsh file originates at https://github.com/Whonix/genmkfile/blob/master/usr/share/genmkfile/make-helper.bsh if that helps.
Is the username “user” hard coded into much of the build scripts for Whonix 14? I think I will take a look at the rest of the build steps to see how much more the username is hard coded. I am hoping once the hard coded username issues get resolved it will build successfully.
Sorry if I placed this in the wrong section. I am trying to build for target qcow2 (KVM), but I imagine username “user” is hard coded for all build targets?
Edit: I checked the rest of the build step scripts and none of the others have username “user” hard coded in. So hopefully if make-helper.bsh can be fixed maybe I can get a successful build?
Edit 2: I tried changing the value of lines 366 and 367 in make-helper.bsh, but they keep getting overwritten to the hard coded username value. Where is this coming from? I’m trying to dig into the code, but lost at this point.