[MacPorts] #44644: p5.8-compress-snappy: missing parent.pm; clean up dependencies
#44644: p5.8-compress-snappy: missing parent.pm; clean up dependencies ---------------------+---------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: p5.8-compress-snappy ---------------------+---------------------------------- p5.8-compress-snappy fails to build with perl 5.8 because of missing `parent.pm`: {{{ DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"~ Can't locate parent.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/5.8.9 .) at /opt/local/lib/perl5/vendor_perl/5.8.9/File/Temp.pm line 32. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/File/Temp.pm line 32. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Devel/CheckLib.pm line 13. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Devel/CheckLib.pm line 13. Compilation failed in require at Makefile.PL line 5. BEGIN failed--compilation aborted at Makefile.PL line 5. Command failed: cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang" Exit code: 2 Error: org.macports.configure for port p5.8-compress-snappy returned: configure failure: command execution failed }}} The port also contains comments like {{{ # requires ExtUtils::MakeMaker version 6.52+ but perl 5.8 core only provides 6.48 }}} While the dependency could probably be added, it would make more sense to simply drop older versions of Perl and figure out which other dependencies could be removed. -- Ticket URL: <https://trac.macports.org/ticket/44644> MacPorts <http://www.macports.org/> Ports system for OS X
#44644: p5.8-compress-snappy: missing parent.pm; clean up dependencies -----------------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.8-compress-snappy | -----------------------------------+-------------------------------- Description changed by mojca@…: Old description:
p5.8-compress-snappy fails to build with perl 5.8 because of missing `parent.pm`: {{{ DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"~ Can't locate parent.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/5.8.9 .) at /opt/local/lib/perl5/vendor_perl/5.8.9/File/Temp.pm line 32. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/File/Temp.pm line 32. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Devel/CheckLib.pm line 13. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Devel/CheckLib.pm line 13. Compilation failed in require at Makefile.PL line 5. BEGIN failed--compilation aborted at Makefile.PL line 5. Command failed: cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang" Exit code: 2 Error: org.macports.configure for port p5.8-compress-snappy returned: configure failure: command execution failed }}}
The port also contains comments like {{{ # requires ExtUtils::MakeMaker version 6.52+ but perl 5.8 core only provides 6.48 }}} While the dependency could probably be added, it would make more sense to simply drop older versions of Perl and figure out which other dependencies could be removed.
New description: p5.8-compress-snappy fails to build with perl 5.8 because of missing `parent.pm`: {{{ DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"~ Can't locate parent.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/5.8.9 .) at /opt/local/lib/perl5/vendor_perl/5.8.9/File/Temp.pm line 32. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/File/Temp.pm line 32. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Devel/CheckLib.pm line 13. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Devel/CheckLib.pm line 13. Compilation failed in require at Makefile.PL line 5. BEGIN failed--compilation aborted at Makefile.PL line 5. Command failed: cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang" Exit code: 2 Error: org.macports.configure for port p5.8-compress-snappy returned: configure failure: command execution failed }}} The file is either provided by `perl5.x` (`/opt/local/lib/perl5/5.20/parent.pm`) or by `p5.x-parent` (`/opt/local/lib/perl5/vendor_perl/5.20/parent.pm`). I didn't check, but apparently perl 5.8 doesn't install parent.pm. The port also contains comments like {{{ # requires ExtUtils::MakeMaker version 6.52+ but perl 5.8 core only provides 6.48 }}} While the dependency could probably be added, it would make more sense to simply drop older versions of Perl and figure out which other dependencies could be removed. -- -- Ticket URL: <https://trac.macports.org/ticket/44644#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44644: p5.8-compress-snappy: missing parent.pm; clean up dependencies -----------------------------------+--------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.8-compress-snappy | -----------------------------------+--------------------- Changes (by mojca@…): * owner: macports-tickets@… => mojca@… * cc: devans@… (added) Comment: Adding devans who committed a related patch in r123765. -- Ticket URL: <https://trac.macports.org/ticket/44644#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44644: p5.8-compress-snappy: missing parent.pm; clean up dependencies -----------------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.8-compress-snappy | -----------------------------------+-------------------------------- Changes (by mojca@…): * owner: mojca@… => macports-tickets@… -- Ticket URL: <https://trac.macports.org/ticket/44644#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44644: p5.8-compress-snappy: missing parent.pm; clean up dependencies -----------------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.8-compress-snappy | -----------------------------------+-------------------------------- Comment (by devans@…): Replying to [ticket:44644 mojca@…]:
p5.8-compress-snappy fails to build with perl 5.8 because of missing `parent.pm`: {{{ DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"' DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"~ Can't locate parent.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/darwin-thread-multi-2level /opt/local/lib/perl5/5.8.9 .) at /opt/local/lib/perl5/vendor_perl/5.8.9/File/Temp.pm line 32. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/File/Temp.pm line 32. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Devel/CheckLib.pm line 13. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Devel/CheckLib.pm line 13. Compilation failed in require at Makefile.PL line 5. BEGIN failed--compilation aborted at Makefile.PL line 5. Command failed: cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-compress- snappy/p5.8-compress-snappy/work/Compress-Snappy-0.23" && /opt/local/bin/perl5.8 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang" Exit code: 2 Error: org.macports.configure for port p5.8-compress-snappy returned: configure failure: command execution failed }}}
The file is either provided by `perl5.x` (`/opt/local/lib/perl5/5.20/parent.pm`) or by `p5.x-parent` (`/opt/local/lib/perl5/vendor_perl/5.20/parent.pm`). I didn't check, but apparently perl 5.8 doesn't install parent.pm.
The port also contains comments like {{{ # requires ExtUtils::MakeMaker version 6.52+ but perl 5.8 core only provides 6.48 }}} While the dependency could probably be added, it would make more sense to simply drop older versions of Perl and figure out which other dependencies could be removed.
-- Ticket URL: <https://trac.macports.org/ticket/44644#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44644: p5.8-compress-snappy: missing parent.pm; clean up dependencies -----------------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.8-compress-snappy | -----------------------------------+-------------------------------- Comment (by mojca@…): In the few latest commits I added the dependencies only for the relevant version(s). That at least makes it clear that the dependency might be removed if an older branch gets removed. -- Ticket URL: <https://trac.macports.org/ticket/44644#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44644: p5.8-compress-snappy: missing parent.pm; clean up dependencies -----------------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.8-compress-snappy | -----------------------------------+-------------------------------- Comment (by mojca@…): Replying to [comment:4 devans@…]:
While the dependency could probably be added, it would make more sense
to simply drop older versions of Perl and figure out which other dependencies could be removed.
This is true but until there is consensus on reducing the number of perl
branches supported, it should probably be fixed. It's a two-fold question: * is it ok to remove a branch only for a certain subset of ports * should we remove branches for all ports I sometimes simply do the first one if an older perl version causes problems. I think it would be easy to reach the consensus to remove 5.8 and 5.10, but it would be nice to implement "`replaced_by`" functionality somehow. -- Ticket URL: <https://trac.macports.org/ticket/44644#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts