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

gmake fails; can't eval MOZCONFIG #96

Open
JR1994 opened this issue Feb 12, 2022 · 4 comments
Open

gmake fails; can't eval MOZCONFIG #96

JR1994 opened this issue Feb 12, 2022 · 4 comments

Comments

@JR1994
Copy link

JR1994 commented Feb 12, 2022

I am trying to build Arctic Fox on NetBSD 9.2 macppc on my PowerMac G4. when I run the command gmake -f client.mk buid I get the following error.

client.mk:117: *** missing separator. Stop.

Here is the section of code

# As $(shell) doesn't preserve newlines, use sed to replace them with an       
# unlikely sequence (||), which is then replaced back to newlines by make       
# before evaluation. $(shell) replacing newlines with spaces, || is always     
# followed by a space (since sed doesn't remove newlines), except on the       
# last line, so replace both '|| ' and '||'.                                   
# Also, make MOZ_PGO available to mozconfig when passed on make command line.   
# Likewise for MOZ_CURRENT_PROJECT.                                             
MOZCONFIG_CONTENT := $(subst ||,$(CR),$(subst || ,$(CR),$(shell $(addprefix MOZ_CURRENT_PROJECT=,$(MOZ_CURRENT_PROJECT)) MOZ_PGO=$(MOZ_PGO) $(TOPSRCDIR)/mach environment --format=client.mk | sed 's/$$/||/')))
$(eval $(MOZCONFIG_CONTENT)) 

Tried to google this and came up empty handed.

@rmottola
Copy link
Owner

would you mind installing python 2.7 and using the command "./mach build" which is the recommended way to build AF like FF?

@rmottola
Copy link
Owner

rmottola commented Jun 5, 2023

NetBSD 9.2 is supported on Intel just fine. Linux compiles PPC, so if you care diving into this issue...
Have you got autoconf 2.13 pytin 2.5 and other dependencies?<

Try building with: ./mach build instead of of hard running the make file like TTF suggests.

@rmottola
Copy link
Owner

@JR1994 would you mind trying using python2.7 and mach? ArcitcFox compiles fine on i386, amd64 and sparc64 on NetBSD, so for sure the build system is working.

@rmottola
Copy link
Owner

rmottola commented Dec 9, 2024

@JR1994 no update since years from you, but I now am able to build on NetBSD PPC, i386, amd64 myself, somehow "officially supported".
Would you mind testing? otherwise I will close the bug for timeout in the next days.

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

No branches or pull requests

3 participants
@JR1994 @rmottola and others