Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing through MAKE_JOBS_UNSAFE #452

Open
computeronix opened this issue Jan 28, 2025 · 1 comment
Open

Allow passing through MAKE_JOBS_UNSAFE #452

computeronix opened this issue Jan 28, 2025 · 1 comment
Labels
support Community support

Comments

@computeronix
Copy link
Contributor

computeronix commented Jan 28, 2025

When building for certain environments, such as the Raspberry Pi, I need to pass through the argument "MAKE_JOBS_UNSAFE=yes"

Whats interesting is i ran this command

make base kernel packages arm-3G DEVICE=RPI MAKE_JOBS_UNSAFE=yes DEBUG=1

in the build console information it shows that it captured this as a variable

"MAKE_JOBS_UNSAFE=yes"

However I hit an error building the package that needs this argument - emacs-29.4

gmake[1]: *** [Makefile:414: advice-on-failure] Error 2
gmake[1]: Leaving directory '/usr/obj/usr/ports/editors/emacs/work-nox/emacs-29.4'
gmake: *** [Makefile:370: all] Error 2
[20250127150651] ===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Note: if I run the emacs package manually with the MAKE_JOBS_UNSAFE=yes command, it works properly

Workaround:
No workaround can be found yet - stuck

Can you allow this to be passed through or maybe I did something wrong?

@fichtner fichtner added the support Community support label Jan 28, 2025
@computeronix
Copy link
Contributor Author

computeronix commented Jan 30, 2025

Wasn't able to get around this

if I run make arm-3G DEVICE=RPI

it still errors out, even if I manually build emacs, using

cd /usr/ports/editors/emacs
sudo make deinstall
sudo make clean
sudo make MAKE_JOBS_UNSAFE=yes install clean

It sucessfully builds emacs, but I can't get around the opnsense script failing on emacs

I even tried installing emacs system-wide but the script didn't detect it:

...
checking for emacs... no
checking for xemacs... no
...

I ran ->
emacs --version

response:
GNU Emacs 29.4
Copyright (C) 2024 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Community support
Development

No branches or pull requests

2 participants