Skip to contentSkip to conversation

make failure trying to buildroot for raspberry pi 3 using external toolchain

Buildroot John 2 participants 2 messages Oct 22, 2021

lore
Share & tools
lore

John

author
#0 lore raw

I'm trying to perform a make using the latest buildroot version (2021.08.1) but it fails at the point of trying to build libgpg-error. I'm running on a Ubuntu 20.04 VM under

Windows 10 VBox. Here's what I believe is the pertinent output info:

configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls

GPGME v1.15.1 has been configured as follows:

Revision: bb988077 (48024)

Platform: arm-buildroot-linux-gnueabihf

UI Server: yes

FD Passing: yes

Language bindings: cl cpp

Mismatches between the target platform and the to

be used libraries have been been detected for:

libgpg-error

Please check above for warning messages.

End of output log:

libtool: compile:
/home/jb/GitHub/buildroot/output/host/bin/armv8-rpi3-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../conf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/jb/GitHub/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroo t/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-format-y2k -Wno-missing-field-initializers -Wno-sign-compare -Wno-format-zero-length -Wno-format-truncation -Wno-sizeof-pointer-div -c debug.c -fPIC -DPIC -o .libs/debug.o

libtool: compile:
/home/jb/GitHub/buildroot/output/host/bin/armv8-rpi3-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../conf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/jb/GitHub/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroo t/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-format-y2k -Wno-missing-field-initializers -Wno-sign-compare -Wno-format-zero-length -Wno-format-truncation -Wno-sizeof-pointer-div -c version.c -fPIC -DPIC -o .libs/version.o

make[2]: *** [Makefile:534: all-recursive] Error 1

make[1]: *** [package/pkg-generic.mk:270:
/home/jb/GitHub/buildroot/output/build/libgpgme-1.15.1/.stamp_built] Error 2

make: *** [Makefile:84: _all] Error 2

Perhaps I have a configuration error but I don't know what it is.

Please help.

John Blacker

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#1 lore raw

Hello John,

Quoted 71 lines · John

I'm trying to perform a make using the latest buildroot version (2021.08.1) but it fails at the point of trying to build libgpg-error. I'm running on a Ubuntu 20.04 VM under

Windows 10 VBox. Here's what I believe is the pertinent output info:

configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls

GPGME v1.15.1 has been configured as follows:

Revision: bb988077 (48024)

Platform: arm-buildroot-linux-gnueabihf

UI Server: yes

FD Passing: yes

Language bindings: cl cpp

Mismatches between the target platform and the to

be used libraries have been been detected for:

libgpg-error

Please check above for warning messages.

End of output log:

libtool: compile:
/home/jb/GitHub/buildroot/output/host/bin/armv8-rpi3-linux-gnueabihf-gcc

(quoted diff) +0 -3
-DHAVE_CONFIG_H -I. -I../conf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/jb/GitHub/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroo

t/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE

(quoted diff) +0 -4
-D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wcast-align
-Wshadow -Wstrict-prototypes -Wno-format-y2k -Wno-missing-field-initializers
-Wno-sign-compare -Wno-format-zero-length -Wno-format-truncation
-Wno-sizeof-pointer-div -c debug.c  -fPIC -DPIC -o .libs/debug.o

libtool: compile:
/home/jb/GitHub/buildroot/output/host/bin/armv8-rpi3-linux-gnueabihf-gcc

(quoted diff) +0 -3
-DHAVE_CONFIG_H -I. -I../conf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/home/jb/GitHub/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroo

t/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE

(quoted diff) +0 -4
-D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wcast-align
-Wshadow -Wstrict-prototypes -Wno-format-y2k -Wno-missing-field-initializers
-Wno-sign-compare -Wno-format-zero-length -Wno-format-truncation
-Wno-sizeof-pointer-div -c version.c  -fPIC -DPIC -o .libs/version.o

make[2]: *** [Makefile:534: all-recursive] Error 1

Quoted 8 lines

make[1]: *** [package/pkg-generic.mk:270:
/home/jb/GitHub/buildroot/output/build/libgpgme-1.15.1/.stamp_built] Error 2

make: *** [Makefile:84: _all] Error 2

Perhaps I have a configuration error but I don't know what it is.

Your log seems at least incomplete, the first part seems to be from libgpg-error, the failing package is libgpgme...

Did you do a complete re-build after package selection changes (see [1])?

In case the error persists after a complete re-build please provide a minimal .config (or defconfig) file to reproduce the error...

Regards,
Peter

[1] https://buildroot.org/downloads/manual/manual.html#full-rebuild

Quoted 7 lines

Please help.

John Blacker

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot