Created attachment 168913 [details]
the devel/simavr port
simavr is an AVR simulator useful for prototyping of an AVR project. It uses avr-gcc's own register definition to simplify creating new targets for supported AVR devices.
In the port, I added an optional, disabled-by-default patch for now that's pending as a pull request and will probably be included in the next release, it makes the debugging output facility of simavr thread-safe.
Building the port using poudriere fails to build. On 9.3 the build fails really hard:
93a [00:00:05] ====>> Warning: (devel/simavr): "Makefile", line 59: missing `in' in for
[00:00:05] ====>> Warning: (devel/simavr): ELF in hd77480 charlcd i2ctest i2ctest ledramp ledramp simduino simduino ssd1306 ssd1306demo timer_64led timer_64led
[00:00:05] ====>> Warning: (devel/simavr): "Makefile", line 68: for-less endfor
[00:00:05] ====>> Warning: (devel/simavr): make: fatal errors encountered -- cannot continue
"Makefile", line 59: missing `in' in for
ELF in hd77480 charlcd i2ctest i2ctest ledramp ledramp simduino simduino ssd1306 ssd1306demo timer_64led timer_64led
"Makefile", line 68: for-less endfor
make: fatal errors encountered -- cannot continue
The other build failures see:
Can you check, maybe test with poudriere and update the port ?
Hi, thanks a lot for the logs, I already have a pretty good idea what's causing this. If it's true, I'll have to find a better way of installing the examples because I'm obviously using some newer "make" feature. Sorry for not using poudriere myself, it's planned as soon as my main server is switched to FreeBSD (in a few months) -- but in this case I feel quite positive about fixing the issue properly from the logs. Expect a corrected version soon.
Created attachment 169028 [details]
the devel/simavr port (fixed)
Here's the fixed version. It took me a bit longer because, although the 9.3 build error was pretty obvious, the others weren't, so I had to setup a vm for poudriere testing.
* use Makefile syntax 9.3 make understands
* patch upstream Makefile for parallel builds
* add missing dependencies on bash and pkgconf
testbuilds are fine.
A commit references this bug:
Date: Wed Apr 6 16:09:06 UTC 2016
New revision: 412631
New port: devel/simavr
This is a port of simavr, an AVR simulator using avr-gcc's register
Submitted by: Felix Palmen <firstname.lastname@example.org>