multimedia/ruby-flvtool2 vs ruby 1.9
Andriy Gapon
avg at FreeBSD.org
Mon Jan 16 16:59:15 UTC 2012
Currently multimedia/ruby-flvtool2 doesn't build with ruby 1.9 - a known fact, the
port is marked as BROKEN.
There is a warning:
setup.rb:788: Use RbConfig instead of obsolete and deprecated Config.
That's probably up to the upstream to handle.
And there is an error:
updating shebang: flvtool2
setup.rb:1314:in `load': invalid byte sequence in UTF-8 (ArgumentError)
from setup.rb:1268:in `update_shebang_line'
from setup.rb:1251:in `block in setup_dir_bin'
from setup.rb:1250:in `each'
from setup.rb:1250:in `setup_dir_bin'
from setup.rb:1532:in `block in traverse'
from setup.rb:1549:in `dive_into'
from setup.rb:1530:in `traverse'
from setup.rb:1524:in `block in exec_task_traverse'
from setup.rb:1519:in `each'
from setup.rb:1519:in `exec_task_traverse'
from setup.rb:1246:in `exec_setup'
from setup.rb:996:in `exec_setup'
from setup.rb:826:in `invoke'
from setup.rb:773:in `invoke'
from setup.rb:1578:in `<main>'
The error occurs on the strange file in the source directory:
flvtool2-1.0.6/bin/._flvtool2
file(1) describes it as:
bin/._flvtool2: AppleDouble encoded Macintosh file
I am not sure what the file is and why it is there.
I see two solutions to the error:
1. make setup.rb just ignore that strange file
2. simply remove the file
Option #2 works for me.
--
Andriy Gapon
More information about the freebsd-ports
mailing list