gobolinux / Compile

The GoboLinux build tool
52 stars 15 forks source link

Compile: does not symlink each sub recipes in a meta recipe #30

Open ghost opened 5 years ago

ghost commented 5 years ago

I've been experimenting with building my own updated ISO of GoboLinux using GoboALFS and this bug has been inconvenient for when building meta recipes like Xorg-Lib, where certain packages within the meta recipe depend on one and another and it requires that each individual package to be symlinked each time so that dependent programs/libs can detect the dependencies.

To temporarily get around this problem, I had to manually use Compile for each recipe in the meta recipe and have it detect and build automatically for the meta recipe sub-directory in /Programs.

lucasvr commented 5 years ago

There are actually two issues related to that bug. First, Compile runs in a sandbox environment, and the creation of the sandbox seems to be happening in the wrong place when it comes to building meta recipes. Second, we need to modify Compile to include the option "symlink_each_time=yes" when building meta recipes.

The second issue needs to be addressed while taking into consideration the automatic respawn of Compile using the Runner virtualization tool. There are some tricky details that we need to take into account to fix this bug, but it is indeed a major one that should be fixed soon. Thanks for the report.

hishamhm commented 5 years ago

Second, we need to modify Compile to include the option "symlink_each_time=yes" when building meta recipes.

In fact, I have this exact modification done in a local branch (using this exact name symlink_each_time=yes). I haven't done much testing on it, though. I opened #31 with it, it was a small modification.