Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2017 19:23:45 +0300
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        Ricardo Campos Passanezi <riccp@ige.unicamp.br>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: qt5-widgets fails to build
Message-ID:  <20170328162345.GD42495@hades.panopticon>
In-Reply-To: <assp.025973aa05.20170327193747.GC88467@ige.unicamp.br>
References:  <assp.025973aa05.20170327193747.GC88467@ige.unicamp.br>

next in thread | previous in thread | raw e-mail | index | archive | help
* Ricardo Campos Passanezi (riccp@ige.unicamp.br) wrote:

> Here the error:
> 
> --- ../../../bin/uic ---
> c++ -Wl,--as-needed -fstack-protector -Wl,--gc-sections -pthread -Wl,-rpath,/usr/local/lib/qt5 -o ../../../bin/uic .obj/customwidgetsinfo.o  .obj/databaseinfo.o  .obj/driver.o  .obj/treewalker.o  .obj/ui4.o  .obj/validator.o  .obj/cppextractimages.o  .obj/cppwritedeclaration.o  .obj/cppwriteicondata.o  .obj/cppwriteicondeclaration.o  .obj/cppwriteiconinitialization.o  .obj/cppwriteincludes.o  .obj/cppwriteinitialization.o  .obj/main.o  .obj/uic.o   -L/usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/lib -L/usr/local/lib -lQt5Core
> /usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/lib/libQt5Core.so:(.dynamic+0x27ac8): multiple definition of `__bss_start@Qt_5'
> /usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/lib/libQt5Core.so:(.dynamic+0x27ac8): first defined here
> /usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/lib/libQt5Core.so:(.dynamic+0x27ac8): multiple definition of `_edata@Qt_5'
> /usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/lib/libQt5Core.so:(.dynamic+0x27ac8): first defined here
> /usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/lib/libQt5Core.so:(.dynamic+0x2b2d0): multiple definition of `_end@Qt_5'
> c++: error: linker command failed with exit code 1 (use -v to see invocation)
> *** [../../../bin/uic] Error code 1
> 
> make[2]: stopped in /usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/src/tools/uic
> 1 error
> 
> make[2]: stopped in /usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7.1/src/tools/uic
> *** Error code 2
> 
> Stop.
> make[1]: stopped in /usr/ports/x11-toolkits/qt5-widgets
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/x11-toolkits/qt5-widgets
> 
> 
> # pkg info | egrep -i qt
> qt5-buildtools-5.7.1           Qt build tools
> qt5-concurrent-5.7.1           Qt multi-threading module
> qt5-core-5.7.1                 Qt core non-graphical module
> qt5-dbus-5.7.1                 Qt D-Bus inter-process communication module
> qt5-gui-5.7.1                  Qt graphical user interface module
> qt5-network-5.7.1_1            Qt network module
> qt5-qmake-5.7.1                Qt Makefile generator
> qt5-qml-5.7.1                  Qt QML and JavaScript language module
> qt5-sql-5.7.1                  Qt SQL database integration module
> qt5-testlib-5.7.1              Qt unit testing module
> qt5-x11extras-5.7.1            Qt platform-specific features for X11-based systems
> qtchooser-39                   Qt tool wrapper
> 
> 
> Is there anything I'm missing? 

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218187

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru      http://amdmi3.ru



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