Git Product home page Git Product logo

Comments (10)

kientzle avatar kientzle commented on May 10, 2024

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.

enriquefynn avatar enriquefynn commented on May 10, 2024

11.0-CURRENT FreeBSD 11.0-CURRENT #0 r263927

from crochet.

kientzle avatar kientzle commented on May 10, 2024

And what exactly was the config file you were using? And the command line you used?

from crochet.

kientzle avatar kientzle commented on May 10, 2024

Also, the progress messages before this should have printed out the Image name being used: What does that show?

from crochet.

enriquefynn avatar enriquefynn commented on May 10, 2024

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.

kientzle avatar kientzle commented on May 10, 2024

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.

kientzle avatar kientzle commented on May 10, 2024

Please try updating Crochet and try again. I believe this has been fixed.

from crochet.

enriquefynn avatar enriquefynn commented on May 10, 2024

Got the same error, in what file/line is the error?!

from crochet.

kientzle avatar kientzle commented on May 10, 2024

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.

kientzle avatar kientzle commented on May 10, 2024

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)

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.