systemfonts
systemfonts copied to clipboard
Doesn't install at all not even through "devtools::install_github("r-lib/svglite")"
Here is the log :
trying URL 'https://cloud.r-project.org/src/contrib/systemfonts_1.0.1.tar.gz'
Content type 'application/x-gzip' length 80368 bytes (78 KB)
==================================================
downloaded 78 KB
* installing *source* package ‘systemfonts’ ...
** package ‘systemfonts’ successfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
Using PKG_LIBS=-lfontconfig -lfreetype
** libs
rm -f systemfonts.so caches.o cpp11.o dev_metrics.o font_matching.o font_registry.o ft_cache.o string_shape.o font_metrics.o font_fallback.o string_metrics.o emoji.o cache_store.o init.o unix/FontManagerLinux.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c caches.cpp -o caches.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c cpp11.cpp -o cpp11.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c dev_metrics.cpp -o dev_metrics.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c font_matching.cpp -o font_matching.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c font_registry.cpp -o font_registry.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c ft_cache.cpp -o ft_cache.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c string_shape.cpp -o string_shape.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c font_metrics.cpp -o font_metrics.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c font_fallback.cpp -o font_fallback.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c string_metrics.cpp -o string_metrics.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c emoji.cpp -o emoji.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c cache_store.cpp -o cache_store.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.cpp -o init.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/FontManagerLinux.cpp -o unix/FontManagerLinux.o
In file included from /usr/include/x86_64-linux-gnu/asm/types.h:1,
from /usr/include/linux/types.h:5,
from /usr/include/linux/stat.h:5,
from /usr/include/x86_64-linux-gnu/bits/statx.h:31,
from /usr/include/x86_64-linux-gnu/sys/stat.h:446,
from /usr/include/fontconfig/fontconfig.h:29,
from unix/FontManagerLinux.cpp:1:
/usr/include/asm-generic/types.h:7:10: error: /usr/include/asm-generic/int-ll64.h: Input/output error
7 | #include <asm-generic/int-ll64.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/stat.h:5,
from /usr/include/x86_64-linux-gnu/bits/statx.h:31,
from /usr/include/x86_64-linux-gnu/sys/stat.h:446,
from /usr/include/fontconfig/fontconfig.h:29,
from unix/FontManagerLinux.cpp:1:
/usr/include/linux/types.h:24:9: error: ‘__u16’ does not name a type
24 | typedef __u16 __bitwise __le16;
| ^~~~~
/usr/include/linux/types.h:25:9: error: ‘__u16’ does not name a type
25 | typedef __u16 __bitwise __be16;
| ^~~~~
/usr/include/linux/types.h:26:9: error: ‘__u32’ does not name a type
26 | typedef __u32 __bitwise __le32;
| ^~~~~
/usr/include/linux/types.h:27:9: error: ‘__u32’ does not name a type
27 | typedef __u32 __bitwise __be32;
| ^~~~~
/usr/include/linux/types.h:28:9: error: ‘__u64’ does not name a type
28 | typedef __u64 __bitwise __le64;
| ^~~~~
/usr/include/linux/types.h:29:9: error: ‘__u64’ does not name a type
29 | typedef __u64 __bitwise __be64;
| ^~~~~
/usr/include/linux/types.h:31:9: error: ‘__u16’ does not name a type
31 | typedef __u16 __bitwise __sum16;
| ^~~~~
/usr/include/linux/types.h:32:9: error: ‘__u32’ does not name a type
32 | typedef __u32 __bitwise __wsum;
| ^~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/statx.h:31,
from /usr/include/x86_64-linux-gnu/sys/stat.h:446,
from /usr/include/fontconfig/fontconfig.h:29,
from unix/FontManagerLinux.cpp:1:
/usr/include/linux/stat.h:57:2: error: ‘__s64’ does not name a type
57 | __s64 tv_sec;
| ^~~~~
/usr/include/linux/stat.h:58:2: error: ‘__u32’ does not name a type
58 | __u32 tv_nsec;
| ^~~~~
/usr/include/linux/stat.h:59:2: error: ‘__s32’ does not name a type
59 | __s32 __reserved;
| ^~~~~
/usr/include/linux/stat.h:101:2: error: ‘__u32’ does not name a type
101 | __u32 stx_mask; /* What results were written [uncond] */
| ^~~~~
/usr/include/linux/stat.h:102:2: error: ‘__u32’ does not name a type
102 | __u32 stx_blksize; /* Preferred general I/O size [uncond] */
| ^~~~~
/usr/include/linux/stat.h:103:2: error: ‘__u64’ does not name a type
103 | __u64 stx_attributes; /* Flags conveying information about the file [uncond] */
| ^~~~~
/usr/include/linux/stat.h:105:2: error: ‘__u32’ does not name a type
105 | __u32 stx_nlink; /* Number of hard links */
| ^~~~~
/usr/include/linux/stat.h:106:2: error: ‘__u32’ does not name a type
106 | __u32 stx_uid; /* User ID of owner */
| ^~~~~
/usr/include/linux/stat.h:107:2: error: ‘__u32’ does not name a type
107 | __u32 stx_gid; /* Group ID of owner */
| ^~~~~
/usr/include/linux/stat.h:108:2: error: ‘__u16’ does not name a type
108 | __u16 stx_mode; /* File mode */
| ^~~~~
/usr/include/linux/stat.h:109:2: error: ‘__u16’ does not name a type
109 | __u16 __spare0[1];
| ^~~~~
/usr/include/linux/stat.h:111:2: error: ‘__u64’ does not name a type
111 | __u64 stx_ino; /* Inode number */
| ^~~~~
/usr/include/linux/stat.h:112:2: error: ‘__u64’ does not name a type
112 | __u64 stx_size; /* File size */
| ^~~~~
/usr/include/linux/stat.h:113:2: error: ‘__u64’ does not name a type
113 | __u64 stx_blocks; /* Number of 512-byte blocks allocated */
| ^~~~~
/usr/include/linux/stat.h:114:2: error: ‘__u64’ does not name a type
114 | __u64 stx_attributes_mask; /* Mask to show what's supported in stx_attributes */
| ^~~~~
/usr/include/linux/stat.h:121:2: error: ‘__u32’ does not name a type
121 | __u32 stx_rdev_major; /* Device ID of special file [if bdev/cdev] */
| ^~~~~
/usr/include/linux/stat.h:122:2: error: ‘__u32’ does not name a type
122 | __u32 stx_rdev_minor;
| ^~~~~
/usr/include/linux/stat.h:123:2: error: ‘__u32’ does not name a type
123 | __u32 stx_dev_major; /* ID of device containing file [uncond] */
| ^~~~~
/usr/include/linux/stat.h:124:2: error: ‘__u32’ does not name a type
124 | __u32 stx_dev_minor;
| ^~~~~
/usr/include/linux/stat.h:126:2: error: ‘__u64’ does not name a type
126 | __u64 __spare2[14]; /* Spare space for future expansion */
| ^~~~~
make: *** [/usr/lib/R/etc/Makeconf:181: unix/FontManagerLinux.o] Error 1
ERROR: compilation failed for package ‘systemfonts’
* removing ‘/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/systemfonts’
Error: Failed to install 'svglite' from GitHub:
(converted from warning) installation of package ‘systemfonts’ had non-zero exit status
> devtools::install_git("https://github.com/thomasp85/systemfonts")
Downloading git repo https://github.com/thomasp85/systemfonts
'/usr/bin/git' clone --depth 1 --no-hardlinks https://github.com/thomasp85/systemfonts /tmp/Rtmp314eZ9/file46ed33f0ba9
Cloning into '/tmp/Rtmp314eZ9/file46ed33f0ba9'...
✓ checking for file ‘/tmp/Rtmp314eZ9/file46ed33f0ba9/DESCRIPTION’ ...
─ preparing ‘systemfonts’:
✓ checking DESCRIPTION meta-information ...
─ cleaning src
─ running ‘cleanup’
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘systemfonts_1.0.1.9000.tar.gz’
Installing package into ‘/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package ‘systemfonts’ ...
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
Using PKG_LIBS=-lfontconfig -lfreetype
** libs
rm -f systemfonts.so caches.o cpp11.o dev_metrics.o font_matching.o font_registry.o ft_cache.o string_shape.o font_metrics.o font_fallback.o string_metrics.o emoji.o cache_store.o init.o unix/FontManagerLinux.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c caches.cpp -o caches.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c cpp11.cpp -o cpp11.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c dev_metrics.cpp -o dev_metrics.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c font_matching.cpp -o font_matching.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c font_registry.cpp -o font_registry.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c ft_cache.cpp -o ft_cache.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c string_shape.cpp -o string_shape.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c font_metrics.cpp -o font_metrics.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c font_fallback.cpp -o font_fallback.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c string_metrics.cpp -o string_metrics.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c emoji.cpp -o emoji.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c cache_store.cpp -o cache_store.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.cpp -o init.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I'/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-fhxXXR/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/FontManagerLinux.cpp -o unix/FontManagerLinux.o
In file included from /usr/include/x86_64-linux-gnu/asm/types.h:1,
from /usr/include/linux/types.h:5,
from /usr/include/linux/stat.h:5,
from /usr/include/x86_64-linux-gnu/bits/statx.h:31,
from /usr/include/x86_64-linux-gnu/sys/stat.h:446,
from /usr/include/fontconfig/fontconfig.h:29,
from unix/FontManagerLinux.cpp:1:
/usr/include/asm-generic/types.h:7:10: error: /usr/include/asm-generic/int-ll64.h: Input/output error
7 | #include <asm-generic/int-ll64.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/stat.h:5,
from /usr/include/x86_64-linux-gnu/bits/statx.h:31,
from /usr/include/x86_64-linux-gnu/sys/stat.h:446,
from /usr/include/fontconfig/fontconfig.h:29,
from unix/FontManagerLinux.cpp:1:
/usr/include/linux/types.h:24:9: error: ‘__u16’ does not name a type
24 | typedef __u16 __bitwise __le16;
| ^~~~~
/usr/include/linux/types.h:25:9: error: ‘__u16’ does not name a type
25 | typedef __u16 __bitwise __be16;
| ^~~~~
/usr/include/linux/types.h:26:9: error: ‘__u32’ does not name a type
26 | typedef __u32 __bitwise __le32;
| ^~~~~
/usr/include/linux/types.h:27:9: error: ‘__u32’ does not name a type
27 | typedef __u32 __bitwise __be32;
| ^~~~~
/usr/include/linux/types.h:28:9: error: ‘__u64’ does not name a type
28 | typedef __u64 __bitwise __le64;
| ^~~~~
/usr/include/linux/types.h:29:9: error: ‘__u64’ does not name a type
29 | typedef __u64 __bitwise __be64;
| ^~~~~
/usr/include/linux/types.h:31:9: error: ‘__u16’ does not name a type
31 | typedef __u16 __bitwise __sum16;
| ^~~~~
/usr/include/linux/types.h:32:9: error: ‘__u32’ does not name a type
32 | typedef __u32 __bitwise __wsum;
| ^~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/statx.h:31,
from /usr/include/x86_64-linux-gnu/sys/stat.h:446,
from /usr/include/fontconfig/fontconfig.h:29,
from unix/FontManagerLinux.cpp:1:
/usr/include/linux/stat.h:57:2: error: ‘__s64’ does not name a type
57 | __s64 tv_sec;
| ^~~~~
/usr/include/linux/stat.h:58:2: error: ‘__u32’ does not name a type
58 | __u32 tv_nsec;
| ^~~~~
/usr/include/linux/stat.h:59:2: error: ‘__s32’ does not name a type
59 | __s32 __reserved;
| ^~~~~
/usr/include/linux/stat.h:101:2: error: ‘__u32’ does not name a type
101 | __u32 stx_mask; /* What results were written [uncond] */
| ^~~~~
/usr/include/linux/stat.h:102:2: error: ‘__u32’ does not name a type
102 | __u32 stx_blksize; /* Preferred general I/O size [uncond] */
| ^~~~~
/usr/include/linux/stat.h:103:2: error: ‘__u64’ does not name a type
103 | __u64 stx_attributes; /* Flags conveying information about the file [uncond] */
| ^~~~~
/usr/include/linux/stat.h:105:2: error: ‘__u32’ does not name a type
105 | __u32 stx_nlink; /* Number of hard links */
| ^~~~~
/usr/include/linux/stat.h:106:2: error: ‘__u32’ does not name a type
106 | __u32 stx_uid; /* User ID of owner */
| ^~~~~
/usr/include/linux/stat.h:107:2: error: ‘__u32’ does not name a type
107 | __u32 stx_gid; /* Group ID of owner */
| ^~~~~
/usr/include/linux/stat.h:108:2: error: ‘__u16’ does not name a type
108 | __u16 stx_mode; /* File mode */
| ^~~~~
/usr/include/linux/stat.h:109:2: error: ‘__u16’ does not name a type
109 | __u16 __spare0[1];
| ^~~~~
/usr/include/linux/stat.h:111:2: error: ‘__u64’ does not name a type
111 | __u64 stx_ino; /* Inode number */
| ^~~~~
/usr/include/linux/stat.h:112:2: error: ‘__u64’ does not name a type
112 | __u64 stx_size; /* File size */
| ^~~~~
/usr/include/linux/stat.h:113:2: error: ‘__u64’ does not name a type
113 | __u64 stx_blocks; /* Number of 512-byte blocks allocated */
| ^~~~~
/usr/include/linux/stat.h:114:2: error: ‘__u64’ does not name a type
114 | __u64 stx_attributes_mask; /* Mask to show what's supported in stx_attributes */
| ^~~~~
/usr/include/linux/stat.h:121:2: error: ‘__u32’ does not name a type
121 | __u32 stx_rdev_major; /* Device ID of special file [if bdev/cdev] */
| ^~~~~
/usr/include/linux/stat.h:122:2: error: ‘__u32’ does not name a type
122 | __u32 stx_rdev_minor;
| ^~~~~
/usr/include/linux/stat.h:123:2: error: ‘__u32’ does not name a type
123 | __u32 stx_dev_major; /* ID of device containing file [uncond] */
| ^~~~~
/usr/include/linux/stat.h:124:2: error: ‘__u32’ does not name a type
124 | __u32 stx_dev_minor;
| ^~~~~
/usr/include/linux/stat.h:126:2: error: ‘__u64’ does not name a type
126 | __u64 __spare2[14]; /* Spare space for future expansion */
| ^~~~~
make: *** [/usr/lib/R/etc/Makeconf:181: unix/FontManagerLinux.o] Error 1
ERROR: compilation failed for package ‘systemfonts’
* removing ‘/home/aanzil/R/x86_64-pc-linux-gnu-library/4.0/systemfonts’
I don't know if you are still experiencing this issue but it seems to be an issue with your fontconfig library - I haven't seen this before