Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#60354 closed defect (worksforme)

glib2: fetch failure

Reported by: Disiwidya Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: glib2

Description

I am currently running macOS Catalina 10.15.4. I have tried cleaning, reinstalling searching through the logs and have not been able to get this gnuradio port to install. I have the latest version of Xcode and macports with tools installed.

The most recent attempt provided this in console when running 'sudo port install gnuradio'. Any ideas?

--->  Computing dependencies for gnuradio
--->  Fetching archive for glib2
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
--->  Attempting to fetch glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/glib2
--->  Attempting to fetch glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2.rmd160 from http://jog.id.packages.macports.org/macports/packages/glib2
Error: Failed to archivefetch glib2: Failed to fetch signature for archive: Operation too slow. Less than 1024 bytes/sec transferred the last 60 seconds
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gnuradio failed

Change History (10)

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

looks like that particular mirror is not behaving very well:

$ wget http://jog.id.packages.macports.org/macports/packages/glib2/glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2
--2020-04-14 20:14:04--  http://jog.id.packages.macports.org/macports/packages/glib2/glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2
Resolving jog.id.packages.macports.org (jog.id.packages.macports.org)... 175.111.88.15
Connecting to jog.id.packages.macports.org (jog.id.packages.macports.org)|175.111.88.15|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4597863 (4.4M) [text/plain]
Saving to: ‘glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2’

glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2           0%[                                                                                                        ]  28.28K  --.-KB/s    eta 69m 18s

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

but here it came down in 0.4s for me:

$ wget http://packages.macports.org/macports/packages/glib2/glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2
--2020-04-14 20:17:41--  http://packages.macports.org/macports/packages/glib2/glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2
Resolving packages.macports.org (packages.macports.org)... 23.111.9.35
Connecting to packages.macports.org (packages.macports.org)|23.111.9.35|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://packages.macports.org/glib2/glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2 [following]
--2020-04-14 20:17:42--  http://packages.macports.org/glib2/glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2
Reusing existing connection to packages.macports.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 4597863 (4.4M) [application/x-bzip2]
Saving to: ‘glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2’

glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2         100%[=======================================================================================================>]   4.38M  10.8MB/s    in 0.4s    

2020-04-14 20:17:42 (10.8 MB/s) - ‘glib2-2.58.3_0+x11.darwin_19.x86_64.tbz2’ saved [4597863/4597863]

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

Priority: HighNormal

If that server does not start behaving for you, you can add jog.id.packages.macports.org to host_blacklist in /opt/local/etc/macports/macports.conf.

comment:4 Changed 5 years ago by Disiwidya

Hi ryan...thanks for the quick response. I've tried but it seems I am still seeing the same error.

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

Replying to Disiwidya:

Hi ryan...thanks for the quick response. I've tried but it seems I am still seeing the same error.

That's unfortunate. Hope it starts working for you...

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

comment:6 Changed 5 years ago by mf2k (Frank Schima)

In the future, please fill in the Port field with the port that fails to build and Cc the port maintainer(s) (port info --maintainers glib2).

comment:7 Changed 5 years ago by mf2k (Frank Schima)

Owner: set to ryandesign
Port: glib2 added; gnuradio removed
Status: newassigned

comment:8 Changed 5 years ago by mf2k (Frank Schima)

Summary: Error: Processing of port gnuradio failedglib2: fetch failure

comment:9 Changed 5 years ago by jmroot (Joshua Root)

I've noticed that jog.id has been considerably slower than other mirrors despite often having the lowest ping for me. It's never timed out like this for me though.

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

Resolution: worksforme
Status: assignedclosed

It worked for me just now, downloading the file in 18 seconds (the server is in India and I'm in the U.S.), so let's assume it was a temporary problem with their server or network. If this kind of thing keeps happening though then we can report it to the server administrators.

Note: See TracTickets for help on using tickets.