From owner-freebsd-ports@FreeBSD.ORG Wed Oct 23 18:25:34 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 57AFB5EB for ; Wed, 23 Oct 2013 18:25:34 +0000 (UTC) (envelope-from trashcan@odo.in-berlin.de) Received: from mx1.enfer-du-nord.net (mx1.enfer-du-nord.net [91.121.60.26]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1EBDB238A for ; Wed, 23 Oct 2013 18:25:33 +0000 (UTC) Received: from sulu.fritz.box (p5DDC3A2F.dip0.t-ipconnect.de [93.220.58.47]) by mx1.enfer-du-nord.net (Postfix) with ESMTPSA id 3d4g4X48Y0zD6v for ; Wed, 23 Oct 2013 20:25:32 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: amavis[12345]: (12345-02) (!)file utility failed: exit 1 From: Michael Grimm In-Reply-To: <201310232003.39787.Mark.Martinec+freebsd@ijs.si> Date: Wed, 23 Oct 2013 20:25:31 +0200 Content-Transfer-Encoding: 7bit Message-Id: <029DD189-E4F7-441D-95A4-08E73327DBDB@odo.in-berlin.de> References: <201310232003.39787.Mark.Martinec+freebsd@ijs.si> To: "freebsd-ports@freebsd.org" X-Mailer: Apple Mail (2.1510) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 18:25:34 -0000 Hi -- On 23.10.2013, at 20:03, Mark Martinec wrote: > The text "ERROR: line 163: regex error 17, (illegal byte sequence)" > comes from the file utility, unmodified. > >> 1) Is the file utility to blame? > > Yes. > >> 2) My setup? > > Possibly (e.g. broken magic database). > > Looks like a known bug in the file utility, already fixed upstream: > > http://bugs.gw.com/my_view_page.php > (search for: illegal byte sequence) > > Should be reproducible by running the file(1) from a command line > (in the same/similar environment as amavisd is running, just in case). Confirmed, it's throwing the same error message[1]: | mail> /usr/local/bin/file zzz | zzz: ERROR: line 163: regex error 17, (illegal byte sequence) Thank you for helping me understand that issue. Now, I will wait for a corrected file port. With kind regards, Michael [1] Sorry, I should have tested it this way already.