mainGNU M4 - Support: sr #110502, 1.4.19: test suite is failing

 
 

sr #110502: 1.4.19: test suite is failing

Submitter:  Tomasz Kłoczko <kloczek>
Submitted:  Tue 01 Jun 2021 10:06:12 AM UTC
   
 
Category:  None Priority:  3 - Low
Severity:  3 - Normal Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 27 Jan 2024 08:32:20 AM UTC, comment #10: 
Bruno Haible <haible>
Group Member
Sat 27 Jan 2024 08:00:05 AM UTC, comment #9: 

I'm opened on any suggestions which I can try to do.

Tomasz Kłoczko <kloczek>
Fri 26 Jan 2024 08:54:31 PM UTC, comment #8: 

In my last comment, I said "you will need to dig a bit by your own." If you cannot do this or don't want to do this, we should close this ticket, with resolution "works for me".

Bruno Haible <haible>
Group Member
Fri 26 Jan 2024 06:39:42 PM UTC, comment #7: 

Any update? 🤔

Tomasz Kłoczko <kloczek>
Sat 05 Jun 2021 11:50:57 PM UTC, comment #6: 

Your CFLAGS and LDFLAGS contain exotic options that are not available on machines I have access to. Therefore you will need to dig a bit by your own.

The program 'test-posix_spawn-dup2-stdout' is meant to execute a child process "/bin/sh test-posix_spawn-dup2-stdout.sh", where test-posix_spawn-dup2-stdout.sh is a copy of test-posix_spawn-dup2-stdout.in.sh from the source directory.

Try to run './test-posix_spawn-dup2-stdout' directly. See with 'strace ./test-posix_spawn-dup2-stdout' what it does. Does /bin/sh exist on your system? Was test-posix_spawn-dup2-stdout.sh created in your build directory?

Bruno Haible <haible>
Group Member
Sat 05 Jun 2021 04:07:32 PM UTC, comment #5: 


comment #4:

> Please tell us how to reproduce the issue:
> * which operating system?


Linux x86_64

> * which values of CC, CPPFLAGS, CFLAGS, LDFLAGS used at configure time?


[tkloczko@barrel SPECS]$ rpm -E %set_build_flags

CFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none";
CXXFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none";
FFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules";
FCFLAGS="-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules";
LDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin";
CC="/usr/bin/gcc"; CXX="/usr/bin/g++"; FC="/usr/bin/gfortran";
AR="/usr/bin/gcc-ar"; NM="/usr/bin/gcc-nm"; RANLIB="/usr/bin/gcc-ranlib";
export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB;

Tomasz Kłoczko <kloczek>
Sat 05 Jun 2021 02:00:38 PM UTC, comment #4: 

Please tell us how to reproduce the issue:

  • which operating system?
  • which values of CC, CPPFLAGS, CFLAGS, LDFLAGS used at configure time?
Bruno Haible <haible>
Group Member
Tue 01 Jun 2021 06:31:50 PM UTC, comment #3: 

comment #2:

> > These are gnulib unit test failures; I'll forward your report there.  They do not affect the operation of m4 itself.
>
> It affects building and testing procedures.
>
> OK. So why m4 executest gnulib test units?


Because m4 uses gnulib.  Sometimes a gnulib unit test failure DOES indicate a problem that will be observable through m4 as well; and even if a gnulib unit test failure does not indicate a problem for m4, it may indicate a problem for other gnulib clients.

As it is, m4 only runs the gnulib unit tests for the actual gnulib modules in use by m4, and not all possible gnulib unit tests.

Eric Blake <ericb>
Group administrator
Tue 01 Jun 2021 02:02:16 PM UTC, comment #2: 


> These are gnulib unit test failures; I'll forward your report there.  They do not affect the operation of m4 itself.


It affects building and testing procedures.

OK. So why m4 executest gnulib test units?

Tomasz Kłoczko <kloczek>
Tue 01 Jun 2021 12:55:56 PM UTC, comment #1: 

comment #0 original submission:]

> Liooks like some files are missing in dist tar ball.
>
> Please next time generate that tar ball using "distchec" target instead just "dist".


The tarball WAS generated with 'make distcheck', and passed on my machine.  There are no missing files in the tarball itself; however, skipped tests within the gnulib unit tests are normal based on what your system has available.


> FAIL: test-posix_spawn-dup2-stdout
> ==================================
>
> subprocess failed: No such file or directory
> FAIL test-posix_spawn-dup2-stdout (exit status: 1)
>
> FAIL: test-posix_spawn-dup2-stdin
> =================================
>
> subprocess failed: No such file or directory
> FAIL test-posix_spawn-dup2-stdin (exit status: 1)


These are gnulib unit test failures; I'll forward your report there.  They do not affect the operation of m4 itself.

Eric Blake <ericb>
Group administrator
Tue 01 Jun 2021 10:06:12 AM UTC, original submission:  

Liooks like some files are missing in dist tar ball.

Please next time generate that tar ball using "distchec" target instead just "dist".


[tkloczko@barrel tests]$ cat test-suite.log
=========================================
   GNU M4 1.4.19: tests/test-suite.log
=========================================

# TOTAL: 267
# PASS:  245
# SKIP:  20
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: test-asyncsafe-spin2
==========================

Skipping test: multithreading not enabled
SKIP test-asyncsafe-spin2 (exit status: 77)

SKIP: test-mbrtowc-w32-1.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-1.sh (exit status: 77)

SKIP: test-mbrtowc-w32-2.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-2.sh (exit status: 77)

SKIP: test-mbrtowc-w32-3.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-3.sh (exit status: 77)

SKIP: test-mbrtowc-w32-4.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-4.sh (exit status: 77)

SKIP: test-mbrtowc-w32-5.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-5.sh (exit status: 77)

SKIP: test-mbrtowc-w32-6.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-6.sh (exit status: 77)

SKIP: test-mbrtowc-w32-7.sh
===========================

Skipping test: not a native Windows system
SKIP test-mbrtowc-w32-7.sh (exit status: 77)

SKIP: test-nl_langinfo-mt
=========================

Skipping test: multithreading not enabled
SKIP test-nl_langinfo-mt (exit status: 77)

FAIL: test-posix_spawn-dup2-stdout
==================================

subprocess failed: No such file or directory
FAIL test-posix_spawn-dup2-stdout (exit status: 1)

FAIL: test-posix_spawn-dup2-stdin
=================================

subprocess failed: No such file or directory
FAIL test-posix_spawn-dup2-stdin (exit status: 1)

SKIP: test-pthread_sigmask2
===========================

Skipping test: POSIX threads not enabled
SKIP test-pthread_sigmask2 (exit status: 77)

SKIP: test-setlocale_null-mt-one
================================

Skipping test: multithreading not enabled
SKIP test-setlocale_null-mt-one (exit status: 77)

SKIP: test-setlocale_null-mt-all
================================

Skipping test: multithreading not enabled
SKIP test-setlocale_null-mt-all (exit status: 77)

SKIP: test-thread_create
========================

Skipping test: multithreading not enabled
SKIP test-thread_create (exit status: 77)

SKIP: test-wcrtomb-w32-1.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-1.sh (exit status: 77)

SKIP: test-wcrtomb-w32-2.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-2.sh (exit status: 77)

SKIP: test-wcrtomb-w32-3.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-3.sh (exit status: 77)

SKIP: test-wcrtomb-w32-4.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-4.sh (exit status: 77)

SKIP: test-wcrtomb-w32-5.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-5.sh (exit status: 77)

SKIP: test-wcrtomb-w32-6.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-6.sh (exit status: 77)

SKIP: test-wcrtomb-w32-7.sh
===========================

Skipping test: not a native Windows system
SKIP test-wcrtomb-w32-7.sh (exit status: 77)


Tomasz Kłoczko <kloczek>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #51505:  m4-po_to_utf-8.patch added by kloczek (223KiB - application/octet-stream - Convert po/*po files to UTF-8)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by ericb (Posted a comment)
  • -email is unavailable- added by kloczek (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-05 haible Priority5 - Normal 3 - Low
    2021-06-05 haible StatusNone Need Info
    2021-06-01 kloczek Attached File- Added m4-po_to_utf-8.patch, #51505

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code