Hanging downloads?

Get help, report and discuss bugs.
hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Hanging downloads?

Post by hugbug » 07 Dec 2008, 23:52

I've just updated configure-script for better compatibility with FreeBSD.

I now can build nzbget on FreeBSD-7.0 without parcheck/repair-support using configure without any with-xxx-arguments or export commands:

Code: Select all

./configure --disable-parcheck
make
Please try this with new svn-version.

I couldn't built with parcheck, because I didn't figured out the way to install libpar2-port. "pkg_add -r libpar2" can't find libpar in ports-repository. BTW, if I install nzbget with "pkg_add -r nzbget" it installs version 0.2.3. I probably need to update ports tree or set up another path.

licolan
Posts: 9
Joined: 05 Dec 2008, 00:31

Re: Hanging downloads?

Post by licolan » 08 Dec 2008, 21:08

Now the configuration script ends successfully but build fails. It seems that make was expecting autoconf 2.61, but my system has autoconf 2.62. The configure script ended successfully without --disable-parcheck also.

The port version of nzbget-0.5.1 sets a few variables before configuring and building the package, it also patches the configure script and nzbget.cpp.

The patch files are under the "files" directory in this site: http://www.freebsd.org/cgi/cvsweb.cgi/p ... ws/nzbget/

I don't know how much of a difference there is between configuring/building 5.1 and the latest version, but if there is no much change, I probably could

a) compress the source files for the latest version into a file called nzbget-0.6.0.tar.gz,
b) place the file into the /usr/ports/distfiles directory,
c) create a new folder under the ports three, for example, /usr/ports/news/nzbget-devel and copy the default directory and files form the nzbget folder for 5.1, and
d) change the PORTVERSION variable of the Makefile in the new folder to 0.6.0.

I think this should setup the environment for configuring and building the latest version the same way is in version 5.1

Probably the patch files used for the old version can be deleted for this version because the current version of the configuration script completes successfully, and because nzbget.cpp has changed too much since the previous version.

The new folder would be deleted next time the port three is synchronized against the FreeBSD server.



root@casa:/home/lico/nzbget/trunk# ./configure --disable-parcheck
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking build system type... i386-unknown-freebsd7.0
checking host system type... i386-unknown-freebsd7.0
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no
checking for ranlib... ranlib
checking whether make sets $(MAKE)... (cached) yes
checking for false... /usr/bin/false
checking for true... /usr/bin/true
checking for rm... /bin/rm
checking for ln... /bin/ln
checking for tar... /usr/bin/tar
checking for ar... /usr/bin/ar
checking for make... /usr/bin/make
checking for cpp... /usr/bin/cpp
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for cp... /bin/cp
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking for library containing pthread_create... -lpthread
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for library containing hstrerror... none required
checking for getopt_long... yes
checking for stat64... no
checking for ctime_r... yes, and it takes 2 arguments
checking for __FUNCTION__ macro... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxml2... yes
checking libxml/tree.h usability... yes
checking libxml/tree.h presence... yes
checking for libxml/tree.h... yes
checking for library containing xmlNewNode... none required
checking whether to use curses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for library containing refresh... -lncurses
checking whether to include code for par-checking... no
checking whether to use TLS/SSL... yes
checking gnutls/gnutls.h usability... no
checking gnutls/gnutls.h presence... no
checking for gnutls/gnutls.h... no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for library containing SSL_library_init... -lssl
checking whether to include all debugging code... no
checking for variadic macros... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
root@casa:/home/lico/nzbget/trunk# make
cd . && /bin/sh /usr/home/lico/nzbget/trunk/missing --run autoconf
aclocal.m4:14: error: this file was generated for autoconf 2.61.
You have another version of autoconf. If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:14: the top level
autom4te-2.62: /usr/local/bin/gm4 failed with exit status: 63
*** Error code 1

Stop in /usr/home/lico/nzbget/trunk.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Hanging downloads?

Post by hugbug » 08 Dec 2008, 23:24

Normally you don't need autoconf and automake. But there is a problem if the files were taken from svn. File timestamps are not preserved. After getting all files they have timestamps in order they were fetched. "Make" see that "Makefile.in" is older than "Makefile.am" and wants to run automake. The same for "configure" and "configure.ac".

To avoid that do one of the following:
  1. Ensure "Makefile.in" is older than "Makefile.am" and "configure" is older than "configure.ac":

    Code: Select all

    touch configure
    touch Makefile.in
    ./configure
  2. Or use configure-switch "--disable-dependency-tracking":

    Code: Select all

    ./configure --disable-dependency-tracking
Don't waste your time on port. The build process should work without port. At least with "--disabe-parcheck" - I have tested that on FreeBSD myself.

licolan
Posts: 9
Joined: 05 Dec 2008, 00:31

Re: Hanging downloads?

Post by licolan » 08 Dec 2008, 23:35

I performed the steps of my previous post, and I was able to configure, build and install the r265 of the program. I went with r265 because I noticed that for version 0.5.1 the version for general release (without any modifications for FreeBSD) is downloaded from SourceForge. I also ended up having to apply the patch for nzbget.cpp also because build was failing on "nzbget.cpp:541: error: 'PR_SET_DUMPABLE' was not declared in this scope," and I noticed the patch removed this "Linux-specific functionality". Now when I execute nzbget -v the program displays "nzbget version: 0.6.0-testing"

root@casa:/usr/ports/news/nzbget-dev# make
===> Vulnerability check disabled, database not found
===> Found saved configuration for nzbget-0.4.1
===> Extracting for nzbget-0.6.0
=> MD5 Checksum OK for nzbget-0.6.0.tar.gz.
=> SHA256 Checksum OK for nzbget-0.6.0.tar.gz.
===> Patching for nzbget-0.6.0
===> Applying FreeBSD patches for nzbget-0.6.0
===> nzbget-0.6.0 depends on executable: gmake - found
===> nzbget-0.6.0 depends on shared library: xml2.5 - found
===> nzbget-0.6.0 depends on shared library: uu.3 - found
===> nzbget-0.6.0 depends on shared library: par2 - found
===> Configuring for nzbget-0.6.0
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking build system type... i386-portbld-freebsd7.0
checking host system type... i386-portbld-freebsd7.0
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by gmake... GNU
checking dependency style of c++... gcc3
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether cc needs -traditional... no
checking for ranlib... ranlib
checking whether gmake sets $(MAKE)... (cached) yes
checking for false... /usr/bin/false
checking for true... /usr/bin/true
checking for rm... /bin/rm
checking for ln... /bin/ln
checking for tar... /usr/bin/tar
checking for ar... /usr/bin/ar
checking for make... /usr/bin/make
checking for cpp... /usr/bin/cpp
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for cp... /bin/cp
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for library containing pthread_create... none required
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for library containing hstrerror... none required
checking for getopt_long... yes
checking for stat64... no
checking for ctime_r... yes, and it takes 2 arguments
checking for __FUNCTION__ macro... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libxml/tree.h usability... yes
checking libxml/tree.h presence... yes
checking for libxml/tree.h... yes
checking for library containing xmlNewNode... -lxml2
checking whether to use curses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for library containing refresh... -lncurses
checking whether to include code for par-checking... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBSIGC... yes
checking how to run the C++ preprocessor... /usr/bin/cpp
checking sigc++/type_traits.h usability... yes
checking sigc++/type_traits.h presence... yes
checking for sigc++/type_traits.h... yes
checking libpar2/libpar2.h usability... yes
checking libpar2/libpar2.h presence... yes
checking for libpar2/libpar2.h... yes
checking whether libpar2 supports cancelling... no
checking whether to use TLS/SSL... yes
checking gnutls/gnutls.h usability... no
checking gnutls/gnutls.h presence... no
checking for gnutls/gnutls.h... no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for library containing SSL_library_init... -lssl
checking whether to include all debugging code... no
checking for variadic macros... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
===> Building for nzbget-0.6.0
/usr/bin/make all-am
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT ArticleDownloader.o -MD -MP -MF .deps/ArticleDownloader.Tpo -c -o ArticleDownloader.o ArticleDownloader.cpp
mv -f .deps/ArticleDownloader.Tpo .deps/ArticleDownloader.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT BinRpc.o -MD -MP -MF .deps/BinRpc.Tpo -c -o BinRpc.o BinRpc.cpp
mv -f .deps/BinRpc.Tpo .deps/BinRpc.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT ColoredFrontend.o -MD -MP -MF .deps/ColoredFrontend.Tpo -c -o ColoredFrontend.o ColoredFrontend.cpp
mv -f .deps/ColoredFrontend.Tpo .deps/ColoredFrontend.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT Connection.o -MD -MP -MF .deps/Connection.Tpo -c -o Connection.o Connection.cpp
mv -f .deps/Connection.Tpo .deps/Connection.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT Decoder.o -MD -MP -MF .deps/Decoder.Tpo -c -o Decoder.o Decoder.cpp
mv -f .deps/Decoder.Tpo .deps/Decoder.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT DiskState.o -MD -MP -MF .deps/DiskState.Tpo -c -o DiskState.o DiskState.cpp
mv -f .deps/DiskState.Tpo .deps/DiskState.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT DownloadInfo.o -MD -MP -MF .deps/DownloadInfo.Tpo -c -o DownloadInfo.o DownloadInfo.cpp
mv -f .deps/DownloadInfo.Tpo .deps/DownloadInfo.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT Frontend.o -MD -MP -MF .deps/Frontend.Tpo -c -o Frontend.o Frontend.cpp
mv -f .deps/Frontend.Tpo .deps/Frontend.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT Log.o -MD -MP -MF .deps/Log.Tpo -c -o Log.o Log.cpp
mv -f .deps/Log.Tpo .deps/Log.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT LoggableFrontend.o -MD -MP -MF .deps/LoggableFrontend.Tpo -c -o LoggableFrontend.o LoggableFrontend.cpp
mv -f .deps/LoggableFrontend.Tpo .deps/LoggableFrontend.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT NCursesFrontend.o -MD -MP -MF .deps/NCursesFrontend.Tpo -c -o NCursesFrontend.o NCursesFrontend.cpp
mv -f .deps/NCursesFrontend.Tpo .deps/NCursesFrontend.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT NNTPConnection.o -MD -MP -MF .deps/NNTPConnection.Tpo -c -o NNTPConnection.o NNTPConnection.cpp
mv -f .deps/NNTPConnection.Tpo .deps/NNTPConnection.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT NZBFile.o -MD -MP -MF .deps/NZBFile.Tpo -c -o NZBFile.o NZBFile.cpp
mv -f .deps/NZBFile.Tpo .deps/NZBFile.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT NetAddress.o -MD -MP -MF .deps/NetAddress.Tpo -c -o NetAddress.o NetAddress.cpp
mv -f .deps/NetAddress.Tpo .deps/NetAddress.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT NewsServer.o -MD -MP -MF .deps/NewsServer.Tpo -c -o NewsServer.o NewsServer.cpp
mv -f .deps/NewsServer.Tpo .deps/NewsServer.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT Observer.o -MD -MP -MF .deps/Observer.Tpo -c -o Observer.o Observer.cpp
mv -f .deps/Observer.Tpo .deps/Observer.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT Options.o -MD -MP -MF .deps/Options.Tpo -c -o Options.o Options.cpp
mv -f .deps/Options.Tpo .deps/Options.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT ParChecker.o -MD -MP -MF .deps/ParChecker.Tpo -c -o ParChecker.o ParChecker.cpp
In file included from /usr/local/include/libpar2/par2cmdline.h:264,
from ParChecker.cpp:44:
/usr/local/include/libpar2/par2fileformat.h:67: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash'
/usr/local/include/libpar2/par2fileformat.h:68: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid'
/usr/local/include/libpar2/par2fileformat.h:79: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash'
/usr/local/include/libpar2/par2fileformat.h:84: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header'
/usr/local/include/libpar2/par2fileformat.h:86: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid'
/usr/local/include/libpar2/par2fileformat.h:87: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries [0u]'
/usr/local/include/libpar2/par2fileformat.h:99: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header'
/usr/local/include/libpar2/par2fileformat.h:101: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid'
/usr/local/include/libpar2/par2fileformat.h:102: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull'
/usr/local/include/libpar2/par2fileformat.h:103: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k'
/usr/local/include/libpar2/par2fileformat.h:127: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header'
/usr/local/include/libpar2/par2fileformat.h:131: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0u]'
/usr/local/include/libpar2/par2fileformat.h:141: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header'
/usr/local/include/libpar2/par2fileformat.h:151: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header'
In file included from /usr/local/include/libpar2/par2cmdline.h:288,
from ParChecker.cpp:44:
/usr/local/include/libpar2/par1fileformat.h:41: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash'
/usr/local/include/libpar2/par1fileformat.h:42: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash'
/usr/local/include/libpar2/par1fileformat.h:56: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull'
/usr/local/include/libpar2/par1fileformat.h:57: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k'
mv -f .deps/ParChecker.Tpo .deps/ParChecker.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT PrePostProcessor.o -MD -MP -MF .deps/PrePostProcessor.Tpo -c -o PrePostProcessor.o PrePostProcessor.cpp
mv -f .deps/PrePostProcessor.Tpo .deps/PrePostProcessor.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT QueueCoordinator.o -MD -MP -MF .deps/QueueCoordinator.Tpo -c -o QueueCoordinator.o QueueCoordinator.cpp
mv -f .deps/QueueCoordinator.Tpo .deps/QueueCoordinator.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT QueueEditor.o -MD -MP -MF .deps/QueueEditor.Tpo -c -o QueueEditor.o QueueEditor.cpp
mv -f .deps/QueueEditor.Tpo .deps/QueueEditor.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT RemoteClient.o -MD -MP -MF .deps/RemoteClient.Tpo -c -o RemoteClient.o RemoteClient.cpp
mv -f .deps/RemoteClient.Tpo .deps/RemoteClient.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT RemoteServer.o -MD -MP -MF .deps/RemoteServer.Tpo -c -o RemoteServer.o RemoteServer.cpp
mv -f .deps/RemoteServer.Tpo .deps/RemoteServer.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT Scheduler.o -MD -MP -MF .deps/Scheduler.Tpo -c -o Scheduler.o Scheduler.cpp
mv -f .deps/Scheduler.Tpo .deps/Scheduler.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT ScriptController.o -MD -MP -MF .deps/ScriptController.Tpo -c -o ScriptController.o ScriptController.cpp
mv -f .deps/ScriptController.Tpo .deps/ScriptController.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT ServerPool.o -MD -MP -MF .deps/ServerPool.Tpo -c -o ServerPool.o ServerPool.cpp
mv -f .deps/ServerPool.Tpo .deps/ServerPool.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT TLS.o -MD -MP -MF .deps/TLS.Tpo -c -o TLS.o TLS.cpp
mv -f .deps/TLS.Tpo .deps/TLS.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT Thread.o -MD -MP -MF .deps/Thread.Tpo -c -o Thread.o Thread.cpp
mv -f .deps/Thread.Tpo .deps/Thread.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT Util.o -MD -MP -MF .deps/Util.Tpo -c -o Util.o Util.cpp
mv -f .deps/Util.Tpo .deps/Util.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT XmlRpc.o -MD -MP -MF .deps/XmlRpc.Tpo -c -o XmlRpc.o XmlRpc.cpp
mv -f .deps/XmlRpc.Tpo .deps/XmlRpc.Po
c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT nzbget.o -MD -MP -MF .deps/nzbget.Tpo -c -o nzbget.o nzbget.cpp
mv -f .deps/nzbget.Tpo .deps/nzbget.Po
c++ -O2 -fno-strict-aliasing -pipe -pthread -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lsigc-2.0 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o nzbget ArticleDownloader.o BinRpc.o ColoredFrontend.o Connection.o Decoder.o DiskState.o DownloadInfo.o Frontend.o Log.o LoggableFrontend.o NCursesFrontend.o NNTPConnection.o NZBFile.o NetAddress.o NewsServer.o Observer.o Options.o ParChecker.o PrePostProcessor.o QueueCoordinator.o QueueEditor.o RemoteClient.o RemoteServer.o Scheduler.o ScriptController.o ServerPool.o TLS.o Thread.o Util.o XmlRpc.o nzbget.o -lssl -lncurses -lxml2 -lpar2
root@casa:/usr/ports/news/nzbget-dev# make install
===> Installing for nzbget-0.6.0
===> nzbget-0.6.0 depends on shared library: xml2.5 - found
===> nzbget-0.6.0 depends on shared library: uu.3 - found
===> nzbget-0.6.0 depends on shared library: par2 - found
===> Generating temporary packing list
===> Checking if news/nzbget-dev already installed
test -z "/usr/local/bin" || ./install-sh -c -d "/usr/local/bin"
install -s -o root -g wheel -m 555 'nzbget' '/usr/local/bin/nzbget'
/bin/mkdir -p /usr/local/share/doc/nzbget
install -o root -g wheel -m 444 /usr/ports/news/nzbget-dev/work/nzbget-0.6.0/README /usr/local/share/doc/nzbget
/bin/mkdir -p /usr/local/share/examples/nzbget
install -o root -g wheel -m 444 /usr/ports/news/nzbget-dev/work/nzbget-0.6.0/nzbget.conf.example /usr/local/share/examples/nzbget
===> Registering installation for nzbget-0.6.0
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/bin/nzbget

If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.

For more information, and contact details about the security
status of this software, see the following webpage:
http://sourceforge.net/projects/nzbget/
root@casa:/usr/ports/news/nzbget-dev# nzbget -v
nzbget version: 0.6.0-testing

licolan
Posts: 9
Joined: 05 Dec 2008, 00:31

Re: Hanging downloads?

Post by licolan » 09 Dec 2008, 16:46

The latest version did not fix the problem in my system.

lico@casa:~$ nzbget -L | grep '\[' | head
[567] TRF/TRF.part045.rar (47.68 MB, 98%)
[606] TRF/TRF.part084.rar (47.68 MB, 98%)
[628] TRF/TRF.part106.rar (47.68 MB, 98%)
[633] TRF/TRF.part111.rar (47.68 MB, 98%)
[636] TRF/TRF.part114.rar (47.68 MB, 98%)
[652] TRF/TRF.part130.rar (47.68 MB, 98%)
[671] TRF/TRF.part149.rar (47.68 MB, 56%)
[672] TRF/TRF.part150.rar (47.68 MB)
[673] TRF/TRF.part151.rar (47.68 MB)
[674] TRF/TRF.part152.rar (47.68 MB)
lico@casa:~$ tail -f .nzbgethome/nzbget.log | grep part045.rar
Tue Dec 9 08:38:28 2008 DETAIL Downloading TRF/TRF.part045.rar [2/98] @ news.surfcity.net
Tue Dec 9 08:38:28 2008 WARNING Article TRF/TRF.part045.rar [2/98] @ news.surfcity.net failed, could not join group: Connection closed by remote host
Tue Dec 9 08:38:37 2008 DETAIL Downloading TRF/TRF.part045.rar [2/98] @ news.surfcity.net
Tue Dec 9 08:38:37 2008 WARNING Article TRF/TRF.part045.rar [2/98] @ news.surfcity.net failed, could not join group: Connection closed by remote host
Tue Dec 9 08:38:45 2008 DETAIL Downloading TRF/TRF.part045.rar [2/98] @ news.surfcity.net
Tue Dec 9 08:38:46 2008 WARNING Article TRF/TRF.part045.rar [2/98] @ news.surfcity.net failed, could not join group: Connection closed by remote host
Tue Dec 9 08:38:49 2008 DETAIL Downloading TRF/TRF.part045.rar [2/98] @ news.surfcity.net
Tue Dec 9 08:38:50 2008 WARNING Article TRF/TRF.part045.rar [2/98] @ news.surfcity.net failed, could not join group: Connection closed by remote host
Tue Dec 9 08:38:58 2008 DETAIL Downloading TRF/TRF.part045.rar [2/98] @ news.surfcity.net
Tue Dec 9 08:38:59 2008 WARNING Article TRF/TRF.part045.rar [2/98] @ news.surfcity.net failed, could not join group: Connection closed by remote host
Tue Dec 9 08:39:07 2008 DETAIL Downloading TRF/TRF.part045.rar [2/98] @ news.surfcity.net
Tue Dec 9 08:39:08 2008 WARNING Article TRF/TRF.part045.rar [2/98] @ news.surfcity.net failed, could not join group: Connection closed by remote host
Tue Dec 9 08:39:16 2008 DETAIL Downloading TRF/TRF.part045.rar [2/98] @ news.surfcity.net
Tue Dec 9 08:39:16 2008 WARNING Article TRF/TRF.part045.rar [2/98] @ news.surfcity.net failed, could not join group: Connection closed by remote host
Tue Dec 9 08:39:25 2008 DETAIL Downloading TRF/TRF.part045.rar [2/98] @ news.surfcity.net
Tue Dec 9 08:39:25 2008 WARNING Article TRF/TRF.part045.rar [2/98] @ news.surfcity.net failed, could not join group: Connection closed by remote host

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Hanging downloads?

Post by hugbug » 09 Dec 2008, 18:55

I need the log file with debug info for further investigation.
Please configure with "--enable-debug", activate all logtargets in config file (debugtarget=both or debugtarget=log, etc.).
When the error appears again send me your log-file and the output of "nzbget -L".

licolan
Posts: 9
Joined: 05 Dec 2008, 00:31

Re: Hanging downloads?

Post by licolan » 09 Dec 2008, 20:45

The problem is not as bad when I lower the number of simultaneous connections to the server. It was the most apparent when I had Server1.Connections set to 8. Then I lowered the number to 4 and improved. I just recompiled, reinstalled with the --enable-debug, and restarted the program with all log targets enabled. I also lowered Server1.Connections to 2. So far the problem has not reappeared. I will send you the log file if it happens again.

Thanks for all your help Hugbug.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Hanging downloads?

Post by hugbug » 13 Dec 2008, 16:54

How it's going?
Can you please set 8 or 4 connections (to provoke errors) to test if the fix helps?

Post Reply

Who is online

Users browsing this forum: No registered users and 57 guests