Giter VIP home page Giter VIP logo

go-urbit's People

Contributors

bacwyls avatar stephenlacy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

go-urbit's Issues

urcrypt autogen.sh - configure.ac:116: error: required file 'liburcrypt.pc.in' not found

On an M1 MacBook Pro running Monterey (12.4) I get the following error:

$ ./urcrypt/autogen.sh
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
glibtoolize: copying file 'build-aux/ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
glibtoolize: copying file 'build-aux/m4/libtool.m4'
glibtoolize: copying file 'build-aux/m4/ltoptions.m4'
glibtoolize: copying file 'build-aux/m4/ltsugar.m4'
glibtoolize: copying file 'build-aux/m4/ltversion.m4'
glibtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:47: installing 'build-aux/compile'
configure.ac:44: installing 'build-aux/missing'
configure.ac:116: error: required file 'liburcrypt.pc.in' not found
Makefile.am: installing 'build-aux/depcomp'
Makefile.am:23: error: 'pkgconfig_DATA' is used but 'pkgconfigdir' is undefined
autoreconf: error: automake failed with exit status: 1

Any ideas?

Jam edge case

Jam produces a bad result for some nouns. I havent found the exact cause but an example is
[[[1 1] 2 2] 2 2]

using dojo:

> (jam [[[1 1] 2 2] 2 2])
3.886.480.388.885
> (cue 3.886.480.388.885)
[[[1 1] 2 2] 2 2]

some debug prints using go-urbit for the same task:

original: [[[1 1] 2 2] 2 2]
jammed:  5054711493397
cued:  %!v(PANIC=String method: runtime error: invalid memory address or nil pointer dereference)

I believe it is a failure in creating a nounmap reference for a repeated noun, in this case [2 2]. but it has to do with the location of the copy, because it works correctly on [[2 2] 2 2] for instance.

BTW, I threw together a NounFromString func which is useful in creating these test nouns:
https://gist.github.com/bacwyls/8c268b0d64b5d52bb160ead7ad6e9068

To verify that it's not an issue with my NounFromString, I reproduced the same issue using native go-urbit noun creation

  a := []interface{}{1, 1}
  b := []interface{}{2, 2}
  ab := noun.MakeNoun([]interface{}{a, b}) 
  n := noun.MakeNoun([]interface{}{ab, b})

which produced the same error

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.