From owner-freebsd-current@FreeBSD.ORG Sat Sep 28 17:15:05 2013 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6C4D7B43 for ; Sat, 28 Sep 2013 17:15:05 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2FD302757 for ; Sat, 28 Sep 2013 17:15:04 +0000 (UTC) Received: from [192.168.0.2] (cpc27-cmbg15-2-0-cust235.5-4.cable.virginmedia.com [86.27.188.236]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id r8SHEu7U062727 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 28 Sep 2013 17:14:57 GMT (envelope-from theraven@FreeBSD.org) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: graphics/poppler-glib not build From: David Chisnall In-Reply-To: <5246E64C.3080204@gmail.com> Date: Sat, 28 Sep 2013 18:14:51 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <13ADF1E8-B97E-44E7-8605-B0A4013EDE69@FreeBSD.org> References: <5246E64C.3080204@gmail.com> To: Alexander Panyushkin X-Mailer: Apple Mail (2.1508) Cc: current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Sep 2013 17:15:05 -0000 This looks like it's compiling C++ with clang and trying to link it with = gcc. Is there a CXXLD=3Dg++ in there somewhere? David On 28 Sep 2013, at 15:23, Alexander Panyushkin wrote: > Hi all >=20 > After upgrade ports graphics/poppler-glib not build anymore. >=20 >=20 > pkg_info -R poppler-glib-0.22.2 > [...] > Required by: > gimp-app-2.8.6_1,1 > py27-gimp-app-2.8.6 > evince-2.32.0_11 > epdfview-0.1.8_4 >=20 >=20 > =3D=3D=3D> Building for poppler-glib-0.22.2 > gmake[1]: =D0=92=D1=85=D0=BE=D0=B4 =D0=B2 =D0=BA=D0=B0=D1=82=D0=B0=D0=BB= =D0=BE=D0=B3 = `/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler' > CXX CairoFontEngine.lo > In file included from CairoFontEngine.cc:39: > ./CairoFontEngine.h:98:11: warning: private field 'doc' is not used = [-Wunused-private-field] > PDFDoc *doc; > ^ > 1 warning generated. > CXX CairoOutputDev.lo > CairoOutputDev.cc:1626:29: warning: cast from 'unsigned char *' to = 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 = to 4 > [-Wcast-align] > uint32_t *source_data =3D = (uint32_t*)cairo_image_surface_get_data(source); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > CairoOutputDev.cc:2386:12: warning: cast from 'unsigned char *' to = 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] > dest =3D (unsigned int *) (buffer + y * row_stride); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > CairoOutputDev.cc:2536:12: warning: cast from 'unsigned char *' to = 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] > dest =3D (unsigned int *) (buffer + y * row_stride); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > CairoOutputDev.cc:2765:26: warning: cast from 'unsigned char *' to = 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 = to 4 > [-Wcast-align] > uint32_t *dest =3D (uint32_t *) (buffer + y * stride); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 4 warnings generated. > CXX CairoRescaleBox.lo > CairoRescaleBox.cc:283:10: warning: cast from 'unsigned char *' to = 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] > dest =3D (unsigned int *)cairo_image_surface_get_data (dest_surface); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 1 warning generated. > CXXLD libpoppler-cairo.la > gmake[1]: =D0=92=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82= =D0=B0=D0=BB=D0=BE=D0=B3=D0=B0 = `/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler' > gmake[1]: =D0=92=D1=85=D0=BE=D0=B4 =D0=B2 =D0=BA=D0=B0=D1=82=D0=B0=D0=BB= =D0=BE=D0=B3 `/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib' > GEN stamp-poppler-enums.h > gmake all-recursive > gmake[2]: =D0=92=D1=85=D0=BE=D0=B4 =D0=B2 =D0=BA=D0=B0=D1=82=D0=B0=D0=BB= =D0=BE=D0=B3 `/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib' > Making all in . > gmake[3]: =D0=92=D1=85=D0=BE=D0=B4 =D0=B2 =D0=BA=D0=B0=D1=82=D0=B0=D0=BB= =D0=BE=D0=B3 `/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib' > CC poppler-enums.lo > CXX poppler-action.lo > CXX poppler-date.lo > CXX poppler-document.lo > CXX poppler-page.lo > CXX poppler-attachment.lo > poppler-attachment.cc:123:65: warning: cast from 'GTime *' (aka 'int = *') to 'time_t *' (aka 'long *') increases required alignment from 4 to = 8 > [-Wcast-align] > _poppler_convert_pdf_date_to_gtime (embFile->createDate (), (time_t = *)&attachment->ctime); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > poppler-attachment.cc:125:62: warning: cast from 'GTime *' (aka 'int = *') to 'time_t *' (aka 'long *') increases required alignment from 4 to = 8 > [-Wcast-align] > _poppler_convert_pdf_date_to_gtime (embFile->modDate (), (time_t = *)&attachment->mtime); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 2 warnings generated. > CXX poppler-form-field.lo > CXX poppler-annot.lo > CXX poppler-layer.lo > CXX poppler-media.lo > CXX poppler-movie.lo > CXX poppler-cached-file-loader.lo > CXX poppler-input-stream.lo > CXX poppler.lo > CXXLD libpoppler-glib.la > c++: warning: argument unused during compilation: '-pthread' > c++: warning: argument unused during compilation: '-pthread' > c++: warning: argument unused during compilation: '-pthread' > c++: warning: argument unused during compilation: '-pthread' > /usr/bin/ld: cannot find -lstdc++ > c++: error: linker command failed with exit code 1 (use -v to see = invocation) > gmake[3]: *** [libpoppler-glib.la] Error 1 >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" >=20