Error building EMF(4.0-1). Build exited with non-zero status:1

Hello,

I have suffered from deployment error.

Here is my Log.

Preparing to deploy application...DONE
Uploading bundle for application: 1985080...DONE
Deploying bundle: 3681050 for application: 1985080 ...
Waiting for task: 798386770
building: Processing bundle: 3681050
building: Parsing manifest
building: Building image: 4139227
building: Installing system dependencies
building: Fetching packages
building: Building package: devEMF
################################ Begin Task Log ################################
[2020-09-28T23:46:06.817837394+0000] Execute script: packages/build/rgl.sh

  • set -e
  • apt-get update -qq
  • apt-get install -y libgl1-mesa-dev libglu1-mesa-dev
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    libdrm-dev libglu1-mesa libx11-xcb-dev libx11-xcb1 libxcb-dri2-0-dev
    libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0
    libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0
    libxcb-xfixes0-dev libxdamage-dev libxfixes-dev libxshmfence-dev
    libxxf86vm-dev mesa-common-dev x11proto-damage-dev x11proto-dri2-dev
    x11proto-fixes-dev x11proto-gl-dev x11proto-xf86vidmode-dev
    The following NEW packages will be installed:
    libdrm-dev libgl1-mesa-dev libglu1-mesa libglu1-mesa-dev libx11-xcb-dev
    libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev
    libxcb-randr0 libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev
    libxcb-xfixes0 libxcb-xfixes0-dev libxdamage-dev libxfixes-dev
    libxshmfence-dev libxxf86vm-dev mesa-common-dev x11proto-damage-dev
    x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev
    x11proto-xf86vidmode-dev
    The following packages will be upgraded:
    libx11-xcb1
    1 upgraded, 25 newly installed, 0 to remove and 80 not upgraded.
    Need to get 1377 kB of archives.
    After this operation, 8385 kB of additional disk space will be used.
    Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdrm-dev amd64 2.4.91-2~16.04.1 [232 kB]
    Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libglu1-mesa amd64 9.0.0-2.1 [168 kB]
    Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mesa-common-dev amd64 18.0.5-0ubuntu0~16.04.1 [543 kB]
    Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libx11-xcb1 amd64 2:1.6.3-1ubuntu2.2 [9296 B]
    Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libx11-xcb-dev amd64 2:1.6.3-1ubuntu2.2 [9684 B]
    Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-dri3-dev amd64 1.11.1-1ubuntu1 [5752 B]
    Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-randr0 amd64 1.11.1-1ubuntu1 [14.4 kB]
    Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-randr0-dev amd64 1.11.1-1ubuntu1 [18.2 kB]
    Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-xfixes0 amd64 1.11.1-1ubuntu1 [8840 B]
    Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-shape0-dev amd64 1.11.1-1ubuntu1 [6900 B]
    Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-xfixes0-dev amd64 1.11.1-1ubuntu1 [11.2 kB]
    Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-sync-dev amd64 1.11.1-1ubuntu1 [10.1 kB]
    Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-present-dev amd64 1.11.1-1ubuntu1 [6618 B]
    Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxshmfence-dev amd64 1.2-1 [3676 B]
    Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-dri2-0-dev amd64 1.11.1-1ubuntu1 [8384 B]
    Get:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-glx0-dev amd64 1.11.1-1ubuntu1 [26.9 kB]
    Get:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 x11proto-fixes-dev all 1:5.0-2ubuntu2 [14.2 kB]
    Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxfixes-dev amd64 1:5.0.1-2 [10.9 kB]
    Get:19 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 x11proto-damage-dev all 1:1.2.1-2 [8286 B]
    Get:20 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxdamage-dev amd64 1:1.1.4-2 [5028 B]
    Get:21 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 x11proto-xf86vidmode-dev all 2.3.1-2 [6116 B]
    Get:22 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libxxf86vm-dev amd64 1:1.1.4-1 [13.3 kB]
    Get:23 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 x11proto-dri2-dev all 2.8-2 [12.6 kB]
    Get:24 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 x11proto-gl-dev all 1.4.17-1 [17.9 kB]
    Get:25 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgl1-mesa-dev amd64 18.0.5-0ubuntu0~16.04.1 [4456 B]
    Get:26 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libglu1-mesa-dev amd64 9.0.0-2.1 [202 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 1377 kB in 0s (24.3 MB/s)
    Selecting previously unselected package libdrm-dev:amd64.
    (Reading database ... 121086 files and directories currently installed.)
    Preparing to unpack .../libdrm-dev_2.4.91-2~16.04.1_amd64.deb ...
    Unpacking libdrm-dev:amd64 (2.4.91-2~16.04.1) ...
    Selecting previously unselected package libglu1-mesa:amd64.
    Preparing to unpack .../libglu1-mesa_9.0.0-2.1_amd64.deb ...
    Unpacking libglu1-mesa:amd64 (9.0.0-2.1) ...
    Selecting previously unselected package mesa-common-dev:amd64.
    Preparing to unpack .../mesa-common-dev_18.0.5-0ubuntu0~16.04.1_amd64.deb ...
    Unpacking mesa-common-dev:amd64 (18.0.5-0ubuntu0~16.04.1) ...
    Preparing to unpack .../libx11-xcb1_2%3a1.6.3-1ubuntu2.2_amd64.deb ...
    Unpacking libx11-xcb1:amd64 (2:1.6.3-1ubuntu2.2) over (2:1.6.3-1ubuntu2.1) ...
    Selecting previously unselected package libx11-xcb-dev:amd64.
    Preparing to unpack .../libx11-xcb-dev_2%3a1.6.3-1ubuntu2.2_amd64.deb ...
    Unpacking libx11-xcb-dev:amd64 (2:1.6.3-1ubuntu2.2) ...
    Selecting previously unselected package libxcb-dri3-dev:amd64.
    Preparing to unpack .../libxcb-dri3-dev_1.11.1-1ubuntu1_amd64.deb ...
    Unpacking libxcb-dri3-dev:amd64 (1.11.1-1ubuntu1) ...
    Selecting previously unselected package libxcb-randr0:amd64.
    Preparing to unpack .../libxcb-randr0_1.11.1-1ubuntu1_amd64.deb ...
    Unpacking libxcb-randr0:amd64 (1.11.1-1ubuntu1) ...
    Selecting previously unselected package libxcb-randr0-dev:amd64.
    Preparing to unpack .../libxcb-randr0-dev_1.11.1-1ubuntu1_amd64.deb ...
    Unpacking libxcb-randr0-dev:amd64 (1.11.1-1ubuntu1) ...
    Selecting previously unselected package libxcb-xfixes0:amd64.
    Preparing to unpack .../libxcb-xfixes0_1.11.1-1ubuntu1_amd64.deb ...
    Unpacking libxcb-xfixes0:amd64 (1.11.1-1ubuntu1) ...
    Selecting previously unselected package libxcb-shape0-dev:amd64.
    Preparing to unpack .../libxcb-shape0-dev_1.11.1-1ubuntu1_amd64.deb ...
    Unpacking libxcb-shape0-dev:amd64 (1.11.1-1ubuntu1) ...
    Selecting previously unselected package libxcb-xfixes0-dev:amd64.
    Preparing to unpack .../libxcb-xfixes0-dev_1.11.1-1ubuntu1_amd64.deb ...
    Unpacking libxcb-xfixes0-dev:amd64 (1.11.1-1ubuntu1) ...
    Selecting previously unselected package libxcb-sync-dev:amd64.
    Preparing to unpack .../libxcb-sync-dev_1.11.1-1ubuntu1_amd64.deb ...
    Unpacking libxcb-sync-dev:amd64 (1.11.1-1ubuntu1) ...
    Selecting previously unselected package libxcb-present-dev:amd64.
    Preparing to unpack .../libxcb-present-dev_1.11.1-1ubuntu1_amd64.deb ...
    Unpacking libxcb-present-dev:amd64 (1.11.1-1ubuntu1) ...
    Selecting previously unselected package libxshmfence-dev:amd64.
    Preparing to unpack .../libxshmfence-dev_1.2-1_amd64.deb ...
    Unpacking libxshmfence-dev:amd64 (1.2-1) ...
    Selecting previously unselected package libxcb-dri2-0-dev:amd64.
    Preparing to unpack .../libxcb-dri2-0-dev_1.11.1-1ubuntu1_amd64.deb ...
    Unpacking libxcb-dri2-0-dev:amd64 (1.11.1-1ubuntu1) ...
    Selecting previously unselected package libxcb-glx0-dev:amd64.
    Preparing to unpack .../libxcb-glx0-dev_1.11.1-1ubuntu1_amd64.deb ...
    Unpacking libxcb-glx0-dev:amd64 (1.11.1-1ubuntu1) ...
    Selecting previously unselected package x11proto-fixes-dev.
    Preparing to unpack .../x11proto-fixes-dev_1%3a5.0-2ubuntu2_all.deb ...
    Unpacking x11proto-fixes-dev (1:5.0-2ubuntu2) ...
    Selecting previously unselected package libxfixes-dev:amd64.
    Preparing to unpack .../libxfixes-dev_1%3a5.0.1-2_amd64.deb ...
    Unpacking libxfixes-dev:amd64 (1:5.0.1-2) ...
    Selecting previously unselected package x11proto-damage-dev.
    Preparing to unpack .../x11proto-damage-dev_1%3a1.2.1-2_all.deb ...
    Unpacking x11proto-damage-dev (1:1.2.1-2) ...
    Selecting previously unselected package libxdamage-dev:amd64.
    Preparing to unpack .../libxdamage-dev_1%3a1.1.4-2_amd64.deb ...
    Unpacking libxdamage-dev:amd64 (1:1.1.4-2) ...
    Selecting previously unselected package x11proto-xf86vidmode-dev.
    Preparing to unpack .../x11proto-xf86vidmode-dev_2.3.1-2_all.deb ...
    Unpacking x11proto-xf86vidmode-dev (2.3.1-2) ...
    Selecting previously unselected package libxxf86vm-dev:amd64.
    Preparing to unpack .../libxxf86vm-dev_1%3a1.1.4-1_amd64.deb ...
    Unpacking libxxf86vm-dev:amd64 (1:1.1.4-1) ...
    Selecting previously unselected package x11proto-dri2-dev.
    Preparing to unpack .../x11proto-dri2-dev_2.8-2_all.deb ...
    Unpacking x11proto-dri2-dev (2.8-2) ...
    Selecting previously unselected package x11proto-gl-dev.
    Preparing to unpack .../x11proto-gl-dev_1.4.17-1_all.deb ...
    Unpacking x11proto-gl-dev (1.4.17-1) ...
    Selecting previously unselected package libgl1-mesa-dev:amd64.
    Preparing to unpack .../libgl1-mesa-dev_18.0.5-0ubuntu0~16.04.1_amd64.deb ...
    Unpacking libgl1-mesa-dev:amd64 (18.0.5-0ubuntu0~16.04.1) ...
    Selecting previously unselected package libglu1-mesa-dev:amd64.
    Preparing to unpack .../libglu1-mesa-dev_9.0.0-2.1_amd64.deb ...
    Unpacking libglu1-mesa-dev:amd64 (9.0.0-2.1) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for libc-bin (2.23-0ubuntu11) ...
    Setting up libdrm-dev:amd64 (2.4.91-2~16.04.1) ...
    Setting up libglu1-mesa:amd64 (9.0.0-2.1) ...
    Setting up mesa-common-dev:amd64 (18.0.5-0ubuntu0~16.04.1) ...
    Setting up libx11-xcb1:amd64 (2:1.6.3-1ubuntu2.2) ...
    Setting up libx11-xcb-dev:amd64 (2:1.6.3-1ubuntu2.2) ...
    Setting up libxcb-dri3-dev:amd64 (1.11.1-1ubuntu1) ...
    Setting up libxcb-randr0:amd64 (1.11.1-1ubuntu1) ...
    Setting up libxcb-randr0-dev:amd64 (1.11.1-1ubuntu1) ...
    Setting up libxcb-xfixes0:amd64 (1.11.1-1ubuntu1) ...
    Setting up libxcb-shape0-dev:amd64 (1.11.1-1ubuntu1) ...
    Setting up libxcb-xfixes0-dev:amd64 (1.11.1-1ubuntu1) ...
    Setting up libxcb-sync-dev:amd64 (1.11.1-1ubuntu1) ...
    Setting up libxcb-present-dev:amd64 (1.11.1-1ubuntu1) ...
    Setting up libxshmfence-dev:amd64 (1.2-1) ...
    Setting up libxcb-dri2-0-dev:amd64 (1.11.1-1ubuntu1) ...
    Setting up libxcb-glx0-dev:amd64 (1.11.1-1ubuntu1) ...
    Setting up x11proto-fixes-dev (1:5.0-2ubuntu2) ...
    Setting up libxfixes-dev:amd64 (1:5.0.1-2) ...
    Setting up x11proto-damage-dev (1:1.2.1-2) ...
    Setting up libxdamage-dev:amd64 (1:1.1.4-2) ...
    Setting up x11proto-xf86vidmode-dev (2.3.1-2) ...
    Setting up libxxf86vm-dev:amd64 (1:1.1.4-1) ...
    Setting up x11proto-dri2-dev (2.8-2) ...
    Setting up x11proto-gl-dev (1.4.17-1) ...
    Setting up libgl1-mesa-dev:amd64 (18.0.5-0ubuntu0~16.04.1) ...
    Setting up libglu1-mesa-dev:amd64 (9.0.0-2.1) ...
    Processing triggers for libc-bin (2.23-0ubuntu11) ...
    [2020-09-28T23:46:55.461522311+0000] Installing R package: rlang (0.4.7)
  • installing to library ‘/opt/R/4.0.2/lib/R/library’
  • installing binary package ‘rlang’ ...
  • DONE (rlang)
    [2020-09-28T23:46:55.742090929+0000] Installing R package: viridisLite (0.3.0)
  • installing to library ‘/opt/R/4.0.2/lib/R/library’
  • installing binary package ‘viridisLite’ ...
  • DONE (viridisLite)
    [2020-09-28T23:46:55.944468692+0000] Installing R package: nortest (1.0-4)
  • installing to library ‘/opt/R/4.0.2/lib/R/library’
  • installing binary package ‘nortest’ ...
  • DONE (nortest)
    [2020-09-28T23:46:56.140080254+0000] Building R package: devEMF (4.0-1)
    /mnt/packages/build /mnt
  • installing to library ‘/opt/R/4.0.2/lib/R/library’
  • installing source package ‘devEMF’ ...
    ** package ‘devEMF’ successfully unpacked and MD5 sums checked
    ** using staged installation
    checking for pkg-config... /usr/bin/pkg-config
    checking whether pkg-config knows about xft... no
    checking whether pkg-config knows about freetype2... yes
    configure: FREETYPE_CFLAGS=-I/usr/include/freetype2
    configure: FREETYPE_LIBS=-lfreetype
    checking whether pkg-config knows about zlib... yes
    configure: ZLIB_CFLAGS=
    configure: ZLIB_LIBS=-lz
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ -std=gnu++11 accepts -g... yes
    checking how to run the C++ preprocessor... g++ -std=gnu++11 -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for zlib.h... yes
    checking for ft2build.h... yes
    checking for X11/Xft/Xft.h... no
    checking for library containing gzopen... none required
    checking for library containing XftCharExists... no
    configure: creating ./config.status
    config.status: creating src/Makevars
    ** libs
    make: Entering directory '/tmp/RtmpvJ6wtu/R.INSTALL3935d63684/devEMF/src'
    g++ -std=gnu++11 -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -I/usr/include/freetype2 -DHAVE_ZLIB -I/usr/local/include -fpic -g -O2 -c devEMF.cpp -o devEMF.o
    In file included from devEMF.cpp:48:0:
    fontmetrics.h:315:56: error: expected class-name before ‘{’ token
    struct SPathOutlineFuncs : public FT_Outline_Funcs {
    ^
    fontmetrics.h:324:33: error: ‘FT_Vector’ does not name a type
    static int MoveTo(const FT_Vector* to, EMFPLUS::SPath path) {
    ^
    fontmetrics.h:330:33: error: ‘FT_Vector’ does not name a type
    static int LineTo(const FT_Vector
    to, EMFPLUS::SPath path) {
    ^
    fontmetrics.h:335:34: error: ‘FT_Vector’ does not name a type
    static int ConicTo(const FT_Vector
    control, const FT_Vector* to,
    ^
    fontmetrics.h:335:60: error: ‘FT_Vector’ does not name a type
    static int ConicTo(const FT_Vector* control, const FT_Vector* to,
    ^
    fontmetrics.h:344:34: error: ‘FT_Vector’ does not name a type
    static int CubicTo(const FT_Vector* control1, const FT_Vector* control2,
    ^
    fontmetrics.h:344:61: error: ‘FT_Vector’ does not name a type
    static int CubicTo(const FT_Vector* control1, const FT_Vector* control2,
    ^
    fontmetrics.h:345:34: error: ‘FT_Vector’ does not name a type
    const FT_Vector* to, EMFPLUS::SPath path) {
    ^
    fontmetrics.h: In constructor ‘SSysFontInfo::SPathOutlineFuncs::SPathOutlineFuncs()’:
    fontmetrics.h:317:13: error: ‘move_to’ was not declared in this scope
    move_to = (FT_Outline_MoveToFunc) MoveTo;
    ^
    fontmetrics.h:317:24: error: ‘FT_Outline_MoveToFunc’ was not declared in this scope
    move_to = (FT_Outline_MoveToFunc) MoveTo;
    ^
    fontmetrics.h:318:13: error: ‘line_to’ was not declared in this scope
    line_to = (FT_Outline_LineToFunc) LineTo;
    ^
    fontmetrics.h:318:24: error: ‘FT_Outline_LineToFunc’ was not declared in this scope
    line_to = (FT_Outline_LineToFunc) LineTo;
    ^
    fontmetrics.h:319:13: error: ‘conic_to’ was not declared in this scope
    conic_to = (FT_Outline_ConicToFunc) ConicTo;
    ^
    fontmetrics.h:319:25: error: ‘FT_Outline_ConicToFunc’ was not declared in this scope
    conic_to = (FT_Outline_ConicToFunc) ConicTo;
    ^
    fontmetrics.h:320:13: error: ‘cubic_to’ was not declared in this scope
    cubic_to = (FT_Outline_CubicToFunc) CubicTo;
    ^
    fontmetrics.h:320:25: error: ‘FT_Outline_CubicToFunc’ was not declared in this scope
    cubic_to = (FT_Outline_CubicToFunc) CubicTo;
    ^
    fontmetrics.h:321:13: error: ‘shift’ was not declared in this scope
    shift = 0;
    ^
    fontmetrics.h:322:13: error: ‘delta’ was not declared in this scope
    delta = 0;
    ^
    fontmetrics.h: In static member function ‘static int SSysFontInfo::SPathOutlineFuncs::MoveTo(const int
    , EMFPLUS::SPath*)’:
    fontmetrics.h:326:44: error: request for member ‘x’ in ‘* to’, which is of non-class type ‘const int’
    path->StartNewPoly((double)to->x/64, (double)to->y/64);
    ^
    fontmetrics.h:326:62: error: request for member ‘y’ in ‘* to’, which is of non-class type ‘const int’
    path->StartNewPoly((double)to->x/64, (double)to->y/64);
    ^
    fontmetrics.h: In static member function ‘static int SSysFontInfo::SPathOutlineFuncs::LineTo(const int*, EMFPLUS::SPath*)’:
    fontmetrics.h:331:41: error: request for member ‘x’ in ‘* to’, which is of non-class type ‘const int’
    path->AddLineTo((double)to->x/64, (double)to->y/64);
    ^
    fontmetrics.h:331:59: error: request for member ‘y’ in ‘* to’, which is of non-class type ‘const int’
    path->AddLineTo((double)to->x/64, (double)to->y/64);
    ^
    fontmetrics.h: In static member function ‘static int SSysFontInfo::SPathOutlineFuncs::ConicTo(const int*, const int*, EMFPLUS::SPath*)’:
    fontmetrics.h:337:52: error: request for member ‘x’ in ‘* control’, which is of non-class type ‘const int’
    path->AddQuadBezierTo((double)control->x/64,
    ^
    fontmetrics.h:338:52: error: request for member ‘y’ in ‘* control’, which is of non-class type ‘const int’
    (double)control->y/64,
    ^
    fontmetrics.h:339:47: error: request for member ‘x’ in ‘* to’, which is of non-class type ‘const int’
    (double)to->x/64,
    ^
    fontmetrics.h:340:47: error: request for member ‘y’ in ‘* to’, which is of non-class type ‘const int’
    (double)to->y/64);
    ^
    fontmetrics.h: In static member function ‘static int SSysFontInfo::SPathOutlineFuncs::CubicTo(const int*, const int*, const int*, EMFPLUS::SPath*)’:
    fontmetrics.h:346:54: error: request for member ‘x’ in ‘* control1’, which is of non-class type ‘const int’
    path->AddCubicBezierTo((double)control1->x/64,
    ^
    fontmetrics.h:347:54: error: request for member ‘y’ in ‘* control1’, which is of non-class type ‘const int’
    (double)control1->y/64,
    ^
    fontmetrics.h:348:54: error: request for member ‘x’ in ‘* control2’, which is of non-class type ‘const int’
    (double)control2->x/64,
    ^
    fontmetrics.h:349:54: error: request for member ‘y’ in ‘* control2’, which is of non-class type ‘const int’
    (double)control2->y/64,
    ^
    fontmetrics.h:350:48: error: request for member ‘x’ in ‘* to’, which is of non-class type ‘const int’
    (double)to->x/64, (double)to->y/64);
    ^
    fontmetrics.h:350:66: error: request for member ‘y’ in ‘* to’, which is of non-class type ‘const int’
    (double)to->x/64, (double)to->y/64);
    ^
    /opt/R/4.0.2/lib/R/etc/Makeconf:176: recipe for target 'devEMF.o' failed
    make: *** [devEMF.o] Error 1
    make: Leaving directory '/tmp/RtmpvJ6wtu/R.INSTALL3935d63684/devEMF/src'
    make: Entering directory '/tmp/RtmpvJ6wtu/R.INSTALL3935d63684/devEMF/src'
    make: Leaving directory '/tmp/RtmpvJ6wtu/R.INSTALL3935d63684/devEMF/src'
    ERROR: compilation failed for package ‘devEMF’
  • removing ‘/opt/R/4.0.2/lib/R/library/devEMF’
    ################################# End Task Log #################################
    Error: Unhandled Exception: Child Task 798386794 failed: Error building image: Error building devEMF (4.0-1). Build exited with non-zero status: 1
    Execution halted