[leafnode-list] Re: Malformed Message-ID?

Matěj Cepl mcepl at cepl.eu
Sat Mar 4 10:47:29 CET 2023


On 2023-03-03, 23:14 GMT, Matthias Andree via leafnode-list wrote:
> Should be fixed in the Git repo as of 5e7153d. Please test and let me
> know if it works for you.
>
> https://gitlab.com/leafnode-2/leafnode-2/-/commit/5e7153d79530

Something's wrong with libpcre. I have these two
versions available on openSUSE (and it seems, looking at
https://www.pcre.org/ we are not missing anything):

    stitny~/b/h/leafnode (1A1D3M)$ rpm -qi pcre-devel
    Name        : pcre-devel
    Version     : 8.45
    Release     : 2.3
    Architecture: x86_64
    Install Date: So 3. září 2022, 09:30:28
    Group       : Development/Libraries/C and C++
    Size        : 271795
    License     : BSD-3-Clause
    Signature   : RSA/SHA256, St 31. srpna 2022, 14:01:05, Key ID b88b2fd43dbdc284
    Source RPM  : pcre-8.45-2.3.src.rpm
    Build Date  : St 31. srpna 2022, 13:58:24
    Build Host  : lamb75
    Packager    : https://bugs.opensuse.org
    Vendor      : openSUSE
    URL         : http://www.pcre.org/
    Summary     : A library for Perl-compatible regular expressions
    Description :
    The PCRE library is a set of functions that implement regular
    expression pattern matching using the same syntax and semantics
    as Perl 5.
    Distribution: openSUSE Tumbleweed
    stitny~/b/h/leafnode (1A1D3M)$ rpm -qi pcre2-devel
    Name        : pcre2-devel
    Version     : 10.42
    Release     : 3.3
    Architecture: x86_64
    Install Date: So 4. února 2023, 12:44:13
    Group       : Development/Libraries/C and C++
    Size        : 287737
    License     : BSD-3-Clause
    Signature   : RSA/SHA512, Čt 2. února 2023, 18:27:50, Key ID 35a2f86e29b700a4
    Source RPM  : pcre2-10.42-3.3.src.rpm
    Build Date  : Čt 2. února 2023, 18:22:12
    Build Host  : cloud101
    Packager    : https://bugs.opensuse.org
    Vendor      : openSUSE
    URL         : https://www.pcre.org
    Summary     : A library for Perl-compatible regular expressions
    Description :
    The PCRE2 library is a set of functions that implement regular
    expression pattern matching using the same syntax and semantics
    as Perl 5.

    PCRE2 is a re-working of the original PCRE library to provide an entirely new
    API.
    Distribution: openSUSE Tumbleweed
    stitny~/b/h/leafnode (1A1D3M)$ 

The previous package of leafnode included `BuildRequires:
pcre-devel`, which pulled-in pcre-devel 8.45. When I try to build
current master (902321b) with the same configuration as before I
get error in ./configure (config.log from that run has been
attached):

    [ 21s] + ./configure --host=x86_64-suse-linux-gnu
    --build=x86_64-suse-linux-gnu --program-prefix=
    --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
    --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
    --datadir=/usr/share --includedir=/usr/include
    --libdir=/usr/lib64 --libexecdir=/usr/libexec
    --localstatedir=/var --sharedstatedir=/var/lib
    --mandir=/usr/share/man --infodir=/usr/share/info
    --disable-silent-rules --enable-spooldir=/var/spool/news
    --enable-runas-user=abuild --sysconfdir=/etc/leafnode --with-pam

    [ ... plenty of successful lines omitted ... ]

    [   23s] checking for pcre-config... /usr/bin/pcre-config
    [   23s] configure: adding -lpcre to LDFLAGS
    [   23s] checking for pcre.h... yes
    [   23s] checking for pcre_compile() in PCRE library... no
    [   23s] *** I cannot find PCRE. leafnode depends on it.
    [   23s] ***
    [   23s] *** If you have PCRE installed, pcre-config was not found.
    [   23s] *** You can work around this by adding the header location to
    [   23s] *** the environment variables CPPFLAGS, i. e. CPPFLAGS=-I/opt/pcre/include
    [   23s] *** and the library location to the environment variables LDFLAGS,
    [   23s] *** e. g. LDFLAGS=-L/opt/pcre/lib, assuming your PCRE resides in /opt/pcre.
    [   23s] ***
    [   23s] *** If not you don't have PCRE installed, please download and install PCRE 3.7
    [   23s] *** or a newer version from http://www.pcre.org/, it's easy:
    [   23s] *** Just download, unpack, then cd to pcre-3.7, then
    [   23s] *** ./configure && make, then as root: make install
    [   23s] *** Then, reconfigure leafnode.
    [   23s] configure: error: PCRE library not found

So, I thought “OK, I just have to use recent libpcre” and I
switched BuildRequires to `pcre2-devel` and then I get on the
same call of configure even worse results:

    [   23s] checking for pcre-config... ./configure: line 6696: not: command not found
    [   23s] no
    [   23s] ./configure: line 6711: --cflags: command not found
    [   23s] ./configure: line 6718: --libs: command not found
    [   23s] checking for pcre.h... no

No wonder pcre-config has not been found, when it is called
pcre2-config here, and besides I believe kewl kidz these days
use pkgconfig to get their CFLAGS & al. rather than proprietary
configure scripts, right?

Do you have any idea what's going on?

Best,

Matěj
-- 
https://matej.ceplovi.cz/blog/, @mcepl at floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Never, never, never believe any war will be smooth and easy, or
that anyone who embarks on the strange voyage can measure the
tides and hurricanes he will encounter. The statesman who yields
to war fever must realise that once the signal is given, he is no
longer the master of policy but the slave of unforeseeable and
uncontrollable events.
    -- Winston Churchill, 1930

-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by leafnode configure 2.0.0.alpha202301, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-silent-rules --enable-spooldir=/var/spool/news --enable-runas-user=abuild --sysconfdir=/etc/leafnode --with-pam

## --------- ##
## Platform. ##
## --------- ##

hostname = stitny.cepl.eu
uname -m = x86_64
uname -r = 6.1.12-1-default
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Wed Feb 15 05:31:41 UTC 2023 (373f017)

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

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin/
PATH: /usr/bin/
PATH: /bin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2311: looking for aux files: compile missing install-sh
configure:2324:  trying ./
configure:2353:   ./compile found
configure:2353:   ./missing found
configure:2335:   ./install-sh found
configure:2483: checking for a BSD-compatible install
configure:2556: result: /usr/bin/install -c
configure:2567: checking whether build environment is sane
configure:2622: result: yes
configure:2781: checking for a race-free mkdir -p
configure:2825: result: /usr/bin/mkdir -p
configure:2832: checking for gawk
configure:2853: found /usr/bin/gawk
configure:2864: result: gawk
configure:2875: checking whether make sets $(MAKE)
configure:2898: result: yes
configure:2928: checking whether make supports nested variables
configure:2946: result: yes
configure:3094: checking whether make supports nested variables
configure:3112: result: yes
configure:3141: checking whether make supports the include directive
configure:3156: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3159: $? = 0
configure:3178: result: yes (GNU style)
configure:3209: checking for x86_64-suse-linux-gnu-gcc
configure:3244: result: no
configure:3254: checking for gcc
configure:3275: found /usr/bin/gcc
configure:3286: result: gcc
configure:3639: checking for C compiler version
configure:3648: gcc --version >&5
gcc (SUSE Linux) 12.2.1 20230124 [revision 193f7e62815b4089dfaed4c2bd34fd4f10209e27]
Copyright (C) 2022 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.

configure:3659: $? = 0
configure:3648: gcc -v >&5
Using built-in specs.
Reading specs from /usr/lib64/gcc/x86_64-suse-linux/12/defaults.spec
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/12/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,ada,go,d,jit --enable-offload-targets=nvptx-none,amdgcn-amdhsa, --enable-offload-defaulted --without-cuda-driver --enable-host-shared --enable-checking=release --disable-werror --with-gxx-include-dir=/usr/include/c++/12 --enable-ssp --disable-libssp --disable-libvtv --enable-cet=auto --disable-libcc1 --enable-plugin --with-bugurl=https://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --with-slibdir=/lib64 --with-system-zlib --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-libphobos --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-12 --without-system-libunwind --enable-multilib --with-arch-32=x86-64 --with-tune=generic --with-build-config=bootstrap-lto-lean --enable-link-mutex --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
Supported LTO compression algorithms: zlib zstd
... rest of stderr output deleted ...
configure:3659: $? = 0
configure:3648: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3659: $? = 1
configure:3648: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3659: $? = 1
configure:3648: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3659: $? = 1
configure:3679: checking whether the C compiler works
configure:3701: gcc -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -flto=auto conftest.c  >&5
configure:3705: $? = 0
configure:3755: result: yes
configure:3758: checking for C compiler default output file name
configure:3760: result: a.out
configure:3766: checking for suffix of executables
configure:3773: gcc -o conftest -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -flto=auto conftest.c  >&5
configure:3777: $? = 0
configure:3800: result: 
configure:3822: checking whether we are cross compiling
configure:3830: gcc -o conftest -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -flto=auto conftest.c  >&5
configure:3834: $? = 0
configure:3841: ./conftest
configure:3845: $? = 0
configure:3860: result: no
configure:3865: checking for suffix of object files
configure:3888: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:3892: $? = 0
configure:3914: result: o
configure:3918: checking whether the compiler supports GNU C
configure:3938: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:3938: $? = 0
configure:3948: result: yes
configure:3959: checking whether gcc accepts -g
configure:3980: gcc -c -g  conftest.c >&5
configure:3980: $? = 0
configure:4024: result: yes
configure:4044: checking for gcc option to enable C11 features
configure:4059: gcc  -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4059: $? = 0
configure:4077: result: none needed
configure:4193: checking whether gcc understands -c and -o together
configure:4216: gcc -c conftest.c -o conftest2.o
configure:4219: $? = 0
configure:4216: gcc -c conftest.c -o conftest2.o
configure:4219: $? = 0
configure:4231: result: yes
configure:4250: checking dependency style of gcc
configure:4362: result: none
configure:4382: checking for stdio.h
configure:4382: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4382: $? = 0
configure:4382: result: yes
configure:4382: checking for stdlib.h
configure:4382: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4382: $? = 0
configure:4382: result: yes
configure:4382: checking for string.h
configure:4382: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4382: $? = 0
configure:4382: result: yes
configure:4382: checking for inttypes.h
configure:4382: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4382: $? = 0
configure:4382: result: yes
configure:4382: checking for stdint.h
configure:4382: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4382: $? = 0
configure:4382: result: yes
configure:4382: checking for strings.h
configure:4382: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4382: $? = 0
configure:4382: result: yes
configure:4382: checking for sys/stat.h
configure:4382: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4382: $? = 0
configure:4382: result: yes
configure:4382: checking for sys/types.h
configure:4382: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4382: $? = 0
configure:4382: result: yes
configure:4382: checking for unistd.h
configure:4382: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4382: $? = 0
configure:4382: result: yes
configure:4382: checking for wchar.h
configure:4382: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4382: $? = 0
configure:4382: result: yes
configure:4382: checking for minix/config.h
configure:4382: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
conftest.c:49:10: fatal error: minix/config.h: No such file or directory
   49 | #include <minix/config.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
configure:4382: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "leafnode"
| #define PACKAGE_TARNAME "leafnode"
| #define PACKAGE_VERSION "2.0.0.alpha202301"
| #define PACKAGE_STRING "leafnode 2.0.0.alpha202301"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "leafnode"
| #define VERSION "2.0.0.alpha202301"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:4382: result: no
configure:4413: checking whether it is safe to define __EXTENSIONS__
configure:4432: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4432: $? = 0
configure:4440: result: yes
configure:4443: checking whether _XOPEN_SOURCE should be defined
configure:4465: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4465: $? = 0
configure:4492: result: no
configure:4548: checking for inline
configure:4565: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  conftest.c >&5
configure:4565: $? = 0
configure:4574: result: inline
configure:4596: checking for x86_64-suse-linux-gnu-strip
configure:4631: result: no
configure:4641: checking for strip
configure:4662: found /usr/bin/strip
configure:4673: result: strip
configure:4697: checking for id
configure:4721: found /usr/bin/id
configure:4734: result: /usr/bin/id
configure:4746: checking for gawk
configure:4778: result: gawk
configure:4797: checking for x86_64-suse-linux-gnu-gcc
configure:4829: result: gcc
configure:5227: checking for C compiler version
configure:5236: gcc --version >&5
gcc (SUSE Linux) 12.2.1 20230124 [revision 193f7e62815b4089dfaed4c2bd34fd4f10209e27]
Copyright (C) 2022 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.

configure:5247: $? = 0
configure:5236: gcc -v >&5
Using built-in specs.
Reading specs from /usr/lib64/gcc/x86_64-suse-linux/12/defaults.spec
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/12/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,ada,go,d,jit --enable-offload-targets=nvptx-none,amdgcn-amdhsa, --enable-offload-defaulted --without-cuda-driver --enable-host-shared --enable-checking=release --disable-werror --with-gxx-include-dir=/usr/include/c++/12 --enable-ssp --disable-libssp --disable-libvtv --enable-cet=auto --disable-libcc1 --enable-plugin --with-bugurl=https://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --with-slibdir=/lib64 --with-system-zlib --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-libphobos --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-12 --without-system-libunwind --enable-multilib --with-arch-32=x86-64 --with-tune=generic --with-build-config=bootstrap-lto-lean --enable-link-mutex --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
Supported LTO compression algorithms: zlib zstd
... rest of stderr output deleted ...
configure:5247: $? = 0
configure:5236: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:5247: $? = 1
configure:5236: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:5247: $? = 1
configure:5236: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:5247: $? = 1
configure:5251: checking whether the compiler supports GNU C
configure:5281: result: yes
configure:5292: checking whether gcc accepts -g
configure:5357: result: yes
configure:5377: checking for gcc option to enable C11 features
configure:5410: result: none needed
configure:5526: checking whether gcc understands -c and -o together
configure:5564: result: yes
configure:5583: checking dependency style of gcc
configure:5695: result: none
configure:5712: checking whether make sets $(MAKE)
configure:5735: result: yes
configure:5747: checking for x86_64-suse-linux-gnu-ranlib
configure:5782: result: no
configure:5792: checking for ranlib
configure:5813: found /usr/bin/ranlib
configure:5824: result: ranlib
configure:5850: checking for x86_64-suse-linux-gnu-ar
configure:5885: result: no
configure:5895: checking for ar
configure:5916: found /usr/bin/ar
configure:5927: result: ar
configure:5951: checking for lynx
configure:5987: result: no
configure:5997: checking for rpm
configure:6020: found /usr/bin/rpm
configure:6032: result: /usr/bin/rpm
configure:6042: checking for gzip
configure:6065: found /usr/bin/gzip
configure:6078: result: /usr/bin/gzip
configure:6088: checking for bzip2
configure:6111: found /usr/bin/bzip2
configure:6124: result: /usr/bin/bzip2
configure:6134: checking for sed
configure:6157: found /usr/bin/sed
configure:6170: result: /usr/bin/sed
configure:6180: checking for sendmail
configure:6217: result: /usr/sbin/sendmail
configure:6227: checking if gcc is really Intel C++
configure:6233: result: no
configure:6237: checking for additional compiler options
configure:6255: result:  -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -Wc++-compat
configure:6340: checking runas-user
configure:6353: result: abuild
configure:6355: checking runas-user uid
configure:6365: result: 399
configure:6380: checking the primary group of abuild
configure:6383: result: 399
configure:6398: checking for crypt.h
configure:6398: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -Wc++-compat  conftest.c >&5
configure:6398: $? = 0
configure:6398: result: yes
configure:6404: checking for sys/param.h
configure:6404: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -Wc++-compat  conftest.c >&5
configure:6404: $? = 0
configure:6404: result: yes
configure:6410: checking for security/pam_appl.h
configure:6410: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -Wc++-compat  conftest.c >&5
configure:6410: $? = 0
configure:6410: result: yes
configure:6418: checking for system include files
configure:6438: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -Wc++-compat  conftest.c >&5
configure:6438: $? = 0
configure:6447: result: yes
configure:6454: checking if malloc debugging is wanted
configure:6473: result: no
configure:6486: checking spooldir
configure:6502: result: /var/spool/news
configure:6506: checking sysconfdir
configure:6517: result: /etc/leafnode
configure:6532: checking rpm build dir
configure:6538: result: /usr/src/packages
configure:6542: checking for crypt in -lcrypt
configure:6565: gcc -o conftest -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -Wc++-compat  -flto=auto conftest.c -lcrypt   >&5
conftest.c:45:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   45 | char crypt ();
      | ^~~~
configure:6565: $? = 0
configure:6575: result: yes
configure:6666: checking for pcre-config
configure:6689: found /usr/bin/pcre-config
configure:6702: result: /usr/bin/pcre-config
configure:6720: adding -lpcre to LDFLAGS
configure:6724: checking for pcre.h
configure:6742: gcc -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -Wc++-compat  conftest.c >&5
configure:6742: $? = 0
configure:6751: result: yes
configure:6756: checking for pcre_compile() in PCRE library
configure:6774: gcc -o conftest -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -Wc++-compat  -flto=auto -lpcre conftest.c -lcrypt  >&5
/usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld: /tmp/ccHH95bm.ltrans0.ltrans.o: in function `main':
/home/abuild/rpmbuild/BUILD/leafnode-2.0.0+git.1677889596.902321b/<artificial>:46: undefined reference to `pcre_compile'
collect2: error: ld returned 1 exit status
configure:6774: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "leafnode"
| #define PACKAGE_TARNAME "leafnode"
| #define PACKAGE_VERSION "2.0.0.alpha202301"
| #define PACKAGE_STRING "leafnode 2.0.0.alpha202301"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "leafnode"
| #define VERSION "2.0.0.alpha202301"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define STDC_HEADERS 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_CRYPT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SECURITY_PAM_APPL_H 1
| #define HAVE_LIBCRYPT 1
| /* end confdefs.h.  */
| #include <pcre.h>
| int
| main (void)
| {
| pcre_compile(0, 0, 0, 0, 0);
|   ;
|   return 0;
| }
configure:6785: result: no
configure:6808: error: PCRE library not found

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-flto=auto
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-suse-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-suse-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_crypt_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_pcre_h=yes
ac_cv_header_security_pam_appl_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_wchar_h=yes
ac_cv_lib_crypt_crypt=yes
ac_cv_objext=o
ac_cv_path_BZIP2=/usr/bin/bzip2
ac_cv_path_DEFAULTMTA=/usr/sbin/sendmail
ac_cv_path_GZIP=/usr/bin/gzip
ac_cv_path_ID=/usr/bin/id
ac_cv_path_LYNX=no
ac_cv_path_PCRECONFIG=/usr/bin/pcre-config
ac_cv_path_RPM=/usr/bin/rpm
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=gcc
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_gcc_flags=' -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -Wc++-compat'
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_should_define__xopen_source=no
am_cv_CC_dependencies_compiler_type=none
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
cf_cv_sysheaders=yes
ln_cv_have_libpcre=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} '\''/home/abuild/rpmbuild/BUILD/leafnode-2.0.0+git.1677889596.902321b/missing'\'' aclocal-1.16'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/home/abuild/rpmbuild/BUILD/leafnode-2.0.0+git.1677889596.902321b/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/abuild/rpmbuild/BUILD/leafnode-2.0.0+git.1677889596.902321b/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/abuild/rpmbuild/BUILD/leafnode-2.0.0+git.1677889596.902321b/missing'\'' automake-1.16'
AWK='gawk'
BZIP2='/usr/bin/bzip2'
CC='gcc'
CCDEPMODE='depmode=none'
CFLAGS='-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wformat=2 -ggdb -fno-common -Wsequence-point -Wswitch -Wunused -Wuninitialized -Wundef -Wc++-compat'
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFAULTMTA='/usr/sbin/sendmail'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ETAGS='etags'
EXEEXT=''
GZIP='/usr/bin/gzip'
ID='/usr/bin/id'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-flto=auto -lpcre'
LIBOBJS=''
LIBS='-lcrypt '
LINKPCRELIB=''
LTLIBOBJS=''
LYNX='no'
MAKEINFO='${SHELL} '\''/home/abuild/rpmbuild/BUILD/leafnode-2.0.0+git.1677889596.902321b/missing'\'' makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT='o'
PACKAGE='leafnode'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='leafnode'
PACKAGE_STRING='leafnode 2.0.0.alpha202301'
PACKAGE_TARNAME='leafnode'
PACKAGE_URL=''
PACKAGE_VERSION='2.0.0.alpha202301'
PATH_SEPARATOR=':'
PCRECONFIG='/usr/bin/pcre-config'
PCRELIB=''
PCRE_DEFINES=''
RANLIB='ranlib'
RPM='/usr/bin/rpm'
RPMSRC='/usr/src/packages'
RUNAS_GROUP='399'
RUNAS_USER='abuild'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/usr/bin/bash'
SPOOLDIR='/var/spool/news'
STRIP='strip'
VERSION='2.0.0.alpha202301'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='/usr/bin'
build_alias='x86_64-suse-linux-gnu'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/usr'
host_alias='x86_64-suse-linux-gnu'
htmldir='${docdir}'
includedir='/usr/include'
infodir='/usr/share/info'
install_sh='${SHELL} /home/abuild/rpmbuild/BUILD/leafnode-2.0.0+git.1677889596.902321b/install-sh'
libdir='/usr/lib64'
libexecdir='/usr/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s&^&&'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='/usr/sbin'
sharedstatedir='/var/lib'
sysconfdir='/etc/leafnode'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "leafnode"
#define PACKAGE_TARNAME "leafnode"
#define PACKAGE_VERSION "2.0.0.alpha202301"
#define PACKAGE_STRING "leafnode 2.0.0.alpha202301"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "leafnode"
#define VERSION "2.0.0.alpha202301"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_WCHAR_H 1
#define STDC_HEADERS 1
#define _ALL_SOURCE 1
#define _DARWIN_C_SOURCE 1
#define _GNU_SOURCE 1
#define _HPUX_ALT_XOPEN_SOCKET_API 1
#define _NETBSD_SOURCE 1
#define _OPENBSD_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
#define __STDC_WANT_IEC_60559_BFP_EXT__ 1
#define __STDC_WANT_IEC_60559_DFP_EXT__ 1
#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
#define __STDC_WANT_LIB_EXT2__ 1
#define __STDC_WANT_MATH_SPEC_FUNCS__ 1
#define _TANDEM_SOURCE 1
#define __EXTENSIONS__ 1
#define HAVE_CRYPT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_LIBCRYPT 1

configure: exit 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <https://www.leafnode.org/pipermail/leafnode-list/attachments/20230304/672a3a84/attachment.sig>


More information about the leafnode-list mailing list