Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2017 16:37:47 -0300
From:      Ricardo Campos Passanezi <riccp@ige.unicamp.br>
To:        freebsd-ports@freebsd.org
Subject:   qt5-widgets fails to build
Message-ID:  <assp.025973aa05.20170327193747.GC88467@ige.unicamp.br>

next in thread | raw e-mail | index | archive | help
Hello all, 

I'm not been able to upgrade/install qt5-widgets.

I started with a portuprade withou success. Then I've deleted all qt
ports (there was qt4 also). The problem persists. I'm sure its something
I did in past times, but cannot find out.

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? 

Thanks,

-- 
Ricardo Campos Passanezi - Network Analyst



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?assp.025973aa05.20170327193747.GC88467>