pkgsrc-Users archive

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

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



On 09.08.2019 21:45, John D. Baker wrote:
> 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.
> 


Please test this patch:

http://netbsd.org/~kamil/patch-00136-event-EV_SET-overload-for-int.txt

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index