[MacPorts] #44439: p5.18-pdl, p5.20-pdl: build fails in post-build fixup script.

MacPorts noreply at macports.org
Fri Aug 15 05:51:10 PDT 2014


#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


More information about the macports-tickets mailing list