Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2018 09:54:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233975] print/tex-xetex:
Message-ID:  <bug-233975-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233975

            Bug ID: 233975
           Summary: print/tex-xetex:
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: hrs@FreeBSD.org
             Flags: maintainer-feedback?(hrs@FreeBSD.org)

On 13.0-CURRENT FreeBSD 13.0-CURRENT #1 r341879: Wed Dec 12 12:07:32 CET 20=
18
amd64, ports tree at revison r487355, with lang/gcc7 at gcc7-7.4.0_1, I run
into this error shown below. The same seem to happen with print/tex-luatex.
Neither reinstalling gcc7, nor deleting both print/tex-luatex and
print/tex-xetex solved the issue. I also tried to update and reinstall by f=
orce
the ports providing the libraries shown in the libtool line designated with
-lxxxx, but this also did not have any effect. I'm out of ideas. Another bo=
x,
the very same FreeBSD 13-CURRENT, seems to compile both ports flawlessly an=
d so
I have as a workaround for the moment a package to install and circumvent t=
he
problem. But that doesn't solve the issue at all.

On the box failing (a workstation used for the day-to-day work and
development), there are different gcc compiler versions installed:
#: pkg info -xo gcc
aarch64-none-elf-gcc-6.4.0_2   devel/aarch64-none-elf-gcc
gcc-7_2                        lang/gcc
gcc-ecj-4.5                    lang/gcc-ecj45
gcc6-6.5.0_3                   lang/gcc6
gcc7-7.4.0_1                   lang/gcc7
gcc8-8.2.0_4                   lang/gcc8


On the server which builds the ports in question (a server without most of =
the
fancy workstation-stuff), there are only two gcc versions installed:

#: pkg info -xo gcc
gcc7-7.4.0_1                   lang/gcc7
gcc8-8.2.0_4                   lang/gcc8

Any ideas?



[...]
libtool: link: c++ -O2 -pipe -fstack-protector -fno-strict-aliasing
-std=3Dgnu++11 -fstack-protector -o xetex xetexdir/xetex-xetexextra.o
synctexdir/xetex-synctex.o xetex-xetexini.o xetex-xetex0.o xetex-xetex-pool=
.o=20
libxetex.a -L/usr/local/lib -lharfbuzz-icu -lharfbuzz -lgraphite2 -licui18n
-licuuc -licudata -lpthread -lTECkit
/usr/ports/print/tex-xetex/work/texlive-20150521-source/libs/poppler/libpop=
pler.a
-lpng16 -lz -lfontconfig -lfreetype lib/lib.a -lkpathsea -lm
ld: error: undefined symbol: std::_Rb_tree_decrement(std::_Rb_tree_node_bas=
e*)
>>> referenced by stl_tree.h:302 (/usr/local/lib/gcc7/include/c++/bits/stl_=
tree.h:302)
>>>               Form.o:(std::pair<std::_Rb_tree_iterator<int>, bool> std:=
:_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int=
> >::_M_insert_unique<int const&>(int const&)) in archive /usr/ports/print/=
tex-xetex/work/texlive-20150521-source/libs/poppler/libpoppler.a

ld: error: undefined symbol: std::_Rb_tree_insert_and_rebalance(bool,
std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base=
&)
>>> referenced by stl_tree.h:1755 (/usr/local/lib/gcc7/include/c++/bits/stl=
_tree.h:1755)
>>>               Form.o:(std::pair<std::_Rb_tree_iterator<int>, bool> std:=
:_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int=
> >::_M_insert_unique<int const&>(int const&)) in archive /usr/ports/print/=
tex-xetex/work/texlive-20150521-source/libs/poppler/libpoppler.a

ld: error: undefined symbol:
std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base&)
>>> referenced by stl_tree.h:2473 (/usr/local/lib/gcc7/include/c++/bits/stl=
_tree.h:2473)
>>>               Gfx.o:(Gfx::opXObject(Object*, int)) in archive /usr/port=
s/print/tex-xetex/work/texlive-20150521-source/libs/poppler/libpoppler.a

--=20
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-233975-7788>