pkgsrc-Users archive

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

patch not being applied in textproc/gsed/ on UnixWare 7 Definitive CVS from 04 January 2022 7 AM MST.



Hello,

I can't figure out why this set of patch is not being automatically applied I do this on other packages in pkgsrc. I add the file in patches and do the bmake makepatchsum. Both running bulk build and in the textproc/gsed directory.

For textproc/gsed source

# mkdir patches
# cp -p /tmp/patch_xinuos_sed-4.8.patch patches/

# /usr/pkg/bin/bmake makepatchsum

which creates this distinfo

---------------------------- distinfo ------------------------------
$NetBSD: distinfo,v 1.29 2021/10/26 11:21:55 nia Exp $

BLAKE2s (sed-4.8.tar.xz) = 91f067d65bd8eea8aa0639e7382937c0057f027672114132e2aa2287de02509d
SHA512 (sed-4.8.tar.xz) = 7de25d9bc2981c63321c2223f3fbcab61d7b0df4fcf7d4394b72400b91993e1288d8bf53948ed5fffcf5a98c75265726a68ad4fb98e1d571bf768603a108c1c8
Size (sed-4.8.tar.xz) = 1348048 bytes
SHA1 (patches/patch_xinuos_sed-4.8.patch) = 8c5c680dca56861ff7356ab4187fcd125657bf4d
---------------------------- distinfo ------------------------------

# cd /home/build/pkgsrc_build/textproc/gsed/ bmake ... fails because the patches are not applied.

# bmake
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20151004nb2
=> Checksum BLAKE2s OK for sed-4.8.tar.xz
=> Checksum SHA512 OK for sed-4.8.tar.xz
===> Installing dependencies for gsed-4.8nb1
=> Tool dependency gtexinfo>=3.12: found gtexinfo-6.8
=> Tool dependency coreutils>=5.2.1: found coreutils-9.0
=> Tool dependency pax>=20040802: found pax-20210219
=> Tool dependency xz>=4.999.9betanb1: found xz-5.2.5
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.21
===> Checking for vulnerabilities in gsed-4.8nb1
===> Overriding tools for gsed-4.8nb1
===> Extracting for gsed-4.8nb1
===> Patching for gsed-4.8nb1
=> Applying pkgsrc patches for gsed-4.8nb1
===> Creating toolchain wrappers for gsed-4.8nb1
===> Configuring for gsed-4.8nb1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Fixing locale directory references.
...
  CC       sed/sed-utils.o
In file included from sed/utils.c:33:0:
./lib/fwriting.h:38:11: fatal error: stdio_ext.h: No such file or directory
 # include <stdio_ext.h>
           ^~~~~~~~~~~~~
compilation terminated.
*** Error code 1

My patches in patches/patch_xinuos_sed-4.8.patch haven't been applied.

# cd /home/build/pkgsrc_build/textproc/gsed/work/sed-4.8/
# /usr/local/bin/patch -p 0 < ../../patches/patch_xinuos_sed-4.8.patch
patching file lib/sys_stat.in.h
patching file lib/fwriting.h
patching file gnulib-tests/freading.h
patching file gnulib-tests/fpurge.c
patching file gnulib-tests/fseeko.c
patching file gnulib-tests/nap.h
patching file gnulib-tests/test-stat-time.c

then
# cd /home/build/pkgsrc_build/textproc/gsed/
# bmake
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20151004nb2
===> Checking for vulnerabilities in gsed-4.8nb1
===> Building for gsed-4.8nb1
  GEN      lib/sys/stat.h
/usr/pkg/bin/bmake  all-recursive
Making all in po
Making all in .
  CC       sed/sed-compile.o
  CC       sed/sed-debug.o
  CC       sed/sed-execute.o
  CC       sed/sed-mbcs.o
  CC       sed/sed-regexp.o
  CC       sed/sed-sed.o
  CC       sed/sed-utils.o
  CC       lib/copy-acl.o
  CC       lib/set-acl.o
  CC       lib/acl-errno-valid.o
  CC       lib/acl-internal.o
  CC       lib/get-permissions.o
  CC       lib/set-permissions.o
  CC       lib/binary-io.o
  CC       lib/c-ctype.o
  CC       lib/c-strcasecmp.o
  CC       lib/c-strncasecmp.o
  CC       lib/close-stream.o
  CC       lib/closeout.o
  CC       lib/dfa.o
  CC       lib/localeinfo.o
  CC       lib/dirname-lgpl.o
  CC       lib/basename-lgpl.o
  CC       lib/stripslash.o
  CC       lib/exitfail.o
  CC       lib/getprogname.o
  CC       lib/hard-locale.o
  CC       lib/localcharset.o
  CC       lib/glthread/lock.o
  CC       lib/malloca.o
  CC       lib/progname.o
  CC       lib/qcopy-acl.o
  CC       lib/qset-acl.o
  CC       lib/quotearg.o
  CC       lib/se-context.o
  CC       lib/se-selinux.o
  CC       lib/setlocale_null.o
  CC       lib/stat-time.o
  CC       lib/tempname.o
  CC       lib/glthread/threadlib.o
  CC       lib/unistd.o
  CC       lib/version-etc.o
  CC       lib/version-etc-fsf.o
  CC       lib/wctype-h.o
  CC       lib/xmalloc.o
  CC       lib/xalloc-die.o
  CC       lib/error.o
  CC       lib/getopt.o
  CC       lib/getopt1.o
  CC       lib/localtime-buffer.o
  CC       lib/mbrlen.o
  CC       lib/mbrtowc.o
  CC       lib/memrchr.o
  CC       lib/nl_langinfo.o
  CC       lib/obstack.o
  CC       lib/regex.o
  CC       lib/rename.o
  CC       lib/setlocale-lock.o
  CC       lib/strerror.o
  CC       lib/strerror-override.o
  CC       lib/strverscmp.o
  AR       lib/libsed.a
  CC       sed/version.o
  AR       sed/libver.a
  CCLD     sed/sed
Making all in gnulib-tests
  GEN      arpa/inet.h
  GEN      dirent.h
  GEN      pthread.h
  GEN      sched.h
  GEN      signal.h
  GEN      sys/ioctl.h
  GEN      sys/select.h
  GEN      sys/socket.h
  GEN      sys/uio.h
/usr/pkg/bin/bmake  all-recursive
Making all in .
  CC       locale.o
  CC       cloexec.o
  CC       fd-hook.o
  CC       file-has-acl.o
  CC       freading.o
  CC       localename.o
  CC       localename-table.o
  CC       read-file.o
  CC       sig-handler.o
  CC       sockets.o
  CC       sys_socket.o
  CC       glthread/thread.o
  CC       fcntl.o
  CC       fflush.o
  CC       fpurge.o
  CC       fseek.o
  CC       fseeko.o
  CC       getcwd-lgpl.o
  CC       link.o
  CC       open.o
  CC       perror.o
  CC       pthread_sigmask.o
  CC       putenv.o
  CC       setlocale.o
  CC       strerror_r.o
  CC       unsetenv.o
  AR       libtests.a
  CCLD     current-locale
  CC       test-localcharset.o
  CCLD     test-localcharset
=> Unwrapping files-to-be-installed.

Everything now builds, I am not sure what to do to fix this issue with the patches not being applied.

--
Boyd Gerber <gerberb%zenez.com@localhost> 801 849-0213
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047



Home | Main Index | Thread Index | Old Index