From owner-freebsd-ports@FreeBSD.ORG Mon Jan 16 16:59:15 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8144E1065672 for ; Mon, 16 Jan 2012 16:59:15 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C9B1D8FC15 for ; Mon, 16 Jan 2012 16:59:14 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA23560; Mon, 16 Jan 2012 18:59:08 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <4F14575B.8020707@FreeBSD.org> Date: Mon, 16 Jan 2012 18:59:07 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111109 Thunderbird/8.0 MIME-Version: 1.0 To: gslin@gslin.org, freebsd-ports@FreeBSD.org X-Enigmail-Version: undefined Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: multimedia/ruby-flvtool2 vs ruby 1.9 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2012 16:59:15 -0000 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 `
' 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