Bug 242269

Summary: www/qt5-webengine: build of 5.13.2 fails if older qt5-webengine installed (5.12.2)
Product: Ports & Packages Reporter: John Hein <jcfyecrayz>
Component: Individual Port(s)Assignee: freebsd-kde (Team) <kde>
Status: Closed Works As Intended    
Severity: Affects Some People CC: tcberner
Priority: --- Flags: tcberner: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
build failure log none

Description John Hein 2019-11-27 18:27:08 UTC
Created attachment 209491 [details]
build failure log

If www/qt5-webengine 5.12.2 is installed, building 5.13.2 fails with multiple errors.

I suspect the fix is to get the build to look in ${WRKSRC} before ${LOCALBASE} for include files (-I options).

A workaround is to delete the old version of qt5-webengine that is currently installed in ${LOCALBASE}.  But this should be fixed to not require users to do that.

A build log showing the failure is attached.
Comment 1 Tobias C. Berner freebsd_committer 2019-11-27 19:11:05 UTC
This is a known error and documented in UPDATING.

The solution is to use a proper port-buildsystem  (read poudriere) with isolated builds or deinstall the port prior to building it. 

I close this as "work-as-intended" -- even though that is not satisfactory, obviously :)

mfg Tobias
Comment 2 John Hein 2019-12-02 19:39:17 UTC
(In reply to Tobias C. Berner from comment #1)
Thanks.  Sorry for not checking UPDATING.
Comment 3 Tobias C. Berner freebsd_committer 2019-12-02 19:40:23 UTC
No worries :)