bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CentOS 7 and %reldir% not replaced?


From: Simon Josefsson
Subject: CentOS 7 and %reldir% not replaced?
Date: Sun, 20 Feb 2022 20:17:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi.  I updated gnulib in libidn2, and it fails on CentOS7 like this:

mv string.h-t string.h
/usr/bin/mkdir -p '%reldir%/sys'
sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \
      -e 's|@''GUARD_PREFIX''@|GL|g' \
      -e 's|@''INCLUDE_NEXT''@|include_next|g' \
...
      -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \
      ./sys_stat.in.h > sys/stat.h-t
/bin/sh: sys/stat.h-t: No such file or directory
make[2]: *** [sys/stat.h] Error 1

All other platforms works.  See complete log here:

https://gitlab.com/libidn/libidn2/-/jobs/2115205987

Before I try to debug it further, any ideas?

The entire .gitlab-ci.yml snippet is below, if it helps to reproduce it.

/Simon


B-Centos7:
  image: centos:7
  stage: build
  before_script:
  - yum -y update
  - yum -y install epel-release dnf-plugins-core
  - yum -y install git make diffutils patch autoconf automake libtool 
gettext-devel gperf libunistring-devel valgrind gengetopt help2man gtk-doc 
texinfo texinfo-tex texlive texlive-epstopdf libabigail
  script:
  - time ./bootstrap --skip-po
  - time ./configure || (cat config.log; exit 1)
  - time make V=1
  - time make check || (find . -name test-suite.log -exec cat {} +; exit 1)
  - rm -rf contrib/ # FIXME XXX remove once we support modern abidiff -- see 
issue #102
  - time make dist
  - time make syntax-check
  artifacts:
    expire_in: 2 weeks
    paths:
    - libidn2-*.tar.gz

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]