Giter VIP home page Giter VIP logo

Comments (1)

BlakeMScurr avatar BlakeMScurr commented on June 10, 2024

Details:

Describe the bug
An integer overflow error in the codelingo/clql dependency cause 32bit flow builds to fail.

To Reproduce
Steps to reproduce the behavior:

  1. Go to codelingo/sdk/flow in the CLI
  2. Run ./buildall.sh

Expected behavior
All binaries in the flow folder to update.

Actual Behavior

Only 64bit builds succeeded. The command showed build errors:

./buildall.sh 
+ path=/home/matt/go
+ [[ -z /home/matt/go ]]
+ codelingoPath=/home/matt/go/src/github.com/codelingo/codelingo
+ v='
windows,386;linux,386;"'
+ version=0.0.0
+ for owner in '$codelingoPath/flows/*/'
+ for d in '$owner*/'
+ cd /home/matt/go/src/github.com/codelingo/codelingo/flows/codelingo/docs/
+ echo 'windows,386;linux,386;"'
+ IFS=,
+ read '-d;' os arch
+ cd /home/matt/go/src/github.com/codelingo/codelingo/flows/codelingo/docs/
+ '[' windows == windows ']'
+ ext=.exe
+ binpath=./bin/windows/386/0.0.0
+ mkdir -p ./bin/windows/386/0.0.0
+ GOOS=windows
+ GOARCH=386
+ go build -o ./bin/windows/386/0.0.0/cmd.exe
# github.com/codelingo/codelingo/vendor/github.com/codelingo/clql/inner
../../../vendor/github.com/codelingo/clql/inner/inner_parser.go:1980: constant 4294967294 overflows int
../../../vendor/github.com/codelingo/clql/inner/inner_parser.go:1980: constant 4160749567 overflows int
../../../vendor/github.com/codelingo/clql/inner/inner_parser.go:1980: constant 4294967295 overflows int
+ cd ./bin/windows/386/0.0.0
+ filename=cmd.exe
+ '[' windows == windows ']'
+ fn=cmd.exe.zip
+ rm ./bin/windows/386/0.0.0/cmd.exe.zip
rm: cannot remove './bin/windows/386/0.0.0/cmd.exe.zip': No such file or directory
+ zip cmd.exe.zip cmd.exe

zip error: Nothing to do! (cmd.exe.zip)
+ rm cmd.exe
rm: cannot remove 'cmd.exe': No such file or directory
+ cd ..
+ IFS=,
+ read '-d;' os arch
+ cd /home/matt/go/src/github.com/codelingo/codelingo/flows/codelingo/docs/
+ '[' linux == windows ']'
+ ext=
+ binpath=./bin/linux/386/0.0.0
+ mkdir -p ./bin/linux/386/0.0.0
+ GOOS=linux
+ GOARCH=386
+ go build -o ./bin/linux/386/0.0.0/cmd
# github.com/codelingo/codelingo/vendor/github.com/codelingo/clql/inner
../../../vendor/github.com/codelingo/clql/inner/inner_parser.go:1980: constant 4294967294 overflows int
../../../vendor/github.com/codelingo/clql/inner/inner_parser.go:1980: constant 4160749567 overflows int
../../../vendor/github.com/codelingo/clql/inner/inner_parser.go:1980: constant 4294967295 overflows int

from codelingo.

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.