Opened 15 years ago

Closed 15 years ago

#19788 closed defect (invalid)

oracle-instantclient checksum failed

Reported by: pierreyves.aillet@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: oracle-instantclient

Description (last modified by mf2k (Frank Schima))

DEBUG: Executing org.macports.main (oracle-instantclient)
DEBUG: Skipping completed org.macports.fetch (oracle-instantclient)
--->  Verifying checksum(s) for oracle-instantclient
DEBUG: Executing org.macports.checksum (oracle-instantclient)
--->  Checksumming instantclient-basic-10.2.0.4.0-macosx-x86.zip
Error: Checksum (md5) mismatch for instantclient-basic-10.2.0.4.0-macosx-x86.zip
Portfile checksum: instantclient-basic-10.2.0.4.0-macosx-x86.zip md5 75a7622f6852759294df19878106cd77
Distfile checksum: instantclient-basic-10.2.0.4.0-macosx-x86.zip md5 121c61eefa57d650ce0fb94b7e3aba29
Error: Checksum (sha1) mismatch for instantclient-basic-10.2.0.4.0-macosx-x86.zip
Portfile checksum: instantclient-basic-10.2.0.4.0-macosx-x86.zip sha1 c5ea4ca3e55eb8f2ce83b48c268f51fbb48ff867
Distfile checksum: instantclient-basic-10.2.0.4.0-macosx-x86.zip sha1 77e36869631051abbd03568137feccc74eef9b44
Error: Checksum (rmd160) mismatch for instantclient-basic-10.2.0.4.0-macosx-x86.zip
Portfile checksum: instantclient-basic-10.2.0.4.0-macosx-x86.zip rmd160 3ce70104dfb4a53d2adda96e6ea20bb2cf43ee6f
Distfile checksum: instantclient-basic-10.2.0.4.0-macosx-x86.zip rmd160 939bb356ef892b340fe9bcea263885adc934d9ad
--->  Checksumming instantclient-sdk-10.2.0.4.0-macosx-x86.zip
Error: Checksum (md5) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x86.zip
Portfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x86.zip md5 e8b5ca3b36a1849c2ca9fa3bf7979311
Distfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x86.zip md5 be5e2de1720343201f90c130a512893e
Error: Checksum (sha1) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x86.zip
Portfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x86.zip sha1 2505faea0e24d52d50b96dc0b22081584de714cb
Distfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x86.zip sha1 74cfa9e80b68d63fc2eb7348aaec6a37c894de63
Error: Checksum (rmd160) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x86.zip
Portfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x86.zip rmd160 4eb78290b0b44e1f80edbf5e7a84552cca70ac05
Distfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x86.zip rmd160 6d96683a1b41ecb52ee161afc6d91154b1488d37
The correct checksum line may be:
checksums           instantclient-basic-10.2.0.4.0-macosx-x86.zip \
                    md5     121c61eefa57d650ce0fb94b7e3aba29 \
                    sha1    77e36869631051abbd03568137feccc74eef9b44 \
                    rmd160  939bb356ef892b340fe9bcea263885adc934d9ad \
                    instantclient-sdk-10.2.0.4.0-macosx-x86.zip \
                    md5     be5e2de1720343201f90c130a512893e \
                    sha1    74cfa9e80b68d63fc2eb7348aaec6a37c894de63 \
                    rmd160  6d96683a1b41ecb52ee161afc6d91154b1488d37
Error: Target org.macports.checksum returned: Unable to verify file checksums
Warning: the following items did not execute (for oracle-instantclient): org.macports.destroot org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build
DEBUG: invalid command name "::ui_init"
    while executing
"::ui_init $priority $prefix $channels $message"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $body"
Error: Unable to upgrade port: 1

Change History (4)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: oracle-instantclient added; databases/oracle-instantclient removed

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

Oracle prevents MacPorts from downloading these files. You must download them yourself. The port should have printed this message for you:

Warning: MacPorts may not be able to download the necessary distfiles for oracle-instantclient. If you get a checksum error, please download instantclient-basic-10.2.0.4.0-macosx-x86.zip and instantclient-sdk-10.2.0.4.0-macosx-x86.zip manually from http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html and place them in /opt/local/var/macports/distfiles/oracle-instantclient

Did you try that?

comment:3 Changed 15 years ago by pierreyves.aillet@…

Thanks a lot, this solved my problem.

However, I didn't get any message. I think this is because I had files in the directory, I don't understand why the files didn't have the good checksum.

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

I did program the port to only print the message if you did not already have the files. Perhaps I should print the message every time (easy) or every time if the files you have are the right ones (ideal, but harder to determine).

The files would be incorrect probably any time you try to use "port install oracle-instantclient" and it tries to download the files from Oracle, because Oracle will not give MacPorts the files but instead delivers an HTML file telling us to log in.

Note: See TracTickets for help on using tickets.