From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 10 22:34:52 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DEC3A4A8 for ; Sun, 10 May 2015 22:34:51 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C91FC14AE for ; Sun, 10 May 2015 22:34:51 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4AMYpZ1066211 for ; Sun, 10 May 2015 22:34:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 200111] devel/tex-web2c: Fails to build with gcc5 Date: Sun, 10 May 2015 22:34:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rleigh@codelibre.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hrs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2015 22:34:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200111 Bug ID: 200111 Summary: devel/tex-web2c: Fails to build with gcc5 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: hrs@FreeBSD.org Reporter: rleigh@codelibre.net Flags: maintainer-feedback?(hrs@FreeBSD.org) Assignee: hrs@FreeBSD.org See transcript below. This is possibly due to the Object class in /usr/ports/devel/tex-web2c/work/texlive-20140525-source/libs/xpdf/xpdf/Object.h declaring a set of methods in the class declaration, but defining them inline following the declaration (rather than in the class) so that there isn't a concrete definition. mv -f pdftexdir/.deps/ttf2afm-ttf2afm.Tpo pdftexdir/.deps/ttf2afm-ttf2afm.Po /bin/sh ./libtool --tag=CC --mode=link gcc5 -Wimplicit -Wreturn-type -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fstack-protector -o ttf2afm pdftexdir/ttf2afm-ttf2afm.o lib/lib.a -L/usr/local/lib -lkpathsea -lm libtool: link: gcc5 -Wimplicit -Wreturn-type -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fstack-protector -o ttf2afm pdftexdir/ttf2afm-ttf2afm.o lib/lib.a -L/usr/local/lib -lkpathsea -lm g++5 -DHAVE_CONFIG_H -I. -I./w2c -I/usr/local/include -I/usr/local/include/libpng16 -DPDF_PARSER_ONLY -I/usr/ports/devel/tex-web2c/work/texlive-20140525-source/libs/xpdf -I/usr/ports/devel/tex-web2c/work/texlive-20140525-source/libs/xpdf/goo -I/usr/ports/devel/tex-web2c/work/texlive-20140525-source/libs/xpdf/xpdf -I./libmd5 -I./pdftexdir -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -MT pdftexdir/pdftosrc-pdftosrc.o -MD -MP -MF pdftexdir/.deps/pdftosrc-pdftosrc.Tpo -c -o pdftexdir/pdftosrc-pdftosrc.o `test -f 'pdftexdir/pdftosrc.cc' || echo './'`pdftexdir/pdftosrc.cc mv -f pdftexdir/.deps/pdftosrc-pdftosrc.Tpo pdftexdir/.deps/pdftosrc-pdftosrc.Po /bin/sh ./libtool --tag=CXX --mode=link g++5 -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fstack-protector -o pdftosrc pdftexdir/pdftosrc-pdftosrc.o -L/usr/local/lib -lpng16 -lz /usr/ports/devel/tex-web2c/work/texlive-20140525-source/libs/xpdf/libxpdf.a libmd5.a lib/lib.a -L/usr/local/lib -lkpathsea -lm libtool: link: g++5 -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fstack-protector -o pdftosrc pdftexdir/pdftosrc-pdftosrc.o -L/usr/local/lib -lpng16 -lz /usr/ports/devel/tex-web2c/work/texlive-20140525-source/libs/xpdf/libxpdf.a libmd5.a lib/lib.a -lkpathsea -lm pdftexdir/pdftosrc-pdftosrc.o: In function `main': pdftosrc.cc:(.text.startup+0x240): undefined reference to `Object::isStream(char*)' collect2: error: ld returned 1 exit status Makefile:4713: recipe for target 'pdftosrc' failed gmake[4]: *** [pdftosrc] Error 1 gmake[4]: Leaving directory '/usr/ports/devel/tex-web2c/work/texlive-20140525-source/texk/web2c' Makefile:13099: recipe for target 'all-recursive' failed gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory '/usr/ports/devel/tex-web2c/work/texlive-20140525-source/texk/web2c' Makefile:3453: recipe for target 'all' failed gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory '/usr/ports/devel/tex-web2c/work/texlive-20140525-source/texk/web2c' *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/tex-web2c *** Error code 1 Stop. make: stopped in /usr/ports/devel/tex-web2c -- You are receiving this mail because: You are the assignee for the bug.