maintainer-feedback requested: [Bug 259320] misc/shared-mime-info: some builds with USES=shared-mime-info are broken
Date: Wed, 20 Oct 2021 15:58:57 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team) <desktop@FreeBSD.org> for maintainer-feedback: Bug 259320: misc/shared-mime-info: some builds with USES=shared-mime-info are broken https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259320 --- Description --- It seems commit ddacf99b4fc010511a09e1af376d0fca7399e208 broke a few builds of ports depending on shared-mime-info. Examples: graphics/gdk-pixbuf2: --- Run-time dependency shared-mime-info found: NO (tried pkgconfig) meson.build:198:2: ERROR: Dependency "shared-mime-info" not found, tried pkgconfig --- security/kpkpass: --- CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find SharedMimeInfo (missing: UPDATE_MIME_DATABASE_EXECUTABLE) (Required is at least version "1.3") Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/ECM/find-modules/FindSharedMimeInfo.cmake:52 (find_package_handle_standard_args) CMakeLists.txt:34 (find_package) --- (Both errors in configure phase) I also commented on https://reviews.freebsd.org/D32452 I see it makes little sense to require shared-mime-info as a build-time dependency, but some build systems seem to check for it nevertheless. Maybe adding it as a build-time dependency should be optional?