[Bug 243616] deskutils/cfiles: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit:error: 'for' loop initial declaration used outside C99 mode
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 26 16:00:40 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243616
Bug ID: 243616
Summary: deskutils/cfiles: Fails to build on FreeBSD
12.1-RELEASE-p1 powerpc 32 bit:error: 'for' loop
initial declaration used outside C99 mode
Product: Ports & Packages
Version: Latest
Hardware: powerpc
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: canardo909 at gmx.com
CC: powerpc at FreeBSD.org
CC: powerpc at FreeBSD.org
Problem found when building deskutils/cfiles on FreeBSD 12.1-RELEASE-p1 powerpc
32 bit, running on Apple Powerbook 17".
/usr/ports/deskutils/cfiles # make -DBATCH install clean
===> License MIT accepted by the user
===> cfiles-1.8_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by cfiles-1.8_1 for building
===> Extracting for cfiles-1.8_1
=> SHA256 Checksum OK for mananapr-cfiles-v1.8_GH0.tar.gz.
===> Patching for cfiles-1.8_1
===> Applying FreeBSD patches for cfiles-1.8_1
===> cfiles-1.8_1 depends on file: /usr/local/lib/libncurses.so.6 - found
===> cfiles-1.8_1 depends on package: pkgconf>=1.3.0_1 - found
===> Configuring for cfiles-1.8_1
===> Building for cfiles-1.8_1
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `pkg-config
--cflags ncursesw` cf.c -o cfiles `pkg-config --libs ncursesw`
cf.c: In function 'replace':
cf.c:592: error: 'for' loop initial declaration used outside C99 mode
*** [all] Error code 1
make[1]: stopped in /usr/ports/deskutils/cfiles/work/cfiles-1.8
1 error
make[1]: stopped in /usr/ports/deskutils/cfiles/work/cfiles-1.8
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/deskutils/cfiles
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list