Code Monkey home page Code Monkey logo

gentoo-overlay's People

Contributors

dev-0x7c6 avatar fritteli avatar g0dscookie avatar jkolo avatar kaindl avatar kami-no avatar xificurk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gentoo-overlay's Issues

Gitlab: .secret file gone

After upgrade from 8.10 to 8.11 file .secret has gone.

Update from 8.11.0 to 8.11.1 planed to wipe DB with:
/usr/bin/ruby /usr/bin/bundle exec rake db:setup RAILS_ENV=production

Touched /opt/gitlab/.secret

Successfully upgraded. But file .secret has gone.

Same during upgrade from 8.11.1 to 8.11.2 - touched file has gone away again (but ebuild require it for upgrade or it'll wipe DB).

gitlabhq-8.0.3 migrations failure

Failed to run migration commands...
emerge --config "=www-apps/gitlabhq-8.0.3"

  • ERROR: www-apps/gitlabhq-8.0.3::fritteli failed (config phase):
  • failed to run rake db:migrate
  • Call stack:
  • ebuild.sh, line   93:  Called pkg_config
    
  • environment, line 4382: Called exec_rake 'db:migrate'
  • environment, line 1951: Called die
  • The specific snippet of code:
  •      ${command}" || die "failed to run rake $@"
    
  • If you need support, post the output of emerge --info '=www-apps/gitlabhq-8.0.3::fritteli',
  • the complete build log and the output of emerge -pqv '=www-apps/gitlabhq-8.0.3::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 =gitlabhq-8.0.3
  • The complete build log is located at '/var/tmp/portage/www-apps/gitlabhq-8.0.3/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/www-apps/gitlabhq-8.0.3/temp/environment'.
  • Working directory: '/usr/lib64/python3.4/site-packages'
  • S: '/var/tmp/portage/www-apps/gitlabhq-8.0.3/work/gitlabhq-8.0.3'

https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update/patch_versions.md
sudo -u git -H bundle install --without development test postgres --deployment
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production

Missing db_key_base for 'production' environment. The secrets will be generated and stored in config/secrets.yml
rake aborted!
Errno::EACCES: Permission denied @ rb_sysopen - config/secrets.yml
/opt/gitlab/config/initializers/secret_token.rb:45:in initialize' /opt/gitlab/config/initializers/secret_token.rb:45:inopen'
/opt/gitlab/config/initializers/secret_token.rb:45:in <top (required)>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:241:inload'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:241:in block in load' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:232:inload_dependency'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:241:in load' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/engine.rb:648:inblock in load_config_initializer'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/notifications.rb:161:in instrument' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/engine.rb:647:inload_config_initializer'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/engine.rb:612:in block (2 levels) in <class:Engine>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/engine.rb:611:ineach'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/engine.rb:611:in block in <class:Engine>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/initializable.rb:30:ininstance_exec'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/initializable.rb:30:in run' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/initializable.rb:55:inblock in run_initializers'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/initializable.rb:44:in each' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/initializable.rb:44:intsort_each_child'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/initializable.rb:54:in run_initializers' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/application.rb:300:ininitialize!'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/railtie.rb:194:in public_send' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/railtie.rb:194:inmethod_missing'
/opt/gitlab/config/environment.rb:5:in <top (required)>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:inrequire'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in block in require' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:232:inload_dependency'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in require' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/application.rb:276:inrequire_environment!'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.1.12/lib/rails/application.rb:405:in `block in run_tasks_blocks'
Tasks: TOP => gitlab:check => gitlab:gitlab_shell:check => environment
(See full trace by running task with --trace)

http://doc.gitlab.com/ce/migrate_ci_to_ce/README.html
how:secrets problem (Omnibus-only)
If you see errors like this:
Missing secret_key_base or db_key_base for 'production' environment. The secrets will be generated and stored in config/secrets.yml
rake aborted!
Errno::EACCES: Permission denied @ rb_sysopen - config/secrets.yml
This can happen if you are updating from versions prior to 7.13 straight to 8.0. The fix for this is to update to Omnibus 7.14 first and then update it to 8.0.

I've got latest 7.14 I suppose...

gitlab-runner

https://download.docker.com/linux/static/stable/aarch64/

IUSE="-docker-build" docker is mildly stale but built ... however since on iot device works well...
hoping to upgrade iot board to one that can run docker etc.. ie 4-16 gigs ..

anycase trying to build MottainaiCI
agent requiring the depend.. albeit with a good dose of hacks...

echo "/::fritteli ~arm64" >> /etc/portage/package.accept_keywords/fritteli

gitlab-runner-10.3.1-1.xpak.zip wich is a working result.. not sure if its the ebuild or upstream..

GitLab & error 401

Have this problem - https://github.com/gitlabhq/gitlabhq/issues/8261

$ git push
Access denied.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Check result

Running /usr/share/gitlab-shell/bin/check
Check GitLab API access: FAILED. code: 401
gitlab-shell self-check failed
  Try fixing it:
  Make sure GitLab is running;
  Check the gitlab-shell configuration file:
  sudo -u git -H editor /usr/share/gitlab-shell/config.yml
  Please fix the error above and rerun the checks.

GitLab 7.5.3 + GitLab-Shell 2.3.1

Secret scripts are

ls /etc/gitlab-6/initializers/*secret*

Secret codes are

ls /opt/gitlab-6/.*secret*

gitlabhq: error bundling timfel-krb5-auth (0.8.3)

Hi, I'm having trouble installing gilabhq on up-to-date stable amd64 system (gitlabhq was not installed before, so it's a fresh new install). Bundler fails in install phase of the ebuild with:

An error occurred while installing timfel-krb5-auth (0.8.3), and Bundler cannot continue.

Complete build log is here: https://www.dropbox.com/s/fnuhlux5ht95erd/gitlabhq.build.log?dl=0

I would appreciate any ideas about what the problem might be. Anyway, thanks for the ebuild!

No manifest for scalix-community-11.3.0.ebuild

Updating cache for overlay: fritteli * Manifest not found for '/var/lib/layman/fritteli/net-misc/scalix-community/scalix-community-11.3.0.ebuild'

Not using it. Just don't like warnings =)

gitlab-shell-2.0.1 An unexpected error occurred (redis-cli returned 1).

$ git push
Counting objects: 7, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 475 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: GitLab: An unexpected error occurred (redis-cli returned 1).
To [email protected]:root/quest.git
348cf92..f144201 dev -> dev

To fix it you need in /etc/gitlab-shell.yml comment the line

socket: /var/run/redis/redis.sock # Comment out this line if you want to use TCP

BTW it was even in older versions.

No such file or directory @ realpath_rec - /home/git

Hi guys,

trying to install first time gitlab. Followed all steps in emerge info for a fresh install and now im stuck at emerging the config...There is indeed no /home/git directory....
Anyone a idea whats wrong here?

emerge --config "=www-apps/gitlab-ce-9.0.2"


Configuring pkg...

 * Checking configuration files
 * Migrating database ...
   /usr/bin/ruby /usr/bin/bundle exec rake db:migrate RAILS_ENV=production NODE_ENV=production
D, [2017-04-01T16:42:23.521652 #14156] DEBUG -- sentry: ** [Raven] No such file or directory @ realpath_rec - /home/git excluded from capture due to environment or should_capture callback
rake aborted!
Errno::ENOENT: No such file or directory @ realpath_rec - /home/git
/opt/gitlab/config/initializers/6_validations.rb:6:in `realpath'
/opt/gitlab/config/initializers/6_validations.rb:6:in `realpath'
/opt/gitlab/config/initializers/6_validations.rb:6:in `find_parent_path'
/opt/gitlab/config/initializers/6_validations.rb:34:in `block in validate_storages'
/opt/gitlab/config/initializers/6_validations.rb:19:in `each'
/opt/gitlab/config/initializers/6_validations.rb:19:in `validate_storages'
/opt/gitlab/config/initializers/6_validations.rb:41:in `<top (required)>'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:268:in `load'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:268:in `block in load'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:240:in `load_dependency'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:268:in `load'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/engine.rb:652:in `block in load_config_initializer'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/notifications.rb:166:in `instrument'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/engine.rb:651:in `load_config_initializer'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/engine.rb:615:in `each'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/engine.rb:615:in `block in <class:Engine>'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:30:in `instance_exec'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:30:in `run'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:55:in `block in run_initializers'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:44:in `each'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:44:in `tsort_each_child'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/initializable.rb:54:in `run_initializers'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:352:in `initialize!'
/opt/gitlab/config/environment.rb:5:in `<top (required)>'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `require'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `block in require'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:240:in `load_dependency'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `require'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:328:in `require_environment!'
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/railties-4.2.8/lib/rails/application.rb:457:in `block in run_tasks_blocks'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
 * ERROR: www-apps/gitlab-ce-9.0.2::fritteli failed (config phase):
 *   failed to run rake db:migrate
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called pkg_config
 *   environment, line 4262:  Called exec_rake 'db:migrate'
 *   environment, line 1860:  Called die
 * The specific snippet of code:
 *   		${command}" || die "failed to run rake $@"
 * 
 * If you need support, post the output of `emerge --info '=www-apps/gitlab-ce-9.0.2::fritteli'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/gitlab-ce-9.0.2::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-9.0.2
 * The complete build log is located at '/var/tmp/portage/www-apps/gitlab-ce-9.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/gitlab-ce-9.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/www-apps/gitlab-ce-9.0.2/homedir'
 * S: '/var/tmp/portage/www-apps/gitlab-ce-9.0.2/work/gitlab-ce-9.0.2'

www-servers/gitlab-gitaly - Missing dependency for bundler

www-servers/gitlab-gitaly is fails to build because bundler is missing as dependency:

>>> Compiling source in /var/portage/tmp/portage/www-servers/gitlab-gitaly-0.38.0-r1/work/gitlab-gitaly-0.38.0 ... make -j9 if test -z "" ; then cd ruby && bundle config --local path vendor/bundle; fi /bin/sh: bundle: command not found

Please add dev-ruby/bundler to DEPENDS.

Workaround (without changing the ebuild): emerge -1av dev-ruby/bundler

www-apps/gitlabhq: Missing archive_repo sidekiq queue in ebuild

Gitlab 7.10 introduced a new sidekiq queue that handles ZIP generation. Without it, an attempt at downloading a repo ZIP ends in an endless HTTP 302 redirect loop.
Should I fix the ebuilds (in a pull rq) without renaming or should I make -r1 versions?

www-apps/gitlabhq-7.8.4: File collisions (systemd)

  • Detected file collision(s):
    *
  • /usr/lib/tmpfiles.d/gitlab.conf
  • /usr/lib/systemd/system/gitlab-sidekiq.service
  • /usr/lib/systemd/system/gitlab-unicorn.service
  • Searching all installed packages for file collisions...
    *
  • Press Ctrl-C to Stop
    *
  • www-apps/gitlabhq-7.8.1:6::fritteli
  • /usr/lib/systemd/system/gitlab-sidekiq.service
  • /usr/lib/systemd/system/gitlab-unicorn.service
  • /usr/lib/tmpfiles.d/gitlab.conf
  • Package 'www-apps/gitlabhq-7.8.4' NOT merged due to file collisions.
  • If necessary, refer to your elog messages for the whole content of the
  • above message.

gitlab mail_room not started

mail_room is never started.

This is a proposed patch to test the existence of /etc/default/gitlab, and make sure that
it contains "mail_room_enabled=true" just like the documentation says.

--- gitlab      2015-10-17 14:27:03.084539117 +0200
+++ gitlab      2015-10-17 14:48:22.851893855 +0200
@@ -13,12 +13,19 @@
 : ${sidekiq_logfile:="/var/log/gitlab/sidekiq.log"}
 : ${sidekiq_queues:="post_receive,mailer,archive_repo,system_hook,project_web_hook,gitlab_shell,common,default"}

+: ${mail_room_pidfile:="/run/gitlab/mail_room.pid"}
+: ${mail_room_logfile:="/var/log/gitlab/mail_room.log"}
+: ${mail_room_config:="/etc/gitlab/mail_room.yml"}
+
 server_command="/usr/bin/bundle"
 server_command_args="exec unicorn_rails -c ${gitlab_base}/config/unicorn.rb -E ${rails_env} -D"

 sidekiq_command="/usr/bin/bundle"
 sidekiq_command_args="exec sidekiq -q ${sidekiq_queues//,/ -q } -P ${sidekiq_pidfile} -L ${sidekiq_logfile}"

+mail_room_command="/usr/bin/bundle"
+mail_room_command_args="exec mail_room -q -c ${mail_room_config} >> ${mail_room_logfile} 2>&1"
+
 depend() {
        provide gitlab
        need redis
@@ -49,9 +56,32 @@
                --env RAILS_ENV=${rails_env} \
                --exec ${sidekiq_command} -- ${sidekiq_command_args}
        eend $?
+        if [ -e /etc/default/gitlab ]; then
+                . /etc/default/gitlab
+                if [ "${mail_room_enabled}" == "true" ]; then
+                        ebegin "Starting ${name} - mail_room"
+
+                        start-stop-daemon --start \
+                                --background --quiet \
+                                --chdir "${gitlab_base}" \
+                                --user=${gitlab_user} \
+                                --pidfile="${mail_room_pidfile}" \
+                                --env RAILS_ENV=${rails_env} \
+                                --exec ${mail_room_command} -- ${mail_room_command_args}
+                        eend $?
+                fi
+        fi
+
 }

 stop() {
+        ebegin "Stopping ${name} - mail_room"
+        start-stop-daemon --stop \
+                --signal QUIT \
+                --pidfile=${mail_room_pidfile} \
+                --exec ${mail_room_command}
+        eend $?
+
        ebegin "Stopping ${name} - Sidekiq"
        start-stop-daemon --stop \
                --pidfile=${sidekiq_pidfile} \

www-apps/gitlabhq-7.9.3: Your Gemfile lists the gem charlock_holmes (>= 0) more than once.

[ebuild NS ~] www-apps/gitlabhq-7.9.3:0::fritteli [7.8.1:6::fritteli] USE="mysql systemd unicorn -postgres" RUBY_TARGETS="ruby20 -ruby21" 0 KiB

Install gitlabhq-7.9.3 into /var/tmp/portage/www-apps/gitlabhq-7.9.3/image/ category www-apps

  • Running install phase for all ...
  • Running bundle install --deployment --without development test aws postgres ...
    Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all
    non-root users on this machine.
    Your Gemfile lists the gem charlock_holmes (>= 0) more than once.
    You should probably keep only one of them.
    While it's not a problem now, it could cause errors if you change the version of just one of them later.
    You cannot specify the same gem twice coming from different sources.
    You specified that charlock_holmes (>= 0) should come from https://github.com/brianmario/charlock_holmes.git (at dde1946) and
  • ERROR: www-apps/gitlabhq-7.9.3::fritteli failed (install phase):
  • bundler failed

mail_room does not exit

Hello,

when trying to stop the gitlab service, the mail_room process won't be stopped as shown below.

service gitlab stop

  • Stopping GitLab - mail_room ... [ ok ]
  • Stopping GitLab - Sidekiq ... [ ok ]
  • Stopping GitLab - Unicorn servers ... [ ok ]

ps axfu | grep [m]ail_room
git 12668 22.0 1.5 655652 245752 ? Ssl 20:05 0:09 ruby21 /opt/gitlab/vendor/bundle/ruby/2.1.0/bin/mail_room -q -c /etc/gitlab/mail_room.yml >> /var/log/gitlab/mail_room.log 2>&1

gitlab-shell-2.2.0 failure

$ git push
/usr/share/gitlab-shell/lib/gitlab_net.rb:122:in read': No such file or directory - /usr/share/gitlab-shell/.gitlab_shell_secret (Errno::ENOENT) from /usr/share/gitlab-shell/lib/gitlab_net.rb:122:insecret_token'
from /usr/share/gitlab-shell/lib/gitlab_net.rb:96:in post' from /usr/share/gitlab-shell/lib/gitlab_net.rb:27:inallowed?'
from /usr/share/gitlab-shell/lib/gitlab_shell.rb:63:in validate_access' from /usr/share/gitlab-shell/lib/gitlab_shell.rb:24:inexec'
from /usr/share/gitlab-shell/bin/gitlab-shell:16:in `

'
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

$ git pull
/usr/share/gitlab-shell/lib/gitlab_net.rb:122:in read': No such file or directory - /usr/share/gitlab-shell/.gitlab_shell_secret (Errno::ENOENT) from /usr/share/gitlab-shell/lib/gitlab_net.rb:122:insecret_token'
from /usr/share/gitlab-shell/lib/gitlab_net.rb:96:in post' from /usr/share/gitlab-shell/lib/gitlab_net.rb:27:inallowed?'
from /usr/share/gitlab-shell/lib/gitlab_shell.rb:63:in validate_access' from /usr/share/gitlab-shell/lib/gitlab_shell.rb:24:inexec'
from /usr/share/gitlab-shell/bin/gitlab-shell:16:in `

'
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

No problems with 2.0.1

PS: which repo is the freshest?

www-apps/gitlabhq error with gem rugged

Hello,

I'm running into a problem where the installation is failing because installing the rugged gem is failing for some reason. There's a forum thread suggesting it's an incompatibility with the libgit version:

http://forums.gentoo.org/viewtopic-t-1010718-view-previous.html?sid=4b625820730905f1734ff0d9cb0498e9

Any idea what's wrong there?

Thanks

>>> Emerging (19 of 19) www-apps/gitlabhq-7.7.1::fritteli
 * gitlabhq-7.7.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking gitlabhq-7.7.1.tar.gz to /var/tmp/portage/www-apps/gitlabhq-7.7.1/work/all
>>> Source unpacked in /var/tmp/portage/www-apps/gitlabhq-7.7.1/work
>>> Preparing source in /var/tmp/portage/www-apps/gitlabhq-7.7.1/work ...
 * Running prepare phase for all ...
 * Applying gitlabhq-7.7.1-fix-gemfile.patch ...                                                                                                                                                                                       [ ok ]
 * Applying gitlabhq-7.7.1-fix-project-name-regex.patch ...                                                                                                                                                                            [ ok ]
 * Applying gitlabhq-6.0.2-fix-sendmail-config.patch ...                                                                                                                                                                               [ ok ]
 * Applying gitlabhq-7.0.0-email-custom-reply_to.patch ...                                                                                                                                                                             [ ok ]
 * Running source copy phase for ruby20 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-apps/gitlabhq-7.7.1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-apps/gitlabhq-7.7.1/work ...
>>> Source compiled.
>>> Test phase [not enabled]: www-apps/gitlabhq-7.7.1

>>> Install gitlabhq-7.7.1 into /var/tmp/portage/www-apps/gitlabhq-7.7.1/image/ category www-apps
 * Running install phase for all ...
 * Running bundle install --deployment --without development test aws mysql ...
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
Fetching source index from https://rubygems.org/
Fetching https://github.com/brianmario/charlock_holmes.git
Installing rake 10.3.2
Installing RedCloth 4.2.9
Installing ace-rails-ap 2.0.1
Installing i18n 0.6.11
Installing json 1.8.1
Installing minitest 5.3.5
Installing thread_safe 0.3.4
Installing tzinfo 1.2.2
Installing activesupport 4.1.1
Installing builder 3.2.2
Installing erubis 2.7.0
Installing actionview 4.1.1
Installing rack 1.5.2
Installing rack-test 0.6.2
Installing actionpack 4.1.1
Installing mime-types 1.25.1
Installing polyglot 0.3.4
Installing treetop 1.4.15
Installing mail 2.5.4
Installing actionmailer 4.1.1
Installing activemodel 4.1.1
Installing arel 5.0.1.20140414130214
Installing activerecord 4.1.1
Using bundler 1.7.3
Installing thor 0.19.1
Installing railties 4.1.1
Installing hike 1.2.3
Installing multi_json 1.10.1
Installing tilt 1.4.1
Installing sprockets 2.11.0
Installing sprockets-rails 2.1.3
Installing rails 4.1.1
Installing acts-as-taggable-on 2.4.1
Installing addressable 2.3.5
Installing asciidoctor 0.1.4
Installing attr_required 1.0.0
Installing descendants_tracker 0.0.3
Installing ice_nine 0.10.0
Installing axiom-types 0.0.5
Installing bcrypt 3.1.7
Installing sass 3.2.19
Installing bootstrap-sass 3.0.3.0
Installing browser 0.7.2
Installing carrierwave 0.9.0
Installing timers 1.1.0
Installing celluloid 0.15.2
Using charlock_holmes 0.6.9.4 from https://github.com/brianmario/charlock_holmes.git (at dde1946)
Installing coercible 1.0.0
Installing coffee-script-source 1.6.3
Installing execjs 2.0.2
Installing coffee-script 2.2.0
Installing coffee-rails 4.0.1
Installing colored 1.2
Installing connection_pool 2.1.0
Installing creole 0.3.8
Installing d3_rails 3.1.10
Installing default_value_for 3.0.0
Installing orm_adapter 0.5.0
Installing warden 1.2.3
Installing devise 3.2.4
Installing devise-async 0.9.0
Installing diff-lcs 1.2.5
Installing diffy 3.0.3
Installing doorkeeper 2.1.0
Installing dotenv 0.9.0
Installing dropzonejs-rails 0.4.14
Installing emoji 1.0.1
Installing enumerize 0.7.0
Installing equalizer 0.0.8
Installing escape_utils 0.2.4
Installing eventmachine 1.0.4
Installing excon 0.32.1
Installing expression_parser 0.9.0
Installing multipart-post 1.2.0
Installing faraday 0.8.9
Installing faraday_middleware 0.9.0
Installing formatador 0.2.4
Installing net-ssh 2.8.0
Installing net-scp 1.1.2
Installing fog-core 1.21.1
Installing fog-json 1.0.0
Installing fog-brightbox 0.0.1
Installing mini_portile 0.6.0
Building nokogiri using packaged libraries.
Building libxml2-2.8.0 for nokogiri with the following patches applied:
    - 0001-Fix-parser-local-buffers-size-problems.patch
    - 0002-Fix-entities-local-buffers-size-problems.patch
    - 0003-Fix-an-error-in-previous-commit.patch
    - 0004-Fix-potential-out-of-bound-access.patch
    - 0005-Detect-excessive-entities-expansion-upon-replacement.patch
    - 0006-Do-not-fetch-external-parsed-entities.patch
    - 0007-Enforce-XML_PARSER_EOF-state-handling-through-the-pa.patch
    - 0008-Improve-handling-of-xmlStopParser.patch
    - 0009-Fix-a-couple-of-return-without-value.patch
    - 0010-Keep-non-significant-blanks-node-in-HTML-parser.patch
    - 0011-Do-not-fetch-external-parameter-entities.patch
************************************************************************
IMPORTANT!  Nokogiri builds and uses a packaged version of libxml2.

If this is a concern for you and you want to use the system library
instead, abort this installation process and reinstall nokogiri as
follows:

    gem install nokogiri -- --use-system-libraries

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries
    bundle install

However, note that nokogiri does not necessarily support all versions
of libxml2.

For example, libxml2-2.9.0 and higher are currently known to be broken
and thus unsupported by nokogiri, due to compatibility problems and
XPath optimization bugs.
************************************************************************
Building libxslt-1.1.28 for nokogiri with the following patches applied:
    - 0001-Adding-doc-update-related-to-1.1.28.patch
    - 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch
    - 0003-Initialize-pseudo-random-number-generator-with-curre.patch
    - 0004-EXSLT-function-str-replace-is-broken-as-is.patch
    - 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch
    - 0007-Separate-function-for-predicate-matching-in-patterns.patch
    - 0008-Fix-direct-pattern-matching.patch
    - 0009-Fix-certain-patterns-with-predicates.patch
    - 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch
    - 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
    - 0014-Fix-for-bug-436589.patch
    - 0015-Fix-mkdir-for-mingw.patch
************************************************************************
IMPORTANT!  Nokogiri builds and uses a packaged version of libxslt.

If this is a concern for you and you want to use the system library
instead, abort this installation process and reinstall nokogiri as
follows:

    gem install nokogiri -- --use-system-libraries

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries
    bundle install
************************************************************************
Installing nokogiri 1.6.2.1
Installing fog 1.21.0
Installing font-awesome-rails 4.2.0.0
Installing foreman 0.63.0

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /usr/bin/ruby20 extconf.rb
checking for cmake... yes
checking for gmake... yes
checking for pkg-config... yes
 -- cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo
 -- /usr/bin/gmake
checking for main() in -lgit2... yes
checking for git2.h... yes
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling rugged_diff_line.c
compiling rugged_reference.c
compiling rugged_remote_collection.c
compiling rugged_config.c
compiling rugged.c
compiling rugged_cred.c
compiling rugged_remote.c
compiling rugged_diff.c
compiling rugged_revwalk.c
compiling rugged_index.c
compiling rugged_object.c
compiling rugged_branch_collection.c
compiling rugged_commit.c
compiling rugged_patch.c
compiling rugged_tree.c
compiling rugged_signature.c
compiling rugged_branch.c
compiling rugged_note.c
compiling rugged_diff_hunk.c
compiling rugged_settings.c
compiling rugged_reference_collection.c
compiling rugged_blob.c
compiling rugged_diff_delta.c
compiling rugged_repo.c
compiling rugged_tag.c
compiling rugged_blame.c
compiling rugged_tag_collection.c
linking shared-object rugged/rugged.so
/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(http.c.o): In function `clear_parser_state':
/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.2/vendor/libgit2/src/transports/http.c:400: undefined reference to `http_parser_init'
/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(http.c.o): In function `http_connect':
/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.2/vendor/libgit2/src/transports/http.c:458: undefined reference to `http_should_keep_alive'
/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.2/vendor/libgit2/src/transports/http.c:459: undefined reference to `http_body_is_final'
/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(http.c.o): In function `http_stream_read':
/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.2/vendor/libgit2/src/transports/http.c:575: undefined reference to `http_parser_execute'
/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.2/vendor/libgit2/src/transports/http.c:597: undefined reference to `http_errno_description'
/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(netops.c.o): In function `gitno_extract_url_parts':
/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.2/vendor/libgit2/src/netops.c:696: undefined reference to `http_parser_parse_url'
collect2: error: ld returned 1 exit status
Makefile:231: recipe for target 'rugged.so' failed
make: *** [rugged.so] Error 1

make failed, exit code 2

Gem files will remain installed in /var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/gems/rugged-0.21.2 for inspection.
Results logged to /var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6/vendor/bundle/ruby/2.0.0/extensions/x86_64-linux/2.0.0/rugged-0.21.2/gem_make.out
An error occurred while installing rugged (0.21.2), and Bundler cannot continue.
Make sure that `gem install rugged -v '0.21.2'` succeeds before bundling.
 * ERROR: www-apps/gitlabhq-7.7.1::fritteli failed (install phase):
 *   bundler failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 7226:  Called ruby-ng_src_install
 *   environment, line 6991:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *   environment, line 1089:  Called all_ruby_install
 *   environment, line 1189:  Called die
 * The specific snippet of code:
 *       ${RUBY} /usr/bin/bundle install ${bundle_args} || die "bundler failed";
 *
 * If you need support, post the output of `emerge --info '=www-apps/gitlabhq-7.7.1::fritteli'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/gitlabhq-7.7.1::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 =gitlabhq-7.7.1
 * The complete build log is located at '/var/tmp/portage/www-apps/gitlabhq-7.7.1/temp/build.log'.


 18 net-misc/openvpn iproute2
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/gitlabhq-7.7.1/temp/environment'.
 * Working directory: '/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6'
 * S: '/var/tmp/portage/www-apps/gitlabhq-7.7.1/work/all/gitlabhq-7.7.1'

>>> Failed to emerge www-apps/gitlabhq-7.7.1, Log file:

>>>  '/var/tmp/portage/www-apps/gitlabhq-7.7.1/temp/build.log'

 * Messages for package dev-lang/ruby-2.0.0_p598:

 *
 * To switch between available Ruby profiles, execute as root:
 *  eselect ruby set ruby(19|20|...)
 *

 * Messages for package dev-ruby/rubygems-2.2.2:

 *
 * To switch between available Ruby profiles, execute as root:
 *  eselect ruby set ruby(19|20|...)
 *

 * Messages for package dev-vcs/gitlab-shell-2.4.1:

 * Initializing authorized_keys file in /var/lib/git/.ssh
 *
 * GitLab Shell was initialized. Repositories are located in
 * /var/lib/git/repositories, scripts in /usr/share/gitlab-shell/bin.
 * All gitlab-* scripts was symlinked to /usr/bin to be on your path.
 *
 * You should change your gitlab_url in: /etc/gitlab-shell.yml.

 * Messages for package www-apps/gitlabhq-7.7.1:

 * ERROR: www-apps/gitlabhq-7.7.1::fritteli failed (install phase):
 *   bundler failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 7226:  Called ruby-ng_src_install
 *   environment, line 6991:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *   environment, line 1089:  Called all_ruby_install
 *   environment, line 1189:  Called die
 * The specific snippet of code:
 *       ${RUBY} /usr/bin/bundle install ${bundle_args} || die "bundler failed";
 *
 * If you need support, post the output of `emerge --info '=www-apps/gitlabhq-7.7.1::fritteli'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/gitlabhq-7.7.1::fritteli'`.
 * The complete build log is located at '/var/tmp/portage/www-apps/gitlabhq-7.7.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/gitlabhq-7.7.1/temp/environment'.
 * Working directory: '/var/tmp/portage/www-apps/gitlabhq-7.7.1/image/opt/gitlab-6'
 * S: '/var/tmp/portage/www-apps/gitlabhq-7.7.1/work/all/gitlabhq-7.7.1'

 * GNU info directory index is up-to-date.

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

www-apps/gitlab-ce-9.1.4 upgrade failed

[4/4] Building fresh packages...
Done in 22.67s.
 * Cleaning old precompiled assets ...
   /usr/bin/ruby /usr/bin/bundle exec rake gitlab:assets:clean RAILS_ENV=production NODE_ENV=production
I, [2017-05-27T21:04:40.213480 #1872]  INFO -- : Removed application-95970f1eedaa338f70cfe32c114efe83439793bf96581dd001b6d96ce2e04c50.css
 * Cleaning cache ...
   /usr/bin/ruby /usr/bin/bundle exec rake cache:clear RAILS_ENV=production NODE_ENV=production
 * Precompiling assests ...
   /usr/bin/ruby /usr/bin/bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
warning [email protected]: The platform "linux" is incompatible with this module.
/opt/gitlab/node_modules/.bin/webpack --config /opt/gitlab/config/webpack.config.js --bail
Hash: 176d11821dff38b63dec
Version: webpack 2.3.3
Time: 64735ms
[3V7F] ./protected_branches/protected_branches_bundle.js 201 bytes {19} [built]
[3Yvy] ./groups_list.js 591 bytes {0} [built]
[45VA] ./network/network_bundle.js 625 bytes {22} [built]
[80jL] ./commit/pipelines/pipelines_bundle.js 922 bytes {4} [built]
[8z1L] ./commons/index.js 62 bytes {1} [built]
[CtDz] ./blob_edit/blob_bundle.js 1.09 kB {13} [built]
   [1] multi d3 28 bytes {26} [built]
   [2] multi vendor/u2f 28 bytes {25} [built]
[RUZQ] ./profile/profile_bundle.js 43 bytes {23} [built]
[iVFC] ./blob/notebook_viewer.js 104 bytes {17} [built]
[jsyL] ./vue_pipelines_index/index.js 455 bytes {3} [built]
[nYj/] ./blob/stl_viewer.js 569 bytes {21} [built]
[pqyH] ./blob/pdf_viewer.js 89 bytes {16} [built]
[wYwm] ./issue_show/index.js 556 bytes {11} [built]
   [3] multi vue ./vue_shared/common_vue.js 40 bytes {14} [built]
    + 637 hidden modules

ERROR in main.b66fa35e661cc9a3b9bb.bundle.js from UglifyJs
Unexpected token: name (CreateBranchDropdown) [./blob/create_branch_dropdown.js:1,6][main.b66fa35e661cc9a3b9bb.bundle.js:588,6]

ERROR in common.3606a55edd25cb454e34.bundle.js from UglifyJs
Unexpected token operator «=», expected punc «,» [./commons/polyfills/element.js:2,29][common.3606a55edd25cb454e34.bundle.js:7980,100]

ERROR in sketch_viewer.0abacbb479e7c8d0697e.bundle.js from UglifyJs
Unexpected token: punc ()) [./blob/sketch_viewer.js:4,46][sketch_viewer.0abacbb479e7c8d0697e.bundle.js:455,47]

ERROR in vue_pipelines.50c2c7d0d6f03abe40b6.bundle.js from UglifyJs
Unexpected token: name (PipelinesService) [./vue_pipelines_index/services/pipelines_service.js:7,21][vue_pipelines.50c2c7d0d6f03abe40b6.bundle.js:23,6]

ERROR in commit_pipelines.63e6341eb08f12dc6811.bundle.js from UglifyJs
Unexpected token: name (PipelinesService) [./vue_pipelines_index/services/pipelines_service.js:7,21][commit_pipelines.63e6341eb08f12dc6811.bundle.js:23,6]

ERROR in boards.ff69073b9694cc46ba12.bundle.js from UglifyJs
Unexpected token: punc ()) [./boards/components/board.js:10,1][boards.ff69073b9694cc46ba12.bundle.js:20,2]

ERROR in filtered_search.f23e55e50cc553121941.bundle.js from UglifyJs
Unexpected token: punc ()) [./filtered_search/dropdown_non_user.js:8,1][filtered_search.f23e55e50cc553121941.bundle.js:17,2]

ERROR in environments_folder.7f64cd62f476cbcd3d9b.bundle.js from UglifyJs
Unexpected token: punc ()) [./environments/components/environment_item.js:34,15][environments_folder.7f64cd62f476cbcd3d9b.bundle.js:52,16]

ERROR in environments.5500347c0cd4ac1b73cf.bundle.js from UglifyJs
Unexpected token: punc ()) [./environments/components/environment_item.js:34,15][environments.5500347c0cd4ac1b73cf.bundle.js:52,16]

ERROR in cycle_analytics.7640abc45edd1a46998f.bundle.js from UglifyJs
Unexpected token: operator (>) [./cycle_analytics/components/stage_code_component.js:5,1][cycle_analytics.7640abc45edd1a46998f.bundle.js:13,9]

ERROR in diff_notes.77276e9aa0cce5df7704.bundle.js from UglifyJs
Unexpected token: punc ()) [./diff_notes/components/new_issue_for_discussion.js:5,1][diff_notes.77276e9aa0cce5df7704.bundle.js:13,2]

ERROR in issue_show.bda99674caccff6f87ae.bundle.js from UglifyJs
Unexpected token: name (Poll) [./lib/utils/poll.js:47,21][issue_show.bda99674caccff6f87ae.bundle.js:1374,6]

ERROR in issuable.1c701cab4b72a83f5786.bundle.js from UglifyJs
Unexpected token: punc ()) [./issuable/time_tracking/components/collapsed_state.js:6,1][issuable.1c701cab4b72a83f5786.bundle.js:23,2]

ERROR in blob.b68f94ec5b143ab6e90b.bundle.js from UglifyJs
Unexpected token: name (EditBlob) [./blob_edit/edit_blob.js:5,21][blob.b68f94ec5b143ab6e90b.bundle.js:12,6]

ERROR in common_vue.2b52c609989508560a41.bundle.js from UglifyJs
Unexpected token punc «(», expected punc «:» [./vue_shared/components/table_pagination.js:47,4][common_vue.2b52c609989508560a41.bundle.js:49,14]

ERROR in merge_conflicts.0db824b95ec4718c496e.bundle.js from UglifyJs
Unexpected token: operator (>) [./merge_conflicts/mixins/line_conflict_actions.js:3,1][merge_conflicts.0db824b95ec4718c496e.bundle.js:8,9]

ERROR in pdf_viewer.29e8b92da113236c10c6.bundle.js from UglifyJs
Unexpected token: punc ()) [./blob/pdf/index.js:10,15][pdf_viewer.29e8b92da113236c10c6.bundle.js:14549,58]

ERROR in notebook_viewer.1130dff7196b565d01ca.bundle.js from UglifyJs
Unexpected token: punc ()) [./blob/notebook/index.js:9,15][notebook_viewer.1130dff7196b565d01ca.bundle.js:7795,58]

ERROR in terminal.2a78825dc07b2337dabb.bundle.js from UglifyJs
Unexpected token: punc ()) [./terminal/terminal_bundle.js:7,2][terminal.2a78825dc07b2337dabb.bundle.js:5663,3]

ERROR in protected_branches.f7036dad4d3a031e5d09.bundle.js from UglifyJs
Unexpected token: operator (>) [./protected_branches/protected_branch_edit.js:4,1][protected_branches.f7036dad4d3a031e5d09.bundle.js:20,9]

ERROR in stl_viewer.949cfff519aaecb10cf4.bundle.js from UglifyJs
Unexpected token: name (Renderer) [./blob/3d_viewer/index.js:9,21][stl_viewer.949cfff519aaecb10cf4.bundle.js:43321,6]

ERROR in network.300bc699ddc3c04e9f1b.bundle.js from UglifyJs
Unexpected token: name (x) [./network/raphael.js:48,6][network.300bc699ddc3c04e9f1b.bundle.js:8826,6]

ERROR in profile.b88df550b560e11c9a08.bundle.js from UglifyJs
Unexpected token: operator (>) [./profile/gl_crop.js:5,1][profile.b88df550b560e11c9a08.bundle.js:22,9]

ERROR in monitoring.405bad94d30699148cb9.bundle.js from UglifyJs
Unexpected token: operator (>) [./monitoring/prometheus_graph.js:16,31][monitoring.405bad94d30699148cb9.bundle.js:44,74]

ERROR in merge_request_widget.2d30d83b38da1d3b3ca8.bundle.js from UglifyJs
Unexpected token: punc ()) [./merge_request_widget/ci_bundle.js:3,1][merge_request_widget.2d30d83b38da1d3b3ca8.bundle.js:8,2]
rake aborted!
Command failed with status (2): [/opt/gitlab/node_modules/.bin/webpack --co...]
/opt/gitlab/vendor/bundle/ruby/2.3.0/gems/webpack-rails-0.9.10/lib/tasks/webpack.rake:17:in `block (2 levels) in <top (required)>'
Tasks: TOP => gitlab:assets:compile => webpack:compile
(See full trace by running task with --trace)
 * ERROR: www-apps/gitlab-ce-9.1.4::fritteli failed (config phase):
 *   failed to run rake gitlab:assets:compile
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called pkg_config
 *   environment, line 4277:  Called exec_rake 'gitlab:assets:compile'
 *   environment, line 1853:  Called die
 * The specific snippet of code:
 *              ${command}" || die "failed to run rake $@"
 * 
 * If you need support, post the output of `emerge --info '=www-apps/gitlab-ce-9.1.4::fritteli'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/gitlab-ce-9.1.4::fritteli'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =gitlab-ce-9.1.4
 * The complete build log is located at '/var/tmp/portage/www-apps/gitlab-ce-9.1.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/gitlab-ce-9.1.4/temp/environment'.
 * Working directory: '/var/tmp/portage/www-apps/gitlab-ce-9.1.4/homedir'
 * S: '/var/tmp/portage/www-apps/gitlab-ce-9.1.4/work/gitlab-ce-9.1.4'

Sidekiq never sends mails (they pile up as background jobs)

It appears your repo has not caught up with latest gitlab-sidekiq.service changes. The one provided still instructs sidekiq to watch out for jobs in the ‘mailer’ queue instead of the ‘mailers’ queue. Seems there is an issue for it available which has already been fixed. Would it make sense to grab the officially maintained service file instead of having it in the overlay?

--- gitlab-sidekiq.service.orig 2016-08-10 11:54:45.000000000 +0200
+++ gitlab-sidekiq.service      2016-08-10 10:56:59.000000000 +0200
@@ -20,7 +20,7 @@
 SyslogIdentifier=gitlab-sidekiq
 PIDFile=/run/gitlab/sidekiq.pid

-ExecStart=/usr/bin/bundle exec "sidekiq -d -q archive_repo -q post_receive -q mailer -q system_hook -q project_web_hook -q gitlab_shell -q common -q default -e production -P /run/gitlab/sidekiq.pid -d -L /var/log/gitlab/sidekiq.log >> /var/log/gitlab/sidekiq.log 2>&1"
+ExecStart=/usr/bin/bundle exec "sidekiq -d -q archive_repo -q post_receive -q mailers -q system_hook -q project_web_hook -q gitlab_shell -q common -q default -e production -P /run/gitlab/sidekiq.pid -d -L /var/log/gitlab/sidekiq.log >> /var/log/gitlab/sidekiq.log 2>&1"
 ExecStop=/usr/bin/bundle exec "sidekiqctl stop /run/gitlab/sidekiq.pid >> /var/log/gitlab/sidekiq.log 2>&1"

Do emails work for you without that patch?

dev-dotnet/gtk-sharp failed to build

After the official gtk-sharp package was marked for deletion and masked I tried to change to your version. I unmasked the package writing >=dev-dotnet/gtk-sharp-2.12.45 under /etc/portage/package.unmask. However the compilation proccess failed.

You can find attached:

Thanks for mantaining this package needed for duplicati.

www-apps/gitlabhq-8.1.4

Hi,
Got this error after installation:

gaia gitlabhq-8.1 # /etc/init.d/gitlabhq-8.1 restart

  • /opt/gitlabhq-8.1/tmp/pids: creating directory
  • /opt/gitlabhq-8.1/tmp/pids: correcting owner
  • Starting GitLab 8.1 Unicorn servers ...
    bundler: command not found: unicorn_rails
    Install missing gem executables with bundle install
  • start-stop-daemon: failed to start `/usr/bin/bundle' [ !! ]
  • Starting GitLab 8.1 Sidekiq ...
    bundler: command not found: sidekiq
    Install missing gem executables with bundle install [ !! ]
  • Starting GitLab 8.1 Workhorse ...

Tried at sudo -u git -H bundle install in the /opt/gitlabhq directory and get:

Installing rake 10.4.2
Installing CFPropertyList 2.3.1
Installing RedCloth 4.2.9 with native extensions
Installing ace-rails-ap 2.0.1
Installing i18n 0.7.0
Installing json 1.8.3 with native extensions
Installing minitest 5.7.0
Installing thread_safe 0.3.5
Installing builder 3.2.2
Installing erubis 2.7.0
Installing rack 1.5.5
Installing mime-types 1.25.1
Installing arel 5.0.1.20140414130214
Installing activerecord-deprecated_finders 1.0.4
Installing thor 0.19.1
Installing addressable 2.3.8
Using bundler 1.11.2
Installing hike 1.2.3
Installing multi_json 1.11.2
Installing tilt 1.4.1
Installing asciidoctor 1.5.2
Installing encryptor 1.3.0
Installing attr_required 1.0.0
Installing execjs 2.6.0
Installing ice_nine 0.11.1
Installing bcrypt 3.1.10 with native extensions
Installing sass 3.2.19
Installing browser 1.0.0
Installing cal-heatmap-rails 0.0.1
Installing hitimes 1.2.3 with native extensions
Installing charlock_holmes 0.6.9.4 with native extensions
Installing chunky_png 1.3.4
Installing coffee-script-source 1.9.1.1
Installing colored 1.2
Installing colorize 0.5.8
Installing connection_pool 2.2.0
Installing safe_yaml 1.0.4
Installing creole 0.3.8
Installing orm_adapter 0.5.0
Installing rotp 2.1.1
Installing diff-lcs 1.2.5
Installing diffy 3.0.7
Installing email_reply_parser 0.5.8
Installing equalizer 0.0.11
Installing escape_utils 0.2.4 with native extensions
Installing eventmachine 1.0.8 with native extensions
Installing excon 0.45.4
Installing expression_parser 0.9.0
Installing multipart-post 2.0.0
Installing multi_xml 0.5.5
Installing formatador 0.2.5
Installing net-ssh 2.9.2
Installing inflecto 0.0.2
Installing mini_portile 0.6.2
Installing ipaddress 0.8.0
Installing trollop 2.1.2
Installing rugged 0.22.2 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

/usr/bin/ruby20 extconf.rb

checking for gmake... yes
checking for cmake... yes
checking for pkg-config... yes
-- cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo -G "Unix Makefiles"
-- /usr/bin/gmake
checking for main() in -lgit2... yes
checking for git2.h... yes
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling rugged_tag_collection.c
compiling rugged_remote_collection.c
compiling rugged_diff_delta.c
compiling rugged_index.c
compiling rugged_remote.c
compiling rugged_diff.c
compiling rugged_revwalk.c
compiling rugged_signature.c
compiling rugged_diff_hunk.c
compiling rugged_branch_collection.c
compiling rugged_submodule.c
compiling rugged_commit.c
compiling rugged_backend.c
compiling rugged_note.c
compiling rugged_blob.c
compiling rugged_reference_collection.c
compiling rugged.c
compiling rugged_submodule_collection.c
compiling rugged_reference.c
compiling rugged_patch.c
compiling rugged_diff_line.c
compiling rugged_blame.c
compiling rugged_tag.c
compiling rugged_repo.c
compiling rugged_settings.c
compiling rugged_cred.c
compiling rugged_tree.c
compiling rugged_object.c
compiling rugged_branch.c
compiling rugged_config.c
linking shared-object rugged/rugged.so
/opt/gitlabhq-8.1/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(http.c.o): In function clear_parser_state': /opt/gitlabhq-8.1/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/vendor/libgit2/src/transports/http.c:479: undefined reference tohttp_parser_init'
/opt/gitlabhq-8.1/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(http.c.o): In function http_connect': /opt/gitlabhq-8.1/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/vendor/libgit2/src/transports/http.c:537: undefined reference tohttp_should_keep_alive'
/opt/gitlabhq-8.1/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(http.c.o): In function http_stream_read': /opt/gitlabhq-8.1/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/vendor/libgit2/src/transports/http.c:678: undefined reference tohttp_parser_execute'
/opt/gitlabhq-8.1/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/vendor/libgit2/src/transports/http.c:700: undefined reference to http_errno_description' /opt/gitlabhq-8.1/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(netops.c.o): In functiongitno_extract_url_parts':
/opt/gitlabhq-8.1/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/vendor/libgit2/src/netops.c:239: undefined reference to `http_parser_parse_url'
collect2: error: ld returned 1 exit status
Makefile:231: recipe for target 'rugged.so' failed
make: *** [rugged.so] Error 1

make failed, exit code 2

Gem files will remain installed in /opt/gitlabhq-8.1/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2 for inspection.
Results logged to /opt/gitlabhq-8.1/vendor/bundle/ruby/2.0.0/extensions/x86_64-linux/2.0.0/rugged-0.22.2/gem_make.out
Installing get_process_mem 0.2.0
Installing github-markup 1.3.3
Installing posix-spawn 0.3.11 with native extensions
Installing gitlab_meta 7.0
Installing net-ldap 0.11
Installing hashie 3.4.2
Installing pyu-ruby-sasl 0.0.3.3
Installing rubyntlm 0.5.2
Installing rouge 1.10.1
Installing stringex 2.5.2
Installing sexp_processor 4.6.0
Installing mimemagic 0.3.0
Installing http_parser.rb 0.5.3 with native extensions
Installing httpclient 2.6.0.1
Installing ice_cube 0.11.1
Installing jquery-atwho-rails 1.0.1
Installing jwt 1.5.1
Installing kgio 2.9.3 with native extensions
Installing systemu 2.6.5
Installing mail_room 0.6.1
Installing mousetrap-rails 1.4.6
Installing mysql2 0.3.20 with native extensions
Installing nested_form 0.3.2
Installing newrelic_rpm 3.9.4.245
Installing nprogress-rails 0.1.2.3
Installing oauth 0.4.7
Installing timfel-krb5-auth 0.8.3 with native extensions
Installing rubypants 0.2.0
Installing rack-cors 0.4.0
Installing raindrops 0.15.0 with native extensions
Installing raphael-rails 2.1.2
Installing redcarpet 3.3.3 with native extensions
Installing redis 3.2.1
Installing request_store 1.2.0
Installing rinku 1.7.3 with native extensions
Installing settingslogic 2.0.9
Installing simple_oauth 0.1.9
Installing six 0.2.0
Installing slack-notifier 1.2.1
Installing stamp 0.5.0
Installing state_machine 1.2.0
Installing underscore-rails 1.4.4
Installing unf_ext 0.0.7.1 with native extensions
Installing version_sorter 2.0.0 with native extensions
Installing fission 0.5.0
Installing gemojione 2.0.1
Installing rdoc 3.12.2
Installing tzinfo 1.2.2
Installing descendants_tracker 0.0.4
Installing rack-test 0.6.3
Installing warden 1.2.3
Installing rack-accept 0.4.5
Installing rack-mount 0.8.3
Installing rack-attack 4.3.0
Installing rack-protection 1.5.3
Installing mail 2.6.3
Installing select2-rails 3.5.9.3
Installing sprockets 2.12.4
Installing haml 4.0.7
Installing attr_encrypted 1.3.4
Installing autoprefixer-rails 5.2.1.2
Installing uglifier 2.7.2
Installing timers 4.0.4
Installing rqrcode 0.7.0
Installing coffee-script 2.4.1
Installing crack 0.4.2
Installing gitlab-linguist 3.0.1
Installing faraday 0.9.2
Installing httparty 0.13.5
Installing net-scp 1.2.1
Installing nokogiri 1.6.6.2 with native extensions
An error occurred while installing rugged (0.22.2), and Bundler cannot continue.
Make sure that gem install rugged -v '0.22.2' succeeds before bundling.

gitlab v8.10.2

avalon ~ # emerge --config gitlab-ce

Configuring pkg...

  • Checking configuration files
  • Migrating database ...
    /usr/bin/ruby /usr/bin/bundle exec rake db:migrate RAILS_ENV=production
    rake aborted!

Errno::ENOENT: No such file or directory @ realpath_rec - /home/git
/opt/gitlab/config/initializers/6_validations.rb:6:in realpath' /opt/gitlab/config/initializers/6_validations.rb:6:inrealpath'
/opt/gitlab/config/initializers/6_validations.rb:6:in find_parent_path' /opt/gitlab/config/initializers/6_validations.rb:22:inblock in validate_storages'
/opt/gitlab/config/initializers/6_validations.rb:19:in each' /opt/gitlab/config/initializers/6_validations.rb:19:invalidate_storages'
/opt/gitlab/config/initializers/6_validations.rb:29:in <top (required)>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:268:inload'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:268:in block in load' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:240:inload_dependency'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:268:in load' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:652:inblock in load_config_initializer'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/notifications.rb:166:in instrument' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:651:inload_config_initializer'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:616:in block (2 levels) in <class:Engine>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:615:ineach'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:615:in block in <class:Engine>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:30:ininstance_exec'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:30:in run' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:55:inblock in run_initializers'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:44:in each' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:44:intsort_each_child'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:54:in run_initializers' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/application.rb:352:ininitialize!'
/opt/gitlab/config/environment.rb:5:in <top (required)>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:274:inrequire'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:274:in block in require' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:240:inload_dependency'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:274:in require' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/application.rb:328:inrequire_environment!'
/opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/application.rb:457:in `block in run_tasks_blocks'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

  • ERROR: www-apps/gitlab-ce-8.10.2::fritteli failed (config phase):
  • failed to run rake db:migrate
  • Call stack:
  • ebuild.sh, line  133:  Called pkg_config
    
  • environment, line 4217: Called exec_rake 'db:migrate'
  • environment, line 1850: Called die
  • The specific snippet of code:
  •      ${command}" || die "failed to run rake $@"
    
  • If you need support, post the output of emerge --info '=www-apps/gitlab-ce-8.10.2::fritteli',
  • the complete build log and the output of emerge -pqv '=www-apps/gitlab-ce-8.10.2::fritteli'.
    !!! When you file a bug report, please include the following information:
    GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
    JAVACFLAGS="" COMPILER=""
    and of course, the output of emerge --info =gitlab-ce-8.10.2
  • The complete build log is located at '/var/tmp/portage/www-apps/gitlab-ce-8.10.2/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/www-apps/gitlab-ce-8.10.2/temp/environment'.
  • Working directory: '/usr/lib64/python3.4/site-packages'
  • S: '/var/tmp/portage/www-apps/gitlab-ce-8.10.2/work/gitlab-ce-8.10.2'

make www-apps/gitlab-ce not download ruby gems?

It's difficult for me to download all the ruby gems that www-apps/gitlab-ce needs.
Do you think it's doable to write ebuilds for all related ruby gems and make www-apps/gitlab-ce depends on them?
I'd like to work on it if it is appropriate.

fpemud-workstation / # emerge gitlab-ce -1
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-apps/gitlab-ce-8.7.0::layman
 * gitlab-ce-8.7.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking gitlab-ce-8.7.0.tar.gz to /var/tmp/portage/www-apps/gitlab-ce-8.7.0/work/all
>>> Source unpacked in /var/tmp/portage/www-apps/gitlab-ce-8.7.0/work
>>> Preparing source in /var/tmp/portage/www-apps/gitlab-ce-8.7.0/work ...
 * Running prepare phase for all ...
 * Applying gitlab-ce-fix-sendmail-config.patch ...                                                                    [ ok ]
 * Applying gitlab-ce-8.7.0-fix-redis-config-path.patch ...                                                            [ ok ]
 * Running source copy phase for ruby21 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-apps/gitlab-ce-8.7.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-apps/gitlab-ce-8.7.0/work ...
>>> Source compiled.
>>> Test phase [not enabled]: www-apps/gitlab-ce-8.7.0

>>> Install gitlab-ce-8.7.0 into /var/tmp/portage/www-apps/gitlab-ce-8.7.0/image/ category www-apps
 * Running install phase for all ...
 * Running bundle install --deployment --without development test aws mysql kerberos ...
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this
application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rake-10.5.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/CFPropertyList-2.3.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/RedCloth-4.2.9.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/ace-rails-ap-2.0.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/i18n-0.7.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/json-1.8.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/minitest-5.7.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/thread_safe-0.3.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/builder-3.2.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/erubis-2.7.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/mini_portile2-2.0.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rack-1.6.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/mime-types-1.25.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/arel-6.0.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/activerecord-deprecated_finders-1.0.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/thor-0.19.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/addressable-2.3.8.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/akismet-2.0.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/allocations-1.0.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/multipart-post-2.0.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/multi_json-1.11.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/jwt-1.5.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/multi_xml-0.5.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/asciidoctor-1.5.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/encryptor-1.3.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/attr_required-1.0.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/execjs-2.6.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/ice_nine-0.11.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/babosa-1.0.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/bcrypt-3.1.10.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/sass-3.4.21.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/browser-1.0.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/cal-heatmap-rails-3.5.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/cause-0.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/charlock_holmes-0.7.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/chunky_png-1.3.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/coffee-script-source-1.10.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/colorize-0.7.7.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/concurrent-ruby-1.0.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/connection_pool-2.2.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/safe_yaml-1.0.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/creole-0.5.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/orm_adapter-0.5.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rotp-2.1.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/diff-lcs-1.2.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/diffy-3.0.7.gem)
Using bundler 1.11.2

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/email_reply_parser-0.5.8.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/equalizer-0.0.11.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/escape_utils-1.1.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/eventmachine-1.0.8.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/excon-0.45.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/expression_parser-0.9.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/formatador-0.2.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/ipaddress-0.8.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/xml-simple-1.1.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/inflecto-0.0.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rugged-0.24.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/get_process_mem-0.2.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/github-markup-1.3.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/posix-spawn-0.3.11.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/gitlab_meta-7.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/net-ldap-0.12.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/hashie-3.4.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/pyu-ruby-sasl-0.0.3.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rubyntlm-0.5.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rouge-1.10.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/stringex-2.5.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/request_store-1.3.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/tilt-2.0.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/sexp_processor-4.7.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/mimemagic-0.3.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/htmlentities-4.3.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/http_parser.rb-0.5.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/httpclient-2.7.0.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/jquery-atwho-rails-1.3.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/kgio-2.10.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/systemu-2.6.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/mail_room-0.6.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/method_source-0.8.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/mousetrap-rails-1.4.6.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/nested_form-0.3.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/net-ssh-3.0.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/newrelic_rpm-3.14.1.311.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/oauth-0.4.7.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rubypants-0.2.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/pg-0.18.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rack-cors-0.4.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/raindrops-0.15.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/raphael-rails-2.1.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/redcarpet-3.3.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/redis-3.2.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/rinku-1.7.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rufus-scheduler-3.1.10.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/settingslogic-2.0.9.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/simple_oauth-0.1.9.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/six-0.2.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/slack-notifier-1.2.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/state_machines-0.4.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/underscore-rails-1.8.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/unf_ext-0.0.7.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/version_sorter-2.0.0.gem)
An error occurred while installing rake (10.5.0), and Bundler cannot continue.
Make sure that `gem install rake -v '10.5.0'` succeeds before bundling.
 * ERROR: www-apps/gitlab-ce-8.7.0::layman failed (install phase):
 *   bundler failed
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_install
 *   environment, line 4794:  Called ruby-ng_src_install
 *   environment, line 4598:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *   environment, line  589:  Called all_ruby_install
 *   environment, line  705:  Called die
 * The specific snippet of code:
 *       ${RUBY} /usr/bin/bundle install ${bundle_args} || die "bundler failed";
 * 
 * If you need support, post the output of `emerge --info '=www-apps/gitlab-ce-8.7.0::layman'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/gitlab-ce-8.7.0::layman'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =gitlab-ce-8.7.0
 * The complete build log is located at '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/image/opt/gitlab'
 * S: '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/work/all/gitlabhq-8.7.0'

>>> Failed to emerge www-apps/gitlab-ce-8.7.0, Log file:

>>>  '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/temp/build.log'

 * Messages for package www-apps/gitlab-ce-8.7.0:

 * ERROR: www-apps/gitlab-ce-8.7.0::layman failed (install phase):
 *   bundler failed
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_install
 *   environment, line 4794:  Called ruby-ng_src_install
 *   environment, line 4598:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *   environment, line  589:  Called all_ruby_install
 *   environment, line  705:  Called die
 * The specific snippet of code:
 *       ${RUBY} /usr/bin/bundle install ${bundle_args} || die "bundler failed";
 * 
 * If you need support, post the output of `emerge --info '=www-apps/gitlab-ce-8.7.0::layman'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/gitlab-ce-8.7.0::layman'`.
 * The complete build log is located at '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/image/opt/gitlab'
 * S: '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/work/all/gitlabhq-8.7.0'

dev-vcs/gitlab-workhorse-0.6.4: Cannot find $EPATCH_SOURCE!

  • Messages for package dev-vcs/gitlab-workhorse-0.6.4:
  • Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
    *
  • /var/lib/layman/fritteli/dev-vcs/gitlab-workhorse/files/fix-Makefile-0.6.4.patch
  • ( fix-Makefile-0.6.4.patch )
  • ERROR: dev-vcs/gitlab-workhorse-0.6.4::fritteli failed (prepare phase):
  • Cannot find $EPATCH_SOURCE!
  • Call stack:
  • ebuild.sh, line  133:  Called src_prepare
    
  • environment, line 2278: Called epatch '/var/lib/layman/fritteli/dev-vcs/gitlab-workhorse/files/fix-Makefile-0.6.4.patch'
  • environment, line 855: Called die
  • The specific snippet of code:
  •               die "Cannot find \$EPATCH_SOURCE!";
    
  • If you need support, post the output of emerge --info '=dev-vcs/gitlab-workhorse-0.6.4::fritteli',
  • the complete build log and the output of emerge -pqv '=dev-vcs/gitlab-workhorse-0.6.4::fritteli'.
  • The complete build log is located at '/var/tmp/portage/dev-vcs/gitlab-workhorse-0.6.4/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/dev-vcs/gitlab-workhorse-0.6.4/temp/environment'.
  • Working directory: '/var/tmp/portage/dev-vcs/gitlab-workhorse-0.6.4/work/gitlab-workhorse-0.6.4-3f8da4ae570ca6e79c795f343dad278d60edd343'
  • S: '/var/tmp/portage/dev-vcs/gitlab-workhorse-0.6.4/work/gitlab-workhorse-0.6.4-3f8da4ae570ca6e79c795f343dad278d60edd343'
    *
  • The following package has failed to build, install, or execute postinst:
    *
  • (dev-vcs/gitlab-workhorse-0.6.4:0/0::fritteli, ebuild scheduled for merge), Log file:
  • '/var/tmp/portage/dev-vcs/gitlab-workhorse-0.6.4/temp/build.log'

www-apps/gitlabhq-7.9.3: Bad sed expression

You have a sed call

sed -i -E
-e 's|(username:).|\1 gitlab|'
-e 's|(password:).
|\1 gitlab|'
-e 's|(socket:).*|/run/postgresql/.s.PGSQL.5432|'

that misses ``\1'' at the last expression.

Impossible to install gitlab-gitaly

Hi Fritteli,
i've got a trouble with update of gitlab.
Gitaly cannot install and I receive this error:

>>> Install gitlab-gitaly-0.38.0-r1 into /var/tmp/portage/www-servers/gitlab-gitaly-0.38.0-r1/image/ category www-servers
chmod: cannot access '/var/tmp/portage/www-servers/gitlab-gitaly-0.38.0-r1/image//var/lib/gitlab-gitaly/ruby/bin/*': No such file or directory
 * ERROR: www-servers/gitlab-gitaly-0.38.0-r1::fritteli failed (install phase):
 *   fperms failed

It seems a path typo.
Can you check please?
Regards

Update readme

Hi,
Since your overlay is not registered in gentoo overlays, I suggests an update to your readme with repos.conf configuration for your overlay.
https://wiki.gentoo.org/wiki//etc/portage/repos.conf

Here is how I configured it (/etc/portage/repos.conf/fritteli.conf):

[fritteli]
location = /var/db/repos/fritteli
sync-type = git
sync-uri = https://github.com/fritteli/gentoo-overlay.git
auto-sync = yes

This way I'm using your overlay as a repository, that take advantage of only need emerge to update (layman is not necessary).

Duplicati failing to run

I installed duplicati from the overlay, however it failed to run after that, maybe a missing dependency. I says gtk-sharp, however dev-dotnet/gtk-sharp is installed on my system

$ duplicati
Unexpected error: System.TypeLoadException: Could not load type of field 'Duplicati.GUI.TrayIcon.GtkRunner:m_trayIcon' (1) due to: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
  at Duplicati.GUI.TrayIcon.Program.RunTrayIcon (System.String toolkit) [0x00027] in <d8f7365e5553410c9b088018a8456fd3>:0 
  at Duplicati.GUI.TrayIcon.Program.StartTray (System.String[] _args, System.Collections.Generic.Dictionary`2[TKey,TValue] options, System.String toolkit, Duplicati.GUI.TrayIcon.HostedInstanceKeeper hosted, System.String password, System.Boolean saltedpassword) [0x00058] in <d8f7365e5553410c9b088018a8456fd3>:0

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

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.

  • ERROR: www-apps/gitlab-ce-8.5.0::fritteli failed (install phase):
  • bundler failed
  • Call stack:
  • ebuild.sh, line  133:  Called src_install
    
  • environment, line 4680: Called ruby-ng_src_install
  • environment, line 4484: Called _ruby_invoke_environment 'all' 'all_ruby_install'
  • environment, line 540: Called all_ruby_install
  • environment, line 640: Called die
  • The specific snippet of code:
  •   ${RUBY} /usr/bin/bundle install ${bundle_args} || die "bundler failed";
    
  • If you need support, post the output of emerge --info '=www-apps/gitlab-ce-8.5.0::fritteli',
  • the complete build log and the output of 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
  • The complete build log is located at '/var/tmp/portage/www-apps/gitlab-ce-8.5.0/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/www-apps/gitlab-ce-8.5.0/temp/environment'.
  • Working directory: '/var/tmp/portage/www-apps/gitlab-ce-8.5.0/image/opt/gitlab'
  • S: '/var/tmp/portage/www-apps/gitlab-ce-8.5.0/work/all/gitlabhq-8.5.0'

Duplicati. Add default certificates

The default certificates root should be added to mono unless most secure connections (for example webdav over ssl) will fail.

The work around at the time being is:

# cert-sync /etc/ssl/certs/ca-certificates.crt

gitlab-shell build failure

gentooserver ~ # emerge --info '=dev-vcs/gitlab-shell-6.0.3::fritteli'
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/systemd, gcc-6.4.0, glibc-2.25-r11, 4.9.76-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.76-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E5-1620_v3_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:    16337280 total,   1240932 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 09 Apr 2018 05:11:04 +0000
Head commit of repository gentoo: 52efb0e5bfedcd5a2c2fbbe058ac79d1ddcd8ab3

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/gentoo-mirror/gentoo.git
    priority: -1000

fritteli
    location: /var/lib/layman/fritteli
    masters: gentoo
    priority: 50

localrepo
    location: /usr/local/portage
    masters: gentoo localrepo
    priority: 100

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -Os -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 2 --load-average 7.2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 modules multilib ncurses nls nptl openmp pam pcre readline seccomp ssl systemd tcpd udev unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

gentooserver ~ # emerge -pqv '=dev-vcs/gitlab-shell-6.0.3::fritteli'
[ebuild  N    ] dev-vcs/gitlab-shell-6.0.3 

[build.log](https://github.com/fritteli/gentoo-overlay/files/1896937/build.log)
gentooserver ~ # emerge --info '=dev-vcs/gitlab-shell-6.0.3::fritteli'
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/systemd, gcc-6.4.0, glibc-2.25-r11, 4.9.76-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.76-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E5-1620_v3_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:    16337280 total,   1240932 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 09 Apr 2018 05:11:04 +0000
Head commit of repository gentoo: 52efb0e5bfedcd5a2c2fbbe058ac79d1ddcd8ab3

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/gentoo-mirror/gentoo.git
    priority: -1000

fritteli
    location: /var/lib/layman/fritteli
    masters: gentoo
    priority: 50

localrepo
    location: /usr/local/portage
    masters: gentoo localrepo
    priority: 100

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -Os -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 2 --load-average 7.2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 modules multilib ncurses nls nptl openmp pam pcre readline seccomp ssl systemd tcpd udev unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

gentooserver ~ # emerge -pqv '=dev-vcs/gitlab-shell-6.0.3::fritteli'
[ebuild  N    ] dev-vcs/gitlab-shell-6.0.3 

build.log

gitlab-7.13.2 emerge failed

compiling rugged_patch.c
linking shared-object rugged/rugged.so
/var/tmp/portage/www-apps/gitlabhq-7.13.2/image/opt/gitlab/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(http.c.o): In function clear_parser_state': /var/tmp/portage/www-apps/gitlabhq-7.13.2/image/opt/gitlab/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/vendor/libgit2/src/transports/http.c:479: undefined reference tohttp_parser_init'
/var/tmp/portage/www-apps/gitlabhq-7.13.2/image/opt/gitlab/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(http.c.o): In function http_connect': /var/tmp/portage/www-apps/gitlabhq-7.13.2/image/opt/gitlab/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/vendor/libgit2/src/transports/http.c:537: undefined reference tohttp_should_keep_alive'
/var/tmp/portage/www-apps/gitlabhq-7.13.2/image/opt/gitlab/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(http.c.o): In function http_stream_read': /var/tmp/portage/www-apps/gitlabhq-7.13.2/image/opt/gitlab/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/vendor/libgit2/src/transports/http.c:678: undefined reference tohttp_parser_execute'
/var/tmp/portage/www-apps/gitlabhq-7.13.2/image/opt/gitlab/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/vendor/libgit2/src/transports/http.c:700: undefined reference to http_errno_description' /var/tmp/portage/www-apps/gitlabhq-7.13.2/image/opt/gitlab/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/ext/rugged/../../vendor/libgit2/build/libgit2.a(netops.c.o): In functiongitno_extract_url_parts':
/var/tmp/portage/www-apps/gitlabhq-7.13.2/image/opt/gitlab/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2/vendor/libgit2/src/netops.c:239: undefined reference to `http_parser_parse_url'
collect2: error: ld returned 1 exit status
Makefile:231: recipe for target 'rugged.so' failed
make: *** [rugged.so] Error 1

make failed, exit code 2

Gem files will remain installed in /var/tmp/portage/www-apps/gitlabhq-7.13.2/image/opt/gitlab/vendor/bundle/ruby/2.0.0/gems/rugged-0.22.2 for inspection.
Results logged to /var/tmp/portage/www-apps/gitlabhq-7.13.2/image/opt/gitlab/vendor/bundle/ruby/2.0.0/extensions/x86_64-linux/2.0.0/rugged-0.22.2/gem_make.out
An error occurred while installing rugged (0.22.2), and Bundler cannot continue.
Make sure that gem install rugged -v '0.22.2' succeeds before bundling.

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.