Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2014 03:42:51 +0200
From:      Michelle Sullivan <michelle@sorbs.net>
To:        CeDeROM <cederom@tlen.pl>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Fwd: [package - 84i386-default][cad/cura-engine] Failed for CuraEngine-14.03 in build
Message-ID:  <53EEB71B.70407@sorbs.net>
In-Reply-To: <CAFYkXjm%2BecaRxssQe8-BAqo662AC1r--qL8SoOJZmf_dzigGUg@mail.gmail.com>
References:  <201408152339.s7FNdQ8E071790@beefy1.isc.freebsd.org> <CAFYkXjm%2BecaRxssQe8-BAqo662AC1r--qL8SoOJZmf_dzigGUg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
CeDeROM wrote:
> Hello :-)
>
> There seems to be a problem with CAD/Cura-Engine build on FreeBSD
> 8.4-RELEASE i386. I try to reproduce this bug on a fresh install...
>
> Build somehow requires CLANG to build, but the default compiler on 8.4
> is the GCC. I did not set CLANG to be dependency, port can be built
> with GCC. Why GLANG is the default compiler?
>
> Any hints appreciated :-)
>   

IIRC a few weeks back the default compiler was switched to CLANG across
all ports - now you have to tell ports to specifically use GCC if it
won't build with CLANG.

Regards,

Michelle
> Tomek
>
>
> ---------- Forwarded message ----------
> From:  <pkg-fallout>
> Date: Sat, Aug 16, 2014 at 1:39 AM
> Subject: [package - 84i386-default][cad/cura-engine] Failed for
> CuraEngine-14.03 in build
> To: cederom
> Cc: pkg-fallout
>
>
> 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:     cederom@tlen.pl
> Last committer: antoine@FreeBSD.org
> Ident:          $FreeBSD: head/cad/cura-engine/Makefile 364532
> 2014-08-10 12:31:43Z antoine $
> Log URL:
> http://beefy1.isc.freebsd.org/data/84i386-default/2014-08-15_14h18m35s/logs/CuraEngine-14.03.log
> Build URL:
> http://beefy1.isc.freebsd.org/build.html?mastername=84i386-default&build=2014-08-15_14h18m35s
> Log:
>
> ====>> Building cad/cura-engine
> build started at Fri Aug 15 23:39:04 UTC 2014
> port directory: /usr/ports/cad/cura-engine
> building for: FreeBSD 84i386-default-job-16 8.4-RELEASE-p14 FreeBSD
> 8.4-RELEASE-p14 i386
> maintained by: cederom@tlen.pl
> Makefile ident:      $FreeBSD: head/cad/cura-engine/Makefile 364532
> 2014-08-10 12:31:43Z antoine $
> Poudriere version: 3.1-pre
> Host OSVERSION: 1100027
> Jail OSVERSION: 804000
>
> ---Begin Environment---
> UNAME_m=i386
> UNAME_p=i386
> OSVERSION=804000
> UNAME_v=FreeBSD 8.4-RELEASE-p14
> UNAME_r=8.4-RELEASE-p14
> FTP_PASSIVE_MODE=YES
> BLOCKSIZE=K
> MAIL=/var/mail/root
> STATUS=1
> SAVED_TERM=screen
> MASTERMNT=/usr/local/poudriere/data/.m/84i386-default/ref
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
> POUDRIERE_BUILD_TYPE=bulk
> PKGNAME=CuraEngine-14.03
> OLDPWD=/root/poudriere
> PWD=/usr/local/poudriere/data/.m/84i386-default/ref/.p/pool
> MASTERNAME=84i386-default
> USER=root
> HOME=/root
> POUDRIERE_VERSION=3.1-pre
> LOCALBASE=/usr/local
> PACKAGE_BUILDING=yes
> ---End Environment---
>
> ---Begin OPTIONS List---
> ---End OPTIONS List---
>
> --CONFIGURE_ARGS--
>
> --End CONFIGURE_ARGS--
>
> --CONFIGURE_ENV--
> XDG_DATA_HOME=/wrkdirs/usr/ports/cad/cura-engine/work
> XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/cura-engine/work
> HOME=/wrkdirs/usr/ports/cad/cura-engine/work TMPDIR="/tmp" MAKE=gmake
> SHELL=/bin/sh CONFIG_SHELL=/bin/sh
> --End CONFIGURE_ENV--
>
> --MAKE_ENV--
> XDG_DATA_HOME=/wrkdirs/usr/ports/cad/cura-engine/work
> XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/cura-engine/work
> HOME=/wrkdirs/usr/ports/cad/cura-engine/work TMPDIR="/tmp" NO_PIE=yes
> SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line"
> AR="/usr/local/bin/ar" AS="/usr/local/bin/as"
> CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof"
> LD="/usr/local/bin/ld" NM="/usr/local/bin/nm"
> OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump"
> RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf"
> SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings"
> PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"
> CC="/usr/local/bin/clang33" CFLAGS="-O2 -pipe -fno-strict-aliasing"
> CPP="/usr/local/bin/clang-cpp33" CPPFLAGS=""  LDFLAGS="
> -B/usr/local/bin" LIBS=""  CXX="/usr/local/bin/clang++33"
> CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local"
> BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"
> BSD_INSTALL_LIB="install  -s -o r
>  oot -g w
>  heel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"
> BSD_INSTALL_DATA="install  -o root -g wheel -m 444"
> BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
> --End MAKE_ENV--
>
> --PLIST_SUB--
> OSREL=8.4
> PREFIX=%D
> LOCALBASE=/usr/local
> PORTDOCS=""
> PORTEXAMPLES=""
> PORTDATA=""
> LIB32DIR=lib
> DOCSDIR="share/doc/CuraEngine"
> EXAMPLESDIR="share/examples/CuraEngine"
> DATADIR="share/CuraEngine"
> WWWDIR="www/CuraEngine"
> ETCDIR="etc/CuraEngine"
> --End PLIST_SUB--
>
> --SUB_LIST--
> PREFIX=/usr/local
> LOCALBASE=/usr/local
> DATADIR=/usr/local/share/CuraEngine
> DOCSDIR=/usr/local/share/doc/CuraEngine
> EXAMPLESDIR=/usr/local/share/examples/CuraEngine
> WWWDIR=/usr/local/www/CuraEngine
> ETCDIR=/usr/local/etc/CuraEngine
> --End SUB_LIST--
>
> ---Begin make.conf---
> ARCH=i386
> MACHINE=i386
> MACHINE_ARCH=i386
> USE_PACKAGE_DEPENDS=yes
> BATCH=yes
> WRKDIRPREFIX=/wrkdirs
> ARCH=i386
> MACHINE=i386
> MACHINE_ARCH=i386
> USE_PACKAGE_DEPENDS=yes
> BATCH=yes
> WRKDIRPREFIX=/wrkdirs
> PORTSDIR=/usr/ports
> PACKAGES=/packages
> DISTDIR=/distfiles
> #### /usr/local/etc/poudriere.d/make.conf ####
> WITH_PKGNG=yes
> # clean-restricted via poudriere.conf NO_RESTRICTED
> #NO_RESTRICTED=yes
> DISABLE_MAKE_JOBS=poudriere
> ---End make.conf---
> =======================<phase: check-sanity   >============================
> ===>  License AGPLv3 accepted by the user
> ===========================================================================
> =======================<phase: pkg-depends    >============================
> ===>   CuraEngine-14.03 depends on file: /usr/local/sbin/pkg - not found
> ===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
> ===>   Installing existing package /packages/All/pkg-1.3.6.txz
> [84i386-default-job-16] Installing pkg-1.3.6... done
> Message for pkg-1.3.6:
>  If you are upgrading from the old package format, first run:
>
>   # pkg2ng
> ===>   Returning to build of CuraEngine-14.03
> ===========================================================================
> =======================<phase: fetch-depends  >============================
> ===========================================================================
> =======================<phase: fetch          >============================
> ===>  License AGPLv3 accepted by the user
> ===> Fetching all distfiles required by CuraEngine-14.03 for building
> ===========================================================================
> =======================<phase: checksum       >============================
> ===>  License AGPLv3 accepted by the user
> ===> Fetching all distfiles required by CuraEngine-14.03 for building
> => SHA256 Checksum OK for CuraEngine-14.03.tar.gz.
> ===========================================================================
> =======================<phase: extract-depends>============================
> ===========================================================================
> =======================<phase: extract        >============================
> ===>  License AGPLv3 accepted by the user
> ===> Fetching all distfiles required by CuraEngine-14.03 for building
> ===>  Extracting for CuraEngine-14.03
> => SHA256 Checksum OK for CuraEngine-14.03.tar.gz.
> ===========================================================================
> =======================<phase: patch-depends  >============================
> ===========================================================================
> =======================<phase: patch          >============================
> ===>  Patching for CuraEngine-14.03
> ===========================================================================
> =======================<phase: build-depends  >============================
> ===>   CuraEngine-14.03 depends on file: /usr/local/bin/clang33 - not found
> ===>    Verifying install for /usr/local/bin/clang33 in /usr/ports/lang/clang33
> ===>   Installing existing package /packages/All/clang33-3.3_7.txz
> [84i386-default-job-16] Installing libexecinfo-1.1_3... done
> [84i386-default-job-16] Installing perl5-5.16.3_11... done
> [84i386-default-job-16] Installing indexinfo-0.2... done
> [84i386-default-job-16] Installing libiconv-1.14_3... done
> [84i386-default-job-16] Installing libiconv-1.14_3... done
> [84i386-default-job-16] Installing libiconv-1.14_3... done
> [84i386-default-job-16] Installing libiconv-1.14_3... done
> [84i386-default-job-16] Installing libiconv-1.14_3... done
> Message for python27-2.7.8_3:
>  =====================================================================
>
> Note that some standard Python modules are provided as separate ports
> as they require additional dependencies. They are available as:
>
> bsddb           databases/py-bsddb
> gdbm            databases/py-gdbm
> sqlite3         databases/py-sqlite3
> tkinter         x11-toolkits/py-tkinter
>
> =====================================================================
> ===>   Returning to build of CuraEngine-14.03
> ===>   CuraEngine-14.03 depends on executable: gmake - not found
> ===>    Verifying install for gmake in /usr/ports/devel/gmake
> ===>   Installing existing package /packages/All/gmake-3.82_1.txz
> [84i386-default-job-16] Installing gmake-3.82_1... done
> ===>   Returning to build of CuraEngine-14.03
> ===>   CuraEngine-14.03 depends on file: /usr/local/bin/as - not found
> ===>    Verifying install for /usr/local/bin/as in /usr/ports/devel/binutils
> ===>   Installing existing package /packages/All/binutils-2.24.txz
> [84i386-default-job-16] Installing binutils-2.24... done
> ===>   Returning to build of CuraEngine-14.03
> ===========================================================================
> =======================<phase: lib-depends    >============================
> ===========================================================================
> =======================<phase: configure      >============================
> ===>  Configuring for CuraEngine-14.03
> ===========================================================================
> =======================<phase: build          >============================
> ===>  Building for CuraEngine-14.03
> /usr/local/bin/clang++33 -O2 -pipe -fno-strict-aliasing -c -Wall
> -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11
> -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer
> src/bridge.cpp -o build/bridge.o
> /usr/local/bin/clang++33 -O2 -pipe -fno-strict-aliasing -c -Wall
> -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11
> -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/comb.cpp
> -o build/comb.o
> src/comb.cpp:44:19: error: use of undeclared identifier 'INT64_MAX'
>         minX[n] = INT64_MAX;
>                   ^
> src/comb.cpp:45:19: error: use of undeclared identifier 'INT64_MIN'
>         maxX[n] = INT64_MIN;
>                   ^
> 2 errors generated.
> gmake: *** [build/comb.o] Error 1
> *** Error code 1
>
> Stop in /usr/ports/cad/cura-engine.
>
>
>   


-- 
Michelle Sullivan
http://www.mhix.org/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53EEB71B.70407>