Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log4cpp fails to compile on ARM64 #980

Open
pavel-odintsov opened this issue Apr 10, 2023 · 1 comment
Open

Log4cpp fails to compile on ARM64 #980

pavel-odintsov opened this issue Apr 10, 2023 · 1 comment

Comments

@pavel-odintsov
Copy link
Owner

Sadly it does fail to compile:

Install package log4cpp_1_1_3
Cannot download dependency file from Google Storage. Exit code: 12
Cannot get package log4cpp_1_1_3 from cache, starting build procedure
Download log4cpp sources
Unpack log4cpp sources
Use of uninitialized value $output in concatenation (.) or string at /fastnetmon/src/scripts/perllib/Fastnetmon.pm line 250.
Command curl https://raw.githubusercontent.com/pavel-odintsov/config/master/config.guess -o./config/config.guess call failed with code -1 and output: 
Use of uninitialized value $output in concatenation (.) or string at /fastnetmon/src/scripts/perllib/Fastnetmon.pm line 250.
Command curl https://raw.githubusercontent.com/pavel-odintsov/config/master/config.sub -o./config/config.sub call failed with code -1 and output: 
Build log4cpp
Command CC=/opt/fastnetmon-community/libraries/gcc_12_1_0/bin/gcc CXX=/opt/fastnetmon-community/libraries/gcc_12_1_0/bin/g++ ./configure --prefix=/opt/fastnetmon-community/libraries/log4cpp_1_1_3 call failed with code 256 and output: checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/tmp/fastnetmon.build.dir.ao0RL5rr7G/log4cpp/config/missing: Unknown `--run' option
Try `/tmp/fastnetmon.build.dir.ao0RL5rr7G/log4cpp/config/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... config/config.guess: unable to guess system type

This script, last modified 2001-04-20, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

    ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (config/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2001-04-20

uname -m = aarch64
uname -r = 5.15.0-1028-aws
uname -s = Linux
uname -v = #32-Ubuntu SMP Mon Jan 9 12:29:05 UTC 2023

/usr/bin/uname -p = aarch64
/bin/uname -X     = 

hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = aarch64
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.15.0-1028-aws
UNAME_SYSTEM  = Linux
UNAME_VERSION = #32-Ubuntu SMP Mon Jan 9 12:29:05 UTC 2023
configure: error: cannot guess build type; you must specify one

Command LD_LIBRARY_PATH=/opt/fastnetmon-community/libraries/gcc_12_1_0/lib64 make -j 4 install call failed with code 512 and output: make: *** No rule to make target 'install'.  Stop.

make for log4cpp failed
tar: log4cpp_1_1_3: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous error
@pavel-odintsov
Copy link
Owner Author

This fix worked: bf73d9e but we need to upstream it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant