Date: Sun, 26 Jan 2020 16:00:39 +0000 From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [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 Message-ID: <bug-243616-25139@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: canardo909@gmx.com CC: powerpc@FreeBSD.org CC: powerpc@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 on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243616-25139>
