From owner-freebsd-ports@FreeBSD.ORG Sat Aug 3 17:32:15 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 81E027D for ; Sat, 3 Aug 2013 17:32:15 +0000 (UTC) (envelope-from mwisnicki@gmail.com) Received: from mail-oa0-x22c.google.com (mail-oa0-x22c.google.com [IPv6:2607:f8b0:4003:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4BFD92849 for ; Sat, 3 Aug 2013 17:32:15 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id l20so3641510oag.3 for ; Sat, 03 Aug 2013 10:32:13 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=y9IWidzhF/DK4ne2T0vGJ1VWdljK1B8sBZQSuiJpMKc=; b=xPutDvZf7nLAgHxT8TC3SBgNHPj85pFsIwkT6kh4qcnlpcPOLDrI6z6zPYcsYrCWwX KkfC9xpI6JSu00X3ElXGj+RU62ogrL3ZMi2m4hrbyUi76/FKIe1rtgSufbSB+fA3gt6H l8NT7smSG6fB/9i0jE4CRbZWC5uc6c4Stre+Y47cyH60vinQUnGX1AQpLCloR2S4D1EY LTNbRIRs23R2R0d/tAq4k3Ia/kSmi3wBVpxpcHowRwnN2HMu0ugZZlrEyrz89uXoPbch wrXuTBKme60tOJ0yueEf4UPdUxyvrlAFT3zy12F9EOuUqf/v+/hrrXHFrR08gTumKj0X 1C9A== MIME-Version: 1.0 X-Received: by 10.182.119.229 with SMTP id kx5mr9289722obb.23.1375551133769; Sat, 03 Aug 2013 10:32:13 -0700 (PDT) Sender: mwisnicki@gmail.com Received: by 10.76.19.40 with HTTP; Sat, 3 Aug 2013 10:32:13 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 Aug 2013 19:32:13 +0200 X-Google-Sender-Auth: 0Rj20jWqu0C24t4rodwKt53bKfQ 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: Sat, 03 Aug 2013 17:32:15 -0000 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 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