[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with rails asset pipeline?





On ബു, ഫെബ്രു 6, 2019 at 2:42 വൈകു, Cédric Boutillier <boutil@debian.org> wrote:
Hi,

While trying to fix ruby-rails-assets-highlightjs #919846 and enable
autopkgtest, I stumbled upon a problem:
when running the smoke-test, or rake assets:precompile, the process eats is stalled for several minutes. When I have patience to let it go to the
end, it ends with the following kind of error.


± rake assets:precompile
rake aborted!
Errno::ELOOP: Too many levels of symbolic links - Failed to watch "/usr/lib/llvm-6.0/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/Debug+Asserts/build/include/llvm/IRReader"
/tmp/foo/config/environment.rb:5:in `<main>'
Tasks: TOP => environment
(See full trace by running task with --trace)

(the autopkgtest run in lxc ends with an error saying it tries to read
/usr/lib/ssl/private...)

It happens also with the simplest example:

$ rails new foo
$ cd foo
$ rake assets:clean

it seems to search files on the whole filesystem, and not just where it
should.

I can't find the origin of the problem. Can someone with Rails expertise
could look at it?

I have also noticed this with lxc (meta/build), but `sudo autopkgtest ./ -- null` on local system works.





Reply to: