[MacPorts] #44439: p5.18-pdl, p5.20-pdl: build fails in post-build fixup script.
#44439: p5.18-pdl, p5.20-pdl: build fails in post-build fixup script. ----------------------+------------------------------ Reporter: devans@… | Owner: mf2k@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: p5.18-pdl, p5.20 ----------------------+------------------------------ After fixing the problem in #44420, build fails again (on both p5.18 and p5.20) as follows: {{{ DEBUG: Executing proc-post-org.macports.build-build-0 Error: org.macports.build for port p5.20-pdl returned: Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. }}} This is occuring after the build proper in post-build phase trying to fix up various installation paths. The nature of the error message and the fact that it occurs on both p5.18 and p5.20 versions suggests that the problem may in part be related to [http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod#Hash_overhaul changes in the perl hash implementation that hit in perl 5.18]. The perl code failing (executed from $filepath) is taken largely from PDL::Doc with minor modifications and has not been changed in the current version (or upstream development versions) so this may indicate that there is a perl 5.18+ compatibility problem with the PDL::Doc part of this port as well. Unfortunately, I have no idea where to start on this so any help is welcome. Log file for p5.20-pdl build attached although it doesn't provide much more information. -- Ticket URL: <https://trac.macports.org/ticket/44439> MacPorts <http://www.macports.org/> Ports system for OS X
#44439: p5.18-pdl, p5.20-pdl: build fails in post-build fixup script. -------------------------------+----------------- Reporter: devans@… | Owner: Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.18-pdl, p5.20 | -------------------------------+----------------- Changes (by devans@…): * cc: m2k (removed) * cc: mf2k@… (added) * owner: mf2k@… => Comment: Meant CC not necessarily ownder for mf2k@ -- Ticket URL: <https://trac.macports.org/ticket/44439#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44439: p5.18-pdl, p5.20-pdl: build fails in post-build fixup script. -------------------------------+-------------------------------- Reporter: devans@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.18-pdl, p5.20 | -------------------------------+-------------------------------- Changes (by devans@…): * owner: => macports-tickets@… Old description:
After fixing the problem in #44420, build fails again (on both p5.18 and p5.20) as follows: {{{ DEBUG: Executing proc-post-org.macports.build-build-0 Error: org.macports.build for port p5.20-pdl returned: Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59.
}}}
This is occuring after the build proper in post-build phase trying to fix up various installation paths. The nature of the error message and the fact that it occurs on both p5.18 and p5.20 versions suggests that the problem may in part be related to [http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod#Hash_overhaul changes in the perl hash implementation that hit in perl 5.18].
The perl code failing (executed from $filepath) is taken largely from PDL::Doc with minor modifications and has not been changed in the current version (or upstream development versions) so this may indicate that there is a perl 5.18+ compatibility problem with the PDL::Doc part of this port as well.
Unfortunately, I have no idea where to start on this so any help is welcome.
Log file for p5.20-pdl build attached although it doesn't provide much more information.
New description: After fixing the problem in #44420, build fails again (on both p5.18 and p5.20) as follows: {{{ DEBUG: Executing proc-post-org.macports.build-build-0 Error: org.macports.build for port p5.20-pdl returned: Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Odd number of elements in hash assignment at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 41. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. Use of uninitialized value in join or string at /opt/macports/trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl line 59. }}} This is occuring after the build proper in post-build phase trying to fix up various installation paths. The nature of the error message and the fact that it occurs on both p5.18 and p5.20 versions suggests that the problem may in part be related to [http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod#Hash_overhaul changes in the perl hash implementation that hit in perl 5.18]. The perl code failing (executed from $filepath/fix-pdldocdb.pl) is taken largely from PDL::Doc with minor modifications and has not been changed in the current version (or upstream development versions) so this may indicate that there is a perl 5.18+ compatibility problem with the PDL::Doc part of this port as well. Unfortunately, I have no idea where to start on this so any help is welcome. Log file for p5.20-pdl build attached although it doesn't provide much more information. -- -- Ticket URL: <https://trac.macports.org/ticket/44439#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44439: p5.18-pdl, p5.20-pdl: build fails in post-build fixup script. -----------------------------------+-------------------------------- Reporter: devans@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.18-pdl, p5.20-pdl | -----------------------------------+-------------------------------- Changes (by devans@…): * port: p5.18-pdl, p5.20 => p5.18-pdl, p5.20-pdl -- Ticket URL: <https://trac.macports.org/ticket/44439#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44439: p5.18-pdl, p5.20-pdl: build fails in post-build fixup script. ----------------------------------+-------------------------------- Reporter: devans@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.18-pdl p5.20-pdl | ----------------------------------+-------------------------------- Changes (by devans@…): * port: p5.18-pdl, p5.20-pdl => p5.18-pdl p5.20-pdl -- Ticket URL: <https://trac.macports.org/ticket/44439#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44439: p5.18-pdl, p5.20-pdl: build fails in post-build fixup script. ----------------------------------+-------------------------------- Reporter: devans@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.18-pdl p5.20-pdl | ----------------------------------+-------------------------------- Comment (by dluke@…): I would probably dump the contents of %hash in ensuredb() as a first look at what's going on. (If I can get some spare time, I'll try to take a look) -- Ticket URL: <https://trac.macports.org/ticket/44439#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44439: p5.18-pdl, p5.20-pdl: build fails in post-build fixup script. ----------------------------------+-------------------------------- Reporter: devans@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5.18-pdl p5.20-pdl | ----------------------------------+-------------------------------- Comment (by mgrimes@…): It looks like fix-pdldocdb is parsing a set of null separated fields and turning them into a hash. The order of the list is different between 5.16 and 5.18, and in 5.18 the last field is sometimes empty. When it gets assigned to a hash, perl complains about the missing value. {{{ Under 5.16 ... $txt = ->mn_emat ->Usage -> ->Module ->PDL::Minuit ->File ->/opt/local/var/macports/... Under 5.18 ... $txt = ->mn_emat ->File ->/opt/local/var/macports/build/... ->Module ->PDL::Minuit ->Usage -> #Odd number of elements in hash assignment at /Users... }}} In 5.18, perl changed the way it handles hashes and the order is no longer consistent. I'm guessing that is causing the fields to come up in a different order. The attached patch should fix it. -- Ticket URL: <https://trac.macports.org/ticket/44439#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#44439: p5.18-pdl, p5.20-pdl: build fails in post-build fixup script. -----------------------+-------------------------------- Reporter: devans@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: p5-pdl | -----------------------+-------------------------------- Changes (by mf2k@…): * status: new => closed * resolution: => fixed * port: p5.18-pdl p5.20-pdl => p5-pdl Comment: This works. Thanks! r123884. I have also added you as maintainer. -- Ticket URL: <https://trac.macports.org/ticket/44439#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts