Bug 240397

Summary: audio/logitechmediaserver: Fails to stage with Perl 5.30
Product: Ports & Packages Reporter: David Z. <daz>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Some People CC: amyzing, jwdevel, pi, w.schwarzenfeld
Priority: --- Keywords: needs-qa, regression
Version: Latest   
Hardware: arm64   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213260
Attachments:
Description Flags
Poudriere build log
none
svn-diff-pkg-plist
none
pkg-plist patch for 12.1 none

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 freebsd_triage 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.