Comments (10)
This looks like an old bug in the code that tries to determine which version of FreeBSD you are building.
What FreeBSD source version do you have checked out?
from crochet.
11.0-CURRENT FreeBSD 11.0-CURRENT #0 r263927
from crochet.
And what exactly was the config file you were using? And the command line you used?
from crochet.
Also, the progress messages before this should have printed out the Image name being used: What does that show?
from crochet.
I used the default config
./crochet.sh -b RaspberryPi -v
====================> Phase 301 <====================
Running: OPTION= OPTIONDIR= BOARDDIR= board_default_create_image
eval: arithmetic expression: expecting primary: "([0-9][0-9]).$/\1/p'`-RPI-B-r263927.img / 1000000"
There was no other error.
Full log: http://pastebin.com/G8xXYMK9
from crochet.
Early in the log, it prints out:
Image name is:
/home/fynn/GIT/crochet-freebsd/work/FreeBSD-armv6-10.0
\([0-9][0-9]*\).*$/\1/p'`-RPI-B-r263927.img
We need to figure out why ${IMG} is getting set so strangely.
I'll look into it...
from crochet.
Please try updating Crochet and try again. I believe this has been fixed.
from crochet.
Got the same error, in what file/line is the error?!
from crochet.
The default IMG value is set in lib/board.sh by this line:
IMG=${WORKDIR}/FreeBSD-${TARGET_ARCH}-${FREEBSD_VERSION}-${KERNCONF}-${SOURCE_VERSION}.img
Comparing to the image name you have, it looks like ${FREEBSD_VERSION} is 10.0 and ${KERNCONF} is "RPI-B" and I have no idea how the \([0-9][0-9]*\).*$/\1/p'
is getting in there.
It really looks like you either have an old version of something (I think something like that regex used be used to compute FREEBSD_VERSION, but it was changed a long time ago) or something is corrupted somewhere.
Can you find that regex anywhere in your system?
What does 'git log -1' show your current revision of Crochet is?
Does 'git status --ignored' show any changes to your local copy of Crochet?
I recommend you try checking out a clean copy of Crochet and see if that helps.
from crochet.
I've not heard any other reports, so I suspect this was fixed at some point.
If you see it again, please open another issue and I'll take another look.
from crochet.
Related Issues (20)
- Can't boot BPI-M3 v1.2
- Already installed sysutils/u-boot-bananapi but still being asked to HOT 3
- armv6 build fails with libc++ problems (tried RPI-B and Cubieboard1)
- u-boot/u-boot-rpi3/armstub8.bin HOT 5
- Installworld failed:ERROR: Required ntpd user is missing HOT 12
- Should offer a 'clean' option
- Crochet can't see installed port u-boot-rpi HOT 2
- STABLE-12 blows up during RPI3 build
- Add lzop as compression option to CompressImage
- Question: odroid c1
- installworld failure of 12-STABLE / RPi3
- option PackageInit fails if option Resolv isn't set and there is no /etc/resolv.conf in the overlay
- option PackageInit fails for https repos
- Check for all u-boot boards if boot.scr is copied to fat partition
- RPI4 support HOT 3
- Instructions for ports u-boot install incorrect HOT 1
- FreeBSD sources expected at /usr/src HOT 1
- Is this project still being maintained? HOT 1
- Any support for Nano Pi Neo3 ?
- Can crochet run from Linux? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crochet.