Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12444 closed defect (fixed)

BUG: OpenMotif 2.3.0 MD5 mismatch

Reported by: macfreek (Freek Dijkstra) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: macfreek (Freek Dijkstra), ryandesign (Ryan Carsten Schmidt), lutz_mader@…, north@…
Port:

Description

Downloading the Open Motif port gives this error:

---> Verifying checksum(s) for openmotif Error: Checksum (md5) mismatch for openmotif-2.3.0.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing.

The MD5 of ftp://ftp.ics.com/openmotif/2.3/2.3.0/openmotif-2.3.0.tar.gz is 99d0ecb84d3504da421021a19ff70500. The MD5 mention in the Portfile is ef8f8ca6f6f80bfb96351f12b550b29b

Looking at ftp://ftp.ics.com/openmotif/2.3/2.3.0/, it seems that the upstream package was changed on 7 aug 2007. However, I could not find an announcement at http://www.opengroup.org/openmotif/ or http://www.motifzone.net/. I can't judge if this is normal procedure by the upstream.

If you still have the old openmotif-2.3.0.tar.gz, please compare the contents with the new on-line version, and verify this is a credible upstream change (no weird code changes). If so, please update the Portfile with the new MD5 sum (99d0ecb84d3504da421021a19ff70500).

Attachments (1)

openMotif.patch (650 bytes) - added by macfreek (Freek Dijkstra) 17 years ago.
patchfile with MD5 change

Download all attachments as: .zip

Change History (9)

Changed 17 years ago by macfreek (Freek Dijkstra)

Attachment: openMotif.patch added

patchfile with MD5 change

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: software@… ryandesign@… added

I located the file with the old checksum here:

http://fresh.t-systems-sfr.com/unix/src/misc/openmotif-2.3.0.tar.gz

I compared it (diff -ru) with the new version available here:

ftp://ftp.ics.com/openmotif/2.3/2.3.0/openmotif-2.3.0.tar.gz

There are 1842 lines of diffs between the two.

It seems the old file was for version 2.3.0 beta, and the new file is for 2.3.0 final. So it's a legitimate update. Note that the port revision should also be incremented to ensure everyone gets the update.

However, updating the portfile checksum reveals a new problem I haven't yet been able to fix:

$ sudo port install
Portfile changed since last build; discarding previous state.
--->  Fetching openmotif
--->  Verifying checksum(s) for openmotif
--->  Extracting openmotif
--->  Configuring openmotif
--->  Building openmotif with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_x11_openMotif/work/openmotif-2.3.0" && make all " returned error 2
Command output: /usr/X11R6/include/X11/Xft/Xft.h:97: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:191: warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:191: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:257: warning: type defaults to 'int' in declaration of 'XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:257: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:263: warning: type defaults to 'int' in declaration of 'XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:263: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:296: warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:296: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:355: error: parse error before 'XftLockFace'
/usr/X11R6/include/X11/Xft/Xft.h:355: warning: type defaults to 'int' in declaration of 'XftLockFace'
/usr/X11R6/include/X11/Xft/Xft.h:355: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:394: warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:394: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:400: warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:400: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:409: error: parse error before 'FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:419: error: parse error before 'XftCharIndex'
/usr/X11R6/include/X11/Xft/Xft.h:421: warning: type defaults to 'int' in declaration of 'XftCharIndex'
/usr/X11R6/include/X11/Xft/Xft.h:421: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:462: warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:462: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:473: warning: type defaults to 'int' in declaration of 'XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:473: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:494: warning: type defaults to 'int' in declaration of 'XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:494: error: parse error before '*' token
make[3]: *** [List.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

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

On second thought, the 2.3.0 beta version of openmotif also causes that error for me.

comment:3 Changed 17 years ago by lutz_mader@…

Hi, I try to do this on my PPC PB, Mac OS X 10.4.8, MacPorts 1.5.0 (not 1.5.2) and I got no problems, with the old/beta and the new openMotif package.

But, port package openMotif depends to xft2, and xft2 contain a xft.h header file too, with some patches (I can't find PPC or i386 checks).

I think, you get the wrong header file. I checked the debug output from my port build/make step and the libs from the xft2 port package are used all the time. Bye, Lutz

comment:4 Changed 17 years ago by north@…

Not sure I understand the steps I've read here, but I just did a selfupdate Aug 22 2007 that resulted in what looks like the same problem still:

---> Checksumming openmotif-2.3.0.tar.gz Error: Checksum (md5) mismatch for openmotif-2.3.0.tar.gz Portfile checksum: openmotif-2.3.0.tar.gz md5 ef8f8ca6f6f80bfb96351f12b550b29b Distfile checksum: openmotif-2.3.0.tar.gz md5 99d0ecb84d3504da421021a19ff70500 Error: Target org.macports.checksum returned: Unable to verify file checksums

Looks like the same checksums too.

comment:5 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: lutz_mader@… north@… added
Owner: changed from macports-dev@… to ryandesign@…

I have now fixed the originally reported problem in r28155 -- I updated the checksum and revision.

comment:6 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

And the second problem I reported in the notes turned out to be because I had upgraded my Xft2 port to 2.1.12 to see what would happen. After downgrading it back to 2.1.7, openMotif compiled just fine. (I guess that answers the question of whether or not I should upgrade Xft2.)

comment:7 Changed 17 years ago by north@…

I know the bug is closed; just wanted to add that I've tested it on my system and it worked fine here too.

Dave

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.