Opened 10 years ago

Last modified 9 years ago

#45942 closed defect

libffi-3.2.1_0+universal patchfile and missing checksums — at Version 3

Reported by: davidpfriedlander Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc:
Port: libffi

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

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.

Change History (3)

comment:1 Changed 10 years ago by davidpfriedlander

Cc: david.p.friedlander@… added

Cc Me!

comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: david.p.friedlander@… removed

There are no checksums for the patch file because it already exists in the MacPorts repository. It’s not already there for you?

% ls -l $(port dir libffi)/files
total 8
-rw-r--r--  1 larryv  staff   523B Nov 17 22:00 PR-44170.patch
%

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Agreed; unable to reproduce issue. I've not had any problem installing libffi +universal.

Note: See TracTickets for help on using tickets.