Date: Thu, 26 Oct 2017 09:45:23 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223259] archivers/arj: build error: Invalid token Message-ID: <bug-223259-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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 ^~~~~~ <command line>: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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223259-13>