Code Monkey home page Code Monkey logo

asdf-thrift's People

Contributors

alisaifee avatar hurou927 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hurou927

asdf-thrift's Issues

Compilation fails because of unused variable

Hi, the following happens on both M1 and Intel Macs:

❯ asdf install thrift 0.13.0
Downloading source.....
Configuring build....
Compiling with flags -j16....
/Users/foo/.asdf/installs/thrift/0.13.0/src/compiler/cpp/src/thrift/thrifty.yy:1.1-5: warning: POSIX Yacc does not support %code [-Wyacc]
    1 | %code requires {
      | ^~~~~
src/thrift/generate/t_java_generator.cc:5369:9: error: variable 'j' set but not used [-Werror,-Wunused-but-set-variable]
    int j = 0;
        ^
1 error generated.
make[2]: *** [src/thrift/generate/thrift-t_java_generator.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
asdf-thrift: An error ocurred while installing thrift 0.13.0. See /var/folders/lf/dtnk7rp90rgc24_9pr6n8rkh0000gn/T//thrift-install-0.13.0.txt

Getting the same error for at least Thrift versions 0.13.0, 0.15.0, and 0.18.1 -- except that the line number for the unused variable is different.

Something like -Wno-unused-variable could bypass this, but I couldn't find how to pass options to asdf build.

System:

MacOS Ventura 13.4.

❯ gcc --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

No rule to make target `install`

$ asdf install thrift latest

Downloading source.....
Configuring build....
Compiling with flags -j10....
make: *** No rule to make target `install'.  Stop.
asdf-thrift: An error ocurred while installing thrift 0.16.0.

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.