Date: Sun, 4 Aug 2013 21:17:23 +0200 From: Marcin Wisnicki <mwisnicki+freebsd@gmail.com> To: Torfinn Ingolfsen <tingox@gmail.com> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: mail/mail-notification 5.4 fails to compile Message-ID: <CAC9GOO9c04Xn=i-64Gv1HV8Ru%2Ba7Q5%2BCrFsGei8_OKcBHWnRMw@mail.gmail.com> In-Reply-To: <CAC9GOO-HEFvvkgu-Nc80vNFhFq_eZWJ8vLusm8A3Gf__x82cJA@mail.gmail.com> References: <CAJ_iqtbfe_HJEiEfeFQLvA=r=NC2GsGqOm%2B2UKF%2BeosuimK1ng@mail.gmail.com> <CAC9GOO9Xz%2B3EqBrkLyrSVo%2BBwENE-chf0iOMSKm9fPd=8dzJYw@mail.gmail.com> <CAJ_iqtZ9h5e=57C94wBiZmcHXGUKq-dfTAGN6H4N2Z_fbb8gnQ@mail.gmail.com> <CAC9GOO-HEFvvkgu-Nc80vNFhFq_eZWJ8vLusm8A3Gf__x82cJA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mwisnicki+freebsd@gmail.com> 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 <tingox@gmail.com> wrote: >> Hi, >> >> On Sat, Aug 3, 2013 at 7:32 PM, Marcin Wisnicki >> <mwisnicki+freebsd@gmail.com> 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 <steve@sk2.org> >> | >> |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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC9GOO9c04Xn=i-64Gv1HV8Ru%2Ba7Q5%2BCrFsGei8_OKcBHWnRMw>