Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2012 18:59:07 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        gslin@gslin.org, freebsd-ports@FreeBSD.org
Subject:   multimedia/ruby-flvtool2 vs ruby 1.9
Message-ID:  <4F14575B.8020707@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F14575B.8020707>