Mailinglist Archive: opensuse-buildservice (93 mails)

< Previous Next >
[opensuse-buildservice] Observations during update to 2.10
Hi all,

just some notes from the update of my test-OBS to 2.10:
Please run following command: '(cd /srv/www/obs/api/; rake

This failed miserably before I had updated the RPMs, but is listed in the
README prior to the update.
After the update it still failed, until I did 'export RAILS_ENV="production"'

Lots of warnings, but they seem harmless:

test-obs:/srv/www/obs/api # RAILS_ENV="production" rake migrate_options_yml
warning: already initialized constant
/usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/file_utils.rb:10: warning:
previous definition of RUBY was here
warning: already initialized constant
warning: previous definition of LN_SUPPORTED was
warning: already initialized constant
warning: previous definition of DEFAULT was here
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
warning: already initialized constant
/usr/lib64/ruby/gems/2.5.0/gems/rake-12.3.2/lib/rake/file_list.rb:44: warning:
previous definition of ARRAY_METHODS was here

btw: why do we need both obs-bundled-gems and all the gems packaged on their
own again?

That's it for now.
I had to add a dependency for all obs services to srv-obs.mount, because they
were started before the NFS share was
mounted and then failed, but that's something that probably cannot be made to
work out of the box, because every setup
is different in that regard, and it can be done easily with systemd dropin
configs (I had to do the same with previous
obs versions).

Is the feature "configure to follow symlinks in /srv/obs/build" still on
anyone's watch list?
I adopted my old patch, now it looks like

--- a/src/backend/
+++ b/src/backend/
@@ -84,7 +84,7 @@ sub openentfile {
@$s = lstat($file);
return (undef, "$name: $file: $!\n") unless @$s;
if (-l _) {
- return (undef, "$name: $file: is a symlink\n") if !$ent->{'follow'} &&
+ # return (undef, "$name: $file: is a symlink\n") if !$ent->{'follow'} &&
} elsif (! -f _) {
return (undef, "$name: $file: not a plain file\n");

Best regards,

Stefan Seyfried

"For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled." -- Richard Feynman
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages