Bug 242017 - x11-toolkits/qt5-gui: check-plist fails if devel/vulkan-headers is installed
Summary: x11-toolkits/qt5-gui: check-plist fails if devel/vulkan-headers is installed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2019-11-17 03:44 UTC by Jan Beich
Modified: 2019-12-01 10:41 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2019-11-17 03:44:57 UTC
$ cat x11-toolkits/qt5-gui/Makefile.local
BUILD_DEPENDS+= ${LOCALBASE}/include/vulkan/vulkan.h:devel/vulkan-headers

$ poudriere testport -j 121amd64 x11-toolkits/qt5-gui
[...]
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%QT_INCDIR%%/QtVulkanSupport/%%FULLVER%%/QtVulkanSupport/private/qbasicvulkanplatforminstance_p.h
Error: Orphaned: %%QT_INCDIR%%/QtVulkanSupport/%%FULLVER%%/QtVulkanSupport/private/qvkconvenience_p.h
Error: Orphaned: %%QT_INCDIR%%/QtVulkanSupport/QtVulkanSupport
Error: Orphaned: %%QT_INCDIR%%/QtVulkanSupport/QtVulkanSupportDepends
Error: Orphaned: %%QT_INCDIR%%/QtVulkanSupport/QtVulkanSupportVersion
Error: Orphaned: %%QT_INCDIR%%/QtVulkanSupport/qtvulkansupportversion.h
Error: Orphaned: %%QT_CMAKEDIR%%/Qt5VulkanSupport/Qt5VulkanSupportConfig.cmake
Error: Orphaned: %%QT_CMAKEDIR%%/Qt5VulkanSupport/Qt5VulkanSupportConfigVersion.cmake
Error: Orphaned: %%QT_LIBDIR%%/libQt5VulkanSupport.a
Error: Orphaned: %%QT_LIBDIR%%/libQt5VulkanSupport.prl
Error: Orphaned: %%QT_MKSPECDIR%%/modules/qt_lib_vulkan_support_private.pri
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2019-11-17 08:30:52 UTC
I wonder whether just depending on it would be fine.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-11-19 14:04:30 UTC
A commit references this bug:

Author: adridg
Date: Tue Nov 19 14:03:38 UTC 2019
New revision: 517970
URL: https://svnweb.freebsd.org/changeset/ports/517970

Log:
  Add vulkan dependency to x11-toolkits/qt5-gui

  If the Vulkan headers are installed, builds would fail with extra
  artifacts produced. Since those headers are small, header-only, and
  only drag in cmake which is probably needed by dependencies anyway,
  push Vulkan forward.

  PR:		242017
  Submitted by:	jbeich

Changes:
  head/x11-toolkits/qt5-gui/Makefile
  head/x11-toolkits/qt5-gui/pkg-plist