Bug 240397 - audio/logitechmediaserver: Fails to stage with Perl 5.30
Summary: audio/logitechmediaserver: Fails to stage with Perl 5.30
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-qa, regression
Depends on:
Blocks:
 
Reported: 2019-09-07 22:03 UTC by David Z.
Modified: 2022-04-03 15:17 UTC (History)
7 users (show)

See Also:


Attachments
Poudriere build log (107.59 KB, application/x-gzip)
2019-09-07 22:05 UTC, David Z.
no flags Details
svn-diff-pkg-plist (4.43 KB, patch)
2019-09-08 18:34 UTC, Walter Schwarzenfeld
no flags Details | Diff
pkg-plist patch for 12.1 (11.24 KB, patch)
2020-02-02 04:13 UTC, Amy!
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Z. 2019-09-07 22:03:00 UTC
Building audio/logitechmediaserver with Perl 5.30 fails at staging with "No such file or directory" errors.  It builds successfully with Perl 5.28.  A Poudriere build log is attached.

This looks very similar to bug #213260, which was a plist problem.
Comment 1 David Z. 2019-09-07 22:05:43 UTC
Created attachment 207267 [details]
Poudriere build log
Comment 2 David Z. 2019-09-07 22:10:40 UTC
Relevant part of the log:

===>  Building package for logitechmediaserver-7.9.2.g2018.12.10
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/Audio/Scan.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/Class/XSAccessor.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/Class/XSAccessor/Array.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/Class/XSAccessor/Heavy.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/DBM.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/ExampleP.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/File.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Gofer.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Gofer/Policy/Base.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Gofer/Policy/classic.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Gofer/Policy/pedantic.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Gofer/Policy/rush.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Gofer/Transport/Base.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Gofer/Transport/corostream.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Gofer/Transport/null.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Gofer/Transport/pipeone.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Gofer/Transport/stream.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/NullP.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Proxy.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/SQLite.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/SQLite/Constants.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/SQLite/VirtualTable.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/SQLite/VirtualTable/FileContent.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/SQLite/VirtualTable/PerlData.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBD/Sponge.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Changes.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Const/GetInfo/ANSI.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Const/GetInfo/ODBC.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Const/GetInfoReturn.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Const/GetInfoType.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/DBD.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/DBD/Metadata.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/DBD/SqlEngine.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/FAQ.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Gofer/Execute.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Gofer/Request.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Gofer/Response.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Gofer/Serializer/Base.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Gofer/Serializer/DataDumper.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Gofer/Serializer/Storable.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Gofer/Transport/Base.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Gofer/Transport/pipeone.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Gofer/Transport/stream.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Profile.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/ProfileData.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/ProfileDumper.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/ProfileDumper/Apache.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/ProfileSubs.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/ProxyServer.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/PurePerl.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/SQL/Nano.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Util/CacheMemory.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/Util/_accessor.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/DBI/W32ODBC.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/Image/Scale.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/JSON/XS.pm:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/audio/logitechmediaserver/work/stage/usr/local/share/logitechmediaserver/CPAN/arch/5.30/JSON/XS/Boolean.pm:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/audio/logitechmediaserver
Comment 3 Walter Schwarzenfeld 2019-09-08 18:34:10 UTC
Created attachment 207299 [details]
svn-diff-pkg-plist

I am not really sure, but please test this.
Comment 4 David Z. 2019-09-10 03:13:28 UTC
The patch fixes the issue on my system (12.0-RELEASE amd64).  Thanks!
Comment 5 jwdevel 2019-10-01 06:47:46 UTC
The given patch fixed the issue for me as well.

I'm on: FreeBSD 11.3-RELEASE-p3

I had the same issue as the original reporter (just using 'make install', no poudriere)
Comment 6 Amy! 2020-02-02 04:13:19 UTC
Created attachment 211267 [details]
pkg-plist patch for 12.1

This ticket was enormously helpful to me when I belatedly updated my media server to FreeBSD 11.3. I saw that someone had also successfully updated to 12.0, but there wasn't anything for 12.1; rather than risk it, I installed 12.0 onto a spare box and updated it to 12.1, then installed audio/logitechmediaserver by installing most of the prerequisites listed by portmaster -Pn a/lms, then portmaster -P a/lms. It failed as expected, but the patch supplied by Walter wasn't sufficient to fix it for 12.1.

I can read diffs. This is a monkey-see, monkey-do patch; I believe the additional failures during staging are much of a muchness with the previous failures. So I located the correct lines to delete, and deleted them, then generated a patch against a clean checkout of ports/audio/logitechmediaserver/pkg-plist.

Note that this does not include the PORTREVISION= 1 addition to the makefile (prolly should; I dunno what that does or if I need to bump it and haven't read the porter's guide yet).

Seems to make it work for 12.1; consider it a repayment of the help received for getting it going on 11.3.
Comment 7 Arcady 2020-10-28 05:55:12 UTC
Had the same issue on amd64 12.1. The above patch allowed "make install" to complete.
Comment 8 Torfinn Ingolfsen 2021-03-09 22:43:51 UTC
(In reply to Walter Schwarzenfeld from comment #3)
This patch works on 
root@bvm5# freebsd-version -ku
11.4-RELEASE-p8
11.4-RELEASE-p8
root@bvm5# uname -a
FreeBSD bvm5.kg4.no 11.4-RELEASE-p8 FreeBSD 11.4-RELEASE-p8 #0: Tue Feb 23 09:04:22 UTC 2021     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

Thanks!
Comment 9 Torfinn Ingolfsen 2021-03-09 22:45:43 UTC
(In reply to Torfinn Ingolfsen from comment #8)
forgot the port version:
root@bvm5# grep PORTVERSION Makefile 
PORTVERSION=	7.9.2.g2018.12.10