pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

qt[45]-* build failures on netbsd-9 (-current?)



After updating my amd64 build host to 9.0_BETA, I updated packages from
the former -current set that I'd built and ran a further pkg_rolling-replace
to pick up stragglers.  This seemed to go well.

Then I made a point to clean out all the left-over shared libraries from
the the previous 8.1_STABLE installation as well as any that might be
hanging around after the first round of 'postintall' after the 9.0_BETA
update.  This should effectively be the same as a fresh install of
9.0_BETA.

I then ran 'ldd' over all of "/usr/pkg" looking for anything that reported
"not found" so I could rebuild the associated package.  I was surprised
that there were so many, even after a similar cleaning and rebuilding
with 8.99.* not too long ago.

I'm using pkgsrc-2019Q2 with a few things cherry-picked from -HEAD.
Notably, I had to pull "x11-links" from -HEAD to deal with the newer
"freetype2" imported to 8.99.* shortly before the netbsd-9 branch (which
is for now considered new enough to use with pkgsrc).

The hiccup I'm running into is the following (qt4-tools shown for
example, but happens in qt4-libs and qt5-qtbase as well):

[...]
In file included from io/qfilesystemwatcher_kqueue.cpp:56:0:
io/qfilesystemwatcher_kqueue.cpp: In constructor 'QKqueueFileSystemWatcherEngine::QKqueueFileSystemWatcherEngine(int)':
io/qfilesystemwatcher_kqueue.cpp:92:5: error: call of overloaded '_EV_SET(kevent*, uintptr_t, unsigned int, unsigned int, int, int, int)' is ambiguous
     EV_SET(&kev,
     ^
/usr/include/sys/event.h:59:1: note: candidate: void _EV_SET(kevent*, uintptr_t, uint32_t, uint32_t, uint32_t, int64_t, intptr_t)
 _EV_SET(struct kevent *_kevp, uintptr_t _ident, uint32_t _filter,
 ^~~~~~~
/usr/include/sys/event.h:76:1: note: candidate: void _EV_SET(kevent*, uintptr_t, uint32_t, uint32_t, uint32_t, int64_t, void*)
 _EV_SET(struct kevent *_kevp, uintptr_t _ident, uint32_t _filter,
 ^~~~~~~
io/qfilesystemwatcher_kqueue.cpp: In member function 'virtual QStringList QKqueueFileSystemWatcherEngine::addPaths(const QStringList&, QStringList*, QStringList*)':
io/qfilesystemwatcher_kqueue.cpp:168:13: error: call of overloaded '_EV_SET(kevent*, uintptr_t, unsigned int, unsigned int, unsigned int, int, int)' is ambiguous
             EV_SET(&kev,
             ^
/usr/include/sys/event.h:59:1: note: candidate: void _EV_SET(kevent*, uintptr_t, uint32_t, uint32_t, uint32_t, int64_t, intptr_t)
 _EV_SET(struct kevent *_kevp, uintptr_t _ident, uint32_t _filter,
 ^~~~~~~
/usr/include/sys/event.h:76:1: note: candidate: void _EV_SET(kevent*, uintptr_t, uint32_t, uint32_t, uint32_t, int64_t, void*)
 _EV_SET(struct kevent *_kevp, uintptr_t _ident, uint32_t _filter,
 ^~~~~~~
gmake[6]: *** [Makefile:18395: .obj/release-shared/qfilesystemwatcher_kqueue.lo] Error 1
[...]

Anyone else seeing this building on netbsd-9 or -current?

Thanks.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index