mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] ncurses 6.3 compile error
@ 2022-10-27 18:50 Bruno Thomsen
  2022-10-27 19:36 ` Christian Melki
  0 siblings, 1 reply; 8+ messages in thread
From: Bruno Thomsen @ 2022-10-27 18:50 UTC (permalink / raw)
  To: ptxdist

Hi

Has anyone experienced issues with ncurses 6.3?
Project is using OSELAS.Toolchain 2021.07 and ptxdist 2022.10.0.

/Bruno

-------8<-----------

-----------------------
target: ncurses.prepare
-----------------------

Removing files from sysroot...

configure: loading site script /usr/share/config.site
checking for ggrep... no
checking for grep... grep
checking for egrep... grep -E
Configuring NCURSES 6.3 ABI 6 (Thu Oct 27 11:56:05 UTC 2022)
checking for package version... 6.3
checking for package patch date... 20211021
checking build system type... x86_64-host-linux-gnu
checking host system type... arm-v7a-linux-gnueabihf
checking target system type... arm-v7a-linux-gnueabihf
Configuring for linux-gnueabihf
checking for fgrep... grep -F
checking for prefix... /usr
checking for arm-v7a-linux-gnueabihf-gcc... arm-v7a-linux-gnueabihf-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether arm-v7a-linux-gnueabihf-gcc accepts -g... yes
checking version of arm-v7a-linux-gnueabihf-gcc... 7
checking if this is really Intel C compiler... no
checking if this is really Clang C compiler... no
checking for arm-v7a-linux-gnueabihf-gcc option to accept ANSI C... none needed
checking $CFLAGS variable... ok
checking $CC variable... ok
checking how to run the C preprocessor... arm-v7a-linux-gnueabihf-gcc -E
checking whether arm-v7a-linux-gnueabihf-gcc needs -traditional... no
checking whether arm-v7a-linux-gnueabihf-gcc understands -c and -o
together... yes
checking if you want to ensure bool is consistent with C++... no
checking if you want to build C++ binding and demo... no
checking if you want to build with Ada... no
checking if you want to install terminal database... yes
checking if you want to install manpages... no
checking if you want to build programs such as tic... no
checking if you want to build test-programs... no
checking if you wish to install curses.h... yes
checking for mawk... no
checking for gawk... gawk
checking for a BSD compatible install...
/usr/local/lib/ptxdist-2022.10.0/bin/install -c
checking for lint... no
checking for cppcheck... no
checking for splint... no
checking whether ln -s works... yes
checking if ln -s -f options work... yes
checking for long file names... yes
checking if you want to use pkg-config... yes
checking for arm-v7a-linux-gnueabihf-pkg-config...
/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
checking for /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
library directory... checking for first directory... none
checking if we should install .pc files for
/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config...
yes
configure: error: expected a pathname, not ""
make: *** [/usr/local/lib/ptxdist-2022.10.0/rules/post/ptxd_make_world_prepare.make:24:
/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/state/ncurses.prepare]
Error 1



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] ncurses 6.3 compile error
  2022-10-27 18:50 [ptxdist] ncurses 6.3 compile error Bruno Thomsen
@ 2022-10-27 19:36 ` Christian Melki
  2022-10-28 15:23   ` Michael Olbrich
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Melki @ 2022-10-27 19:36 UTC (permalink / raw)
  To: bruno.thomsen; +Cc: ptxdist

Hi Bruno,

On 10/27/22 20:50, Bruno Thomsen wrote:
> Hi
> 
> Has anyone experienced issues with ncurses 6.3?
> Project is using OSELAS.Toolchain 2021.07 and ptxdist 2022.10.0.
> 
> /Bruno
> 
> -------8<-----------
> 
> -----------------------
> target: ncurses.prepare
> -----------------------
> 
> Removing files from sysroot...
> 
> configure: loading site script /usr/share/config.site
> checking for ggrep... no
> checking for grep... grep
> checking for egrep... grep -E
> Configuring NCURSES 6.3 ABI 6 (Thu Oct 27 11:56:05 UTC 2022)
> checking for package version... 6.3
> checking for package patch date... 20211021
> checking build system type... x86_64-host-linux-gnu
> checking host system type... arm-v7a-linux-gnueabihf
> checking target system type... arm-v7a-linux-gnueabihf
> Configuring for linux-gnueabihf
> checking for fgrep... grep -F
> checking for prefix... /usr
> checking for arm-v7a-linux-gnueabihf-gcc... arm-v7a-linux-gnueabihf-gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... yes
> checking for executable suffix...
> checking for object suffix... o
> checking whether we are using the GNU C compiler... yes
> checking whether arm-v7a-linux-gnueabihf-gcc accepts -g... yes
> checking version of arm-v7a-linux-gnueabihf-gcc... 7
> checking if this is really Intel C compiler... no
> checking if this is really Clang C compiler... no
> checking for arm-v7a-linux-gnueabihf-gcc option to accept ANSI C... none needed
> checking $CFLAGS variable... ok
> checking $CC variable... ok
> checking how to run the C preprocessor... arm-v7a-linux-gnueabihf-gcc -E
> checking whether arm-v7a-linux-gnueabihf-gcc needs -traditional... no
> checking whether arm-v7a-linux-gnueabihf-gcc understands -c and -o
> together... yes
> checking if you want to ensure bool is consistent with C++... no
> checking if you want to build C++ binding and demo... no
> checking if you want to build with Ada... no
> checking if you want to install terminal database... yes
> checking if you want to install manpages... no
> checking if you want to build programs such as tic... no
> checking if you want to build test-programs... no
> checking if you wish to install curses.h... yes
> checking for mawk... no
> checking for gawk... gawk
> checking for a BSD compatible install...
> /usr/local/lib/ptxdist-2022.10.0/bin/install -c
> checking for lint... no
> checking for cppcheck... no
> checking for splint... no
> checking whether ln -s works... yes
> checking if ln -s -f options work... yes
> checking for long file names... yes
> checking if you want to use pkg-config... yes
> checking for arm-v7a-linux-gnueabihf-pkg-config...
> /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
> checking for /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
> library directory... checking for first directory... none
> checking if we should install .pc files for
> /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config...
> yes
> configure: error: expected a pathname, not ""

Does your config.log contain more information?

> make: *** [/usr/local/lib/ptxdist-2022.10.0/rules/post/ptxd_make_world_prepare.make:24:
> /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/state/ncurses.prepare]
> Error 1
> 




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] ncurses 6.3 compile error
  2022-10-27 19:36 ` Christian Melki
@ 2022-10-28 15:23   ` Michael Olbrich
  2022-10-30 11:08     ` Bruno Thomsen
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Olbrich @ 2022-10-28 15:23 UTC (permalink / raw)
  To: Christian Melki; +Cc: ptxdist, bruno.thomsen

On Thu, Oct 27, 2022 at 09:36:21PM +0200, Christian Melki wrote:
> On 10/27/22 20:50, Bruno Thomsen wrote:
> > Has anyone experienced issues with ncurses 6.3?
> > Project is using OSELAS.Toolchain 2021.07 and ptxdist 2022.10.0.
> > 
> > /Bruno
> > 
> > -------8<-----------
> > 
> > -----------------------
> > target: ncurses.prepare
> > -----------------------
> > 
> > Removing files from sysroot...
> > 
> > configure: loading site script /usr/share/config.site
> > checking for ggrep... no
> > checking for grep... grep
> > checking for egrep... grep -E
> > Configuring NCURSES 6.3 ABI 6 (Thu Oct 27 11:56:05 UTC 2022)
> > checking for package version... 6.3
> > checking for package patch date... 20211021
> > checking build system type... x86_64-host-linux-gnu
> > checking host system type... arm-v7a-linux-gnueabihf
> > checking target system type... arm-v7a-linux-gnueabihf
> > Configuring for linux-gnueabihf
> > checking for fgrep... grep -F
> > checking for prefix... /usr
> > checking for arm-v7a-linux-gnueabihf-gcc... arm-v7a-linux-gnueabihf-gcc
> > checking for C compiler default output... a.out
> > checking whether the C compiler works... yes
> > checking whether we are cross compiling... yes
> > checking for executable suffix...
> > checking for object suffix... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether arm-v7a-linux-gnueabihf-gcc accepts -g... yes
> > checking version of arm-v7a-linux-gnueabihf-gcc... 7
> > checking if this is really Intel C compiler... no
> > checking if this is really Clang C compiler... no
> > checking for arm-v7a-linux-gnueabihf-gcc option to accept ANSI C... none needed
> > checking $CFLAGS variable... ok
> > checking $CC variable... ok
> > checking how to run the C preprocessor... arm-v7a-linux-gnueabihf-gcc -E
> > checking whether arm-v7a-linux-gnueabihf-gcc needs -traditional... no
> > checking whether arm-v7a-linux-gnueabihf-gcc understands -c and -o
> > together... yes
> > checking if you want to ensure bool is consistent with C++... no
> > checking if you want to build C++ binding and demo... no
> > checking if you want to build with Ada... no
> > checking if you want to install terminal database... yes
> > checking if you want to install manpages... no
> > checking if you want to build programs such as tic... no
> > checking if you want to build test-programs... no
> > checking if you wish to install curses.h... yes
> > checking for mawk... no
> > checking for gawk... gawk
> > checking for a BSD compatible install...
> > /usr/local/lib/ptxdist-2022.10.0/bin/install -c
> > checking for lint... no
> > checking for cppcheck... no
> > checking for splint... no
> > checking whether ln -s works... yes
> > checking if ln -s -f options work... yes
> > checking for long file names... yes
> > checking if you want to use pkg-config... yes
> > checking for arm-v7a-linux-gnueabihf-pkg-config...
> > /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
> > checking for /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
> > library directory... checking for first directory... none
> > checking if we should install .pc files for
> > /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config...
> > yes
> > configure: error: expected a pathname, not ""
> 
> Does your config.log contain more information?

Indeed, and do you have a local ncurses.make? The upstream rule explicitly
specifies this path with
--with-pkg-config-libdir=/usr/$(CROSS_LIB_DIR)/pkgconfig
if I read the configure script correctly.

Michael

> > make: *** [/usr/local/lib/ptxdist-2022.10.0/rules/post/ptxd_make_world_prepare.make:24:
> > /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/state/ncurses.prepare]
> > Error 1
> > 
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] ncurses 6.3 compile error
  2022-10-28 15:23   ` Michael Olbrich
@ 2022-10-30 11:08     ` Bruno Thomsen
  2022-10-30 14:19       ` Christian Melki
  0 siblings, 1 reply; 8+ messages in thread
From: Bruno Thomsen @ 2022-10-30 11:08 UTC (permalink / raw)
  To: Christian Melki, bruno.thomsen, ptxdist

Den fre. 28. okt. 2022 kl. 17.23 skrev Michael Olbrich
<m.olbrich@pengutronix.de>:
>
> On Thu, Oct 27, 2022 at 09:36:21PM +0200, Christian Melki wrote:
> > On 10/27/22 20:50, Bruno Thomsen wrote:
> > > Has anyone experienced issues with ncurses 6.3?
> > > Project is using OSELAS.Toolchain 2021.07 and ptxdist 2022.10.0.
> > >
> > > /Bruno
> > >
> > > -------8<-----------
> > >
> > > -----------------------
> > > target: ncurses.prepare
> > > -----------------------
> > >
> > > Removing files from sysroot...
> > >
> > > configure: loading site script /usr/share/config.site
> > > checking for ggrep... no
> > > checking for grep... grep
> > > checking for egrep... grep -E
> > > Configuring NCURSES 6.3 ABI 6 (Thu Oct 27 11:56:05 UTC 2022)
> > > checking for package version... 6.3
> > > checking for package patch date... 20211021
> > > checking build system type... x86_64-host-linux-gnu
> > > checking host system type... arm-v7a-linux-gnueabihf
> > > checking target system type... arm-v7a-linux-gnueabihf
> > > Configuring for linux-gnueabihf
> > > checking for fgrep... grep -F
> > > checking for prefix... /usr
> > > checking for arm-v7a-linux-gnueabihf-gcc... arm-v7a-linux-gnueabihf-gcc
> > > checking for C compiler default output... a.out
> > > checking whether the C compiler works... yes
> > > checking whether we are cross compiling... yes
> > > checking for executable suffix...
> > > checking for object suffix... o
> > > checking whether we are using the GNU C compiler... yes
> > > checking whether arm-v7a-linux-gnueabihf-gcc accepts -g... yes
> > > checking version of arm-v7a-linux-gnueabihf-gcc... 7
> > > checking if this is really Intel C compiler... no
> > > checking if this is really Clang C compiler... no
> > > checking for arm-v7a-linux-gnueabihf-gcc option to accept ANSI C... none needed
> > > checking $CFLAGS variable... ok
> > > checking $CC variable... ok
> > > checking how to run the C preprocessor... arm-v7a-linux-gnueabihf-gcc -E
> > > checking whether arm-v7a-linux-gnueabihf-gcc needs -traditional... no
> > > checking whether arm-v7a-linux-gnueabihf-gcc understands -c and -o
> > > together... yes
> > > checking if you want to ensure bool is consistent with C++... no
> > > checking if you want to build C++ binding and demo... no
> > > checking if you want to build with Ada... no
> > > checking if you want to install terminal database... yes
> > > checking if you want to install manpages... no
> > > checking if you want to build programs such as tic... no
> > > checking if you want to build test-programs... no
> > > checking if you wish to install curses.h... yes
> > > checking for mawk... no
> > > checking for gawk... gawk
> > > checking for a BSD compatible install...
> > > /usr/local/lib/ptxdist-2022.10.0/bin/install -c
> > > checking for lint... no
> > > checking for cppcheck... no
> > > checking for splint... no
> > > checking whether ln -s works... yes
> > > checking if ln -s -f options work... yes
> > > checking for long file names... yes
> > > checking if you want to use pkg-config... yes
> > > checking for arm-v7a-linux-gnueabihf-pkg-config...
> > > /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
> > > checking for /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
> > > library directory... checking for first directory... none
> > > checking if we should install .pc files for
> > > /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config...
> > > yes
> > > configure: error: expected a pathname, not ""
> >
> > Does your config.log contain more information?
>
> Indeed, and do you have a local ncurses.make? The upstream rule explicitly
> specifies this path with
> --with-pkg-config-libdir=/usr/$(CROSS_LIB_DIR)/pkgconfig
> if I read the configure script correctly.

I am using the upstream rule as the project is migrated to 2022.10.0
and as far as I can see in git it's the same rule on master branch.
There are no rules/{host-,}ncurses.{in,make} in the project.

config.log is attached below.

configure:4300: error: expected a pathname, not ""

Looking in the configure script around line 4300,
the $PKG_CONFIG_LIBDIR variable is indeed empty.

So I will look into why with-pkg-config-libdir is not used.

/Bruno

--------8<-----------------

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

It was created by configure, which was
generated by GNU Autoconf 2.52.20210509.  Invocation command line was

  $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--libdir=/usr/lib --build=x86_64-host-linux-gnu
--host=arm-v7a-linux-gnueabihf --without-ada --without-cxx
--without-cxx-binding --enable-db-install --without-manpages
--without-progs --without-tack --without-tests --with-curses-h
--with-pkg-config-libdir=/usr/lib/pkgconfig --enable-pc-files
--enable-mixed-case --without-libtool --with-shared --with-normal
--without-debug --without-profile --without-cxx-shared
--without-termlib --without-ticlib --without-gpm --without-dlsym
--without-pcre2 --without-sysmouse --disable-rpath --disable-relink
--disable-rpath-hack --enable-overwrite --enable-big-core
--disable-big-strings --enable-widec --enable-largefile
--enable-ext-funcs --enable-sp-funcs --disable-term-driver
--enable-const --enable-ext-colors --disable-ext-mouse
--disable-ext-putwin --disable-no-padding --disable-signed-char
--disable-sigwinch --without-pthread --disable-reentrant
--without-develop --disable-interop

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

hostname = c55d6238f6de
uname -m = x86_64
uname -r = 5.19.16-200.fc36.x86_64
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Sun Oct 16 22:50:04 UTC 2022

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

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

PATH = /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin:/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/sbin:/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-host/lib/wrapper:/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-host/bin:/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-host/sbin:/home/bth/gitlab/rockhopper/ptxdist/selected_toolchain:/usr/local/lib/ptxdist-2022.10.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

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

configure:1071: loading site script /usr/share/config.site
# This is the config.site file to satisfy FHS defaults when installing below
# /usr.
#
# You may override this file by your config.site using the CONFIG_SITE env
# variable.
#
# Note: This file includes also RHEL/Fedora fix for installing libraries into
# "/lib/lib64" on 64bit systems.

if test -n "$host"; then
    # skip when cross-compiling
    return 0
fi

if test "$prefix" = /usr \
   || { test "$prefix" = NONE && test "$ac_default_prefix" = /usr ; }
then
    test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
    test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var
    test "$localstatedir" = '${prefix}/var' && localstatedir=/var

    ARCH=`uname -m`
    for i in x86_64 ppc64 s390x aarch64; do
        if test $ARCH = $i; then
            test "$libdir" = '${exec_prefix}/lib' &&
libdir='${exec_prefix}/lib64'
            break
        fi
    done
fi
configure:1170: PATH=".;."; conftest.sh
./configure: line 1171: conftest.sh: command not found
configure:1173: $? = 127
configure:1190: checking for ggrep
configure:1216: result: no
configure:1190: checking for grep
configure:1205: found /usr/bin/grep
configure:1213: result: grep
configure:1224: checking for egrep
configure:1280: result: grep -E
configure:1290: result: Configuring NCURSES 6.3 ABI 6 (Fri Oct 28
08:12:47 UTC 2022)
configure:1294: checking for package version
configure:1315: result: 6.3
configure:1318: checking for package patch date
configure:1335: result: 20211021
configure:1346: testing ABI VERSION 5:0:10 ...
configure:1350: testing VERSION_MAJOR 6 ...
configure:1354: testing VERSION_MINOR 3 ...
configure:1358: testing VERSION_PATCH 20211021 ...
configure:1500: checking build system type
configure:1518: result: x86_64-host-linux-gnu
configure:1525: checking host system type
configure:1539: result: arm-v7a-linux-gnueabihf
configure:1547: checking target system type
configure:1561: result: arm-v7a-linux-gnueabihf
configure:1593: result: Configuring for linux-gnueabihf
configure:1618: checking for fgrep
configure:1674: result: grep -F
configure:1678: checking for prefix
configure:1690: result: /usr
configure:1780: checking for arm-v7a-linux-gnueabihf-gcc
configure:1803: result: arm-v7a-linux-gnueabihf-gcc
configure:1860: checking for C compiler version
configure:1863: arm-v7a-linux-gnueabihf-gcc --version </dev/null >&5
arm-v7a-linux-gnueabihf-gcc (OSELAS.Toolchain-2021.07.0 11-20210703)
11.1.1 20210703
Copyright (C) 2021 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:1866: $? = 0
configure:1868: arm-v7a-linux-gnueabihf-gcc -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=/home/bth/gitlab/rockhopper/OSELAS.Toolchain-2021.07.0/arm-v7a-linux-gnueabihf/gcc-11.1.1-clang-12.0.0-glibc-2.33-binutils-2.36.1-kernel-5.12.4-sanitized/bin/arm-v7a-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/home/bth/gitlab/rockhopper/OSELAS.Toolchain-2021.07.0/arm-v7a-linux-gnueabihf/gcc-11.1.1-clang-12.0.0-glibc-2.33-binutils-2.36.1-kernel-5.12.4-sanitized/bin/../libexec/gcc/arm-v7a-linux-gnueabihf/11.1.1/lto-wrapper
Target: arm-v7a-linux-gnueabihf
Configured with: ../gcc-11-20210703/configure
--build=x86_64-host-linux-gnu --host=x86_64-host-linux-gnu
--target=arm-v7a-linux-gnueabihf
--with-build-sysroot=OSELAS.Toolchain-2021.07.0/platform-arm-v7a-linux-gnueabihf-gcc-11.1.1-clang-12.0.0-glibc-2.33-binutils-2.36.1-kernel-5.12.4-sanitized/sysroot-crossOSELAS.Toolchain-2021.07.0/arm-v7a-linux-gnueabihf/gcc-11.1.1-clang-12.0.0-glibc-2.33-binutils-2.36.1-kernel-5.12.4-sanitized/sysroot-arm-v7a-linux-gnueabihf
--with-sysroot=OSELAS.Toolchain-2021.07.0/arm-v7a-linux-gnueabihf/gcc-11.1.1-clang-12.0.0-glibc-2.33-binutils-2.36.1-kernel-5.12.4-sanitized/sysroot-arm-v7a-linux-gnueabihf
--disable-multilib --with-float=hard --with-fpu=vfpv3-d16
--with-arch=armv7-a --with-mode=thumb --with-tune=cortex-a9
--enable-linker-build-id --enable-__cxa_atexit
--disable-sjlj-exceptions --disable-nls --disable-decimal-float
--disable-fixed-point --disable-win32-registry --enable-symvers=gnu
--with-pkgversion='OSELAS.Toolchain-2021.07.0 11-20210703'
--enable-threads=posix --with-system-zlib --with-gmp --with-mpfr
--with-mpc --with-isl
--with-debug-prefix-map='OSELAS.Toolchain-2021.07.0/platform-=OSELAS.Toolchain-2021.07.0/platform-
OSELAS.Toolchain-2021.07.0/platform-arm-v7a-linux-gnueabihf-gcc-11.1.1-clang-12.0.0-glibc-2.33-binutils-2.36.1-kernel-5.12.4-sanitized/sysroot-cross='
--enable-libstdcxx-debug-flags='-gdwarf-4 -O0 -g3
-gno-record-gcc-switches
-ffile-prefix-map=OSELAS.Toolchain-2021.07.0/platform-=OSELAS.Toolchain-2021.07.0/platform-
-ffile-prefix-map=OSELAS.Toolchain-2021.07.0/platform-arm-v7a-linux-gnueabihf-gcc-11.1.1-clang-12.0.0-glibc-2.33-binutils-2.36.1-kernel-5.12.4-sanitized/sysroot-cross='
--prefix=OSELAS.Toolchain-2021.07.0/arm-v7a-linux-gnueabihf/gcc-11.1.1-clang-12.0.0-glibc-2.33-binutils-2.36.1-kernel-5.12.4-sanitized
--enable-languages=c,c++,objc,obj-c++ --enable-c99 --enable-long-long
--enable-libstdcxx-debug --enable-profile --enable-shared
--disable-libssp --enable-checking=release
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.1.1 20210703 (OSELAS.Toolchain-2021.07.0 11-20210703)
configure:1871: $? = 0
configure:1873: arm-v7a-linux-gnueabihf-gcc -V </dev/null >&5
arm-v7a-linux-gnueabihf-gcc: error: unrecognized command-line option '-V'
arm-v7a-linux-gnueabihf-gcc: fatal error: no input files
compilation terminated.
configure:1876: $? = 1
configure:1896: checking for C compiler default output
configure:1899: arm-v7a-linux-gnueabihf-gcc    conftest.c  >&5
configure:1902: $? = 0
configure:1931: result: a.out
configure:1936: checking whether the C compiler works
configure:1960: result: yes
configure:1967: checking whether we are cross compiling
configure:1969: result: yes
configure:1972: checking for executable suffix
configure:1974: arm-v7a-linux-gnueabihf-gcc -o conftest    conftest.c  >&5
configure:1977: $? = 0
configure:1999: result:
configure:2005: checking for object suffix
configure:2023: arm-v7a-linux-gnueabihf-gcc -c   conftest.c >&5
configure:2026: $? = 0
configure:2045: result: o
configure:2049: checking whether we are using the GNU C compiler
configure:2070: arm-v7a-linux-gnueabihf-gcc -c   conftest.c >&5
configure:2073: $? = 0
configure:2076: test -s conftest.o
configure:2079: $? = 0
configure:2091: result: yes
configure:2097: checking whether arm-v7a-linux-gnueabihf-gcc accepts -g
configure:2115: arm-v7a-linux-gnueabihf-gcc -c -g  conftest.c >&5
configure:2118: $? = 0
configure:2121: test -s conftest.o
configure:2124: $? = 0
configure:2134: result: yes
configure:2161: arm-v7a-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
conftest.c:2:3: error: unknown type name 'choke'
    2 |   choke me
      |   ^~~~~
conftest.c:2:3: error: expected '=', ',', ';', 'asm' or
'__attribute__' at end of input
configure:2164: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2265: checking version of arm-v7a-linux-gnueabihf-gcc
configure:2269: result: 7
configure:2278: checking if this is really Intel C compiler
configure:2300: arm-v7a-linux-gnueabihf-gcc -c -g -O2 -no-gcc  conftest.c >&5
arm-v7a-linux-gnueabihf-gcc: error: unrecognized command-line option '-no-gcc'
configure:2303: $? = 1
configure: failed program was:
#line 2283 "configure"
#include "confdefs.h"

int
main (void)
{

#ifdef __INTEL_COMPILER
#else
make an error
#endif

  ;
  return 0;
}
configure:2320: result: no
configure:2329: checking if this is really Clang C compiler
configure:2350: arm-v7a-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure: In function 'main':
configure:2341:1: error: unknown type name 'make'
 2341 | #else
      | ^~~~
configure:2341:9: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'error'
 2341 | #else
      |         ^
configure:2353: $? = 1
configure: failed program was:
#line 2333 "configure"
#include "confdefs.h"

int
main (void)
{

#ifdef __clang__
#else
make an error
#endif

  ;
  return 0;
}
configure:2369: result: no
configure:2450: checking for arm-v7a-linux-gnueabihf-gcc option to accept ANSI C
configure:2507: arm-v7a-linux-gnueabihf-gcc  -c -g -O2  conftest.c >&5
configure:2510: $? = 0
configure:2513: test -s conftest.o
configure:2516: $? = 0
configure:2533: result: none needed
configure:2544: checking $CFLAGS variable
configure:2658: result: ok
configure:2663: checking $CC variable
configure:2798: result: ok
configure:2809: checking how to run the C preprocessor
configure:2911: result: arm-v7a-linux-gnueabihf-gcc -E
configure:2926: arm-v7a-linux-gnueabihf-gcc -E  conftest.c
configure:2932: $? = 0
configure:2959: arm-v7a-linux-gnueabihf-gcc -E  conftest.c
configure:2956:10: fatal error: ac_nonexistent.h: No such file or directory
 2956 | #include "confdefs.h"
      |          ^~~~~~~~~~~~
compilation terminated.
configure:2965: $? = 1
configure: failed program was:
#line 2955 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3006: checking whether arm-v7a-linux-gnueabihf-gcc needs -traditional
configure:3041: result: no
configure:3048: checking whether arm-v7a-linux-gnueabihf-gcc
understands -c and -o together
configure:3063: arm-v7a-linux-gnueabihf-gcc -g -O2  -c conftest.c -o
conftest2.o >&5
configure:3066: $? = 0
configure:3068: arm-v7a-linux-gnueabihf-gcc -g -O2  -c conftest.c -o
conftest2.o >&5
configure:3071: $? = 0
configure:3082: result: yes
configure:3138: checking if you want to ensure bool is consistent with C++
configure:3148: result: no
configure:3594: checking if you want to build C++ binding and demo
configure:3604: result: no
configure:3607: checking if you want to build with Ada
configure:3609: result: no
configure:3612: checking if you want to install terminal database
configure:3622: result: yes
configure:3625: checking if you want to install manpages
configure:3635: result: no
configure:3638: checking if you want to build programs such as tic
configure:3648: result: no
configure:3676: checking if you want to build test-programs
configure:3686: result: no
configure:3689: checking if you wish to install curses.h
configure:3699: result: yes
configure:3724: checking for mawk
configure:3750: result: no
configure:3724: checking for gawk
configure:3739: found /usr/bin/gawk
configure:3747: result: gawk
configure:3773: checking for a BSD compatible install
configure:3822: result: /usr/local/lib/ptxdist-2022.10.0/bin/install -c
configure:3847: checking for lint
configure:3873: result: no
configure:3847: checking for cppcheck
configure:3873: result: no
configure:3847: checking for splint
configure:3873: result: no
configure:3886: checking whether ln -s works
configure:3890: result: yes
configure:3897: checking if ln -s -f options work
configure:3909: result: yes
configure:3914: checking for long file names
configure:3953: result: yes
configure:3982: checking if you want to use pkg-config
configure:3992: result: yes
configure:4004: checking for arm-v7a-linux-gnueabihf-pkg-config
configure:4021: found
/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
configure:4032: result:
/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
configure:4136: checking for
/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
library directory
configure:4227: checking for first directory
configure:4238: result: none
configure:4248: checking if we should install .pc files for
/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
configure:4262: result: yes
configure:4300: error: expected a pathname, not ""

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

ac_cv_build=x86_64-host-linux-gnu
ac_cv_build_alias=x86_64-host-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-v7a-linux-gnueabihf-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='arm-v7a-linux-gnueabihf-gcc -E'
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=arm-v7a-linux-gnueabihf-g++
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-host-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-v7a-linux-gnueabihf
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_file__dev_random=yes
ac_cv_file__proc_self_exe=yes
ac_cv_file__proc_self_fd=yes
ac_cv_file__proc_self_maps=yes
ac_cv_func_dcgettext=yes
ac_cv_func_fork=yes
ac_cv_func_fork_works=yes
ac_cv_func_getpgrp_void=yes
ac_cv_func_getrlimit=yes
ac_cv_func_iconv_open=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memcmp_clean=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_nonposix_getgrgid_r=no
ac_cv_func_nonposix_getpwuid_r=no
ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getpwnam_r=yes
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_printf_unix98=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_setgrent_void=yes
ac_cv_func_setpgrp_void=yes
ac_cv_func_setvbuf_reversed=no
ac_cv_func_strstr=yes
ac_cv_func_strtod=yes
ac_cv_func_strtoul=yes
ac_cv_func_vsnprintf_c99=yes
ac_cv_func_wait3_rusage=yes
ac_cv_have_abstract_sockets=yes
ac_cv_host=arm-v7a-linux-gnueabihf
ac_cv_host_alias=arm-v7a-linux-gnueabihf
ac_cv_lib_c_inet_aton=yes
ac_cv_objext=o
ac_cv_path_EGREP='grep -E'
ac_cv_path_FGREP='grep -F'
ac_cv_path_PKG_CONFIG=/home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
ac_cv_path_install='/usr/local/lib/ptxdist-2022.10.0/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=arm-v7a-linux-gnueabihf-gcc
ac_cv_prog_CPP='arm-v7a-linux-gnueabihf-gcc -E'
ac_cv_prog_GREP=grep
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_gcc_traditional=no
ac_cv_sizeof_long_double=8
ac_cv_sizeof_long_long=8
ac_cv_sys_long_file_names=yes
ac_cv_sysv_ipc=yes
ac_cv_target=arm-v7a-linux-gnueabihf
ac_cv_target_alias=arm-v7a-linux-gnueabihf
ac_cv_type_uintptr_t=yes
bash_cv_func_ctype_nonascii=yes
bash_cv_func_sigsetjmp=present
bash_cv_func_strcoll_broken=no
bash_cv_must_reinstall_sighandlers=no
cf_cv_abi_version=6
cf_cv_prog_CC_c_o=yes
cf_cv_rel_version=6.3
cf_cv_system_name=linux-gnueabihf
cf_cv_timestamp='Fri Oct 28 08:12:47 UTC 2022'
glib_cv_long_long_format=ll
gt_cv_func_gettext_libintl=yes

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

#define PACKAGE "ncurses"
#define NCURSES_VERSION "6.3"
#define NCURSES_PATCHDATE 20211021
#define SYSTEM_NAME "linux-gnueabihf"
#define HAVE_LONG_FILE_NAMES 1


configure: exit 1



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] ncurses 6.3 compile error
  2022-10-30 11:08     ` Bruno Thomsen
@ 2022-10-30 14:19       ` Christian Melki
  2022-10-30 19:47         ` Christian Melki
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Melki @ 2022-10-30 14:19 UTC (permalink / raw)
  To: Bruno Thomsen; +Cc: ptxdist

On 10/30/22 12:08, Bruno Thomsen wrote:
> error: expected a pathname, not ""

Hmm. That home made horror show of configuration expects
--enable-pc-files if I'm not mistaken. Can that be a clue to something?
But it makes me wonder how on earth this worked in the first place?

/C



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] ncurses 6.3 compile error
  2022-10-30 14:19       ` Christian Melki
@ 2022-10-30 19:47         ` Christian Melki
  2022-11-21 16:07           ` Christian Melki
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Melki @ 2022-10-30 19:47 UTC (permalink / raw)
  To: Bruno Thomsen; +Cc: ptxdist

On 10/30/22 15:19, Christian Melki wrote:
> On 10/30/22 12:08, Bruno Thomsen wrote:
>> error: expected a pathname, not ""
> 
> Hmm. That home made horror show of configuration expects
> --enable-pc-files if I'm not mistaken. Can that be a clue to something?
> But it makes me wonder how on earth this worked in the first place?
> 
> /C
> 


My bad. Ignore that. Somehow missed that the configure line already
contained it.

/C



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] ncurses 6.3 compile error
  2022-10-30 19:47         ` Christian Melki
@ 2022-11-21 16:07           ` Christian Melki
  2022-11-22  5:54             ` Bruno Thomsen
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Melki @ 2022-11-21 16:07 UTC (permalink / raw)
  To: Bruno Thomsen, Michael Olbrich; +Cc: ptxdist

Hi Bruno,

Did you solve your issue?

For whatever reason, I tripped on the same error.
Now, I can't follow the reasoning, the behavior, the patches or actually
anything in the ncurses development. To me it's just a black box of
strangeness.

Either way. I concluded that for unidentified reasons I needed:
https://invisible-mirror.net/archives/ncurses/6.3/ncurses-6.3-20211026.patch.gz
added to the patchset.

Literally the first in the series for 6.3.

Maybe someone more versed can make sense of the discussion here:
https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00040.html

Regards,
Christian

On 10/30/22 20:47, Christian Melki wrote:
> On 10/30/22 15:19, Christian Melki wrote:
>> On 10/30/22 12:08, Bruno Thomsen wrote:
>>> error: expected a pathname, not ""
>>
>> Hmm. That home made horror show of configuration expects
>> --enable-pc-files if I'm not mistaken. Can that be a clue to something?
>> But it makes me wonder how on earth this worked in the first place?
>>
>> /C
>>
> 
> 
> My bad. Ignore that. Somehow missed that the configure line already
> contained it.
> 
> /C
> 




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] ncurses 6.3 compile error
  2022-11-21 16:07           ` Christian Melki
@ 2022-11-22  5:54             ` Bruno Thomsen
  0 siblings, 0 replies; 8+ messages in thread
From: Bruno Thomsen @ 2022-11-22  5:54 UTC (permalink / raw)
  To: christian.melki; +Cc: Michael Olbrich, ptxdist

Hi Christian,

Den man. 21. nov. 2022 kl. 17.09 skrev Christian Melki
<christian.melki@t2data.com>:
>
> Hi Bruno,
>
> Did you solve your issue?

I got the configure step working by adding autogen.sh symbolic link to
patch directory.
But then I hit a compile error.

I saw that Fedora[1] carried some patches but did not yet test them in
ptxdist context.
At the moment I just use the old 6.2 version.

/Bruno

[1] https://src.fedoraproject.org/rpms/ncurses/tree/rawhide

>
> For whatever reason, I tripped on the same error.
> Now, I can't follow the reasoning, the behavior, the patches or actually
> anything in the ncurses development. To me it's just a black box of
> strangeness.
>
> Either way. I concluded that for unidentified reasons I needed:
> https://invisible-mirror.net/archives/ncurses/6.3/ncurses-6.3-20211026.patch.gz
> added to the patchset.
>
> Literally the first in the series for 6.3.
>
> Maybe someone more versed can make sense of the discussion here:
> https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00040.html
>
> Regards,
> Christian
>
> On 10/30/22 20:47, Christian Melki wrote:
> > On 10/30/22 15:19, Christian Melki wrote:
> >> On 10/30/22 12:08, Bruno Thomsen wrote:
> >>> error: expected a pathname, not ""
> >>
> >> Hmm. That home made horror show of configuration expects
> >> --enable-pc-files if I'm not mistaken. Can that be a clue to something?
> >> But it makes me wonder how on earth this worked in the first place?
> >>
> >> /C
> >>
> >
> >
> > My bad. Ignore that. Somehow missed that the configure line already
> > contained it.
> >
> > /C
> >
>



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-11-22  5:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-27 18:50 [ptxdist] ncurses 6.3 compile error Bruno Thomsen
2022-10-27 19:36 ` Christian Melki
2022-10-28 15:23   ` Michael Olbrich
2022-10-30 11:08     ` Bruno Thomsen
2022-10-30 14:19       ` Christian Melki
2022-10-30 19:47         ` Christian Melki
2022-11-21 16:07           ` Christian Melki
2022-11-22  5:54             ` Bruno Thomsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox