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

Travis failed to build yosys on OSX: makefile-conda-config.patch failed #7

Closed
RobertBaruch opened this issue Feb 1, 2020 · 3 comments

Comments

@RobertBaruch
Copy link
Contributor

Applying patch: '/private/tmp/conda/syn/yosys/makefile-conda-config.patch'
Trying to apply patch as-is
INFO:conda_build.source:Trying to apply patch as-is
patching file Makefile
Hunk #1 succeeded at 229 (offset 8 lines).
Hunk #2 succeeded at 519 (offset 8 lines).
Hunk #3 succeeded at 901 (offset 8 lines).
patching file tests/arch/ecp5/mux.ys
patching file tests/arch/efinix/mux.ys
Hunk #1 FAILED at 30.
1 out of 1 hunk FAILED -- saving rejects to file tests/arch/efinix/mux.ys.rej
Applying patch: '/private/tmp/conda/syn/yosys/disable-failing-ecp5-mux.patch'
Applying patch: '/private/tmp/conda/syn/yosys/skip-mux16-efinix-test.patch'
Warning: failed to download source.  If building, will try again after downloading recipe dependencies.
Error was: 
Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/private/tmp/conda/syn/yosys/skip-mux16-efinix-test.patch']' returned non-zero exit status 1.
@RobertBaruch RobertBaruch changed the title Travis failed to build yosys Travis failed to build yosys: outdated makefile-conda-config.patch Feb 1, 2020
@RobertBaruch
Copy link
Contributor Author

@RobertBaruch
Copy link
Contributor Author

RobertBaruch commented Feb 1, 2020

Interestingly, in a fresh docker instance, it seems to patch just fine?

Edit: In docker I'm presumably compiling for Linux only. And apparently the failure doesn't happen on Linux or Windows, but for OSX. So unless the file being patched is OS-specific, I'm not sure why it would fail...

@RobertBaruch RobertBaruch changed the title Travis failed to build yosys: outdated makefile-conda-config.patch Travis failed to build yosys on OSX: makefile-conda-config.patch failed Feb 1, 2020
@mithro
Copy link
Member

mithro commented Feb 2, 2020

Looks like as you discovered this patch was only used on OS X.

umarcor pushed a commit that referenced this issue May 23, 2022
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

2 participants