Building qt5-gui port?

Mark Millard marklmi at yahoo.com
Sun Feb 10 08:58:51 UTC 2019


Steve Kargl sgk at troutmask.apl.washington.edu wrote on
Sun Feb 10 03:32:37 UTC 2019 :

> Anyone have any pointers on building x11-toolkits/qt5-gui on
> FreeBSD-current?  My attempts end with
> 
> . . .
> 
> .obj/qimage.o: In function `QImage::fill(unsigned int)':
> qimage.cpp:(.text+0x2442): undefined reference to `qt_memfill32(unsigned int*, unsigned int, int)'
> qimage.cpp:(.text+0x2477): undefined reference to `qt_memfill16(unsigned short*, unsigned short, int)'
> 
> . . .

My lumina builds indirectly build qt5-qui and have been having
no problems (targeting amd64, aarch64, armv7, and powerpc64).
(My powerpc64 context is not normally gcc 4.2.1 based.)

Both targeting aarch64 and armv7 via amd64 based cross builds
and native builds on all 4 have not had such errors. (Same
/usr/src/ and /usr/ports/ by content across all but powerpc64,
with powerpc64 having some extra debug material. Also: only
amd64 being used to host cross builds.)

Most recently this was on:

# uname -apKU
FreeBSD FBSDFSSD 13.0-CURRENT FreeBSD 13.0-CURRENT #9 r343884M: Thu Feb  7 19:22:33 PST 2019     markmi at FBSDFSSD:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/sys/GENERIC-NODBG  amd64 amd64 1300010 1300010

# svnlite info /usr/ports/ | grep "Re[plv]"
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 492409
Last Changed Rev: 492409

I build via ports-mgmt/poudriere-devel in all cases, even on the
likes of a Pine64+ 2GB armv7 board. (You did not mention much
about how you build ports generally or the specific port:
what type of context are you hoping for helpful information
for?)


(I'll not get into apparently-unrelated oddities with qemu-user-static
and host-native cross-tools used for cross builds. The self-hosted
poudriere use has not had the oddities but takes longer to build.)

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-ports mailing list