[MacPorts] #45942: libffi-3.2.1_0+universal patchfile and missing checksums

MacPorts noreply at macports.org
Wed Nov 19 11:16:50 PST 2014


#45942: libffi-3.2.1_0+universal patchfile and missing checksums
-----------------------------------+--------------------------------
 Reporter:  david.p.friedlander@…  |      Owner:  macports-tickets@…
     Type:  defect                 |     Status:  new
 Priority:  Normal                 |  Milestone:
Component:  ports                  |    Version:  2.3.2
 Keywords:                         |       Port:  libffi
-----------------------------------+--------------------------------
 Hello,
 I am having trouble building a universal variant of libffi (v3.2.1) on a
 Mavericks (10.9) machine (port version 2.3.2). The problems have to do
 with downloading the patch file and (even if I download the patchfile 'out
 of band') getting the checksums to work.

 I am building "+universal" because packages that depend on libffi need it
 and were built with that variant, too.

 {{{
 port install libffi +universal
 --->  Fetching archive for libffi
 --->  Attempting to fetch
 libffi-3.2.1_0+universal.darwin_13.i386-x86_64.tbz2 from
 http://packages.macports.org/libffi
 --->  Attempting to fetch
 libffi-3.2.1_0+universal.darwin_13.i386-x86_64.tbz2 from
 http://nue.de.packages.macports.org/macports/packages/libffi
 --->  Attempting to fetch
 libffi-3.2.1_0+universal.darwin_13.i386-x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/libffi
 --->  Fetching distfiles for libffi
 --->  Attempting to fetch PR-44170.patch from
 http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/libffi
 --->  Attempting to fetch PR-44170.patch from
 http://sea.us.distfiles.macports.org/macports/distfiles/libffi
 --->  Attempting to fetch PR-44170.patch from
 ftp://sourceware.org/pub/libffi/
 --->  Attempting to fetch PR-44170.patch from
 http://distfiles.macports.org/libffi
 --->  Attempting to fetch PR-44170.patch from
 http://nue.de.distfiles.macports.org/macports/distfiles/libffi
 --->  Attempting to fetch PR-44170.patch from
 http://www.mirrorservice.org/sites/sourceware.org/pub/libffi/
 --->  Attempting to fetch PR-44170.patch from
 http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/libffi
 --->  Attempting to fetch PR-44170.patch from http://ftp-stud.fht-
 esslingen.de/pub/Mirrors/sourceware.org/libffi/
 --->  Attempting to fetch PR-44170.patch from
 http://lil.fr.distfiles.macports.org/libffi
 --->  Attempting to fetch PR-44170.patch from
 http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/libffi
 --->  Attempting to fetch PR-44170.patch from
 http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/libffi
 --->  Attempting to fetch PR-44170.patch from
 http://cjj.kr.distfiles.macports.org/libffi
 --->  Attempting to fetch PR-44170.patch from
 http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/libffi
 --->  Attempting to fetch PR-44170.patch from
 http://mirror.aarnet.edu.au/pub/sourceware/libffi/
 --->  Attempting to fetch PR-44170.patch from
 http://jog.id.distfiles.macports.org/macports/mpdistfiles/libffi
 --->  Attempting to fetch PR-44170.patch from
 http://ftp.cs.pu.edu.tw/Linux/sourceware/libffi/
 --->  Attempting to fetch PR-44170.patch from
 http://svn.macports.org/repository/macports/distfiles/libffi
 Error: org.macports.fetch for port libffi returned: fetch failed
 Please see the log file for port libffi for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_libffi/libffi/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port libffi failed
 }}}

 OK, so it cannot find the patch. But if I download the patchfile from
       https://trac.macports.org/raw-attachment/ticket/45904/PR-44170.patch
 and the main tar file and place them in
       /opt/local/var/macports/distfiles/libffi
 then it fails with

 {{{
 port checksum libffi +universal
 --->  Fetching distfiles for libffi
 --->  Verifying checksums for libffi
 Error: No checksum set for PR-44170.patch
 Error: No checksum set for libffi-3.2.1.tar.gz
 Error: org.macports.checksum for port libffi returned: Unable to verify
 file checksums
 Please see the log file for port libffi for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_libffi/libffi/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port libffi failed

 }}}

 The Portfile has no checksum for the patch specified at all. There is one
 for the libffi tar file, and the checksum of the actual file matches
 properly.

 Advice, please?

 Thanks very much in advance.

-- 
Ticket URL: <https://trac.macports.org/ticket/45942>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list