ARMv8 Build Error

Asked by Levi Armstrong

Hello,

I copied all of the packages from another because I need to build them for arm64 every package built except one, but they all built for amd64 and i386. I don't have a computer to test the arm64 build so I was hoping someone can point out the problem. Thank you for any help you can provide.

https://launchpad.net/~levi-armstrong/+archive/ubuntu/qt-libraries-xenial/+build/12401269

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Colin Watson
Solved:
Last query:
Last reply:
Revision history for this message
Best Colin Watson (cjwatson) said :
#1

Here's where it goes wrong:

g++ -c -pipe -fPIC -fpermissive -finline-functions -Wno-long-long -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQSSH_LIBRARY -DIDE_LIBRARY_BASENAME=\"lib/aarch64-linux-gnu\" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DBOTAN_DLL= -DBOTAN_TARGET_OS_HAS_GETTIMEOFDAY -DBOTAN_HAS_ALLOC_MMAP -DBOTAN_HAS_ENTROPY_SRC_DEV_RANDOM -DBOTAN_HAS_ENTROPY_SRC_EGD -DBOTAN_HAS_ENTROPY_SRC_FTW -DBOTAN_HAS_ENTROPY_SRC_UNIX -DBOTAN_HAS_MUTEX_PTHREAD -DBOTAN_HAS_PIPE_UNIXFD_IO -DBOTAN_TARGET_OS_IS_LINUX -DBOTAN_TARGET_OS_HAS_CLOCK_GETTIME -DBOTAN_TARGET_OS_HAS_DLOPEN -DBOTAN_TARGET_OS_HAS_GMTIME_R -DBOTAN_TARGET_OS_HAS_POSIX_MLOCK -DBOTAN_HAS_DYNAMICALLY_LOADED_ENGINE -DBOTAN_HAS_DYNAMIC_LOADER -DBOTAN_BUILD_COMPILER_IS_GCC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I../../../src -I../../../src -I../../libs -I/<<PKGBUILDDIR>>/tools -I../../plugins -I../3rdparty -I/opt/qt57/include -I/opt/qt57/include/QtWidgets -I/opt/qt57/include/QtGui -I/opt/qt57/include/QtNetwork -I/opt/qt57/include/QtConcurrent -I/opt/qt57/include/QtCore -I.moc/release-shared -I.uic -I/opt/qt57/mkspecs/linux-g++ -o .obj/release-shared/botan.o ../3rdparty/botan/botan.cpp
../3rdparty/botan/botan.cpp:46208:21: fatal error: cpuid.h: No such file or directory

Without having dug into the source, cpuid.h sounds like it's a header that declares functions to deal with an x86-specific processor feature. You'll need to work out how to build the package without using that. We can't in general help with the details of that kind of thing, though.

Revision history for this message
Levi Armstrong (levi-armstrong) said :
#2

Thanks Colin Watson, that solved my question.