fritteli / gentoo-overlay

https://gittr.ch/linux/gentoo-overlay
GNU General Public License v2.0
24 stars 7 forks source link

www-apps/gitlab-ce-8.5.0: bundler failed #33

Closed Kami-no closed 8 years ago

Kami-no commented 8 years ago

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.

tkurbad commented 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

fritteli commented 8 years ago

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.

fritteli commented 8 years ago

I've just pushed new ebuilds of gitlab-ceand 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!