Project

General

Profile

Actions

Bug #23361

closed

plugin RPMs do not build when they contain webpack assets

Added by Evgeni Golov over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Urgent
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

** Invoke plugin:assets:precompile (first_time)
** Invoke environment (first_time)
** Execute environment
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/logger.rb:295: warning: constant ::Fixnum is deprecated
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
 INFO  app : Current user: foreman_admin (administrator)
 INFO  app : Current user: foreman_admin (administrator)
 INFO  app : Current user: foreman_admin (administrator)
rake aborted!
Errno::EACCES: Permission denied @ rb_sysopen - /builddir/build/BUILD/rubygem-katello-3.7.0/usr/share/foreman/public/webpack/manifest.json
/builddir/build/BUILD/rubygem-katello-3.7.0/usr/share/foreman/config/initializers/assets.rb:109:in `initialize'
/builddir/build/BUILD/rubygem-katello-3.7.0/usr/share/foreman/config/initializers/assets.rb:109:in `open'
/builddir/build/BUILD/rubygem-katello-3.7.0/usr/share/foreman/config/initializers/assets.rb:109:in `block (2 levels) in <top (required)>'
…
Actions #1

Updated by Evgeni Golov over 6 years ago

It tries to write the the foreman webpack/manifest.json and that's not allowed in this scenario.

Actions #2

Updated by Evgeni Golov over 6 years ago

  • Project changed from Packaging to Foreman
  • Subject changed from tfm-rubygem-katello RPM does not build to plugin RPMs do not build when they contain webpack assets
Actions #3

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/foreman/pull/5478 added
Actions #4

Updated by Ondřej Pražák over 6 years ago

  • Translation missing: en.field_release set to 330
Actions #5

Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF