Bug 258091 - print/a2ps: build failure: /usr/include/string.h:70:7: error: expected identifier or '('
Summary: print/a2ps: build failure: /usr/include/string.h:70:7: error: expected identi...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-27 15:31 UTC by O. Hartmann
Modified: 2021-09-07 20:09 UTC (History)
0 users

See Also:
dinoex: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2021-08-27 15:31:21 UTC
print/a2ps fails to compile in poudriere. Host is running 14-CURRENT (14.0-CURRENT #8 main-n248954-d396c67f26b: Thu Aug 26 23:09:20 CEST 2021 amd64), poudriere jail is 13-STABLE as reported below.

=>> Building print/a2ps
build started at Fri Aug 27 10:39:59 UTC 2021
port directory: /usr/ports/print/a2ps
package name: a2ps-4.13b_13
building for: FreeBSD poudriere.gdr.de 13.0-STABLE FreeBSD 13.0-STABLE 1300512 amd64
maintained by: dinoex@FreeBSD.org
Makefile ident: 
Poudriere version: 3.3.7
Host OSVERSION: 1400032
Jail OSVERSION: 1300513
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300512
UNAME_v=FreeBSD 13.0-STABLE 1300512
UNAME_r=13.0-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.7
MAKEOBJDIRPREFIX=/pool/sources/13-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/13-amd64-head-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=13-amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/pool/poudriere/data/.m/13-amd64-head-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for a2ps-4.13b_13:
     NLS=on: Native Language Support
     I18N=on: Enable I18N support
     EMACS=off: Enable Emacs support
===> Use 'make config' to modify these settings
---End OPTIONS List---

[...]
cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I.. -I../intl -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c getopt.c -Wp,-MD,.deps/getopt.TPlo -o getopt.o
--- path-concat.lo ---
cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I.. -I../intl -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c path-concat.c -Wp,-MD,.deps/path-concat.TPlo -o path-concat.o
In file included from path-concat.c:30:
/usr/include/string.h:70:7: error: expected identifier or '('
void    *mempcpy(void * __restrict, const void * __restrict, size_t);
Comment 1 Dirk Meyer freebsd_committer 2021-08-31 12:34:01 UTC
Problem on hold,
I can test this as "current" here has some regressions, that even pkg can't be build.
Comment 2 commit-hook freebsd_committer 2021-09-07 20:07:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ff638362c3d3d27155505b7f0ebf408f921a995a

commit ff638362c3d3d27155505b7f0ebf408f921a995a
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2021-09-07 20:07:11 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2021-09-07 20:07:11 +0000

    print/a2ps: Fix build for 13-STABLE

    PR: 258091

 print/a2ps/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)