Skip site navigation (1)Skip section navigation (2)
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/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243616

            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 pow=
erpc
32 bit, running on Apple Powerbook 17".



/usr/ports/deskutils/cfiles # make -DBATCH install clean
=3D=3D=3D>  License MIT accepted by the user
=3D=3D=3D>   cfiles-1.8_1 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by cfiles-1.8_1 for building
=3D=3D=3D>  Extracting for cfiles-1.8_1
=3D> SHA256 Checksum OK for mananapr-cfiles-v1.8_GH0.tar.gz.
=3D=3D=3D>  Patching for cfiles-1.8_1
=3D=3D=3D>  Applying FreeBSD patches for cfiles-1.8_1
=3D=3D=3D>   cfiles-1.8_1 depends on file: /usr/local/lib/libncurses.so.6 -=
 found
=3D=3D=3D>   cfiles-1.8_1 depends on package: pkgconf>=3D1.3.0_1 - found
=3D=3D=3D>  Configuring for cfiles-1.8_1
=3D=3D=3D>  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
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/deskutils/cfiles

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243616-25139>