Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#60556 closed defect (worksforme)

Distfiles for Strip7 are not found

Reported by: programmingkidx Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: strip7

Description

When I try to install strip7, Macports fails to find it. Here is its output:

$ sudo port install strip7
--->  Computing dependencies for strip7
--->  Fetching distfiles for strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://distfiles.macports.org/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://opensource.apple.com/tarballs/cctools
--->  Attempting to fetch ld64-274.1.tar.gz from http://opensource.apple.com/tarballs/ld64
--->  Attempting to fetch ld64-274.1.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://aus.us.distfiles.macports.org/macports/distfiles/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://lil.fr.distfiles.macports.org/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://cph.dk.distfiles.macports.org/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://nue.de.distfiles.macports.org/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://fco.it.distfiles.macports.org/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://kmq.jp.distfiles.macports.org/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://cjj.kr.distfiles.macports.org/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://jog.id.distfiles.macports.org/macports/distfiles/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://pek.cn.distfiles.macports.org/macports/distfiles/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://jnb.za.distfiles.macports.org/distfiles/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/strip7
Error: Failed to fetch strip7: Connection time-out after 30101 ms
Error: See /opt/local/var/macports/logs/_opt_tenfourfox-macports_devel_strip7/strip7/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port strip7 failed

I am building on Mac OS 10.4.11 (intel).

Attachments (1)

installing a bootstrap version of MacPorts and using it for modern SSL.txt (6.6 KB) - added by kencu (Ken) 4 years ago.
installing a bootstrap version of MacPorts and using it for modern SSL.txt

Download all attachments as: .zip

Change History (12)

comment:1 Changed 4 years ago by kencu (Ken)

strip7 is a custom port that exists at present only in my <https://github.com/kencu/tenfourfox-macports> repository.

So this is not a general macports issue. However I'll help you fix it here before I close the ticket.

If you added my tenfourfox-macports repo to sources.conf as per the instructions on the first page of the github repo, macports would have found it and installed it.

Did you have any trouble adding that repo?

comment:2 Changed 4 years ago by kencu (Ken)

oh, sorry-- when I look closer, I see that the port has been found, but it's having trouble finding the distfiles.

they might have moved. I will check that shortly--this one could be on me.

comment:3 Changed 4 years ago by kencu (Ken)

Owner: set to kencu
Status: newassigned
Summary: Strip7 is not foundDistfiles for Strip7 are not found

comment:4 Changed 4 years ago by kencu (Ken)

Keywords: strip7 missing removed

comment:5 Changed 4 years ago by kencu (Ken)

I just tried it, and the files were found

$ sudo port -v checksum strip7
--->  Fetching distfiles for strip7
--->  ld64-274.1.tar.gz does not exist in /opt/local/var/macports/distfiles/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://opensource.apple.com/tarballs/cctools
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   257  100   257    0     0   3472      0 --:--:-- --:--:-- --:--:--  3520
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch ld64-274.1.tar.gz from http://opensource.apple.com/tarballs/ld64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   257  100   257    0     0  12850      0 --:--:-- --:--:-- --:--:-- 13526
100  654k  100  654k    0     0  1278k      0 --:--:-- --:--:-- --:--:-- 1278k
--->  cctools-895.tar.gz does not exist in /opt/local/var/macports/distfiles/strip7
--->  Attempting to fetch cctools-895.tar.gz from http://opensource.apple.com/tarballs/cctools
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   257  100   257    0     0  15117      0 --:--:-- --:--:-- --:--:-- 15117
100 1675k  100 1675k    0     0  4720k      0 --:--:-- --:--:-- --:--:-- 8096k
--->  Verifying checksums for strip7
--->  Checksumming ld64-274.1.tar.gz
--->  Checksumming cctools-895.tar.gz

So I would say first of all, just clean and try again:

sudo port clean strip7
sudo port -v install strip7

If you run into the same error again, I can probably help you figure out why, but to get on with things and get moving, you can download the source tarballs manually as well. At least this might tell you why you aren't being able to get them.

You note there is a a certain directory MacPorts is looking to have the source files in:

ld64-274.1.tar.gz does not exist in /opt/local/var/macports/distfiles/strip7

So you have to obtain that file ld64-274.1.tar.gz and put it in that directory /opt/local/var/macports/distfiles/strip7. I usually cd into the directory and use wget, like this:

cd /opt/local/var/macports/distfiles/strip7
sudo wget http://opensource.apple.com/tarballs/ld64/ld64-274.1.tar.gz

but you could use curl, or download the file with a browser and copy it into that folder, or any of a number of methods of getting that tarball into that folder.

Then likewise with the other file, in the same folder:

cd /opt/local/var/macports/distfiles/strip7
sudo wget http://opensource.apple.com/tarballs/cctools/cctools-895.tar.gz

And then you have the source files.

And then we'll see what the next error that turns up might be, but hopefully there won't be any more hiccups for you.

I'm investing in you -- you're going to know a lot about how MacPorts works when you're done, and how to fix these minor issues yourself. Hopefully you'll find it as powerful and useful as we do, and the investment will pay off with contributions later on!

comment:6 Changed 4 years ago by kencu (Ken)

One more thing I note -- for what you are doing, building using the "-v" flag will give you a lot more useful information.

sudo port -v install strip7

is much superior for our purposes.

comment:7 Changed 4 years ago by programmingkidx

I cleaned and tried installing again:

$ sudo port -v install strip7
--->  Computing dependencies for strip7.
--->  Fetching distfiles for strip7
--->  ld64-274.1.tar.gz does not exist in /opt/local/var/macports/distfiles/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://opensource.apple.com/tarballs/cctools
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   257  100   257    0     0    119      0  0:00:02  0:00:02 --:--:--   119
100   257  100   257    0     0    119      0  0:00:02  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://opensource.apple.com/tarballs/ld64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   257  100   257    0     0    126      0  0:00:02  0:00:02 --:--:--   126
100   257  100   257    0     0    126      0  0:00:02  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://distfiles.macports.org/strip7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/strip7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://aus.us.distfiles.macports.org/macports/distfiles/strip7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://lil.fr.distfiles.macports.org/strip7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/strip7
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   266  100   266    0     0    114      0  0:00:02  0:00:02 --:--:--   114
100   266  100   266    0     0    114      0  0:00:02  0:00:02 --:--:--     0
  0   266    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://nue.de.distfiles.macports.org/strip7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://cph.dk.distfiles.macports.org/strip7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://fco.it.distfiles.macports.org/strip7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://kmq.jp.distfiles.macports.org/strip7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://cjj.kr.distfiles.macports.org/strip7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://pek.cn.distfiles.macports.org/macports/distfiles/strip7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://jog.id.distfiles.macports.org/macports/distfiles/strip7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/strip7
--->  Attempting to fetch ld64-274.1.tar.gz from http://jnb.za.distfiles.macports.org/distfiles/strip7
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   178  100   178    0     0     62      0  0:00:02  0:00:02 --:--:--    62
100   178  100   178    0     0     62      0  0:00:02  0:00:02 --:--:--     0--->  Attempting to fetch ld64-274.1.tar.gz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/strip7
Error: Failed to fetch strip7: Connection time-out after 30101 ms
Error: See /opt/local/var/macports/logs/_opt_tenfourfox-macports_devel_strip7/strip7/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port strip7 failed

I don't have wget but I did try using curl like this: sudo curl http://opensource.apple.com/tarballs/cctools/cctools-895.tar.gz --output cctools-895.tar.gz

The result is a message stating the file has moved.

When I tried pasting the URL in my browser it worked. Moving the files into the strip7 folder and trying to install strip7 again worked :)

My theory is this is some kind of certificate/openssl issue.

comment:8 Changed 4 years ago by programmingkidx

When you were building Strip7, did you do it under Mac OS 10.4?

comment:9 Changed 4 years ago by kencu (Ken)

Yes, I built it under 10.4. You likely are seeing an openssl issue.

MacPorts at present is built against the system SSL parts in /usr/lib/, and on 10.4 to 10.9 these are too old to be reliable. You don't see the error often, as you get most files from macports' distfile mirrors, which have degraded SSL to allow older systems. See 51516.

Since about 2016, what I have done is install newer SSL and build macports against that, on all systems < 10.10. Then it works everywhere. I have written the process up from time to time over the past several years, but it has not been encouraged to users. It is a simple process, although on Tiger it takes a while because you need to build apple-gcc42 again.

Last edited 4 years ago by kencu (Ken) (previous) (diff)

comment:10 Changed 4 years ago by kencu (Ken)

I will write up the process so you don't go down the wrong road and have to start over.

comment:11 Changed 4 years ago by kencu (Ken)

Resolution: worksforme
Status: assignedclosed

We'll close this ticket for macports purposes, now that you have it working.

Changed 4 years ago by kencu (Ken)

installing a bootstrap version of MacPorts and using it for modern SSL.txt

Note: See TracTickets for help on using tickets.