Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123868 - httrack-3.40 did not compile
Summary: httrack-3.40 did not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Marcelo Goes (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 15:36 UTC by Mehmet Kemal EROL
Modified: 2006-02-25 09:18 UTC (History)
1 user (show)

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


Attachments
httrack-3.40.1-include-htsnet.patch (httrack-3.40.1-include-htsnet.patch,373 bytes, patch)
2006-02-24 10:22 UTC, Marcelo Goes (RETIRED)
Details | Diff
httrack-3.40.2.log (4659-httrack-3.40.2.log,155.98 KB, text/plain)
2006-02-25 06:11 UTC, Mehmet Kemal EROL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mehmet Kemal EROL 2006-02-23 15:36:57 UTC
albeit mentioned in its ebuild, i have tried to compile www-client/httrack-3.40 with an explicit, thus modified -j1 entry in my make.conf file ... no success:

if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O -g3 -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wnested-externs -D_REENTRANT -DINET6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib64"\"  -I/usr/include  -march=k8 -O2 -pipe -MT htsweb.o -MD -MP -MF ".deps/htsweb.Tpo" \
  -c -o htsweb.o `test -f 'htsweb.c' || echo './'`htsweb.c; \
then mv -f ".deps/htsweb.Tpo" ".deps/htsweb.Po"; \
else rm -f ".deps/htsweb.Tpo"; exit 1; \
fi
In file included from htsweb.c:64:
htsmd5.c: In function `md5sum32':
htsmd5.c:90: warning: unused variable `md5digest_'
In file included from htsweb.c:67:
htsserver.h: In function `linputsoc':
htsserver.h:125: warning: implicit declaration of function `recv'
htsserver.h:125: warning: nested extern declaration of `recv'
In file included from /usr/include/sys/socket.h:8,
                 from /usr/include/gentoo-multilib/amd64/netinet/in.h:24,
                 from /usr/include/netinet/in.h:8,
                 from /usr/include/gentoo-multilib/amd64/netdb.h:28,
                 from /usr/include/netdb.h:8,
                 from htsnet.h:56,
                 from htslib.h:48,
                 from htscore.h:75,
                 from htsweb.h:41,
                 from htsweb.c:68:
/usr/include/gentoo-multilib/amd64/sys/socket.h: At top level:
/usr/include/gentoo-multilib/amd64/sys/socket.h:143: error: conflicting types for 'recv'
htsserver.h:125: error: previous implicit declaration of 'recv' was here
htsstrings.h:61: warning: 'StringBuffN_' defined but not used
htsstrings.h:90: warning: 'StringAcquire' defined but not used
htsstrings.h:116: warning: 'unescapehttp' defined but not used
htsserver.h:97: warning: 'htslang_load' declared `static' but never defined
htsserver.h:98: warning: 'conv_printf' declared `static' but never defined
htsserver.h:99: warning: 'LANG_DELETE' declared `static' but never defined
htsserver.h:100: warning: 'LANG_INIT' declared `static' but never defined
htsserver.h:101: warning: 'LANG_T' declared `static' but never defined
htsserver.h:102: warning: 'QLANG_T' declared `static' but never defined
htsserver.h:103: warning: 'LANGSEL' declared `static' but never defined
htsserver.h:104: warning: 'LANGINTKEY' declared `static' but never defined
htsserver.h:105: warning: 'LANG_SEARCH' declared `static' but never defined
htsserver.h:106: warning: 'LANG_LIST' declared `static' but never defined
htsserver.h:167: warning: 'gethomedir' defined but not used
htsserver.h:174: warning: 'linput_cpp' defined but not used
htsserver.h:194: warning: 'concat' defined but not used
htsserver.h:205: warning: 'fexist' defined but not used
htsserver.h:160: warning: 'linputsoc_t' defined but not used
htsserver.h:261: warning: 'unescapeini' defined but not used
htslib.h:424: warning: 'strcmpnocase' defined but not used
htslib.h:472: warning: 'is_hypertext_mime' defined but not used
htslib.h:485: warning: 'may_be_hypertext_mime' defined but not used
htslib.h:498: warning: 'compare_mime' defined but not used
htscore.h:197: warning: 'cache_writable' defined but not used
htscore.h:201: warning: 'cache_readable' defined but not used
htsname.h:47: warning: 'strendwith_' defined but not used
make[2]: *** [htsweb.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/httrack-3.40/work/httrack-3.40.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/httrack-3.40/work/httrack-3.40.1'
make: *** [all] Error 2

!!! ERROR: www-client/httrack-3.40 failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

my 'emerge --info' says:

Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache collision-protect distlocks fixpackages sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ankara.edu.tr/gentoo/"
LINGUAS="tr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib adns alsa arts audiofile avi bitmap-fonts bzip2 cdr crypt cups curl directfb dts encode ethereal exif expat fam ffmpeg flac foomaticdb fortran gcj gd gdbm ggi gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick jack java jpeg junit kde kdeenablefinal lcms libcaca libwww lua lzw lzw-tiff mad matroska mhash mikmod mng motif mp3 mpeg mysql nas ncurses nptl ogg openal opengl pcre pdflib perl php pic png posix python qt quicktime readline scanner sdl speex spell ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wmf xine xinerama xml2 xpm xv xvid zlib video_cards_nvidia linguas_tr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2006-02-24 10:22:05 UTC
Created attachment 80611 [details, diff]
httrack-3.40.1-include-htsnet.patch

Would you mind testing this patch?
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2006-02-24 10:58:06 UTC
Actually, even better: mind testing 3.40.2? Just bumped it in cvs.
Comment 3 Martin Jansa 2006-02-25 04:55:58 UTC
(In reply to comment #2)
> Actually, even better: mind testing 3.40.2? Just bumped it in cvs.
> 

I have had the same problem with 3.40 and 3.40.2 is compiled without any problem.
Comment 4 Mehmet Kemal EROL 2006-02-25 06:11:37 UTC
Created attachment 80689 [details]
httrack-3.40.2.log
Comment 5 Mehmet Kemal EROL 2006-02-25 06:16:01 UTC
perfect ... please inspect my attached log file above.

thank you, Marcelo!
Comment 6 Guy 2006-02-25 07:39:11 UTC
I had the same problem, but it now compiles to completion.

I think, for me, the latest fix to glibc may have resolved the problem but I'm not sure.

[ebuild   R   ] sys-libs/glibc-2.3.6-r3  USE="nls nptl userlocales -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls -nptlonly -pic -profile" 0 kB

.oOo.


.oOo.

Portage 2.1_pre4-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15.1 x86_64)
=================================================================
System uname: 2.6.15.1 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib accessibility acl acpi aim alsa apache2 arts audacious audiofile avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cdda cddb cdparanoia cdr chroot crypt cups curl curlwrappers dbus dga dio directfb divx4linux dmx dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif extrafilters fame fbcon ffmpeg flac flash foomaticdb fortran gcj gd gd-external gdbm ggi gif gimp gimpprint glut gnome gnutils gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hardenedphp icq idn imagemagick imap imlib infopipe ipv6 irc jabber java javascript jikes jpeg jpeg2k junit kde kerberos lcms ldap libcaca libedit libvisual libwww lm_sensors lzo lzw lzw-tiff mad matroska mikmod mime ming mjpeg mmap mng mozcalendar mozilla mozsvg mp3 mpeg musepack musicbrainz mysql mysqli nas ncurses nls nptl nsplugin odbc offensive ogg oggvorbis openal opengl oscar pam pcre pda pdflib perl php png portaudio posix postgres ppds python qt quicktime readline real rtc ruby samba sasl scanner sdk sdl session shorten simplexml skins slang slp sndfile snmp soap sockets sox speex spell spl sqlite ssl svg tckltk tcltk tcpd tetex theora threads tidy tiff tokenizer transcode truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vcdimager vchroot verbose vhosts videos visualization vorbis wma wmf wxgtk1 xcomposite xface xine xinerama xml xml2 xmlrpc xmms xpm xprint xscreensaver xsl xv xvid yahoo zeo zlib elibc_glibc kernel_linux userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

Comment 7 Guy 2006-02-25 07:42:37 UTC
Ignore my previous comment - It didn't click that the ebuild had just been updated.
Comment 8 Marcelo Goes (RETIRED) gentoo-dev 2006-02-25 09:18:08 UTC
The problem was with that implicit declaration of recv. Cheers!