From owner-freebsd-ports@FreeBSD.ORG Sun Aug 4 18:42:23 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B7B83935 for ; Sun, 4 Aug 2013 18:42:23 +0000 (UTC) (envelope-from mwisnicki@gmail.com) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7CD08238E for ; Sun, 4 Aug 2013 18:42:23 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id wd6so4108444obb.5 for ; Sun, 04 Aug 2013 11:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=d/aDIocw4TGFwKAQeNepCJUrU696rR6yoJlM5WRGYzY=; b=nLrnZiX6cOZ2gBLKduwAR5TweIKw9x2BjzSg7iPNKlYzR0MJBB2ktx7nkfSYnhVVK4 gAJV21M9FTV6MaoFn9GxeSd+6AnunH22jFBlkHxXP8dV06LlucFY5g5Lbc4pRgNF5sZn RQKB5oJ9R79ub8FrtEE6gVWnc0KqcwEkUVJIRaEyh7JTF423cJnTsKEwOpnzppn46z64 m6AD+/+eo2W1YVW/YZq7bxvtZQQU0Bny+JjifolQIzn2CCUYKto6SKhP8+/ViCgIo5+t LJQ+fOyvyiUoZxkUgP48dp58mSC2MGzO+oK+whsPnadVpsSq7IqL+VjqK9KBMbMO8GYC B23Q== MIME-Version: 1.0 X-Received: by 10.50.3.42 with SMTP id 10mr768429igz.39.1375641742597; Sun, 04 Aug 2013 11:42:22 -0700 (PDT) Sender: mwisnicki@gmail.com Received: by 10.50.50.171 with HTTP; Sun, 4 Aug 2013 11:42:22 -0700 (PDT) In-Reply-To: References: Date: Sun, 4 Aug 2013 20:42:22 +0200 X-Google-Sender-Auth: 1ZNbMzgexAgUVWCaavwNCbwVXfs Message-ID: Subject: Re: mail/mail-notification 5.4 fails to compile From: Marcin Wisnicki To: Torfinn Ingolfsen Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Ports ML 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:42:23 -0000 I guess bsd.gnome.mk should be smart enough to `killall -HUP gconfd-2` at package post-install when port uses gconf (has GCONF_SCHEMAS). Please file a PR against gnome ports. On Sun, Aug 4, 2013 at 8:08 PM, Torfinn Ingolfsen wrote: > 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