Mailinglist Archive: opensuse-buildservice (89 mails)

< Previous Next >
[opensuse-buildservice] OBS:Server:Unstable broken on Factory? (Passenger error)
Hi,

For some weeks I've been running a local OBS server on armv7hl Factory.
After updating the machine this weekend, I get the following error page
accessing its Web UI on https port 443:

Web application could not be started

cannot load such file -- phusion_passenger/platform_info/ruby (LoadError)
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue
in require'
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'

/usr/lib/ruby/gems/2.2.0/gems/passenger-5.0.15/lib/phusion_passenger.rb:237:in
`require_passenger_lib'

/usr/lib/ruby/gems/2.2.0/gems/passenger-5.0.15/lib/phusion_passenger/loader_shared_helpers.rb:415:in
`rescue in running_bundler'

/usr/lib/ruby/gems/2.2.0/gems/passenger-5.0.15/lib/phusion_passenger/loader_shared_helpers.rb:411:in
`running_bundler'

/usr/lib/ruby/gems/2.2.0/gems/passenger-5.0.15/lib/phusion_passenger/loader_shared_helpers.rb:287:in
`run_load_path_setup_code'
/usr/lib/passenger/5.0.15//helper-scripts/rack-preloader.rb:99:in
`preload_app'
/usr/lib/passenger/5.0.15//helper-scripts/rack-preloader.rb:153:in
`<module:App>'
/usr/lib/passenger/5.0.15//helper-scripts/rack-preloader.rb:29:in
`<module:PhusionPassenger>'
/usr/lib/passenger/5.0.15//helper-scripts/rack-preloader.rb:28:in `<main>'

Error ID
840136e9
Application root
/srv/www/obs/api

[...]

Unfortunately I'm pretty clueless about Ruby...
I do see a platform_info/ruby.rb here:

-rw-r--r-- 1 root root 18826 Sep 20 11:51
/usr/lib/ruby/gems/2.2.0/gems/passenger-5.0.15/lib/phusion_passenger/platform_info/ruby.rb

Can anyone clue me in on what is going wrong there?

It seems that the OBS scheduler, for instance, is running fine, so I
imagine this is either a Passenger/... packaging problem in Factory or a
configuration/code problem on the OBS side?


In order to get OBS running on armv7l, I needed to branch the following
packages (in addition to OBS:Server:Unstable noarch packages), with no
link diff left:

apache2-mod_xforward
perl-BSSolv
rubygem-acts_as_list
rubygem-acts_as_tree
rubygem-clockwork
rubygem-cocoon
rubygem-dalli
rubygem-escape_utils
rubygem-hoptoad_notifier
rubygem-innertube
rubygem-joiner
rubygem-kaminari
rubygem-middleware
rubygem-passenger
rubygem-pundit
rubygem-redcarpet
rubygem-riddle
rubygem-ruby-ldap
rubygem-thinking-sphinx

https://build.opensuse.org/project/show/home:a_faerber:branches:OBS:Server:Unstable

@Adrian, it would be nice if you could add openSUSE_Factory_ARM to
OBS:Server:Unstable, to build them centrally instead. To save resources
you could disable the build for aarch64/armv7l by default and just
enable the above list of non-noarch packages for now.

Also note that there's an OBS-WorkerOnly-midway Kiwi package that
references obs://OBS:Server:Unstable/openSUSE_13.1_ports which no longer
exists.

rubygem-rails-4_2 is available in Tumbleweed already and probably
shouldn't be rebuilt for openSUSE_Factory(_ARM) - it originally caused
Gemfile problems that their 4.2.x versions between openSUSE:Factory:ARM
and OBS:Server:Unstable were slightly out of sync: There's a link diff
on that package, being at 4.2.2 while Factory has 4.2.4 currently -
intentional? I am using the available Factory version.

https://build.opensuse.org/package/show/OBS:Server:Unstable/rubygem-rails-4_2

In case anyone wonders why :Unstable, :2.6 is not being built for
Factory at all.

Regards,
Andreas

--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups