From owner-freebsd-ports@freebsd.org Sat Jun 23 19:11:47 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45C2E1002F8D for ; Sat, 23 Jun 2018 19:11:47 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3BB18EE43 for ; Sat, 23 Jun 2018 19:11:46 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 87948218EB for ; Sat, 23 Jun 2018 15:11:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 23 Jun 2018 15:11:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=2Hndr80S77EthOUa89kS9AKpzdf+Zl2jmt2CEJ6JW+s=; b=geWXHcFI i5z7e3qHOI83JCPAF1wk/Q79yGqcMXjG38Qu26C+2rOfYIivvc1mEbub4wHe8szJ ox0GDYsBPpVK0S/iV0yCeHhhyPJFuZ1GGkA+eTI5jsJPoX5zKbr1yi6hxGuXijrV 20jEmvX7nCiuyiMYGNbbb1FyQDPn3mXoL+A/2HBGze0PZbML/Pm16SYx2h/MYVoL Q0kyOF82duMD+j/tZRWT3qxY017iENh1x0UipNfW0Skw0PbsLw6fx/ZV/Z30nkxn /o2OexSkE5nzSlkoje/+FHuu1E9nuCNepQonHhXP/0Z9TlW508FP6UmUU1NR0nuv 2iF+qa8yLMXXNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=2Hndr80S77EthOUa89kS9AKpzdf+Z l2jmt2CEJ6JW+s=; b=SYpV1LgzT3deCyhh9b2ucXy3AE3r8pcjnybunjNYj8M0H E2/ren1WOZo0u1xBS6rJEtYEUq3GFfkU5KB6UutS1OamtYOTyfewl8TT/OfGfebA Wd4uku3TL1Q3WBBDPKrjyvrqFLOEMwIJEB/wHZuICvwMKXZDGA6ZMqKooNgYJOEa YsGOctuzvj8Ox3GxaQp+lEoPRrYSrbEbBOXc/dQP1H6hwhYiJwNanrG06X9Qxuye KrsazgSmkTC2OBW44wuANHXuNQZGpQGFZ89zBj7DN5zB5Hdjdvzh4D4uvBsnGTc6 SZC4nHGzerLqKXh+Bj179Ux/G+V2Dyvk4sqaSjg2g== X-ME-Proxy: X-ME-Sender: Received: from desktop.local (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 0012FE403B for ; Sat, 23 Jun 2018 15:11:39 -0400 (EDT) To: freebsd-ports@freebsd.org From: tech-lists Subject: graphics/ufraw fails to compile on 11-stable Organization: none Message-ID: <64a1f5f9-1a99-e6bd-5ff4-8f7e233a4267@zyxst.net> Date: Sat, 23 Jun 2018 20:11:38 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2018 19:11:47 -0000 Hello, graphics/ufraw fails to compile. context: freebsd-11-stable r333924, fresh ports tree as of today (r473125). *No* ports installed. pkg delete -af was run beforehand. root@testvm:/usr/ports/graphics/ufraw # make -DBATCH install [...] cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include -I/usr/local/include -I/usr/local/include/lensfun -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -DDCRAW_NOMAIN -DUFRAW_LOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -O2 -pipe -march=haswell -fstack-protector -fno-strict-aliasing -MT dcraw_indi.o -MD -MP -MF .deps/dcraw_indi.Tpo -c -o dcraw_indi.o dcraw_indi.c dcraw.cc:8952:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] is_raw += (i = get4()) && 1; ^ ~ dcraw.cc:8952:30: note: use '&' for a bitwise operation is_raw += (i = get4()) && 1; ^~ & dcraw.cc:8952:30: note: remove constant to silence this warning is_raw += (i = get4()) && 1; ~^~~~ dcraw.cc:10198:30: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] strcpy (th->soft, "dcraw v"DCRAW_VERSION); ^ dcraw.cc:10723:44: warning: adding 'unsigned int' to a string does not append to the string [-Wstring-plus-int] write_ext = ".pgm\0.ppm\0.ppm\0.pam" + colors*5-5; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ dcraw.cc:10723:44: note: use array indexing to silence this warning write_ext = ".pgm\0.ppm\0.ppm\0.pam" + colors*5-5; ^ & [ ] 16 warnings and 1 error generated. gmake[4]: *** [Makefile:919: dcraw.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... mv -f .deps/ufraw_settings.Tpo .deps/ufraw_settings.Po mv -f .deps/dcraw_api.Tpo .deps/dcraw_api.Po mv -f .deps/ufraw_lensfun.Tpo .deps/ufraw_lensfun.Po mv -f .deps/ufobject.Tpo .deps/ufobject.Po mv -f .deps/dcraw_indi.Tpo .deps/dcraw_indi.Po gmake[4]: Leaving directory '/usr/ports/graphics/ufraw/work/ufraw-6d3259a' gmake[3]: *** [Makefile:1059: all-recursive] Error 1 gmake[3]: Leaving directory '/usr/ports/graphics/ufraw/work/ufraw-6d3259a' gmake[2]: *** [Makefile:609: all] Error 2 gmake[2]: Leaving directory '/usr/ports/graphics/ufraw/work/ufraw-6d3259a' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/ufraw *** Error code 1 Stop. make: stopped in /usr/ports/graphics/ufraw ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ root@testvm:/usr/ports/graphics/ufraw# make MAKE_JOBS_UNSAFE=yes [...] dcraw.cc:1126:19: warning: implicit conversion from 'int' to 'short' changes value from 65535 to -1 [-Wconstant-conversion] FORC3 rp[c] = CLIP(pix[c] * sraw_mul[c] >> 10); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcraw.cc:241:32: note: expanded from macro 'CLIP' #define CLIP(x) LIM((int)(x),0,65535) ^~~~~ dcraw.cc:239:38: note: expanded from macro 'LIM' #define LIM(x,min,max) MAX(min,MIN(x,max)) ^~~ /usr/local/include/glib-2.0/glib/gmacros.h:291:42: note: expanded from macro 'MIN' #define MIN(a, b) (((a) < (b)) ? (a) : (b)) ^ /usr/local/include/glib-2.0/glib/gmacros.h:288:42: note: expanded from macro 'MAX' #define MAX(a, b) (((a) > (b)) ? (a) : (b)) ^ dcraw.cc:8952:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] is_raw += (i = get4()) && 1; ^ ~ dcraw.cc:8952:30: note: use '&' for a bitwise operation is_raw += (i = get4()) && 1; ^~ & dcraw.cc:8952:30: note: remove constant to silence this warning is_raw += (i = get4()) && 1; ~^~~~ dcraw.cc:10198:30: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] strcpy (th->soft, "dcraw v"DCRAW_VERSION); ^ dcraw.cc:10723:44: warning: adding 'unsigned int' to a string does not append to the string [-Wstring-plus-int] write_ext = ".pgm\0.ppm\0.ppm\0.pam" + colors*5-5; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ dcraw.cc:10723:44: note: use array indexing to silence this warning write_ext = ".pgm\0.ppm\0.ppm\0.pam" + colors*5-5; ^ & [ ] 16 warnings and 1 error generated. gmake[4]: *** [Makefile:919: dcraw.o] Error 1 gmake[4]: Leaving directory '/usr/ports/graphics/ufraw/work/ufraw-6d3259a' gmake[3]: *** [Makefile:1059: all-recursive] Error 1 gmake[3]: Leaving directory '/usr/ports/graphics/ufraw/work/ufraw-6d3259a' gmake[2]: *** [Makefile:609: all] Error 2 gmake[2]: Leaving directory '/usr/ports/graphics/ufraw/work/ufraw-6d3259a' *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/ufraw *** Error code 1 Stop. make: stopped in /usr/ports/graphics/ufraw root@testvm:/usr/ports/graphics/ufraw# thanks, -- J.