Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2018 13:42:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225448] print/tex-luatex: compiler error: invalid suffix on literal; C++11 requires a space between literal and identifier
Message-ID:  <bug-225448-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225448

            Bug ID: 225448
           Summary: print/tex-luatex: compiler error: invalid suffix on
                    literal; C++11 requires a space between literal and
                    identifier
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(hrs@FreeBSD.org)
          Assignee: hrs@FreeBSD.org

On  recent CURRENT with the very same jail, poudriere fails to build port
print/tex-luatex and fails with the error shown below. The base system (as =
well
as the jail) is running FreeBSD 12.0-CURRENT #45 r328300: Tue Jan 23 21:42:=
45
CET 2018 amd64.


[...]
Writing the output file (pdftoepdf.cc):.....500...
Done.
(No errors were found.)
c++ -DHAVE_CONFIG_H -I. -I./w2c  -I/usr/local/lib -I/usr/local/include=20=20
-I/usr/local/include/libpng16 -DPOPPLER_VERSION=3D\"0.57.0\"
-I/usr/local/include/poppler -I./libmd5  -DpdfTeX -I./luatexdir=20
-DSYNCTEX_ENGINE_H=3D'<synctex-luatex.h>' -I./synctexdir
-I/usr/local/include/texlua52  -I./../../libs/lua52/lua-5.2.4/src
-DLUA_COMPAT_MODULE -DLUAI_HASHLIMIT=3D6 -DLUA_USE_POSIX -DLUA_USE_DLOPEN
-I/usr/local/include  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT
libluatex_a-pdftoepdf.o -MD -MP -MF .deps/libluatex_a-pdftoepdf.Tpo -c -o
libluatex_a-pdftoepdf.o `test -f 'pdftoepdf.cc' || echo './'`pdftoepdf.cc
./luatexdir/image/pdftoepdf.w:73:34: error: invalid suffix on literal; C++11
requires a space between literal and identifier
[-Wreserved-user-defined-literal]
snprintf(ck,PDF_CHECKSUM_SIZE,"%"PRIu64"_%"PRIu64,(uint64_t)size,
                                 ^

./luatexdir/image/pdftoepdf.w:73:44: error: invalid suffix on literal; C++11
requires a space between literal and identifier
[-Wreserved-user-defined-literal]
snprintf(ck,PDF_CHECKSUM_SIZE,"%"PRIu64"_%"PRIu64,(uint64_t)size,
                                           ^

2 errors generated.
*** Error code 1

Stop.
make[3]: stopped in
/wrkdirs/usr/ports/print/tex-luatex/work/texlive-20150521-source/texk/web2c
*** Error code 1

--=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-225448-13>