From owner-freebsd-ports-bugs@freebsd.org Thu Oct 26 09:45:23 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A96A5E43D9D for ; Thu, 26 Oct 2017 09:45:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 973D1733CB for ; Thu, 26 Oct 2017 09:45:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v9Q9jNLn046051 for ; Thu, 26 Oct 2017 09:45:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223259] archivers/arj: build error: Invalid token Date: Thu, 26 Oct 2017 09:45:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fsbruva@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: garga@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 09:45:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223259 Bug ID: 223259 Summary: archivers/arj: build error: Invalid token Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: garga@FreeBSD.org Reporter: fsbruva@yahoo.com Flags: maintainer-feedback?(garga@FreeBSD.org) Assignee: garga@FreeBSD.org Created attachment 187494 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187494&action= =3Dedit Patch to specify language support. On FreeBSD 11.1-RELEASE-p1 #0 r322430M on amd, the port fails to build due = to the Makefile's mechanism for specifying the LOCALE variable as a MAKE_ARG. = If the LANGUAGE environmental variable is set to anything other than an ISO 63= 9-1 language code (en_US.UTF-8, for example), the build fails. Additionally, arj only has language support for {en,de,ru}.=20 The error is shown below: =3D=3D=3D> Building for arj-3.10.22_5 gmake[2]: Entering directory '/usr/ports/archivers/arj/work/arj-3.10.22' mkdir -p ./freebsd11.1/en_US.UTF-8/rs mkdir -p ./freebsd11.1/en_US.UTF-8/rs/tools mkdir -p ./freebsd11.1/en_US.UTF-8/rs/arjcrypt mkdir -p ./freebsd11.1/en_US.UTF-8/rs/sfxstub mkdir -p ./freebsd11.1/en_US.UTF-8/rs/arjsfxv mkdir -p ./freebsd11.1/en_US.UTF-8/rs/arjsfx mkdir -p ./freebsd11.1/en_US.UTF-8/rs/arjsfxjr mkdir -p ./freebsd11.1/en_US.UTF-8/rs/arj mkdir -p ./freebsd11.1/en_US.UTF-8/rs/rearj mkdir -p ./freebsd11.1/en_US.UTF-8/rs/register mkdir -p ./freebsd11.1/en_US.UTF-8/rs/arjdisp gmake msg-headers gmake[3]: Entering directory '/usr/ports/archivers/arj/work/arj-3.10.22' cc -DARJUTIL -c -Ifreebsd11.1 -I./freebsd11.1/en_US.UTF-8/rs -I. -O2 -pipe= =20=20=20=20=20 -fPIC -fstack-protector -fno-strict-aliasing -DLOCALE=3DLANG_en_US.UTF-8 = -DL=20=20=20 OCALE_DESC=3D"\"en_US.UTF-8\"" -DPKGLIBDIR=3D"\"/usr/local/lib/arj\"" -D_= UNIX -=20=20 O2 -pipe -fPIC -fstack-protector -fno-strict-aliasing -ofreebsd11.1/en_= US.=20 UTF-8/rs/tools/filemode.o filemode.c cc -DARJUTIL -c -Ifreebsd11.1 -I./freebsd11.1/en_US.UTF-8/rs -I. -O2 -pipe= =20=20=20=20=20 -fPIC -fstack-protector -fno-strict-aliasing -DLOCALE=3DLANG_en_US.UTF-8 = -DL=20=20=20 OCALE_DESC=3D"\"en_US.UTF-8\"" -DPKGLIBDIR=3D"\"/usr/local/lib/arj\"" -D_= UNIX -=20=20 O2 -pipe -fPIC -fstack-protector -fno-strict-aliasing -ofreebsd11.1/en_= US.=20 UTF-8/rs/tools/msgbind.o msgbind.c cc -DARJUTIL -c -Ifreebsd11.1 -I./freebsd11.1/en_US.UTF-8/rs -I. -O2 -pipe= =20=20=20=20=20 -fPIC -fstack-protector -fno-strict-aliasing -DLOCALE=3DLANG_en_US.UTF-8 = -DL=20=20=20 OCALE_DESC=3D"\"en_US.UTF-8\"" -DPKGLIBDIR=3D"\"/usr/local/lib/arj\"" -D_= UNIX -=20=20 O2 -pipe -fPIC -fstack-protector -fno-strict-aliasing -ofreebsd11.1/en_= US.=20 UTF-8/rs/tools/arjdata.o arjdata.c cc -DARJUTIL -c -Ifreebsd11.1 -I./freebsd11.1/en_US.UTF-8/rs -I. -O2 -pipe= =20=20=20=20=20 -fPIC -fstack-protector -fno-strict-aliasing -DLOCALE=3DLANG_en_US.UTF-8 = -DL=20=20=20 OCALE_DESC=3D"\"en_US.UTF-8\"" -DPKGLIBDIR=3D"\"/usr/local/lib/arj\"" -D_= UNIX -=20=20 O2 -pipe -fPIC -fstack-protector -fno-strict-aliasing -ofreebsd11.1/en_= US.=20 UTF-8/rs/tools/crc32.o crc32.c msgbind.c:452:50: warning: if statement has empty body [-Wempty-body] if(argv[6][strlen(argv[6])-1]!=3DPATHSEP_DEFAULT); ^ msgbind.c:452:50: note: put the semicolon on a separate line to silence thi= =20=20=20=20 s warning 1 warning generated. arjdata.c:116:8: error: token is not a valid binary operator in a preprocessor subexpression #if LOCALE=3D=3DLANG_en ^~~~~~ :2:26: note: expanded from here #define LOCALE LANG_en_US.UTF-8 ~~~~~~~~~~^ --=20 You are receiving this mail because: You are the assignee for the bug.=