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 | Reporter: | canardo <canardo909> |
Component: | Individual Port(s) | Assignee: | Yuri Victorovich <yuri> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | danfe, pkubaj, powerpc, w.schwarzenfeld |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | powerpc | ||
OS: | Any | ||
URL: | https://github.com/mananapr/cfiles/issues/51 |
Description
canardo
2020-01-26 16:00:39 UTC
This port needs textproc/fzf, which uses go to build. Go is not available for powerpc. (In reply to Piotr Kubaj from comment #1) > This port needs textproc/fzf It's just a run-time dependency. Looking at the COMMENT, the port is a file manager, and textproc/fzf is one of the external tools it uses. It has nothing to do with the build. I reported it upstream. A commit references this bug: Author: yuri Date: Mon May 25 16:49:14 UTC 2020 New revision: 536477 URL: https://svnweb.freebsd.org/changeset/ports/536477 Log: deskutils/cfiles: Update 1.8 -> 1.8-6 Attempt to fix the powerpc 32 build failure from bug#243616 based on the upstream comment https://github.com/mananapr/cfiles/issues/51#issuecomment-633644871 PR: 243616 Changes: head/deskutils/cfiles/Makefile head/deskutils/cfiles/distinfo Hi canardo, Please let me know if the latest commit fixed the problem. Thanks, Yuri (In reply to Yuri Victorovich from comment #5) Hi Yuri, It seems some new dependencies have been added : # cd /usr/ports/deskutils/cfiles/ # make -DBATCH install clean ===> Staging for cfiles-1.8.6 ===> cfiles-1.8.6 depends on file: /usr/local/libexec/w3m/w3mimgdisplay - found ===> cfiles-1.8.6 depends on executable: atool - found ===> cfiles-1.8.6 depends on executable: bash - found ===> cfiles-1.8.6 depends on executable: fzf - not found ===> fzf-0.19.0 depends on file: /usr/local/bin/go - not found ===> go-1.14.3,1 is only for aarch64 amd64 armv6 armv7 i386, while you are running powerpc. *** Error code 1 Stop. make[2]: stopped in /usr/ports/lang/go *** Error code 1 Stop. make[1]: stopped in /usr/ports/textproc/fzf *** Error code 1 Stop. make: stopped in /usr/ports/deskutils/cfiles Maybe someone else using a different arch can test it. Don't worry about cfiles for me, I can live without it, especially since there's a hardware problem on my Powerbook. I might not be able to test powerpc builds anymore. Fix committed. Removed the runtime dependency on textproc/fzf on powerpc because Go isn't available on powerpc. Thanks for reporting the problem! A commit references this bug: Author: yuri Date: Wed May 27 20:52:31 UTC 2020 New revision: 536718 URL: https://svnweb.freebsd.org/changeset/ports/536718 Log: deskutils/cfiles: Remove the runtime dependency on textproc/fzf on powerpc because Go isn't available on powerpc PR: 243616 Reported by: canardo909@gmx.com Changes: head/deskutils/cfiles/Makefile A commit references this bug: Author: yuri Date: Wed May 27 21:42:14 UTC 2020 New revision: 536721 URL: https://svnweb.freebsd.org/changeset/ports/536721 Log: deskutils/cfiles: Make runtime dependency on textproc/fzf depend on the hard-coded golang ARCH availability PR: 243616 Changes: head/deskutils/cfiles/Makefile I managed to build the last version of my faulty hardware : works ok ! ===> Installing for cfiles-1.8.6_2 ===> Checking if cfiles is already installed ===> Registering installation for cfiles-1.8.6_2 Installing cfiles-1.8.6_2... ===> Cleaning for w3m-img-0.5.3.20200316 ===> Cleaning for poppler-utils-0.88.0 ===> Cleaning for cfiles-1.8.6_2 (In reply to canardo from comment #10) Cool! |