Opened 10 years ago

Closed 10 years ago

#44886 closed defect (fixed)

fltk: fltk-1.3.2-source.tar.gz does not exist in /opt/local/var/macports/distfiles/fltk

Reported by: ReddyKilowatt (Reddy Kilowatt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: fltk

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

While installing the sound port on Mavericks using

sudo port self update
sudo port install csound

these messages were displayed

sudo port install csound
--->  Computing dependencies for csound
--->  Dependencies to be installed: fltk libsndfile flac libogg libvorbis scons
--->  Verifying checksums for fltk
Error: org.macports.checksum for port fltk returned: fltk-1.3.2-source.tar.gz does not exist in /opt/local/var/macports/distfiles/fltk
Error: Failed to install fltk
Please see the log file for port fltk for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_fltk/fltk/main.log
Error: The following dependencies were not installed: fltk libsndfile flac libogg libvorbis scons

Attachments (2)

main.log (1.8 KB) - added by ReddyKilowatt (Reddy Kilowatt) 10 years ago.
main.log
main.2.log (4.5 KB) - added by ReddyKilowatt (Reddy Kilowatt) 10 years ago.

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by ReddyKilowatt (Reddy Kilowatt)

Attachment: main.log added

main.log

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

Description: modified (diff)
Port: fltk added; csound removed
Summary: Cannot install csound port - due to checksum file error in fltkfltk: fltk-1.3.2-source.tar.gz does not exist in /opt/local/var/macports/distfiles/fltk

The log says:

:error:checksum org.macports.checksum for port fltk returned: fltk-1.3.2-source.tar.gz does not exist in /opt/local/var/macports/distfiles/fltk

Please clean and try again.

Remember also to use WikiFormatting when writing in Trac.

comment:2 Changed 10 years ago by ReddyKilowatt (Reddy Kilowatt)

I have forgotten to mention that I tried cleaning the port and do the install again. Cleaning appears to be ineffective (broken ?), as the failure occurs again instantly, without downloading any of the packages again.

Last edited 10 years ago by ReddyKilowatt (Reddy Kilowatt) (previous) (diff)

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

The log you attached was not from a clean build attempt (it contains lines saying "Skipping completed"). If you're still having a problem, please attach a new log created after running "sudo port clean fltk" and "sudo port install fltk".

Changed 10 years ago by ReddyKilowatt (Reddy Kilowatt)

Attachment: main.2.log added

comment:4 Changed 10 years ago by ReddyKilowatt (Reddy Kilowatt)

sudo port clean fltk
sudo port install fltk

works fine.

However, I need to install sound and fltk is a dependency for csound.

sudo port install csound fails again due to the original problem with the fltk package.

Tonys-MacBook-Pro-2:git tonycmigrated$ sudo port clean fltk
--->  Cleaning fltk

Tonys-MacBook-Pro-2:git tonycmigrated$ sudo port clean csound
--->  Cleaning csound

Tonys-MacBook-Pro-2:git tonycmigrated$ sudo port install fltk
--->  Computing dependencies for fltk
--->  Cleaning fltk
--->  Scanning binaries for linking errors

Tonys-MacBook-Pro-2:git tonycmigrated$ sudo port install csound
--->  Computing dependencies for fltk
--->  Fetching archive for fltk
--->  Attempting to fetch fltk-1.3.2_2+universal.darwin_13.i386-x86_64.tbz2 from http://packages.macports.org/fltk
--->  Attempting to fetch fltk-1.3.2_2+universal.darwin_13.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/fltk
--->  Attempting to fetch fltk-1.3.2_2+universal.darwin_13.i386-x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/fltk
--->  Fetching distfiles for fltk
--->  Attempting to fetch fltk-1.3.2-source.tar.gz from http://ftp.easysw.com/pub/fltk/1.3.2/
--->  Verifying checksums for fltk
Error: Checksum (rmd160) mismatch for fltk-1.3.2-source.tar.gz
Error: Checksum (sha256) mismatch for fltk-1.3.2-source.tar.gz
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
The file has been moved to: /opt/local/var/macports/distfiles/fltk/fltk-1.3.2-source.tar.gz.html
Error: org.macports.checksum for port fltk returned: Unable to verify file checksums
Please see the log file for port fltk for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_fltk/fltk/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade fltk failed
Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Aha, so that shows us what the real problem is: the file MacPorts tried to download was not a valid tarball. The reason for this seems to be that the developers of fltk rearranged their web site and did not install HTTP redirects to accommodate people using the older addresses.

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

Resolution: fixed
Status: assignedclosed

Fixed in r125340.

Note: See TracTickets for help on using tickets.