Opened 10 years ago

Closed 10 years ago

#3572 closed defect (fixed)

procps-ng url not pointing to file

Reported by: Shurelia Owned by: lfs-book@…
Priority: normal Milestone: 7.6
Component: Book Version: SVN
Severity: minor Keywords:
Cc:

Description

The url to procps-ng is http://sourceforge.net/projects/procps-ng/files/Production/procps-ng-3.3.9.tar.xz/ which points to the download page. When downloading with wget the html page is downloaded instead of the file.

This defect also breaks the jhalfs download process.

Change History (10)

comment:1 by bdubbs@…, 10 years ago

We will need to figure out how to handle this. When clicking on the url in the book, it does the right thing for me. When using wget, I get the file, but it is named index.html. Use the file command to check it.

We probably need to remove the trailing / because that seems to work with wget.

I suppose we could just pick a sourceforge mirror and get it without all the indirection:

http://hivelocity.dl.sourceforge.net/project/procps-ng/Production/procps-ng-3.3.9.tar.xz

It's only about 550K and takes me about 6 seconds to download. traceroute shows it's 15 hops for me with about 50ms round trip time.

comment:2 by Shurelia, 10 years ago

Who can fix this? or can I somehow fix this myself?

Just bumping this as this breaks the jhalfs download and build process.

comment:3 by bdubbs@…, 10 years ago

When using jhalfs, it is extracting commands for the xml files. Just remove the trailing / from the line in packages.ent.

Alternatively, download the packages yourself instead of having jhalfs do it. Just edit the wget-list file.

comment:4 by flyingpine, 10 years ago

Also want to mention that the md5sums file has a wrong format line which is exactly the procps-ng package. So could it be fixed since that md5sums is generated automatically according to these URLs(just my guess)?

comment:5 by Pierre Labastie, 10 years ago

I have patched jhalfs (r3792), and the download is OK now, without manually editing the files. Let me know if this fixes your issue, and I'll close the ticket.

comment:6 by Shurelia, 10 years ago

The download now works, but building is still broken at procps-ng with the following errorlog:

shaga@ubuntu-lfs:/mnt/lfs/jhalfs/logs$ cat 091-procps-ng
Thu May  8 10:37:56 UTC 2014

KB: 1765576     /

/jhalfs/lfs-commands/chapter06/091-procps-ng: line 5: cd: /sources/psmisc-22.21: No such file or directory

comment:7 by Pierre Labastie, 10 years ago

Thanks for the report. I forgot about the package list generation (only changed the download url list), sorry. Should be fixed at jhalfs r3795.

comment:8 by Shurelia, 10 years ago

You can close this ticket. Thanks!

comment:9 by bdubbs@…, 10 years ago

I still need to fix it for other purposes, but I'm glad it's working for you.

comment:10 by bdubbs@…, 10 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 10557.

Note: See TracTickets for help on using tickets.