Coder Social home page Coder Social logo

Comments (16)

ladislas avatar ladislas commented on July 27, 2024

Yup, I can confirm that, but the error logs are far from helpful...

@jacquesg or @obra do you have an idea of what could go wrong?

from homebrew-avr.

jacquesg avatar jacquesg commented on July 27, 2024

This is in the error log:

2018-08-25 09:34:51 +0200

make
install
DESTDIR=/usr/local/Cellar/simavr/HEAD-b3a8e8f
HOMEBREW_PREFIX=/usr/local
RELEASE=1

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C simavr install RELEASE=1 DESTDIR=/usr/local/Cellar/simavr/HEAD-b3a8e8f PREFIX=/usr/local/Cellar/simavr/HEAD-b3a8e8f
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C examples/parts install RELEASE=1 DESTDIR=/usr/local/Cellar/simavr/HEAD-b3a8e8f PREFIX=/usr/local/Cellar/simavr/HEAD-b3a8e8f
fatal: No names found, cannot describe anything.
mkdir -p /usr/local/Cellar/simavr/HEAD-b3a8e8f/include/simavr/parts
install -m644 *.h /usr/local/Cellar/simavr/HEAD-b3a8e8f/include/simavr/parts/
install obj-x86_64-apple-darwin17.7.0/libsimavrparts.a /usr/local/Cellar/simavr/HEAD-b3a8e8f/lib/
install: /usr/local/Cellar/simavr/HEAD-b3a8e8f/lib/: No such file or directory
make[1]: *** [install] Error 71
make: *** [install-parts] Error 2
make: *** Waiting for unfinished jobs....
/Applications/Xcode.app/Contents/Developer/usr/bin/make obj config
fatal: No names found, cannot describe anything.
make[2]: Nothing to be done for `obj'.
make[2]: Nothing to be done for `config'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make libsimavr run_avr
fatal: No names found, cannot describe anything.
make[2]: Nothing to be done for `libsimavr'.
LD obj-x86_64-apple-darwin17.7.0/run_avr.elf
ln -sf obj-x86_64-apple-darwin17.7.0/run_avr.elf run_avr
mkdir -p /usr/local/Cellar/simavr/HEAD-b3a8e8f/include/simavr/avr
install -m644 sim/*.h /usr/local/Cellar/simavr/HEAD-b3a8e8f/include/simavr/
install -m644 sim_core_*.h /usr/local/Cellar/simavr/HEAD-b3a8e8f/include/simavr/
install -m644 sim/avr/*.h /usr/local/Cellar/simavr/HEAD-b3a8e8f/include/simavr/avr/
mkdir -p /usr/local/Cellar/simavr/HEAD-b3a8e8f/lib
install obj-x86_64-apple-darwin17.7.0/libsimavr.a /usr/local/Cellar/simavr/HEAD-b3a8e8f/lib/
mkdir -p /usr/local/Cellar/simavr/HEAD-b3a8e8f/lib/pkgconfig/
sed -e "s|PREFIX|/usr/local/Cellar/simavr/HEAD-b3a8e8f|g" -e "s|VERSION|unknown|g" \
                simavr-avr.pc >/usr/local/Cellar/simavr/HEAD-b3a8e8f/lib/pkgconfig/simavr-avr.pc
sed -e "s|PREFIX|/usr/local/Cellar/simavr/HEAD-b3a8e8f|g" -e "s|VERSION|unknown|g" \
                simavr.pc >/usr/local/Cellar/simavr/HEAD-b3a8e8f/lib/pkgconfig/simavr.pc
mkdir -p /usr/local/Cellar/simavr/HEAD-b3a8e8f/bin
install obj-x86_64-apple-darwin17.7.0/run_avr.elf /usr/local/Cellar/simavr/HEAD-b3a8e8f/bin/simavr

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

I'm not using simarv myself and don't have much time to investigate.

@patrickelectric feel free to propose a PR with a fix.

Closing the issue for now.

from homebrew-avr.

patrickelectric avatar patrickelectric commented on July 27, 2024

the problem still exist and in my mind the issue should be open until a solution appears, I don't see why closing, this will only make people to create new issues based on this one.

Besides that, I can take a look if someone points the way to go.

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

I reopened it but as I said I don’t know how to fix this and I don’t have time.

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

I can confirm that your fix fixed it 👍

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

I've changed the formulae to point to your fix while we wait for the PR to be accepted here: buserror/simavr#306

from homebrew-avr.

patrickelectric avatar patrickelectric commented on July 27, 2024

Is someone maintaining https://github.com/buserror/simavr ?

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

@patrickelectric doesn't seem so...

If you want, we could fork it under osx-cross and apply your changes here.

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

@patrickelectric as your PR has been merged, the issue is now resolved.

Thanks for your help! :)

from homebrew-avr.

patrickelectric avatar patrickelectric commented on July 27, 2024

You can check the status here:
buserror/simavr#306

Since this last merge is from my personal simavr fork with multiple personal merges.

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

Oh yeah my bad!

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

@patrickelectric buserror/simavr#306 has been closed...

any chance we could fix that in the formula? and a line to do this $(MKDIR) $(DESTDIR)/lib/pkgconfig?

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

@patrickelectric closing the issue now. Feel free to open a PR with a fix.

from homebrew-avr.

patrickelectric avatar patrickelectric commented on July 27, 2024

Well, the simavr dev does not want to fix it and also does not want to merge my PR with the fix. No idea about the actual status and I'm not using it anymore.

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

@patrickelectric as I don't like having a broken formula, I decided to tackle the bug. The solution was actually super simple: set ENV.deparallelize before calling make.

https://docs.brew.sh/Formula-Cookbook#bad-makefiles

It now works like a charm.

from homebrew-avr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.