From owner-freebsd-ports@FreeBSD.ORG Sun Aug 4 19:17:24 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 51F59305 for ; Sun, 4 Aug 2013 19:17:24 +0000 (UTC) (envelope-from mwisnicki@gmail.com) Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1C421251A for ; Sun, 4 Aug 2013 19:17:24 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wo10so4160636obc.41 for ; Sun, 04 Aug 2013 12:17:23 -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=0KXieLOFVyTHoth0y65qeuDhzqA+3bSkXalcDK/kK4Q=; b=SQ77T7d56oWunht73010dYFJhrf8D8Y5akXyw4+KLAxxWrHxCfM75eX0t6znrfWR55 ACMzoRBVay3b1mZPAQ9BTEhTyznD3VbXT0ZhuJLqScugTX4htTqcXkyGyaJxB4W6t4eQ Kp/i6zvqvOBManunB2MZvz14nHivYKOpKpK1pRD7BNGt5/Skhp/4BxSIlJGeRae+leSb DpxArWGtU14wZSeHNng+UmURcvgXPMHwhPMQV13u78mm+yfQmvnG9UB9ERimdXeL/ble tchTbUflJ7ggYf2gD9C7CbNThWgPQ3+ty5C8T3JDL0fl8W8tJHtCcfcLnvcCLG6HFypv qnWQ== MIME-Version: 1.0 X-Received: by 10.50.132.98 with SMTP id ot2mr775750igb.38.1375643843339; Sun, 04 Aug 2013 12:17:23 -0700 (PDT) Sender: mwisnicki@gmail.com Received: by 10.50.50.171 with HTTP; Sun, 4 Aug 2013 12:17:23 -0700 (PDT) In-Reply-To: References: Date: Sun, 4 Aug 2013 21:17:23 +0200 X-Google-Sender-Auth: tjDqgdnWGJX7_skJOGDpol2DWYw 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 19:17:24 -0000 BTW there are no build errors on build cluster. Is there anything non-standard about your build environment ? On Sun, Aug 4, 2013 at 8:42 PM, Marcin Wisnicki wrote: > 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