Date: Tue, 3 Feb 2026 16:01:01 +0300 From: abi <abi@abinet.ru> To: Robert Clausecker <fuz@fuz.su> Cc: freebsd-ports@freebsd.org Subject: Re: Removing excessive files from staging directory Message-ID: <6170e8de-a312-4921-86d3-041150168daa@abinet.ru> In-Reply-To: <aYHrGn8lBwM17kKR@fuz.su> References: <998b14a2-5100-4a60-be51-b7dd6888e15e@abinet.ru> <aYHrGn8lBwM17kKR@fuz.su>
index | next in thread | previous in thread | raw e-mail
On 2/3/26 15:33, Robert Clausecker wrote: > Hi Abi, > > Am Tue, Feb 03, 2026 at 02:37:34PM +0300 schrieb abi: >> Hello, >> >> I'm porting a program that puts unnecessary stuff in the staging directory, >> for example >> >> ====> Checking for pkg-plist issues (check-plist) >> ===> Parsing plist >> ===> Checking for items in STAGEDIR missing from pkg-plist >> Error: Orphaned: include/CxxUrl/string.hpp >> Error: Orphaned: include/CxxUrl/url.hpp >> Error: Orphaned: include/jwt-cpp/base.h >> Error: Orphaned: include/jwt-cpp/jwt.h >> Error: Orphaned: include/jwt-cpp/traits/boost-json/defaults.h >> Error: Orphaned: include/jwt-cpp/traits/boost-json/traits.h >> Error: Orphaned: include/jwt-cpp/traits/danielaparker-jsoncons/defaults.h >> Error: Orphaned: include/jwt-cpp/traits/danielaparker-jsoncons/traits.h >> Error: Orphaned: include/jwt-cpp/traits/defaults.h.mustache >> Error: Orphaned: include/jwt-cpp/traits/kazuho-picojson/defaults.h >> Error: Orphaned: include/jwt-cpp/traits/kazuho-picojson/traits.h >> Error: Orphaned: include/jwt-cpp/traits/nlohmann-json/defaults.h >> Error: Orphaned: include/jwt-cpp/traits/nlohmann-json/traits.h >> Error: Orphaned: include/picojson/picojson.h >> Error: Orphaned: lib/cmake/CxxUrl/CxxUrlConfig.cmake >> Error: Orphaned: lib/cmake/CxxUrl/CxxUrlConfigVersion.cmake >> Error: Orphaned: lib/cmake/CxxUrl/CxxUrlTargets-%%CMAKE_BUILD_TYPE%%.cmake >> Error: Orphaned: lib/cmake/CxxUrl/CxxUrlTargets.cmake >> Error: Orphaned: lib/libCxxUrl.a >> Error: Orphaned: @dir cmake >> >> >> What is the best way to deal with it? > Some of these are bundled dependencies it seems. > You should unbundle as many dependencies as possible when > writing a port so that the dependencies are installed only > once and can be kept up to date easily. > > You may need to add new ports for these unbundled dependencies. > For example, CxxUrl is an independent project [1] that should be > packaged and then the bundled copy should be replaced with a > dependency to that package. > > Yours, > Robert Clausecker > > [1]: https://github.com/chmike/CxxUrl > Aha, I knew something was fishy with the idea to delete excessive files. jwt-cpp is a bundled dependency as well [1] [1]: https://github.com/freebsd/freebsd-ports/blob/main/devel/jwt-cpp/pkg-plisthome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6170e8de-a312-4921-86d3-041150168daa>
