Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2021 15:58:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 259320] misc/shared-mime-info: some builds with USES=shared-mime-info are broken
Message-ID:  <bug-259320-39348-PsVWMvZ97z@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259320-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259320-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3Dshared-mime-info=
 are
broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259320



--- 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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259320-39348-PsVWMvZ97z>