question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[package] m4_installer/1.4.18: Raspberry Pi build error

See original GitHub issue

I can’t install packages on Raspberry Pi 4.

freadahead.c: In function 'freadahead':
freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
  #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
   ^~~~~
make[3]: *** [Makefile:1910: freadahead.o] Error 1
make[3]: *** Waiting for unfinished jobs....
fseeko.c: In function 'rpl_fseeko':
fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
   #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
    ^~~~~

Package and Environment Details

m4_installer/1.4.18 Linux raspberrypi 4.19.97-v7l+ gcc (Raspbian 8.3.0-6+rpi1) 8.3.0 Conan version 1.24.0 Python 3.7.3

Conan profile

[settings]
os=Linux
os_build=Linux
arch=armv7
arch_build=armv7
compiler=gcc
compiler.version=8
compiler.libcxx=libstdc++
build_type=Release
[options]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

I have the same error with different packages: soil2/1.11@bincrafters/stable glfw/3.3@bincrafters/stable glew/2.1.0@bincrafters/stable

My conanfile.txt

[requires]
glfw/3.3@bincrafters/stable

[generators]
cmake

Command:

conan install .. --build=missing

Logs (Include/Attach if Applicable)

Click to expand log
conan install .. --build=missing
Configuration:
[settings]
arch=armv7
arch_build=armv7
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++
compiler.version=8
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

m4_installer/1.4.18@bincrafters/stable: WARN: Package is corrupted, removing folder: /home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/package/2dae676c36ed89d1610d482e52f3abe0991e7fa7
conanfile.txt: Installing package
Requirements
    expat/2.2.9 from 'conan-center' - Cache
    glfw/3.3@bincrafters/stable from 'conan-center' - Cache
    libdrm/2.4.100@bincrafters/stable from 'bincraftes' - Cache
    libelf/0.8.13 from 'conan-center' - Cache
    libpciaccess/0.16@bincrafters/stable from 'bincraftes' - Cache
    libpthread-stubs/0.1@bincrafters/stable from 'bincraftes' - Cache
    libunwind/1.3.1 from 'conan-center' - Cache
    libx11/1.6.8@bincrafters/stable from 'bincraftes' - Cache
    libxau/1.0.9@bincrafters/stable from 'bincraftes' - Cache
    libxcb/1.13.1@bincrafters/stable from 'bincraftes' - Cache
    libxcursor/1.2.0@bincrafters/stable from 'bincraftes' - Cache
    libxdamage/1.1.5@bincrafters/stable from 'bincraftes' - Cache
    libxdmcp/1.1.3@bincrafters/stable from 'bincraftes' - Cache
    libxext/1.3.4@bincrafters/stable from 'bincraftes' - Cache
    libxfixes/5.0.3@bincrafters/stable from 'bincraftes' - Cache
    libxi/1.7.10@bincrafters/stable from 'bincraftes' - Cache
    libxinerama/1.1.4@bincrafters/stable from 'bincraftes' - Cache
    libxrandr/1.5.2@bincrafters/stable from 'bincraftes' - Cache
    libxrender/0.9.10@bincrafters/stable from 'bincraftes' - Cache
    libxshmfence/1.3@bincrafters/stable from 'bincraftes' - Cache
    libxxf86vm/1.1.4@bincrafters/stable from 'bincraftes' - Cache
    mesa/19.3.1@bincrafters/stable from 'bincraftes' - Cache
    util-macros/1.19.2@bincrafters/stable from 'bincraftes' - Cache
    xcb-proto/1.13@bincrafters/stable from 'bincraftes' - Cache
    xorgproto/2019.1@bincrafters/stable from 'bincraftes' - Cache
    xproto/7.0.31@bincrafters/stable from 'bincraftes' - Cache
    xtrans/1.4.0@bincrafters/stable from 'bincraftes' - Cache
    xz_utils/5.2.4 from 'conan-center' - Cache
    zlib/1.2.11 from 'conan-center' - Cache
Packages
    expat/2.2.9:d458f0ad17daab8c37a59b910c7b82677fd9d3c0 - Cache
    glfw/3.3@bincrafters/stable:954342122e24351c6135506936a97909c5088585 - Build
    libdrm/2.4.100@bincrafters/stable:11ef11385a5ee5516c5d8501bfcde30ccea8c4b1 - Build
    libelf/0.8.13:d458f0ad17daab8c37a59b910c7b82677fd9d3c0 - Cache
    libpciaccess/0.16@bincrafters/stable:d458f0ad17daab8c37a59b910c7b82677fd9d3c0 - Cache
    libpthread-stubs/0.1@bincrafters/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    libunwind/1.3.1:edba4f2e93f7fae21d756eb5ed933ddeb85ab2e6 - Build
    libx11/1.6.8@bincrafters/stable:a80a9690af2b5e63d6186b0eda0b0e8154873888 - Build
    libxau/1.0.9@bincrafters/stable:02f0cf94d2676c249d9b9144dcd02fa7a9e5b940 - Build
    libxcb/1.13.1@bincrafters/stable:849e45e4c390a1d048e950133530d14766e7d514 - Build
    libxcursor/1.2.0@bincrafters/stable:3ffb9a234a3f1caaa2f37a6c1aa9057a898af5da - Build
    libxdamage/1.1.5@bincrafters/stable:7c2df5528dddcda51cae88744e97fb61d36eba8f - Build
    libxdmcp/1.1.3@bincrafters/stable:4ba5e1c37b6cfe010bcd4cc14ab7ff2df1ef7e35 - Build
    libxext/1.3.4@bincrafters/stable:2ca67a91752739362b8308e7d630f49340692de6 - Build
    libxfixes/5.0.3@bincrafters/stable:2ca67a91752739362b8308e7d630f49340692de6 - Build
    libxi/1.7.10@bincrafters/stable:d9854089007eabecbb0aa2b43f7c4c1b704b930d - Build
    libxinerama/1.1.4@bincrafters/stable:d9854089007eabecbb0aa2b43f7c4c1b704b930d - Build
    libxrandr/1.5.2@bincrafters/stable:e6e06d8bca0b351d6238244b969b0c8ec68ffc69 - Build
    libxrender/0.9.10@bincrafters/stable:2ca67a91752739362b8308e7d630f49340692de6 - Build
    libxshmfence/1.3@bincrafters/stable:45f5d8ac3da9640e7eed6c3875836394214fbbe6 - Build
    libxxf86vm/1.1.4@bincrafters/stable:e93e8aa74b1e7ecc48fd41403e0d31fe0e444212 - Build
    mesa/19.3.1@bincrafters/stable:52aedd45fd56e5365ebbca63baa2cb72c65ca55b - Build
    util-macros/1.19.2@bincrafters/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    xcb-proto/1.13@bincrafters/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    xorgproto/2019.1@bincrafters/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    xproto/7.0.31@bincrafters/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    xtrans/1.4.0@bincrafters/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    xz_utils/5.2.4:d458f0ad17daab8c37a59b910c7b82677fd9d3c0 - Build
    zlib/1.2.11:d458f0ad17daab8c37a59b910c7b82677fd9d3c0 - Build
Build requirements
    bison_installer/3.3.2@bincrafters/stable from 'conan-center' - Cache
    flex_installer/2.6.4@bincrafters/stable from 'bincraftes' - Cache
    m4_installer/1.4.18@bincrafters/stable from 'conan-center' - Cache
    meson/0.53.0 from 'conan-center' - Cache
    ninja/1.9.0 from 'conan-center' - Cache
Build requirements packages
    bison_installer/3.3.2@bincrafters/stable:c9db8b56e00689ce0232019893c51552b9c3aa18 - Build
    flex_installer/2.6.4@bincrafters/stable:c9db8b56e00689ce0232019893c51552b9c3aa18 - Build
    m4_installer/1.4.18@bincrafters/stable:2dae676c36ed89d1610d482e52f3abe0991e7fa7 - Build
    meson/0.53.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    ninja/1.9.0:2dae676c36ed89d1610d482e52f3abe0991e7fa7 - Build

Installing (downloading, building) binaries...
expat/2.2.9: Already installed!
libelf/0.8.13: Already installed!
libpciaccess/0.16@bincrafters/stable: Already installed!
libpthread-stubs/0.1@bincrafters/stable: Already installed!
m4_installer/1.4.18@bincrafters/stable: WARN: Build folder is dirty, removing it: /home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7
m4_installer/1.4.18@bincrafters/stable: Copying sources to build folder
m4_installer/1.4.18@bincrafters/stable: Building your package in /home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7
m4_installer/1.4.18@bincrafters/stable: Generator txt created conanbuildinfo.txt
m4_installer/1.4.18@bincrafters/stable: Calling build()
m4_installer/1.4.18@bincrafters/stable: Calling:
 > ./configure '--prefix=/home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/package/2dae676c36ed89d1610d482e52f3abe0991e7fa7' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/share' 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ar... (cached) ar
checking for ranlib... ranlib
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
configure: autobuild project... GNU M4
configure: autobuild revision... 1.4.18
configure: autobuild hostname... raspberrypi
configure: autobuild timestamp... 20200407T180809Z
checking for unsigned long long int... yes
checking for long long int... yes
checking for unsigned long long int... (cached) yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for btowc... yes
checking for setrlimit... yes
checking for sigaltstack... yes
checking for canonicalize_file_name... yes
checking for getcwd... yes
checking for readlink... yes
checking for realpath... yes
checking for _set_invalid_parameter_handler... no
checking for fcntl... yes
checking for symlink... yes
checking for mempcpy... yes
checking for fpurge... no
checking for __fpurge... yes
checking for __freadahead... no
checking for __freading... yes
checking for getdtablesize... yes
checking for getprogname... no
checking for getexecname... no
checking for gettimeofday... yes
checking for lstat... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for mkstemp... yes
checking for nl_langinfo... yes
checking for pipe2... yes
checking for isblank... yes
checking for iswctype... yes
checking for link... yes
checking for secure_getenv... yes
checking for getuid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getegid... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for snprintf... yes
checking for strndup... yes
checking for pipe... yes
checking for vasnprintf... no
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for newlocale... yes
checking for setenv... yes
checking for sleep... yes
checking for strdup... yes
checking for wctob... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... none
checking for ucontext.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for stdio_ext.h... yes
checking for sys/stat.h... (cached) yes
checking for getopt.h... yes
checking for sys/time.h... yes
checking for langinfo.h... yes
checking for limits.h... yes
checking for xlocale.h... no
checking for math.h... yes
checking for sys/mman.h... yes
checking for malloc.h... yes
checking for sys/cdefs.h... yes
checking for spawn.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for sys/wait.h... yes
checking for features.h... yes
checking for wctype.h... yes
checking for dirent.h... yes
checking for inttypes.h... (cached) yes
checking for working C stack overflow detection... yes
checking for correct stack_t interpretation... yes
checking for precise C stack overflow detection... no
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for libsigsegv... no, consider installing GNU libsigsegv
checking whether // is distinct from /... no
checking whether realpath works... yes
checking if environ is properly declared... yes
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for mode_t... yes
checking for sig_atomic_t... yes
checking for working fcntl.h... yes
checking for pid_t... yes
checking whether frexp() can be used without linking with libm... yes
checking whether alarm is declared... yes
checking whether long double and double are the same... yes
checking whether stdin defaults to large file offsets... yes
checking whether fseeko is declared... yes
checking for fseeko... yes
checking whether fflush works on input streams... no
checking whether stat file-mode macros are broken... no
checking for nlink_t... yes
checking whether ftello is declared... yes
checking for ftello... yes
checking whether ftello works... yes
checking whether getdtablesize is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking for working GNU getopt_long function... yes
checking whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking where to find the exponent in a 'double'... word 1 bit 20
checking where to find the exponent in a 'float'... word 0 bit 23
checking whether byte ordering is bigendian... no
checking whether limits.h has ULLONG_WIDTH etc.... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... yes
checking for wchar_t... yes
checking for max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for multithread API to use... none
checking whether lstat correctly handles trailing slash... yes
checking for a sed that does not truncate output... /bin/sed
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for mbstate_t... yes
checking for a traditional japanese locale... none
checking for a transitional chinese locale... none
checking for a french Unicode locale... none
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... yes
checking for promoted mode_t type... mode_t
checking for library containing posix_spawn... none required
checking for posix_spawn... yes
checking whether posix_spawn works... yes
checking whether posix_spawnattr_setschedpolicy is supported... yes
checking whether posix_spawnattr_setschedparam is supported... yes
checking for sigset_t... yes
checking for SIGPIPE... yes
checking for inline... inline
checking for uid_t in sys/types.h... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking whether snprintf returns a byte count as in C99... yes
checking whether snprintf is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wint_t... yes
checking whether wint_t is too small... no
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether stdint.h has UINTMAX_WIDTH etc.... yes
checking whether strerror(0) succeeds... yes
checking whether strndup is declared... yes
checking whether strnlen is declared... yes
checking whether strsignal is declared... yes
checking whether sys_siglist is declared... yes
checking whether strstr works... yes
checking whether ldexp() can be used without linking with libm... yes
checking for struct timespec in <time.h>... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking for snprintf... (cached) yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking whether printf supports size specifiers as in C99... yes
checking whether printf supports 'long double' arguments... yes
checking whether printf supports infinite 'double' arguments... yes
checking whether printf supports infinite 'long double' arguments... yes
checking whether printf supports the 'a' and 'A' directives... yes
checking whether printf supports the 'F' directive... yes
checking whether printf supports the 'n' directive... yes
checking whether printf supports the 'ls' directive... yes
checking whether printf supports the grouping flag... yes
checking whether printf supports the left-adjust flag correctly... yes
checking whether printf supports the zero flag correctly... yes
checking whether printf supports large precisions... yes
checking whether printf survives out-of-memory conditions... yes
checking whether to use C++... no
checking whether ungetc works on arbitrary bytes... yes
checking whether getcwd (NULL, 0) allocates memory for result... yes
checking for getcwd with POSIX signature... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether setenv is declared... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking whether strdup is declared... yes
checking whether unsetenv is declared... yes
checking for alloca as a compiler built-in... yes
checking whether to enable assertions... yes
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... guessing yes
checking for __builtin_expect... yes
checking whether sigaltstack is declared... yes
checking for stack_t... yes
checking whether // is distinct from /... (cached) no
checking whether dup2 works... yes
checking for error_at_line... yes
checking whether fflush works on input streams... (cached) no
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking whether fflush works on input streams... (cached) no
checking whether conversion from 'int' to 'long double' works... yes
checking whether fopen recognizes a trailing slash... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking whether fpurge is declared... no
checking whether frexp works... yes
checking whether frexpl is declared... yes
checking whether frexpl() can be used without linking with libm... yes
checking whether frexpl works... yes
checking for fseeko... (cached) yes
checking whether fflush works on input streams... (cached) no
checking for _fseeki64... no
checking for ftello... (cached) yes
checking whether ftello works... (cached) yes
checking whether getdtablesize works... yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking whether __argv is declared... no
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... almost
checking whether isnan(double) can be used without linking with libm... yes
checking whether isnan(float) can be used without linking with libm... yes
checking whether isnan(float) works... yes
checking whether isnan(long double) can be used without linking with libm... yes
checking whether isnanl works... yes
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking for libsigsegv... (cached) no, consider installing GNU libsigsegv
checking whether locale.h conforms to POSIX:2001... yes
checking whether struct lconv is properly defined... yes
checking whether lseek detects pipes... yes
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking whether mbrtowc handles incomplete characters... guessing yes
checking whether mbrtowc works as well as mbtowc... guessing yes
checking whether mbrtowc handles a NULL pwc argument... guessing yes
checking whether mbrtowc handles a NULL string argument... guessing yes
checking whether mbrtowc has a correct return value... guessing yes
checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... no
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking for mkdtemp... yes
checking for working mkstemp... yes
checking whether YESEXPR works... yes
checking for obstacks that work with any size object... no
checking whether open recognizes a trailing slash... yes
checking whether posix_spawn_file_actions_addclose works... yes
checking whether posix_spawn_file_actions_adddup2 works... yes
checking whether posix_spawn_file_actions_addopen works... yes
checking whether frexp works... (cached) yes
checking whether ldexp can be used without linking with libm... (cached) yes
checking whether frexpl() can be used without linking with libm... (cached) yes
checking whether frexpl works... (cached) yes
checking whether frexpl is declared... (cached) yes
checking whether ldexpl() can be used without linking with libm... yes
checking whether ldexpl works... yes
checking whether ldexpl is declared... yes
checking whether program_invocation_name is declared... (cached) yes
checking whether program_invocation_short_name is declared... (cached) yes
checking for raise... yes
checking for sigprocmask... yes
checking for rawmemchr... yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking for working re_compile_pattern... yes
checking whether rename honors trailing slash on destination... yes
checking whether rename honors trailing slash on source... yes
checking whether rename manages hard links correctly... yes
checking whether rename manages existing destinations correctly... yes
checking whether rmdir works... yes
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking for signbit macro... yes
checking for signbit compiler built-ins... yes
checking for sigprocmask... (cached) yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for snprintf... (cached) yes
checking whether snprintf respects a size of 1... yes
checking whether printf supports POSIX/XSI format strings with positions... yes
checking for posix_spawnattr_t... yes
checking for posix_spawn_file_actions_t... yes
checking for ssize_t... yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... yes
checking for va_copy... yes
checking for max_align_t... (cached) yes
checking whether NULL can be used in arbitrary expressions... (cached) yes
checking which flavor of printf attribute matches inttypes macros... system
checking for strchrnul... yes
checking whether strchrnul works... yes
checking for working strerror function... yes
checking for working strndup... yes
checking for working strnlen... yes
checking for strsignal... yes
checking whether strsignal always returns a string... yes
checking whether strstr works in linear time... yes
checking whether strstr works... (cached) yes
checking whether strtod obeys C99... yes
checking for nlink_t... (cached) yes
checking for ptrdiff_t... yes
checking for vasprintf... yes
checking for vasprintf... (cached) yes
checking for waitid... yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether wcrtomb return value is correct... guessing yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking for stdint.h... (cached) yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional french locale... (cached) none
checking for a turkish Unicode locale... none
checking for closedir... yes
checking for dirfd... yes
checking whether dirfd is declared... yes
checking whether dirfd is a macro... no
checking whether dup works... yes
checking whether fdopen sets errno... yes
checking for flexible array member... yes
checking for getpagesize... yes
checking whether getpagesize is declared... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... no
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... no
checking where to find the exponent in a 'double'... (cached) word 1 bit 20
checking where to find the exponent in a 'float'... (cached) word 0 bit 23
checking where to find the exponent in a 'long double'... word 1 bit 20
checking whether link obeys POSIX... yes
checking for setlocale... yes
checking for uselocale... yes
checking for getlocalename_l... no
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for opendir... yes
checking for putenv compatible with GNU and SVID... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for readdir... yes
checking whether setenv validates arguments... yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking whether sleep is declared... yes
checking for working sleep... yes
checking for working stdalign.h... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking whether symlink handles trailing slash correctly... yes
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether unsetenv obeys POSIX... yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking whether wctob works... guessing yes
checking whether wctob is declared... yes
checking whether an open file can be renamed... yes
checking if changeword is wanted... no
checking which shell to use for syscmd... /bin/sh
checking if malloc debugging is wanted... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating checks/Makefile
config.status: creating examples/Makefile
config.status: creating lib/config.h
config.status: executing depfiles commands
config.status: executing stamp-h commands
make  all-recursive
make[1]: Entering directory '/home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7/source_subfolder'
Making all in .
make[2]: Entering directory '/home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7/source_subfolder'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7/source_subfolder'
Making all in examples
make[2]: Entering directory '/home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7/source_subfolder/examples'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7/source_subfolder/examples'
Making all in lib
make[2]: Entering directory '/home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7/source_subfolder/lib'
  GEN      alloca.h
  GEN      c++defs.h
  GEN      configmake.h
  GEN      arg-nonnull.h
  GEN      limits.h
  GEN      unused-parameter.h
  GEN      warn-on-use.h
  GEN      sys/types.h
  GEN      fcntl.h
  GEN      langinfo.h
  GEN      locale.h
  GEN      math.h
  GEN      signal.h
  GEN      spawn.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/wait.h
  GEN      time.h
  GEN      unistd.h
  GEN      wchar.h
  GEN      wctype.h
make  all-am
make[3]: Entering directory '/home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7/source_subfolder/lib'
  CC       gl_avltree_oset.o
  CC       binary-io.o
  CC       c-ctype.o
  CC       c-stack.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       clean-temp.o
  CC       cloexec.o
  CC       close-stream.o
  CC       closein.o
  CC       closeout.o
  CC       dirname.o
  CC       basename.o
  CC       dirname-lgpl.o
  CC       basename-lgpl.o
  CC       stripslash.o
  CC       execute.o
  CC       exitfail.o
  CC       fatal-signal.o
  CC       fd-hook.o
  CC       fd-safer-flag.o
  CC       dup-safer-flag.o
  CC       filenamecat.o
  CC       filenamecat-lgpl.o
  CC       fopen-safer.o
  CC       freading.o
  CC       getprogname.o
  CC       hard-locale.o
  CC       gl_linkedhash_list.o
  CC       gl_list.o
  CC       localcharset.o
  CC       malloca.o
  CC       math.o
  CC       memchr2.o
  CC       gl_oset.o
  CC       pipe2.o
  CC       pipe2-safer.o
  CC       printf-frexp.o
  CC       printf-frexpl.o
  CC       progname.o
  CC       quotearg.o
  CC       sig-handler.o
  CC       spawn-pipe.o
  CC       tempname.o
  CC       mkstemp-safer.o
  CC       glthread/threadlib.o
  CC       glthread/tls.o
  CC       tmpdir.o
  CC       unistd.o
  CC       dup-safer.o
  CC       fd-safer.o
  CC       pipe-safer.o
  CC       verror.o
  CC       version-etc.o
  CC       version-etc-fsf.o
  CC       wait-process.o
  CC       wctype-h.o
  CC       xmalloc.o
  CC       xalloc-die.o
  CC       gl_xlist.o
  CC       xmalloca.o
  CC       gl_xoset.o
  CC       xprintf.o
  CC       xsize.o
  CC       xstrndup.o
  CC       xvasprintf.o
  CC       xasprintf.o
  CC       asnprintf.o
  CC       fclose.o
  CC       fcntl.o
  CC       fflush.o
  CC       fpurge.o
  CC       freadahead.o
  CC       fseeko.o
  CC       fseek.o
freadahead.c: In function 'freadahead':
freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
  #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
   ^~~~~
make[3]: *** [Makefile:1910: freadahead.o] Error 1
make[3]: *** Waiting for unfinished jobs....
fseeko.c: In function 'rpl_fseeko':
fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
   #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
    ^~~~~
make[3]: *** [Makefile:1910: fseeko.o] Error 1
make[3]: Leaving directory '/home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7/source_subfolder/lib'
make[2]: *** [Makefile:1674: all] Error 2
make[2]: Leaving directory '/home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7/source_subfolder/lib'
make[1]: *** [Makefile:1572: all-recursive] Error 1
make[1]: Leaving directory '/home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7/source_subfolder'
make: *** [Makefile:1528: all] Error 2
m4_installer/1.4.18@bincrafters/stable: 
m4_installer/1.4.18@bincrafters/stable: ERROR: Package '2dae676c36ed89d1610d482e52f3abe0991e7fa7' build failed
m4_installer/1.4.18@bincrafters/stable: WARN: Build folder /home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7
ERROR: m4_installer/1.4.18@bincrafters/stable: Error in build() method, line 41
	env_build.make()
	ConanException: Error 2 while executing make -j4

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
uilianriescommented, Apr 8, 2020

@VladasZ I see. Well, it won’t work, because m4 and m4_installer are different names, so Conan consider them as different packages. We don’t have glfw available in CCI yet, but there is a PR: https://github.com/conan-io/conan-center-index/pull/1242. I can update the Bincrafters version.

0reactions
VladasZcommented, Apr 8, 2020

@SSE4 installing bison and flex as suggested in bincrafters/community#1027 helped. Thank you. @uilianries i see now. I got glfw package link from https://conan.io/center so i assumed all issues are related to Conan Center Index. m4/1.4.18 Conan Center Index package builds without issues indeed.

But how can i use packages from bincrafters but m4 from Conan Center Index? I added m4/1.4.18 in the begginning of conanfile.txt, and glfw/3.3@bincrafters/stable. Conan installed m4 from Index, then started building m4 from bincrafters and i got the same error.

m4/1.4.18: Already installed!
m4/1.4.18: Appending PATH environment var: /home/pi/.conan/data/m4/1.4.18/_/_/package/2dae676c36ed89d1610d482e52f3abe0991e7fa7/bin
m4_installer/1.4.18@bincrafters/stable: WARN: Build folder is dirty, removing it: /home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7
m4_installer/1.4.18@bincrafters/stable: Copying sources to build folder
m4_installer/1.4.18@bincrafters/stable: Building your package in /home/pi/.conan/data/m4_installer/1.4.18/bincrafters/stable/build/2dae676c36ed89d1610d482e52f3abe0991e7fa7
m4_installer/1.4.18@bincrafters/stable: Generator txt created conanbuildinfo.txt
m4_installer/1.4.18@bincrafters/stable: Calling build()

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem installing raspberrypi-sys-mods
Here's the error I'm getting when I run sudo apt-get update && sudo apt-get upgrade. Reading package lists... Done Building dependency tree.
Read more >
Failed to build wheel for bcrypt - can't install docker-compose
Fresh install, latest version. I get to 'sudo pip3 -v install docker-compose' on the linked website for setting up docker on raspberry pi...
Read more >
node-gyp serialport build error on Raspberry Pi 4
I have tried building a bare-bones electron app with just the serialport package and it does not work either. Is this a system...
Read more >
[OpenWrt Wiki] Raspberry Pi
This subtarget features 32-bit and 64-bit builds. Official 64-bit Raspberry Pi OS was released in early 2022 and uses kernel 5.15.
Read more >
Running on Raspberry Pi - Node-RED
This script will work on any Debian-based operating system, including Ubuntu and Diet-Pi. You may need to run sudo apt install build-essential git...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found