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

Revisit NUT CI build on CentOS 6 #1804

Merged
merged 5 commits into from
Jan 13, 2023
Merged

Conversation

jimklimov
Copy link
Member

@jimklimov jimklimov commented Jan 11, 2023

A question on mailing list was raised about testing NUT for someone still running CentOS 6, so here goes... spoils of experimental reconnaissance:

"Surprisingly, it works!" (mostly regarding feature/dependency availability)

With container setup as documented in this PR and downshift to allow autoconf-2.63 (also in the PR), ./ci_build.sh built and successfully NIT-tested the codebase (without C++11 support due to old GCC-4.4.x; clang-3.4.x refuses to use system-provided C++ headers).

Although the older python2.6 is the only one available on the system, PyNUT successfully participated in the test; the NUT-Monitor GUI was not tried (headless system).

Java 11 was not available for the platform, so for the time being it can not directly run a Jenkins agent and will not be part of regular NUT CI farm testing.

NUT Configuration summary:
==========================

* build serial drivers: yes
* build USB drivers:    yes (libusb-0.1)
* build neon based XML driver:  yes
* enable Avahi support: yes
* build Powerman PDU client driver:     yes
* build Modbus driver:  yes
* build IPMI driver:    yes (FreeIPMI)
* build Mac OS X meta-driver:   no
* build i2c based drivers:      no
* enable SSL support:   yes (OpenSSL)
* enable libwrap (tcp-wrappers) support:        yes
* enable libltdl (Libtool dlopen abstraction) support:  yes
* build nut-scanner:    yes
* build CGI programs:   yes
* install NUT-Monitor desktop application:      no
* install PyNUT binding module: no
* build and install documentation:      skip
* build specific documentation format(s):       no
* build and install the development files:      yes
* consider basic systemd support:       no
* build with tighter systemd support:   no
* build C++11 codebase (client library, etc.):  no
* build C++ tests with CPPUNIT: no
* build SNMP drivers:   yes
* build SNMP drivers with statically linked lib(net)snmp:       no
* User to run as:       nobody
* Group of user to run as:      nobody

NUT Paths:
----------

* Default installation prefix path:     /usr/local/ups
* State file path:      /var/state/ups
* Unprivileged PID file path:   /var/state/ups
* Privileged PID file path:     /run
* Driver program path:  /usr/local/ups/bin
* CGI program path:     /usr/local/ups/cgi-bin
* HTML file path:       /usr/local/ups/html
* Config file path:     /usr/local/ups/etc
* Data file path:       /usr/local/ups/share
* Tool program path:    /usr/local/ups/bin
* System program path:  /usr/local/ups/sbin
* System library path:  /usr/local/ups/lib
* System exec-library path:     /usr/local/ups/libexec

NUT Build/Target system info:
-----------------------------

* host env spec we run on:      x86_64-unknown-linux-gnu
* host env spec we built on:    x86_64-unknown-linux-gnu
* host env spec we built for:   x86_64-unknown-linux-gnu
* host OS short spec we run on: x86_64-linux-gnu
* host OS short spec we built on:       x86_64-linux-gnu
* host OS short spec we built for:      x86_64-linux-gnu

NUT Compiler settings:
----------------------

* CC            : gcc
* CFLAGS        : -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -Wall -Wsign-compare -Wno-error
* CXX           : g++
* CXXFLAGS      : -isystem /usr/local/include -g -O2 -Wno-reserved-identifier -Wno-unknown-warning-option -Wno-error
* CPP           : gcc -E
* CPPFLAGS      :

:; cat /etc/redhat-release
CentOS release 6.10 (Final)

:;  gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

@jimklimov jimklimov added documentation CI Entries related to continuous integration infrastructure (historically also recipes like Makefiles) Linux Some issues are specific to Linux as a platform labels Jan 11, 2023
@jimklimov jimklimov added this to the 2.8.1 milestone Jan 11, 2023
@jimklimov jimklimov merged commit 8379a01 into networkupstools:master Jan 13, 2023
@jimklimov jimklimov deleted the centos6 branch January 13, 2023 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Entries related to continuous integration infrastructure (historically also recipes like Makefiles) documentation Linux Some issues are specific to Linux as a platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant