[GH-ISSUE #6416] c compiler cannot create executables inside firejail #3270

Closed
opened 2026-05-05 09:52:39 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @osevan on GitHub (Jul 26, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6416

Im trying compile my apps inside container.

I have success when my path is /root/compile.

But, when i want compile under /usr/local/src/.... inside container c Compiler spits error.
But config.log creates with success inside container.

Thanks and

Best Regards

firejail --noprofile --read-write=/usr/local/src/php$PHPVERSIONSHORT-build/php-$PHPVERSION ./configure options...

firejail version 0.9.73

Parent pid 203116, child pid 203117
The new log directory is /proc/203117/root/var/log
Base filesystem installed in 1.17 ms
Child process initialized in 4.46 ms
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... no
configure: error: in /usr/local/src/php8.3-build/php-8.3.9': configure: error: C compiler cannot create executables See config.log' for more details

Parent is shutting down, bye...

Originally created by @osevan on GitHub (Jul 26, 2024). Original GitHub issue: https://github.com/netblue30/firejail/issues/6416 Im trying compile my apps inside container. I have success when my path is /root/compile. But, when i want compile under /usr/local/src/.... inside container c Compiler spits error. But config.log creates with success inside container. Thanks and Best Regards firejail --noprofile --read-write=/usr/local/src/php$PHPVERSIONSHORT-build/php-$PHPVERSION ./configure options... firejail version 0.9.73 Parent pid 203116, child pid 203117 The new log directory is /proc/203117/root/var/log Base filesystem installed in 1.17 ms Child process initialized in 4.46 ms checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for cc... cc checking whether the C compiler works... no configure: error: in `/usr/local/src/php8.3-build/php-8.3.9': configure: error: C compiler cannot create executables See `config.log' for more details Parent is shutting down, bye...
gitea-mirror 2026-05-05 09:52:39 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3270
No description provided.