Closed Kami-no closed 8 years ago
The "real" error occurs much earlier in the build:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby21 extconf.rb
checking for gmake... yes
Building Rugged using system libraries.
libgit2 version is not compatible, expected ~> 0.23.0
In fact, the build doesn't accept the installed libgit2-0.24.0_rc1 as valid, nor would it compile with the older 0.23.x versions.
The easiest way to resolve the issue seems not to set the 'rugged_use_system_libraries' USE flag on the gitlab-ce ebuild, although this counterfeits Gentoo philosophy not to allow private library versions.
Best, Torsten
Hi all I'm sorry, I seem to have created a faulty ebuild for libgit2. @tkurbad is right, try disabling the rugged_use_system_libraries USE flag as a quick-fix. Meanwhile, I'm working on new ebuilds that should fix the build failure.
Sorry for the inconvenience.
I've just pushed new ebuilds of gitlab-ce
and libgit2
.
On my server (https://gittr.ch), I've successfully installed gitlab-ce-8.5.0-r1
with USE=-rugged_use_system_libraries
, so I don't know if the ebuilds for libgit2
actually works. If in doubt, disable the rugged-USE-flag.
I'll close this issue, as I could successfully upgrade. If you still encounter problems, either open a new issue or re-open this one.
And thanks a lot for reporting the error!
Installing haml 4.0.7 Installing fog-core 1.35.0 An error occurred while installing rugged (0.24.0b13), and Bundler cannot continue. Make sure that
gem install rugged -v '0.24.0b13'
succeeds before bundling.emerge --info '=www-apps/gitlab-ce-8.5.0::fritteli'
,emerge -pqv '=www-apps/gitlab-ce-8.5.0::fritteli'
. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =gitlab-ce-8.5.0