Follow-up Comment #2, bug #66139 (group screen):

Thanks for taking a look.

The configure has been done in the subdirectory. Whilst the headers are in the
srcdir (and an edit to the .h and .c file respectively added ../ to the lines
does allow the compile to succeed.  For some reason make is not honouring the
VPATH for these 2  headers.

The build is on Ubuntu 24.04 - these steps should be able to reproduce the
errors.

mkdir .x86_64-libreelec-linux-gnu
cd .x86_64-libreelec-linux-gnu
../configure --host=x86_64-libreelec-linux-gnu --build=x86_64-linux-gnu
--prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var
ac_cv_header_utempter_h=no --disable-pam --disable-telnet
--disable-socket-dir
make

==

$ pwd
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/screen-5.0.0/.x86_64-libreelec-linux-gnu

$ ls -la
total 312
drwxr-xr-x  3 docker docker   4096 Aug 29 10:52 .
drwxr-xr-x 10 docker docker   4096 Aug 29 10:39 ..
-r--r--r--  1 docker docker   5769 Aug 29 10:39 comm.h
-rw-r--r--  1 docker docker   6699 Aug 29 10:39 config.h
-rw-r--r--  1 docker docker  46977 Aug 29 10:52 config.log
-rwxr-xr-x  1 docker docker  30154 Aug 29 10:52 config.status
-rwxr-xr-x  1 docker docker 179821 Aug 29 10:52 configure.lineno
drwxr-xr-x  2 docker docker   4096 Aug 29 10:52 doc
-r--r--r--  1 docker docker   1123 Aug 29 10:39 kmapdef.c
-rw-r--r--  1 docker docker  12430 Aug 29 10:52 Makefile
-r--r--r--  1 docker docker   7250 Aug 29 10:39 term.h

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

It was created by GNU Screen configure 5.0.0, which was
generated by GNU Autoconf 2.72.  Invocation command line was

   $
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/screen-5.0.0/configure
--host=x86_64-libreelec-linux-gnu --build=x86_64-linux-gnu --prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --libdir=/usr/lib
--libexecdir=/usr/lib --localstatedir=/var ac_cv_header_utempter_h=no
--disable-pam --disable-telnet --disable-socket-dir

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

$ head Makefile 
#
# Makefile template for screen 
#
# See machine dependant config.h for more configuration options.
#

srcdir =
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/screen-5.0.0
VPATH =
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/screen-5.0.0

DESTDIR = 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66139>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to