[MacPorts] #32940: flann 1.7.1 Portfile doesn't build headers. Changeset 88262
MacPorts
noreply at macports.org
Wed Jun 6 16:32:58 PDT 2012
#32940: flann 1.7.1 Portfile doesn't build headers. Changeset 88262
-------------------------------------+--------------------------------------
Reporter: shinko.cheng@… | Owner: mmoll@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Resolution: | Keywords:
Port: flann |
-------------------------------------+--------------------------------------
Changes (by shinko.cheng@…):
* status: closed => reopened
* resolution: fixed =>
Comment:
hi mmoli
so today, the following works.
{{{
port sudo install flann
}}}
But
{{{
port sudo install flann -cuda
}}}
doesn't. The error is
{{{
shinkostation:size1 sycheng$ sudo port install flann -cuda
---> Computing dependencies for flann
---> Fetching archive for flann
---> Attempting to fetch flann-1.7.1_3.darwin_10.x86_64.tbz2 from
http://packages.macports.org/flann
---> Fetching distfiles for flann
---> Verifying checksum(s) for flann
Error: Checksum (md5) mismatch for flann-1.7.1-src.zip
Error: Checksum (sha1) mismatch for flann-1.7.1-src.zip
Error: Checksum (rmd160) mismatch for flann-1.7.1-src.zip
Error: org.macports.checksum for port flann returned: Unable to verify
file checksums
Please see the log file for port flann for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_flann/flann/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port flann failed
}}}
Only if I swapped out the checksums in the Portfile to the following
sha256 will the -cuda variant install correctly.
{{{
#checksums md5 1832b560cce9cde1c18ad1c7e907ae76 \
# sha1 4f3cef9b4f171b1ee4a98f4f684c350c3022e9b2 \
# rmd160 c48f6de9d3c1c87a446a4f3f0353ff02f4fe6506
checksums sha256
eafb8c07cf59ff050be149b15d620ca3dd162e3fce9cb6748cde5d92e0dac775
}}}
{{{
shinkostation:flann sycheng$ sudo port install flann -cuda
Portfile changed since last build; discarding previous state.
---> Computing dependencies for flann
---> Fetching archive for flann
---> Attempting to fetch flann-1.7.1_3.darwin_10.x86_64.tbz2 from
http://packages.macports.org/flann
---> Fetching distfiles for flann
---> Verifying checksum(s) for flann
---> Extracting flann
---> Applying patches to flann
---> Configuring flann
---> Building flann
---> Staging flann into destroot
---> Installing flann @1.7.1_3
---> Deactivating flann @1.7.1_3+cuda
---> Cleaning flann
---> Activating flann @1.7.1_3
---> Cleaning flann
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.
}}}
Could we replace the checksums with the in the new sha256 sum, for those
who don't have cuda?
--
Ticket URL: <https://trac.macports.org/ticket/32940#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list