Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661256 - app-admin/hddtemp hddtemp.db not downloadable
Summary: app-admin/hddtemp hddtemp.db not downloadable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-15 16:26 UTC by Frank Krömmelbein
Modified: 2018-10-20 16:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2018-07-15 16:26:29 UTC
It would make sense that after a certain number of unsuccessful download attempts, the file get fetched from a Gentoo Mirror.


 * Trying to download the latest hddtemp.db file
--2018-07-15 17:50:39--  http://www.guzu.net/linux/hddtemp.db
Resolving www.guzu.net... 213.186.33.19
Connecting to www.guzu.net|213.186.33.19|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db [following]
--2018-07-15 17:50:39--  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Resolving download.savannah.nongnu.org... 208.118.235.200
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... ßfailed: Connection timed out.
Retrying.

--2018-07-15 17:52:50--  (try: 2)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... failed: Connection timed out.
Retrying.

--2018-07-15 17:55:02--  (try: 3)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... failed: Connection timed out.
Retrying.

--2018-07-15 17:57:14--  (try: 4)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... failed: Connection timed out.
Retrying.

--2018-07-15 17:59:30--  (try: 5)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... failed: Connection timed out.
Retrying.

--2018-07-15 18:01:46--  (try: 6)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... failed: Connection timed out.
Retrying.

--2018-07-15 18:04:03--  (try: 7)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... failed: Connection timed out.
Retrying.

--2018-07-15 18:06:19--  (try: 8)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... failed: Connection timed out.
Retrying.

--2018-07-15 18:08:39--  (try: 9)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... failed: Connection timed out.
Retrying.

--2018-07-15 18:10:59--  (try:10)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... failed: Connection timed out.
Retrying.

--2018-07-15 18:13:20--  (try:11)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... failed: Connection timed out.
Retrying.

--2018-07-15 18:15:39--  (try:12)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... failed: Connection timed out.
Retrying.

--2018-07-15 18:17:58--  (try:13)  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... ^C * The ebuild phase 'config' has been killed by signal 2.
Comment 1 Jonas Stein gentoo-dev 2018-07-15 17:44:33 UTC
can you retry with:
../app-admin/hddtemp$ GENTOO_MIRRORS="" ebuild hddtemp-0.3_beta15-r26.ebuild fetch 

it works for me.
Comment 2 Jonas Stein gentoo-dev 2018-07-15 17:47:21 UTC
Sorry, I just see the problem is a manual download in the section

pkg_config() {
    cd "${ROOT}"/usr/share/hddtemp || die

    einfo "Trying to download the latest hddtemp.db file"
    wget http://www.guzu.net/linux/hddtemp.db -O hddtemp.db \
        || die "failed to download hddtemp.db"

    update_db "hddgentoo.db" "hddtemp.db"
}

And upstream moved...
Comment 3 Frank Krömmelbein 2018-07-18 19:46:44 UTC
The server is back again, and fetching the file works again:

Configuring pkg...

 * Trying to download the latest hddtemp.db file
--2018-07-18 21:43:02--  http://www.guzu.net/linux/hddtemp.db
Resolving www.guzu.net... 213.186.33.19
Connecting to www.guzu.net|213.186.33.19|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db [following]
--2018-07-18 21:43:02--  http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db
Resolving download.savannah.nongnu.org... 208.118.235.200
Connecting to download.savannah.nongnu.org|208.118.235.200|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://www.namesdir.com/mirrors/nongnu/hddtemp/hddtemp.db [following]
--2018-07-18 21:43:03--  http://www.namesdir.com/mirrors/nongnu/hddtemp/hddtemp.db
Resolving www.namesdir.com... 69.64.50.156
Connecting to www.namesdir.com|69.64.50.156|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 29069 (28K)
Saving to: ‘hddtemp.db’

hddtemp.db          100%[===================>]  28,39K   144KB/s    in 0,2s    

2018-07-18 21:43:03 (144 KB/s) - ‘hddtemp.db’ saved [29069/29069]



@Jonas
Should i let this bug open?
I think that the ebuild should be changed for the case that upstream server is not be reachable again.
Comment 4 Thomas Albers 2018-08-20 01:17:22 UTC
The author of the program indicates that he moved hosting to GNU Savannah: http://www.guzu.net/linux/hddtemp.php

http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db would be the correct download location for the disk database.
Comment 5 Larry the Git Cow gentoo-dev 2018-10-20 16:36:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfea1064475d1d149628e811be2cf4173f04bf53

commit dfea1064475d1d149628e811be2cf4173f04bf53
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-10-20 16:35:13 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-10-20 16:35:42 +0000

    app-admin/hddtemp: Bump to follow latest Debian patchset...
    
    also multiple updates to the DB
    
    Thanks-to: Frank Krömmelbein
    Thanks-to: Thomas Albers
    Thanks-to: Paolo Pedroni
    Thanks-to: Evert
    Thanks-to: Chicago
    Closes: https://bugs.gentoo.org/627272
    Closes: https://bugs.gentoo.org/661256
    Closes: https://bugs.gentoo.org/664150
    Closes: https://bugs.gentoo.org/668176
    Closes: https://bugs.gentoo.org/497380
    Closes: https://bugs.gentoo.org/656138
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-admin/hddtemp/Manifest                      |   1 +
 app-admin/hddtemp/files/hddgentoo.db            |   6 +-
 app-admin/hddtemp/hddtemp-0.3_beta15-r27.ebuild | 114 ++++++++++++++++++++++++
 3 files changed, 119 insertions(+), 2 deletions(-)