Opened 14 years ago

Closed 14 years ago

#27375 closed defect (invalid)

atlas @3.8.3 Revision 4 (math) Error Unable to open port: invalid command name "---"

Reported by: rehorn09@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: atlas checksum error invalid command name Cc: jameskyle@…, rehorn09@…
Port: atlas

Description

I'm trying to install atlas for kdelibs4 and first got errors for the checksum for lapack.tgz and then I downloaded a patch for it that was supposed to fix it and the patch patched the portfile fine and then I tried to install atlas again and it gave me a different error that says 'Error: Unable to open port: invalid command name "---"'

~ reh0009$ sudo port install atlas
--->  Computing dependencies for atlas
--->  Fetching atlas
--->  Attempting to fetch atlas3.8.3.tar.bz2 from http://downloads.sourceforge.net/math-atlas
--->  Attempting to fetch lapack.tgz from http://www.netlib.org/lapack
--->  Verifying checksum(s) for atlas
Error: Checksum (md5) mismatch for lapack.tgz
Error: Checksum (sha1) mismatch for lapack.tgz
Error: Checksum (rmd160) mismatch for lapack.tgz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for atlas is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
~ reh0009$ cd $(port dir atlas)
atlas reh0009$ sudo patch Portfile < ~/Downloads/atlas-lapack-Portfile_and_patch.diff
patching file Portfile
patching file Portfile
Hunk #1 succeeded at 62 (offset 56 lines).
Hunk #2 succeeded at 92 (offset 56 lines).
Hunk #3 succeeded at 192 (offset 56 lines).
atlas reh0009$ sudo port install -v atlas
Error: Unable to open port: invalid command name "---"
To report a bug, see <http://guide.macports.org/#project.tickets>
atlas reh0009$

I'm new to Macports and don't know much. Using Mac OS X 10.6.5 2.4 GHz Intel Core 2 Duo on regular macbook

Thanks for any help.

Attachments (1)

atlas-lapack-Portfile_and_patch.diff (4.5 KB) - added by rehorn09@… 14 years ago.
patch I downloaded and used to patch the Portfile

Download all attachments as: .zip

Change History (4)

comment:1 Changed 14 years ago by rehorn09@…

Cc: rehorn09@… added

Cc Me!

Changed 14 years ago by rehorn09@…

patch I downloaded and used to patch the Portfile

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Obviously you have applied the patchfile incorrectly. The correct way to apply the patchfile would be:

sudo patch -p0 < ~/Downloads/atlas-lapack-Portfile_and_patch.diff

Before you can do this, you'll have to get back to the original version of the Portfile, for example by using "sudo port sync" again.

Also note "port install -v" is not correct; you wanted "port -v install" instead.

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

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.