From owner-freebsd-ports@FreeBSD.ORG Sun Aug 4 18:08:12 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 1AE4AB74 for ; Sun, 4 Aug 2013 18:08:12 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A381021E9 for ; Sun, 4 Aug 2013 18:08:11 +0000 (UTC) Received: by mail-we0-f173.google.com with SMTP id x55so1827851wes.4 for ; Sun, 04 Aug 2013 11:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2yeyrdqxfEfHTorl9QfRjmDrpzfvcs9ksxnrtzZDh8M=; b=n1uinRcRvKjMm/3h6Yx0ZgbGnEE9mg7qyjI5QC5ZMrrEG0YAR0joFh12BvUcX4Vq0s +WGZFYFCs64IYggK1EObAZimcDxuK4ppqn67JGpAqRfbIW7tnxzxl+4xO2kzZHZfhIns eam4zDVr8GlMtt/x6Kmes/4xbjMoy6lfGny4tBtMEAEdhP1SDVhBELrG6yres49RjTHi eyA8FUNE/FHnc6OToFSdp/JOZMkmy3+5J0f0Ja2vDF9ZAO3X6nLh35XxjY/+rkq6fD8H uKILLtcx/N52XGDZBYb/bpBJZm/oXiAthaPgOk7nQ+eesAejTA1aTF672pMmAZAH28++ sk1w== MIME-Version: 1.0 X-Received: by 10.180.184.84 with SMTP id es20mr4432262wic.37.1375639689845; Sun, 04 Aug 2013 11:08:09 -0700 (PDT) Received: by 10.216.170.71 with HTTP; Sun, 4 Aug 2013 11:08:09 -0700 (PDT) In-Reply-To: References: Date: Sun, 4 Aug 2013 20:08:09 +0200 Message-ID: Subject: Re: mail/mail-notification 5.4 fails to compile From: Torfinn Ingolfsen To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 Cc: Marcin Wisnicki 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: Sun, 04 Aug 2013 18:08:12 -0000 Hi, On Sat, Aug 3, 2013 at 7:32 PM, Marcin Wisnicki wrote: > You will need this patch: > http://patch-tracker.debian.org/patch/series/view/mail-notification/5.4.dfsg.1-8/disable-werror.patch > from which you have to strip first directory in file name. Thanks, testing now: root@kg-core1# pwd /usr/ports/mail/mail-notification/work/mail-notification-5.4 root@kg-core1# patch -p1 < /home/tingo/work/disable-werror.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Description: Check for maintainer mode correctly |Author: Stephen Kitt | |Maintainer mode was being activated in all cases, which is not |desirable; in particular on buildds it enables -Werror which causes |the build to fail now. | |--- mail-notification-5.4.dfsg.1.orig/jb |+++ mail-notification-5.4.dfsg.1/jb -------------------------- Patching file jb using Plan A... Hunk #1 succeeded at 37. done Patched without trouble. root@kg-core1# cd ../.. output from build: ===> Configuring for mail-notification-5.4_10 cd /usr/ports/mail/mail-notification/work/mail-notification-5.4 && jb_cppflags="-I/usr/local/include" jb_ldflags=" -L/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib" ./jb configure cc="cc" cflags="-O2 -pipe -fno-strict-aliasing" cppflags="-I/usr/local/include" ldflags=" -L/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib" prefix="/usr/local" hotmail=no yahoo=no evolution=no mozilla=no [...] building program mail-notification Mail Notification 5.4 was built successfully. Type "sudo ./jb install" to install Mail Notification 5.4. output from install: Mail Notification 5.4 was installed successfully. ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for mail-notification-5.4_10 But upon starting I get this: tingo@kg-core1$ mail-notification -p ** (mail-notification:37126): WARNING **: cannot find default value of configuration key "/apps/mail-notification/commands/new-mail/enabled" ** (mail-notification:37126): WARNING **: cannot find default value of configuration key "/apps/mail-notification/commands/new-mail/command" (lots of lines snipped for brevity) It seems this is a known bug: https://bugzilla.redhat.com/show_bug.cgi?id=522363 https://bugzilla.redhat.com/show_bug.cgi?id=682584 Testing with gconftool-2: tingo@kg-core1$ gconftool-2 --get /apps/mail-notification/commands/new-mail/enabled No value set for `/apps/mail-notification/commands/new-mail/enabled' root@kg-core1# pkill gconfd-2 tingo@kg-core1$ gconftool-2 --get /apps/mail-notification/commands/new-mail/enabled false and after that starting mail-notification works. HTH -- Regards, Torfinn Ingolfsen