From owner-freebsd-ports-bugs@freebsd.org Sat Aug 3 08:28:01 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0FA38AB04C for ; Sat, 3 Aug 2019 08:28:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 460xxD6lQYz43q3 for ; Sat, 3 Aug 2019 08:28:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E5714AB04B; Sat, 3 Aug 2019 08:28:00 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E5382AB04A for ; Sat, 3 Aug 2019 08:28:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 460xxD5qfmz43q2 for ; Sat, 3 Aug 2019 08:28:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BEF33184E1 for ; Sat, 3 Aug 2019 08:28:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x738S0TE036666 for ; Sat, 3 Aug 2019 08:28:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x738S025036665 for ports-bugs@FreeBSD.org; Sat, 3 Aug 2019 08:28:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 239608] print/tex-luatex: Linker failure: ld: error: undefined symbol: std::__throw_length_error(char const*) Date: Sat, 03 Aug 2019 08:27:59 +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 Some People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hrs@FreeBSD.org 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: quoted-printable 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.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Aug 2019 08:28:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239608 Bug ID: 239608 Summary: print/tex-luatex: Linker failure: ld: error: undefined symbol: std::__throw_length_error(char const*) 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 Flags: maintainer-feedback?(hrs@FreeBSD.org) Assignee: hrs@FreeBSD.org On some boxes running most recent CURRENT as well as recent 12-STABLE and recent ports (weekly updates) we face a very nasty issue updating and compi= ling print/texlive-base/full and especially two pieces of the software packages, namely print/tex-luatex and print/tex-xetex. print/tex-luatex is named as example here. Both ports fail to compile and exit linker, print/tex-luatex fails with: [...] /bin/sh ./libtool --tag=3DCXX --mode=3Dlink c++ -Wimplicit -Wreturn-type -Wno-unknown-pragmas -Wno-write-strings -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -export-dynamic -fstack-protector-strong -o luatex luatexdir/luatex-luatex.o mplibdir/luatex-lmplib.o libluatex.a libff.a libluamisc.a libluasocket.a -L/usr/local/lib -ltexlua52 libmplib.a -L/usr/local/lib -lmpfr -L/usr/local/lib -lgmp -L/usr/local/lib -lcairo -lpthread -L/usr/local/lib -lpixman-1 -L/usr/local/lib -fstack-protector-strong -lzzip -lz -L/usr/local/lib -lpng16 -lz -lz=20 /usr/ports/print/tex-luatex/work/texlive-20150521-source/libs/poppler/libpo= ppler.a lib/lib.a -L/usr/local/lib -lkpathsea libmputil.a libunilib.a libmd5.a -lm libtool: link: c++ -Wimplicit -Wreturn-type -Wno-unknown-pragmas -Wno-write-strings -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o luatex luatexdir/luatex-luatex.o mplibdir/luatex-lmplib.o -fstack-protector-strong -Wl,--export-dynamic=20 libluatex.a libff.a libluamisc.a libluasocket.a -L/usr/local/lib -ltexlua52 libmplib.a -lmpfr -lgmp -lcairo -lpthread -lpixman-1 -lzzip -lpng16 -lz /usr/ports/print/tex-luatex/work/texlive-20150521-source/libs/poppler/libpo= ppler.a lib/lib.a -lkpathsea libmputil.a libunilib.a libmd5.a -lm ld: error: undefined symbol: std::__throw_length_error(char const*) >>> referenced by stl_vector.h:1756 (/usr/local/lib/gcc9/include/c++/bits/s= tl_vector.h:1756) >>> Catalog.o:(void std::vector = >::_M_realloc_insert(__gnu_cxx::__normal_iterator > >, Dict* const&)) in archive /usr/p= orts/print/tex-luatex/work/texlive-20150521-source/libs/poppler/libpoppler.a ld: error: undefined symbol: std::__throw_length_error(char const*) >>> referenced by stl_vector.h:1756 (/usr/local/lib/gcc9/include/c++/bits/s= tl_vector.h:1756) >>> Catalog.o:(void std::vector >::_M_realloc_insert(__gnu_cxx::__normal_iterator > >, PageAttrs= *&&)) in archive /usr/ports/print/tex-luatex/work/texlive-20150521-source/l= ibs/poppler/libpoppler.a [...] It looks like something is referencing gcc/gcc9 (it was some days ago gcc8)= and fails. I did recompile via "portmaster -dRf print/texlive-full" every piece= of the port several times for now in the hope getting rid of the problem, whic= h is really sticky on both CURRENT and 12-STABLE boxes. Also did I delete the packages print/tex-luatex and print/tex-xetex and tried rebuilding the whole port print/texlive-full, but with no success. I had to install both packages manually again from a poudriere repository to make texlive work again.=20 Speaking of poudriere, there seems no problem (but poudriere is no option f= or specific machines since they have very individual configs in some ports, but not TeX).=20 The problem occured a while ago and bothers me every time tex-xetex or tex-luatex are updated. Can someone shed some light on this sort of problem? I do not wee where cla= ng gets replaced and referenced towards gcc, so there might be a simple fix for this. --=20 You are receiving this mail because: You are the assignee for the bug.=