[exp - 103i386-default-build-as-user][textproc/cgrep] Failed for cgrep-6.4.3 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Aug 10 19:54:56 UTC 2017


You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     lwhsu at FreeBSD.org
Last committer: mat at FreeBSD.org
Ident:          $FreeBSD: head/textproc/cgrep/Makefile 412349 2016-04-01 14:25:16Z mat $
Log URL:        http://package19.nyi.freebsd.org/data/103i386-default-build-as-user/447659/logs/cgrep-6.4.3.log
Build URL:      http://package19.nyi.freebsd.org/build.html?mastername=103i386-default-build-as-user&build=447659
Log:

====>> Building textproc/cgrep
build started at Thu Aug 10 19:53:06 UTC 2017
port directory: /usr/ports/textproc/cgrep
building for: FreeBSD 103i386-default-build-as-user-job-17 10.3-RELEASE-p20 FreeBSD 10.3-RELEASE-p20 i386
maintained by: lwhsu at FreeBSD.org
Makefile ident:      $FreeBSD: head/textproc/cgrep/Makefile 412349 2016-04-01 14:25:16Z mat $
Poudriere version: 3.1.19-61-ga8829ba9
Host OSVERSION: 1200033
Jail OSVERSION: 1003000
Job Id: 17

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1003000
UNAME_v=FreeBSD 10.3-RELEASE-p20
UNAME_r=10.3-RELEASE-p20
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/poudriere/data/.m/103i386-default-build-as-user/ref
UID=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=cgrep-6.4.3
OLDPWD=/
PWD=/poudriere/data/.m/103i386-default-build-as-user/ref/.p/pool
MASTERNAME=103i386-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.19-61-ga8829ba9
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
GID=0
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/cgrep/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/cgrep/work  HOME=/wrkdirs/usr/ports/textproc/cgrep/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/cgrep/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/cgrep/work  HOME=/wrkdirs/usr/ports/textproc/cgrep/work TMPDIR="/tmp" NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=10.3
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/cgrep"
EXAMPLESDIR="share/examples/cgrep"
DATADIR="share/cgrep"
WWWDIR="www/cgrep"
ETCDIR="etc/cgrep"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/cgrep
DOCSDIR=/usr/local/share/doc/cgrep
EXAMPLESDIR=/usr/local/share/examples/cgrep
WWWDIR=/usr/local/www/cgrep
ETCDIR=/usr/local/etc/cgrep
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=i386
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=10.3
OSVERSION=1003000
PYTHONBASE=/usr/local
_JAVA_OS_LIST_REGEXP=native|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun
_JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.6\+|1.7\+|1.8\+
_OSRELEASE=10.3-RELEASE-p20
#### Misc Poudriere ####
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
sbsize                   (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   cgrep-6.4.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.1.txz
[103i386-default-build-as-user-job-17] Installing pkg-1.10.1...
[103i386-default-build-as-user-job-17] Extracting pkg-1.10.1: .......... done
===>   cgrep-6.4.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of cgrep-6.4.3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by cgrep-6.4.3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by cgrep-6.4.3 for building
=> SHA256 Checksum OK for awgn-cgrep-v6.4.3_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by cgrep-6.4.3 for building
===>  Extracting for cgrep-6.4.3
=> SHA256 Checksum OK for awgn-cgrep-v6.4.3_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for cgrep-6.4.3
===========================================================================
=======================<phase: build-depends  >============================
===>   cgrep-6.4.3 depends on executable: ghc - not found
===>   Installing existing package /packages/All/ghc-8.0.2.txz
[103i386-default-build-as-user-job-17] Installing ghc-8.0.2...
[103i386-default-build-as-user-job-17] `-- Installing gcc5-5.4.0_3...
[103i386-default-build-as-user-job-17] |   `-- Installing binutils-2.28,1...
[103i386-default-build-as-user-job-17] |   | `-- Installing gettext-runtime-0.19.8.1_1...
[103i386-default-build-as-user-job-17] |   |   `-- Installing indexinfo-0.2.6...
[103i386-default-build-as-user-job-17] |   |   `-- Extracting indexinfo-0.2.6: .... done
[103i386-default-build-as-user-job-17] |   | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[103i386-default-build-as-user-job-17] |   `-- Extracting binutils-2.28,1: .......... done
[103i386-default-build-as-user-job-17] |   `-- Installing gcc-ecj-4.5...
[103i386-default-build-as-user-job-17] |   `-- Extracting gcc-ecj-4.5: . done
[103i386-default-build-as-user-job-17] |   `-- Installing gmp-6.1.2...
[103i386-default-build-as-user-job-17] |   `-- Extracting gmp-6.1.2: .......... done
[103i386-default-build-as-user-job-17] |   `-- Installing mpc-1.0.3...
[103i386-default-build-as-user-job-17] |   | `-- Installing mpfr-3.1.5_1...
[103i386-default-build-as-user-job-17] |   | `-- Extracting mpfr-3.1.5_1: .......... done
[103i386-default-build-as-user-job-17] |   `-- Extracting mpc-1.0.3: ...... done
[103i386-default-build-as-user-job-17] `-- Extracting gcc5-5.4.0_3: .......... done
[103i386-default-build-as-user-job-17] `-- Installing libffi-3.2.1...
[103i386-default-build-as-user-job-17] `-- Extracting libffi-3.2.1: .......... done
[103i386-default-build-as-user-job-17] `-- Installing libiconv-1.14_10...
[103i386-default-build-as-user-job-17] `-- Extracting libiconv-1.14_10: .......... done
[103i386-default-build-as-user-job-17] Extracting ghc-8.0.2: .......... done
Message from gcc5-5.4.0_3:
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc5

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   cgrep-6.4.3 depends on executable: ghc - found
===>   Returning to build of cgrep-6.4.3
===>   cgrep-6.4.3 depends on package: hs-ansi-terminal>=0.5 - not found
===>   Installing existing package /packages/All/hs-ansi-terminal-0.6.3.1.txz
[103i386-default-build-as-user-job-17] Installing hs-ansi-terminal-0.6.3.1...
[103i386-default-build-as-user-job-17] Extracting hs-ansi-terminal-0.6.3.1: .......... done
===>   cgrep-6.4.3 depends on package: hs-ansi-terminal>=0.5 - found
===>   Returning to build of cgrep-6.4.3
===>   cgrep-6.4.3 depends on package: hs-cmdargs>=0.10 - not found
===>   Installing existing package /packages/All/hs-cmdargs-0.10.17.txz
[103i386-default-build-as-user-job-17] Installing hs-cmdargs-0.10.17...
[103i386-default-build-as-user-job-17] Extracting hs-cmdargs-0.10.17: .......... done
===>   cgrep-6.4.3 depends on package: hs-cmdargs>=0.10 - found
===>   Returning to build of cgrep-6.4.3
===>   cgrep-6.4.3 depends on package: hs-dlist>=0.3 - not found
===>   Installing existing package /packages/All/hs-dlist-0.8.0.3.txz
[103i386-default-build-as-user-job-17] Installing hs-dlist-0.8.0.3...
[103i386-default-build-as-user-job-17] Extracting hs-dlist-0.8.0.3: .......... done
===>   cgrep-6.4.3 depends on package: hs-dlist>=0.3 - found
===>   Returning to build of cgrep-6.4.3
===>   cgrep-6.4.3 depends on package: hs-regex-posix>=0.90 - not found
===>   Installing existing package /packages/All/hs-regex-posix-0.95.2_10.txz
[103i386-default-build-as-user-job-17] Installing hs-regex-posix-0.95.2_10...
[103i386-default-build-as-user-job-17] `-- Installing hs-regex-base-0.93.2_15...
[103i386-default-build-as-user-job-17] |   `-- Installing hs-mtl-2.2.1_1...
[103i386-default-build-as-user-job-17] |   `-- Extracting hs-mtl-2.2.1_1: .......... done
[103i386-default-build-as-user-job-17] `-- Extracting hs-regex-base-0.93.2_15: .......... done
[103i386-default-build-as-user-job-17] Extracting hs-regex-posix-0.95.2_10: .......... done
===>   cgrep-6.4.3 depends on package: hs-regex-posix>=0.90 - found
===>   Returning to build of cgrep-6.4.3
===>   cgrep-6.4.3 depends on package: hs-safe>=0.3 - not found
===>   Installing existing package /packages/All/hs-safe-0.3.15.txz
[103i386-default-build-as-user-job-17] Installing hs-safe-0.3.15...
[103i386-default-build-as-user-job-17] Extracting hs-safe-0.3.15: .......... done
===>   cgrep-6.4.3 depends on package: hs-safe>=0.3 - found
===>   Returning to build of cgrep-6.4.3
===>   cgrep-6.4.3 depends on package: hs-split>=0.2 - not found
===>   Installing existing package /packages/All/hs-split-0.2.3.2.txz
[103i386-default-build-as-user-job-17] Installing hs-split-0.2.3.2...
[103i386-default-build-as-user-job-17] Extracting hs-split-0.2.3.2: .......... done
===>   cgrep-6.4.3 depends on package: hs-split>=0.2 - found
===>   Returning to build of cgrep-6.4.3
===>   cgrep-6.4.3 depends on package: hs-stm>=2.1 - not found
===>   Installing existing package /packages/All/hs-stm-2.4.4.1.txz
[103i386-default-build-as-user-job-17] Installing hs-stm-2.4.4.1...
[103i386-default-build-as-user-job-17] Extracting hs-stm-2.4.4.1: .......... done
===>   cgrep-6.4.3 depends on package: hs-stm>=2.1 - found
===>   Returning to build of cgrep-6.4.3
===>   cgrep-6.4.3 depends on package: hs-stringsearch>=0.3 - not found
===>   Installing existing package /packages/All/hs-stringsearch-0.3.6.6_1.txz
[103i386-default-build-as-user-job-17] Installing hs-stringsearch-0.3.6.6_1...
[103i386-default-build-as-user-job-17] Extracting hs-stringsearch-0.3.6.6_1: .......... done
===>   cgrep-6.4.3 depends on package: hs-stringsearch>=0.3 - found
===>   Returning to build of cgrep-6.4.3
===>   cgrep-6.4.3 depends on package: hs-unordered-containers>=0.1 - not found
===>   Installing existing package /packages/All/hs-unordered-containers-0.2.8.0.txz
[103i386-default-build-as-user-job-17] Installing hs-unordered-containers-0.2.8.0...
[103i386-default-build-as-user-job-17] `-- Installing hs-hashable-1.2.6.1,1...
[103i386-default-build-as-user-job-17] |   `-- Installing hs-text-1.2.2.2...
[103i386-default-build-as-user-job-17] |   `-- Extracting hs-text-1.2.2.2: .......... done
[103i386-default-build-as-user-job-17] |   `-- Installing hs-vector-0.12.0.1...
[103i386-default-build-as-user-job-17] |   | `-- Installing hs-primitive-0.6.2.0...
[103i386-default-build-as-user-job-17] |   | `-- Extracting hs-primitive-0.6.2.0: .......... done
[103i386-default-build-as-user-job-17] |   `-- Extracting hs-vector-0.12.0.1: .......... done
[103i386-default-build-as-user-job-17] `-- Extracting hs-hashable-1.2.6.1,1: .......... done
[103i386-default-build-as-user-job-17] Extracting hs-unordered-containers-0.2.8.0: .......... done
===>   cgrep-6.4.3 depends on package: hs-unordered-containers>=0.1 - found
===>   Returning to build of cgrep-6.4.3
===>   cgrep-6.4.3 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_1.txz
[103i386-default-build-as-user-job-17] Installing gmake-4.2.1_1...
[103i386-default-build-as-user-job-17] Extracting gmake-4.2.1_1: .......... done
===>   cgrep-6.4.3 depends on executable: gmake - found
===>   Returning to build of cgrep-6.4.3
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for cgrep-6.4.3
===========================================================================
=======================<phase: build          >============================
===>  Building for cgrep-6.4.3
cd /wrkdirs/usr/ports/textproc/cgrep/work/cgrep-6.4.3/src && gmake cgrep
gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/cgrep/work/cgrep-6.4.3/src'
ghc --make -O2 -Wall -threaded -rtsopts -with-rtsopts="-A64M -N" -cpp Main.hs -o ../bin/cgrep
[ 1 of 25] Compiling Util             ( Util.hs, Util.o )
[ 2 of 25] Compiling Options          ( Options.hs, Options.o )
[ 3 of 25] Compiling Debug            ( Debug.hs, Debug.o )
[ 4 of 25] Compiling CGrep.Types      ( CGrep/Types.hs, CGrep/Types.o )
[ 5 of 25] Compiling CGrep.Token      ( CGrep/Token.hs, CGrep/Token.o )
[ 6 of 25] Compiling CGrep.Semantic.Token ( CGrep/Semantic/Token.hs, CGrep/Semantic/Token.o )
[ 7 of 25] Compiling CGrep.Semantic.Generic.Token ( CGrep/Semantic/Generic/Token.hs, CGrep/Semantic/Generic/Token.o )
[ 8 of 25] Compiling CGrep.Semantic.Cpp.Token ( CGrep/Semantic/Cpp/Token.hs, CGrep/Semantic/Cpp/Token.o )
[ 9 of 25] Compiling CGrep.Output     ( CGrep/Output.hs, CGrep/Output.o )
[10 of 25] Compiling CGrep.Lang       ( CGrep/Lang.hs, CGrep/Lang.o )
[11 of 25] Compiling Config           ( Config.hs, Config.o )
[12 of 25] Compiling CmdOptions       ( CmdOptions.hs, CmdOptions.o )
[13 of 25] Compiling CGrep.Distance   ( CGrep/Distance.hs, CGrep/Distance.o )

CGrep/Distance.hs:33:11: warning: [-Wincomplete-patterns]
    Pattern match(es) are non-exhaustive
    In an equation for `eachDiag': Patterns not matched: _ (_:_) []
[14 of 25] Compiling CGrep.Context    ( CGrep/Context.hs, CGrep/Context.o )
[15 of 25] Compiling CGrep.Common     ( CGrep/Common.hs, CGrep/Common.o )
[16 of 25] Compiling CGrep.Filter     ( CGrep/Filter.hs, CGrep/Filter.o )
[17 of 25] Compiling CGrep.Semantic.WildCard ( CGrep/Semantic/WildCard.hs, CGrep/Semantic/WildCard.o )
[18 of 25] Compiling CGrep.Strategy.BoyerMoore ( CGrep/Strategy/BoyerMoore.hs, CGrep/Strategy/BoyerMoore.o )
[19 of 25] Compiling CGrep.Strategy.Cpp.Semantic ( CGrep/Strategy/Cpp/Semantic.hs, CGrep/Strategy/Cpp/Semantic.o )

CGrep/Strategy/Cpp/Semantic.hs:104:1: warning: [-Worphans]
    Orphan instance: instance SemanticToken Cpp.Token
    To avoid this
        move the instance declaration to the module of the class or of the type, or
        wrap the type with a newtype and declare the instance on the new type.
[20 of 25] Compiling CGrep.Strategy.Cpp.Tokenizer ( CGrep/Strategy/Cpp/Tokenizer.hs, CGrep/Strategy/Cpp/Tokenizer.o )
[21 of 25] Compiling CGrep.Strategy.Generic.Semantic ( CGrep/Strategy/Generic/Semantic.hs, CGrep/Strategy/Generic/Semantic.o )
[22 of 25] Compiling CGrep.Strategy.Levenshtein ( CGrep/Strategy/Levenshtein.hs, CGrep/Strategy/Levenshtein.o )
[23 of 25] Compiling CGrep.Strategy.Regex ( CGrep/Strategy/Regex.hs, CGrep/Strategy/Regex.o )
[24 of 25] Compiling CGrep.CGrep      ( CGrep/CGrep.hs, CGrep/CGrep.o )
[25 of 25] Compiling Main             ( Main.hs, Main.o )

Main.hs:70:52: error:
    Ambiguous occurrence `isSymbolicLink'
    It could refer to either `System.Directory.isSymbolicLink',
                             imported from `System.Directory' at Main.hs:37:1-23
                          or `System.Posix.Files.isSymbolicLink',
                             imported from `System.Posix.Files' at Main.hs:40:1-25
                             (and originally defined in `unix-2.7.2.1:System.Posix.Files.Common')
gmake[1]: *** [Makefile:27: cgrep] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/cgrep/work/cgrep-6.4.3/src'
*** Error code 2

Stop.
make: stopped in /usr/ports/textproc/cgrep


More information about the freebsd-pkg-fallout mailing list