Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2014 16:57:31 +0600
From:      Michael Danilov <mike.d.ft402@gmail.com>
To:        office@FreeBSD.org
Subject:   Fix for graphics/libcdr build failure
Message-ID:  <20140318105731.GA25374@GLaDOS>

next in thread | raw e-mail | index | archive | help

--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello,

I would like to suggest a change to makefile, that would help avoid the problem
(log included). Someone else has already encountered it, it seems:

	https://forums.freebsd.org/viewtopic.php?f=5&t=45349

Sincerely,

Mike

--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libcdr-0.0.14_1.log"

====>> Building graphics/libcdr
build started at Tue Mar 18 13:34:22 YEKT 2014
port directory: /usr/ports/graphics/libcdr
building for: FreeBSD 92amd64-default-job-01 9.2-RELEASE FreeBSD 9.2-RELEASE amd64
maintained by: office@FreeBSD.org
Makefile ident:      $FreeBSD: head/graphics/libcdr/Makefile 343214 2014-02-07 11:44:08Z bapt $
Poudriere version: 3.0.14

---Begin Environment---
OSVERSION=902001
UNAME_v=FreeBSD 9.2-RELEASE
UNAME_r=9.2-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/home/poudriere/data/build/92amd64-default/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
tpid=91490
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=libcdr-0.0.14_1
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/home/poudriere/ports/default/editors/openoffice-devel
MASTERNAME=92amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.0.14
SKIPSANITY=0
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

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

--CONFIGURE_ARGS--
--disable-werror --without-docs --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" PKG_CONFIG=pkgconf SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="clang-cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=""  CXX="clang++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing -Wno-long-long"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -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--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/92amd64-make.conf ####
WITH_PKGNG=yes
RANDOMIZE_MASTER_SITE=yes

# Lang:
C=clang
CXX=clang++
CPP=clang-cpp
OPTIONS_SET= FORTRAN PERL
OPTIONS_UNSET= JAVA

# Documentation:
OPTIONS_SET+= DOCS EXAMPLES MANPAGES

# Graphics:
#VIDEO_DRIVER=nvidia
OPTIONS_SET+= GTK2 NVIDIA NVIDIA_GL OPENGL XFT VDPAU
QT4_OPTIONS= -CUPS -NAS QGTKSTYLE
OPTIONS_UNSET+= COLORD CUPS GUI GTK3 KDE4 QT4 WX SKINS

# Hardware:
OPTIONS_SET+= DEVD USB
OPTIONS_UNSET+= HAL

# I18n:
OPTIONS_SET+= UNICODE
OPTIONS_UNSET+= NLS

# Multimedia:
OPTIONS_SET+= FFMPEG OPENAL VORBIS
OPTIONS_UNSET+= ALSA ESD ESOUND GSTREAMER JACK NAS PORTAUDIO PULSEAUDIO

# Optimisation:
OPTIONS_SET+= ATLAS MMX OPTIMIZATION OPTIMIZED_CFLAGS OPTIMIZED_FLAGS SIMD\
 SMP SSE SSE2 X86_ASM
OPTIONS_UNSET+= STATIC DEBUG

# Security:
OPTIONS_SET+= OPENSSL
OPTIONS_UNSET+= GNUTLS

# TCP:
OPTIONS_SET+= GEOIP IPV6
OPTIONS_UNSET+= AVAHI SAMBA

# Text processing:
OPTIONS_SET+= ASPELL
OPTIONS_UNSET+= ENCHANT GTKSPELL ISPELL HUNSPELL

# Other features:
OPTIONS_UNSET+= DBUS FAM GAMIN GCONF GDA GIO GNOME GNOMEVFS GOBJECT GVFS XIM NOTIF 

# Overrides:
.if ${.CURDIR}=="/usr/ports/audio/musicpd"
 OPTIONS_SET+= AAC ARCHIVE MMS SHOUTCAST
.endif
.if ${.CURDIR}=="/usr/ports/audio/ncmpcpp"
 CC=gcc
 CXX=g++
 CPP=cpp
.endif
.if ${.CURDIR}=="/usr/ports/devel/llvm33"
 CC=gcc
 CXX=g++
 CPP=cpp
.endif
.if ${.CURDIR}=="/usr/ports/graphics/cairo"
 # Pango will not compile otherwise:
 OPTIONS_SET+= GLIB
.else
 OPTIONS_UNSET+= GLIB
.endif
.if ${.CURDIR}=="/usr/ports/graphics/gimp"
 OPTIONS_UNSET+= PRINT
.endif
.if ${.CURDIR}=="/usr/ports/graphics/gimp-help"
 OPTIONS_SET+= EN
 OPTIONS_UNSET+= ALL DE ES FR IT JA KO NL NN PL RU SV ZH_CN
.endif
.if ${.CURDIR}=="/usr/ports/graphics/libfpx"
 CC=gcc
 CXX=g++
 CPP=cpp
.endif
.if ${.CURDIR}=="/usr/ports/graphics/opencv-core"
 CC=gcc
 CXX=g++
 CPP=cpp
.endif
.if ${.CURDIR}=="/usr/ports/irc/bitlbee"
# OPTIONS_SET+= OTR
 OPTIONS_SET+= SKYPE
.endif
.if ${.CURDIR}=="/usr/ports/java/openjdk6"
 CC=gcc
 CXX=g++
 CPP=cpp
.endif
.if ${.CURDIR}=="/usr/ports/lang/clang33"
 CC=gcc
 CXX=g++
 CPP=cpp
.endif
.if ${.CURDIR}=="/usr/ports/mail/mutt"
 OPTIONS_SET+= NNTP
.endif
.if ${.CURDIR}=="/usr/ports/mail/postfix"
 OPTIONS_SET+= SASL2 TLS
.endif
.if ${.CURDIR}=="/usr/ports/math/atlas"
 OPTIONS_SET+= STATIC
.endif
.if ${.CURDIR}=="/usr/ports/net-im/skype-devel"
 OPTIONS_SET=
 OPTIONS_UNSET= VIDEO NVIDIA_GL
.endif
.if ${.CURDIR}=="/usr/ports/multimedia/mplayer"
 OPTIONS_SET+= DV SDL
.endif
.if ${.CURDIR}=="/usr/ports/security/gnupg"
 OPTIONS_SET+= SUID_GPG
.endif
.if ${.CURDIR}=="/usr/ports/www/xombrero"
 OPTIONS_SET=GTK2 DEBUG
 OPTIONS_UNSET=GTK3
.endif
.if ${.CURDIR}=="/usr/ports/x11-fonts/terminus-font"
 OPTIONS_SET+= AO2 GE2 LL2
.endif
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for libcdr-0.0.14_1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   libcdr-0.0.14_1 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.2.7.txz
Installing pkg-1.2.7... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of libcdr-0.0.14_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL21 MPL GPLv2 accepted by the user
===> Fetching all distfiles required by libcdr-0.0.14_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL21 MPL GPLv2 accepted by the user
===> Fetching all distfiles required by libcdr-0.0.14_1 for building
=> SHA256 Checksum OK for libcdr-0.0.14.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License LGPL21 MPL GPLv2 accepted by the user
===> Fetching all distfiles required by libcdr-0.0.14_1 for building
===>  Extracting for libcdr-0.0.14_1
=> SHA256 Checksum OK for libcdr-0.0.14.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for libcdr-0.0.14_1
===========================================================================
=======================<phase: build-depends  >============================
===>   libcdr-0.0.14_1 depends on file: /usr/local/include/boost/optional.hpp - not found
===>    Verifying install for /usr/local/include/boost/optional.hpp in /usr/ports/devel/boost-libs
===>   Installing existing package /packages/All/boost-libs-1.55.0.txz
Installing boost-libs-1.55.0...Installing icu-52.1... done
 done
You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
===>   Returning to build of libcdr-0.0.14_1
===>   libcdr-0.0.14_1 depends on executable: pkgconf - not found
===>    Verifying install for pkgconf in /usr/ports/devel/pkgconf
===>   Installing existing package /packages/All/pkgconf-0.9.5.txz
Installing pkgconf-0.9.5... done
===>   Returning to build of libcdr-0.0.14_1
===========================================================================
=======================<phase: lib-depends    >============================
===>   libcdr-0.0.14_1 depends on shared library: libicui18n.so - found
===>   libcdr-0.0.14_1 depends on shared library: libwpd-0.9.so - not found
===>    Verifying for libwpd-0.9.so in /usr/ports/textproc/libwpd
===>   Installing existing package /packages/All/libwpd-0.9.9.txz
Installing libwpd-0.9.9...Installing glib-2.36.3_2...Installing gettext-0.18.3.1...Installing libiconv-1.14_2... done
 done
Installing libffi-3.0.13_1... done
Installing pcre-8.34... done
Installing perl5-5.16.3_8... done
Installing python27-2.7.6_4... done
No schema files found: doing nothing.
 done
Installing libgsf-1.14.28...Installing gdk-pixbuf2-2.28.2...Installing gnomehier-3.0... done
Installing jasper-1.900.1_12...Installing freeglut-2.8.1...Installing libGLU-9.0.0...Installing libGL-7.6.1_4...Installing dri2proto-2.8... done
Installing expat-2.1.0... done
Installing libX11-1.6.2,1...Installing kbproto-1.0.6... done
Installing libXau-1.0.8...Installing xproto-7.0.25... done
 done
Installing libXdmcp-1.1.1... done
Installing libxcb-1.9.3...Installing libpthread-stubs-0.3_4... done
Installing libxml2-2.8.0_3... done
 done
 done
Installing libXdamage-1.1.4...Installing damageproto-1.2.1... done
Installing libXfixes-5.0.1...Installing fixesproto-5.0... done
 done
 done
Installing libXext-1.3.2,1...Installing xextproto-7.2.1... done
 done
Installing libXxf86vm-1.1.3...Installing xf86vidmodeproto-2.3.1... done
 done
Installing libdrm-2.4.17_1...Installing libpciaccess-0.13.2...Installing pciids-20140312... done
 done
 done
 done
 done
Installing libICE-1.0.8,1... done
Installing libXi-1.7.2,1...Installing inputproto-2.3... done
 done
Installing libXrandr-1.4.2...Installing libXrender-0.9.8...Installing renderproto-0.11.1... done
 done
Installing randrproto-1.4.0... done
 done
 done
Installing jpeg-8_4... done
Installing libXmu-1.1.2,1...Installing libXt-1.1.4,1...Installing libSM-1.2.2,1... done
 done
 done
 done
Installing png-1.5.18... done
Installing tiff-4.0.3...Installing jbigkit-1.6... done
 done
 done
 done
 done
====
Note that some of the standard modules are provided as separate
ports since they require extra dependencies:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

Install them as needed.
====
Since FreeBSD has new USB stack, freeglut normally doesn't build on FreeBSD 8
(yet). To workaround this a small patch adds one include file and comments out
content of one function (only leaves return NULL).

This might cause side effects.  Joysticks do not work, and there might be ports
that do not compile or applications that crash because of this.

Do not hesitate to contact x11@FreeBSD.org if there are any issues and side
effects because of this.
===>   Returning to build of libcdr-0.0.14_1
===>   libcdr-0.0.14_1 depends on shared library: libwpg-0.2.so - not found
===>    Verifying for libwpg-0.2.so in /usr/ports/graphics/libwpg
===>   Installing existing package /packages/All/libwpg-0.2.2_1.txz
Installing libwpg-0.2.2_1... done
===>   Returning to build of libcdr-0.0.14_1
===>   libcdr-0.0.14_1 depends on shared library: liblcms2.so - not found
===>    Verifying for liblcms2.so in /usr/ports/graphics/lcms2
===>   Installing existing package /packages/All/lcms2-2.5.txz
Installing lcms2-2.5... done
===>   Returning to build of libcdr-0.0.14_1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for libcdr-0.0.14_1
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... clang-cpp
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether clang++ accepts -g... (cached) yes
checking dependency style of clang++... (cached) gcc3
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... amd64-portbld-freebsd9.2
checking host system type... amd64-portbld-freebsd9.2
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd9.2 file names to amd64-portbld-freebsd9.2 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd9.2 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd9.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fPIC -DPIC
checking if clang++ PIC flag -fPIC -DPIC works... yes
checking if clang++ static flag -static works... yes
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd9.2 ld.so
checking how to hardcode library paths into programs... immediate
checking pkg-config is at least version 0.20... yes
checking for WPD... yes
checking for WPG... yes
checking for LCMS2... yes
checking for ZLIB... no
checking for zlib.h... (cached) yes
checking for inflate in -lz... yes
checking for ICU... yes
checking for boost/optional.hpp... yes
checking for boost/property_tree/ptree.hpp... yes
checking for boost/spirit/include/classic.hpp... yes
checking for boost/property_tree/json_parser.hpp... yes
checking for native Win32... no
checking for Win32 platform in general... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating inc/Makefile
config.status: creating inc/libcdr/Makefile
config.status: creating src/Makefile
config.status: creating src/conv/Makefile
config.status: creating src/conv/raw/Makefile
config.status: creating src/conv/raw/cdr2raw.rc
config.status: creating src/conv/raw/cmx2raw.rc
config.status: creating src/conv/svg/Makefile
config.status: creating src/conv/svg/cdr2xhtml.rc
config.status: creating src/conv/svg/cmx2xhtml.rc
config.status: creating src/conv/text/Makefile
config.status: creating src/conv/text/cdr2text.rc
config.status: creating src/conv/text/cmx2text.rc
config.status: creating src/lib/Makefile
config.status: creating src/lib/libcdr.rc
config.status: creating build/Makefile
config.status: creating build/win32/Makefile
config.status: creating docs/Makefile
config.status: creating docs/doxygen/Makefile
config.status: creating libcdr-0.0.pc
config.status: creating libcdr.spec
config.status: creating libcdr-zip
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:
==============================================================================
Build configuration:
	debug:           no
	docs:            no
	static-tools:    no
	werror:          no
==============================================================================

===========================================================================
=======================<phase: build          >============================
===>  Building for libcdr-0.0.14_1
/usr/bin/make  all-recursive
Making all in build
Making all in win32
Making all in inc
Making all in libcdr
Making all in src
Making all in lib
  CXX      CDRCollector.lo
  CXX      CDRContentCollector.lo
  CXX      CDRDocument.lo
  CXX      CDRInternalStream.lo
  CXX      CDROutputElementList.lo
  CXX      CDRParser.lo
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:21:
In file included from /usr/local/include/boost/multi_index_container.hpp:34:
In file included from /usr/local/include/boost/multi_index/detail/base_type.hpp:21:
In file included from /usr/local/include/boost/multi_index/detail/index_base.hpp:25:
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:237:28: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
  return new(x) Value(std::forward<Args>(args)...);
                      ~~~~~^~~~~~~
                           forward
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:21:
In file included from /usr/local/include/boost/multi_index_container.hpp:34:
In file included from /usr/local/include/boost/multi_index/detail/base_type.hpp:21:
In file included from /usr/local/include/boost/multi_index/detail/index_base.hpp:25:
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:237:28: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
  return new(x) Value(std::forward<Args>(args)...);
                      ~~~~~^~~~~~~
                           forward
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:21:
In file included from /usr/local/include/boost/multi_index_container.hpp:34:
In file included from /usr/local/include/boost/multi_index/detail/base_type.hpp:21:
/usr/local/include/boost/multi_index/detail/index_base.hpp:211:29: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
    return final().emplace_(BOOST_MULTI_INDEX_FORWARD_PARAM_PACK);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK'
#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK  std::forward<Args>(args)...
                                              ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:21:
In file included from /usr/local/include/boost/multi_index_container.hpp:34:
In file included from /usr/local/include/boost/multi_index/detail/base_type.hpp:21:
/usr/local/include/boost/multi_index/detail/index_base.hpp:211:29: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
    return final().emplace_(BOOST_MULTI_INDEX_FORWARD_PARAM_PACK);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK'
#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK  std::forward<Args>(args)...
                                              ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:21:
In file included from /usr/local/include/boost/multi_index_container.hpp:34:
In file included from /usr/local/include/boost/multi_index/detail/base_type.hpp:21:
/usr/local/include/boost/multi_index/detail/index_base.hpp:230:16: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
      position,BOOST_MULTI_INDEX_FORWARD_PARAM_PACK);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK'
#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK  std::forward<Args>(args)...
                                              ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:21:
In file included from /usr/local/include/boost/multi_index_container.hpp:34:
In file included from /usr/local/include/boost/multi_index/detail/base_type.hpp:21:
/usr/local/include/boost/multi_index/detail/index_base.hpp:230:16: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
      position,BOOST_MULTI_INDEX_FORWARD_PARAM_PACK);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK'
#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK  std::forward<Args>(args)...
                                              ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:21:
/usr/local/include/boost/multi_index_container.hpp:675:21: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
        &x->value(),BOOST_MULTI_INDEX_FORWARD_PARAM_PACK);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK'
#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK  std::forward<Args>(args)...
                                              ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:21:
/usr/local/include/boost/multi_index_container.hpp:675:21: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
        &x->value(),BOOST_MULTI_INDEX_FORWARD_PARAM_PACK);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK'
#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK  std::forward<Args>(args)...
                                              ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:21:
/usr/local/include/boost/multi_index_container.hpp:787:21: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
        &x->value(),BOOST_MULTI_INDEX_FORWARD_PARAM_PACK);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK'
#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK  std::forward<Args>(args)...
                                              ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:21:
/usr/local/include/boost/multi_index_container.hpp:787:21: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
        &x->value(),BOOST_MULTI_INDEX_FORWARD_PARAM_PACK);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK'
#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK  std::forward<Args>(args)...
                                              ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:23:
/usr/local/include/boost/multi_index/sequenced_index.hpp:293:3: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
  BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL(
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:217:23: note: expanded from macro 'BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL'
  return name_to(std::forward<Args>(args)...);                       \
                 ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:23:
/usr/local/include/boost/multi_index/sequenced_index.hpp:293:3: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
  BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL(
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:217:23: note: expanded from macro 'BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL'
  return name_to(std::forward<Args>(args)...);                       \
                 ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:23:
/usr/local/include/boost/multi_index/sequenced_index.hpp:302:3: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
  BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL(
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:217:23: note: expanded from macro 'BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL'
  return name_to(std::forward<Args>(args)...);                       \
                 ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:23:
/usr/local/include/boost/multi_index/sequenced_index.hpp:302:3: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
  BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL(
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:217:23: note: expanded from macro 'BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL'
  return name_to(std::forward<Args>(args)...);                       \
                 ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:23:
/usr/local/include/boost/multi_index/sequenced_index.hpp:311:3: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
  BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL_EXTRA_ARG(
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:225:38: note: expanded from macro 'BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL_EXTRA_ARG'
  return name_to(extra_arg_name,std::forward<Args>(args)...);        \
                                ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:23:
/usr/local/include/boost/multi_index/sequenced_index.hpp:311:3: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
  BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL_EXTRA_ARG(
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:225:38: note: expanded from macro 'BOOST_MULTI_INDEX_OVERLOADS_TO_VARTEMPL_EXTRA_ARG'
  return name_to(extra_arg_name,std::forward<Args>(args)...);        \
                                ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:23:
/usr/local/include/boost/multi_index/sequenced_index.hpp:922:33: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
    return emplace_impl(begin(),BOOST_MULTI_INDEX_FORWARD_PARAM_PACK);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK'
#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK  std::forward<Args>(args)...
                                              ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:23:
/usr/local/include/boost/multi_index/sequenced_index.hpp:922:33: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
    return emplace_impl(begin(),BOOST_MULTI_INDEX_FORWARD_PARAM_PACK);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK'
#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK  std::forward<Args>(args)...
                                              ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
In file included from CDRParser.cpp:38:
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:13:
In file included from /usr/local/include/boost/property_tree/ptree.hpp:23:
/usr/local/include/boost/multi_index/sequenced_index.hpp:929:31: error: no template named 'forward' in namespace 'std'; did you mean 'forward'?
    return emplace_impl(end(),BOOST_MULTI_INDEX_FORWARD_PARAM_PACK);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/multi_index/detail/vartempl_support.hpp:210:52: note: expanded from macro 'BOOST_MULTI_INDEX_FORWARD_PARAM_PACK'
#define BOOST_MULTI_INDEX_FORWARD_PARAM_PACK  std::forward<Args>(args)...
                                              ~~~~~^
/usr/local/include/boost/move/utility.hpp:176:21: note: 'forward' declared here
         inline T&& forward(U&& t
                    ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** [CDRParser.lo] Error code 1

Stop in /wrkdirs/usr/ports/graphics/libcdr/work/libcdr-0.0.14/src/lib.
*** [all-recursive] Error code 1

Stop in /wrkdirs/usr/ports/graphics/libcdr/work/libcdr-0.0.14/src.
*** [all-recursive] Error code 1

Stop in /wrkdirs/usr/ports/graphics/libcdr/work/libcdr-0.0.14.
*** [all] Error code 1

Stop in /wrkdirs/usr/ports/graphics/libcdr/work/libcdr-0.0.14.
*** [do-build] Error code 1

Stop in /usr/ports/graphics/libcdr.
===>  Cleaning for libcdr-0.0.14_1
build of /usr/ports/graphics/libcdr ended at Tue Mar 18 13:35:27 YEKT 2014
build time: 00:01:05

--tThc/1wpZn/ma/RB
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.diff"

--- Makefile.orig	2014-02-07 17:44:08.000000000 +0600
+++ Makefile	2014-03-18 14:32:22.000000000 +0600
@@ -13,6 +13,8 @@
 LICENSE_COMB=	dual
 
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/optional.hpp:${PORTSDIR}/devel/boost-libs
+BUILD_DEPENDS+=	${LOCALBASE}/bin/gcc47:${PORTSDIR}/lang/gcc47
+
 LIB_DEPENDS=	libicui18n.so:${PORTSDIR}/devel/icu \
 		libwpd-0.9.so:${PORTSDIR}/textproc/libwpd \
 		libwpg-0.2.so:${PORTSDIR}/graphics/libwpg \
@@ -24,6 +26,8 @@
 USES=	pathfix pkgconfig
 USE_LDCONFIG=	yes
 
+CC=gcc47
+CXX=g++47
 CPPFLAGS+=	-I${LOCALBASE}/include
 CXXFLAGS+=	-Wno-long-long
 

--tThc/1wpZn/ma/RB--



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