You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/09/02 01:53:48 UTC

[GitHub] [incubator-devlake] lshmouse opened a new issue, #2929: [Bug][Plugins] The build of plugin failed for wrong git2go version

lshmouse opened a new issue, #2929:
URL: https://github.com/apache/incubator-devlake/issues/2929

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   
   ```
   $ make build-plugin
   Usage: 
     build all plugins:              scripts/compile-plugins.sh [golang build flags...]
     build and keep one plugin only: PLUGIN=jira scripts/compile-plugins.sh [golang build flags...]
   Building plugin ae to bin/plugins/ae/ae.so
   Building plugin dbt to bin/plugins/dbt/dbt.so
   Building plugin feishu to bin/plugins/feishu/feishu.so
   Building plugin gitee to bin/plugins/gitee/gitee.so
   Building plugin gitextractor to bin/plugins/gitextractor/gitextractor.so
   Building plugin github to bin/plugins/github/github.so
   Building plugin gitlab to bin/plugins/gitlab/gitlab.so
   Building plugin icla to bin/plugins/icla/icla.so
   Building plugin jenkins to bin/plugins/jenkins/jenkins.so
   Building plugin jira to bin/plugins/jira/jira.so
   Building plugin org to bin/plugins/org/org.so
   Building plugin refdiff to bin/plugins/refdiff/refdiff.so
   Building plugin starrocks to bin/plugins/starrocks/starrocks.so
   Building plugin tapd to bin/plugins/tapd/tapd.so
   # pkg-config --cflags  -- libgit2
   Package libgit2 was not found in the pkg-config search path.
   Perhaps you should add the directory containing `libgit2.pc'
   to the PKG_CONFIG_PATH environment variable
   No package 'libgit2' found
   pkg-config: exit status 1
   Makefile:25: recipe for target 'build-plugin' failed
   make: *** [build-plugin] Error 2
   
   After sudo apt-get install libgit2-dev 
   
   $ make build-plugin
   Usage: 
     build all plugins:              scripts/compile-plugins.sh [golang build flags...]
     build and keep one plugin only: PLUGIN=jira scripts/compile-plugins.sh [golang build flags...]
   Building plugin ae to bin/plugins/ae/ae.so
   Building plugin dbt to bin/plugins/dbt/dbt.so
   Building plugin feishu to bin/plugins/feishu/feishu.so
   Building plugin gitee to bin/plugins/gitee/gitee.so
   Building plugin gitextractor to bin/plugins/gitextractor/gitextractor.so
   Building plugin github to bin/plugins/github/github.so
   Building plugin gitlab to bin/plugins/gitlab/gitlab.so
   Building plugin icla to bin/plugins/icla/icla.so
   Building plugin jenkins to bin/plugins/jenkins/jenkins.so
   Building plugin jira to bin/plugins/jira/jira.so
   Building plugin org to bin/plugins/org/org.so
   Building plugin refdiff to bin/plugins/refdiff/refdiff.so
   Building plugin starrocks to bin/plugins/starrocks/starrocks.so
   Building plugin tapd to bin/plugins/tapd/tapd.so
   # github.com/libgit2/git2go/v33
   ../../go/pkg/mod/github.com/libgit2/git2go/v33@v33.0.6/Build_system_dynamic.go:12:3: error: #error "Invalid libgit2 version; this git2go supports libgit2 between v1.3.0 and v1.3.0"
    # error "Invalid libgit2 version; this git2go supports libgit2 between v1.3.0 and v1.3.0"
      ^~~~~
   Makefile:25: recipe for target 'build-plugin' failed
   make: *** [build-plugin] Error 2
   ```
   
   ### What you expected to happen
   
   The build can be successful
   
   ### How to reproduce
   
   `make build-plugin` on ubunut Ubuntu 18.04.6 LTS 
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.12.0
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] lshmouse commented on issue #2929: [Bug][Build] The build of plugin failed for wrong git2go version

Posted by GitBox <gi...@apache.org>.
lshmouse commented on issue #2929:
URL: https://github.com/apache/incubator-devlake/issues/2929#issuecomment-1235030551

   > @lshmouse please see the libgit2 installtion docs: https://devlake.apache.org/docs/Plugins/refdiff#development
   
   Thanks your pointing out.  The builds are passed, thanks~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] abeizn commented on issue #2929: [Bug][Build] The build of plugin failed for wrong git2go version

Posted by GitBox <gi...@apache.org>.
abeizn commented on issue #2929:
URL: https://github.com/apache/incubator-devlake/issues/2929#issuecomment-1235012709

   @lshmouse please check the docs: https://devlake.apache.org/docs/Plugins/refdiff#development


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] lshmouse closed issue #2929: [Bug][Build] The build of plugin failed for wrong git2go version

Posted by GitBox <gi...@apache.org>.
lshmouse closed issue #2929: [Bug][Build] The build of plugin failed for wrong git2go version
URL: https://github.com/apache/incubator-devlake/issues/2929


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org