Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2017 13:12:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219633] devel/qt5-qdoc: build fails due to __bss_start@Qt_5 and _edata@Qt_5 being multiply defined by qt5-core
Message-ID:  <bug-219633-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 219633
           Summary: devel/qt5-qdoc: build fails due to __bss_start@Qt_5
                    and _edata@Qt_5 being multiply defined by qt5-core
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: jau@iki.fi
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

See below an example how the build fails on FreeBSD-10.3-stable on amd64...
The multiple definitions come from qt5-core, but other than that I don't
have the foggiest idea why this happens.


--- ../../bin/qdoc ---
c++ -Wl,--as-needed -fstack-protector -Wl,--gc-sections -pthread
-Wl,-rpath,/usr/local/lib/qt5 -o ../../bin/qdoc .obj/atom.o  .obj/codechunk=
.o=20
.obj/codemarker.o  .obj/codeparser.o  .obj/config.o  .obj/cppcodemarker.o=20
.obj/cppcodeparser.o  .obj/doc.o  .obj/editdistance.o  .obj/generator.o=20
.obj/helpprojectwriter.o  .obj/htmlgenerator.o  .obj/location.o  .obj/main.=
o=20
.obj/node.o  .obj/openedlist.o  .obj/plaincodemarker.o  .obj/puredocparser.=
o=20
.obj/qdocdatabase.o  .obj/qdoctagfiles.o  .obj/qdocindexfiles.o  .obj/quote=
r.o=20
.obj/separator.o  .obj/text.o  .obj/tokenizer.o  .obj/tree.o  .obj/yyindent=
.o=20
.obj/jscodemarker.o  .obj/qmlcodemarker.o  .obj/qmlcodeparser.o=20
.obj/qmlmarkupvisitor.o  .obj/qmlvisitor.o=20=20
-L/usr/ports/devel/qt5-qdoc/work/qttools-opensource-src-5.7.1/lib
-L/usr/local/lib -L/usr/local/lib/qt5 -lQt5QmlDevTools -lQt5Core
/usr/local/lib/qt5/libQt5Core.so:(.data.rel.ro.local+0x27c28): multiple
definition of `__bss_start@Qt_5'
/usr/local/lib/qt5/libQt5Core.so:(.data.rel.ro.local+0x27c28): first defined
here
/usr/local/lib/qt5/libQt5Core.so:(.data.rel.ro.local+0x27c28): multiple
definition of `_edata@Qt_5'
/usr/local/lib/qt5/libQt5Core.so:(.data.rel.ro.local+0x27c28): first defined
here
/usr/local/lib/qt5/libQt5Core.so:(.data.rel.ro.local+0x2b3d8): multiple
definition of `_end@Qt_5'
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
*** [../../bin/qdoc] Error code 1

make[1]: stopped in
/usr/ports/devel/qt5-qdoc/work/qttools-opensource-src-5.7.1/src/qdoc
1 error

make[1]: stopped in
/usr/ports/devel/qt5-qdoc/work/qttools-opensource-src-5.7.1/src/qdoc
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

--=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-219633-13>