pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47424: pkgsrc "make fetch" fails to fetch fotoxx-13.01.tar.gz for graphics/fotoxx



>Number:         47424
>Category:       pkg
>Synopsis:       pkgsrc "make fetch" fails to fetch fotoxx-13.01.tar.gz for 
>graphics/fotoxx
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 09 06:05:00 +0000 2013
>Originator:     Robert Elz
>Release:        NetBSD 5.1_STABLE   (pkgsrc current 2013-01-09)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.1_STABLE NetBSD 5.1_STABLE 
(JADE-1.12-20120130) #27: Tue Jan 31 05:20:31 ICT 2012 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/5/kernels/i386/JADE i386
Architecture: i386
Machine: i386
>Description:
        For some undetermined (so far) reason, a "make fetch" (or "make
        checksum") in graphics/fotoxx stalls after fetching 2129920 of the
        expected 2131822 bytes that are in the file.

        wget fetches the file correctly (after fetching that way the size
        and checksum are as expected).   So does ftp, if it is left long
        enough (the pkgsrc fetch times out after stalling for 121 seconds,
        which is apparently not long enough for those last 1902 bytes to
        arrive).

        f.n.b currently has a fotoxx-13.01.tar.gz that is (exactly) 32KB
        in its distfiles directory (probably caused by a transfer that
        failed in a similar way).   That needs to be removed and the transfer
        redone.

        I have no love (to put it mildly) for using the http protocol to
        fetch files (a http:// url), but there must be something broken
        in the ftp client (in NetBSD 5, and current) that causes the fetch
        to stall (very repeatably) at that point.

        I tried the same thing using NetBSD current (amd64) (well, 6.99.15
        from early December, so not quite current) - it also stalled at
        the same point, and also eventually recovered.

>How-To-Repeat:
        Using NetBSD 5, attempt ...

   ftp http://www.kornelix.com/uploads/1/3/0/3/13035936/fotoxx-13.01.tar.gz

        Watch it get to 2080KiB (2129920 bytes) and stall - then just wait,
        a fairly long time, and it will complete.  Try again
        using wget, and observe it complete correctly, and quickly.

        Try using "make fetch" and observe pkgsrc detect the stalled ftp
        and kill it before it has a chance to finish.

>Fix:
        No idea at the minute (obvious workaround would be to add a
        "FETCH_USING" or whatever it is so wget is always used, or do
        something to alter the timeout) - but whatever is making ftp
        behave differently than wget here really needs to be fixed.



Home | Main Index | Thread Index | Old Index