Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2013 19:32:13 +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:  <CAC9GOO9Xz%2B3EqBrkLyrSVo%2BBwENE-chf0iOMSKm9fPd=8dzJYw@mail.gmail.com>
In-Reply-To: <CAJ_iqtbfe_HJEiEfeFQLvA=r=NC2GsGqOm%2B2UKF%2BeosuimK1ng@mail.gmail.com>
References:  <CAJ_iqtbfe_HJEiEfeFQLvA=r=NC2GsGqOm%2B2UKF%2BeosuimK1ng@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Unfortunately I don't have the time to test it right now or in the near future.

On Sat, Aug 3, 2013 at 3:29 PM, Torfinn Ingolfsen <tingox@gmail.com> wrote:
> mail-mailnotification 5.4 fails to compile:
>
> ===>  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 jb...
> cc1: warnings being treated as errors
> jbsrc/lib/src/core/jb-main.c: In function 'jb_main':
> jbsrc/lib/src/core/jb-main.c:164: warning: 'g_type_init' is deprecated
> (declared at /usr/local/include/glib-2.0/gobject/gtype.h:669)
> cc1: warnings being treated as errors
> jbsrc/lib/src/core/jb-util.c: In function 'print_warning_or_error':
> jbsrc/lib/src/core/jb-util.c:225: warning: function might be possible
> candidate for 'printf' format attribute
> ERROR: cannot build jb
> *** Error code 1
>
> Stop in /usr/ports/mail/mail-notification.
> *** Error code 1
>
> Stop in /usr/ports/mail/mail-notification.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portinstall20130803-82900-28tjk2 env make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>     ! mail/mail-notification    (unknown build error)
>
> This is on:
>
> tingo@kg-core1$ uname -a
> FreeBSD kg-core1.kg4.no 8.4-STABLE FreeBSD 8.4-STABLE #0 r253646: Thu
> Jul 25 10:12:31 UTC 2013
> root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
>
> HTH
> --
> Regards
> Torfinn Ingolfsen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC9GOO9Xz%2B3EqBrkLyrSVo%2BBwENE-chf0iOMSKm9fPd=8dzJYw>