Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 2015 22:34:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 200111] devel/tex-web2c: Fails to build with gcc5
Message-ID:  <bug-200111-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.



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