Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94427 - app-text/htmltidy-4.8.6 fails to build with FEATURES=distcc if no distcc host is reachable
Summary: app-text/htmltidy-4.8.6 fails to build with FEATURES=distcc if no distcc host...
Status: RESOLVED DUPLICATE of bug 78814
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-29 17:40 UTC by Sascha Silbe
Modified: 2006-03-27 02:55 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 Sascha Silbe 2005-05-29 17:40:37 UTC
app-text/htmltidy-4.8.6 deadlocks during compilation (even with MAKEOPTS=-j1) if FEATURES=distcc is set and all distcc hosts are down.
distcc itself just executes the jobs locally, but the build system used by htmltidy chokes.


Reproducible: Always
Steps to Reproduce:
1. emerge -v htmltidy
2. (on all distcc hosts) /etc/init.d/distccd stop
2. emerge -v htmltidy
3. FEATURES=-distcc emerge -v htmltidy

Actual Results:  
root@cube:~# emerge -v htmltidy
[works fine]
root@copper:~# /etc/init.d/distccd stop
 * Stopping distccd ...                			[ ok ]
root@cube:~# emerge -v htmltidy
[...]
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile i586-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"tidy\" -DVERSION=\"0.99.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSUPPORT_ACCESSIBILITY_CHECKS=1 -DSUPPORT_UTF16_ENCODINGS=1 -DSUPPORT_ASIAN_ENCODINGS=1  -I. -I. -I../include    -O2 -march=pentium -mcpu=athlon-xp -O3 -pipe -Wall -Wno-switch -Wno-parentheses -Wno-unused -c -o clean.lo `test -f clean.c || echo './'`clean.c
source='localize.c' object='localize.lo' libtool=yes \
depfile='.deps/localize.Plo' tmpdepfile='.deps/localize.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile i586-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"tidy\" -DVERSION=\"0.99.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSUPPORT_ACCESSIBILITY_CHECKS=1 -DSUPPORT_UTF16_ENCODINGS=1 -DSUPPORT_ASIAN_ENCODINGS=1  -I. -I. -I../include    -O2 -march=pentium -mcpu=athlon-xp -O3 -pipe -Wall -Wno-switch -Wno-parentheses -Wno-unused -c -o localize.lo `test -f localize.c || echo './'`localize.c
Waiting for entities.o.lock to be removed
Waiting for lexer.o.lock to be removed
Waiting for access.o.lock to be removed
Waiting for parser.o.lock to be removed
Waiting for attrs.o.lock to be removed
Waiting for localize.o.lock to be removed
Waiting for istack.o.lock to be removed
Waiting for pprint.o.lock to be removed
Waiting for tags.o.lock to be removed
Waiting for clean.o.lock to be removed
Waiting for entities.o.lock to be removed
Waiting for lexer.o.lock to be removed
[...]
Caught signal 2 in pid 8882
make[1]: *** [attrs.lo] Error 1
make[1]: *** [istack.lo] Error 1
make[1]: *** [tags.lo] Error 1
make[1]: *** [entities.lo] Error 1
make[1]: *** [lexer.lo] Error 1
make[1]: *** [clean.lo] Error 1
make[1]: *** [localize.lo] Error 1
make[1]: *** [pprint.lo] Error 1
make[1]: *** [parser.lo] Error 1
make[1]: *** [access.lo] Error 1
make: *** [all-recursive] Interrupt

/usr/portage/app-text/htmltidy/htmltidy-4.8.6.ebuild: src_compile aborted; exiting.

root@cube:~# FEATURES=-distcc emerge -v htmltidy
[works fine]


Expected Results:  
Successfully compile the package even if no distcc hosts are currently reachable.


Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11.6-infra-cube-1 i686)
=================================================================
System uname: 2.6.11.6-infra-cube-1 i686 AMD Athlon(tm) XP 1700+
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 22 2005, 01:58:40)]
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.5, 1.7.9-r1, 1.4_p6, 1.6.3, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /usr/vice/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distcc distlocks fixpackages sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
LANG="en_US"
LINGUAS="en,de"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-local--main--1.0"
SYNC="rsync://copper.sascha.silbe.org/gentoo-portage"
USE="x86 3dnow 3dnowext S3TC X a52 aac acl afs alsa apm avi bash-completion berkdb bitmap-fonts blas bzip2 bzlib cdparanoia cdr chipcard cjk crypt curl doc dts dv dvd dvdr dvdread ecc emboss encode fam flac foomaticdb fortran gd gdbm gif gimpprint gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 j-noaim j-nomsn j-noyahoo jabber jpeg lapack lcms libg++ libwww lvm1 lzo mad maildir makecheck mbox mikmod mmx mmxext monitor mozsvg mp3 mpeg mysql nas ncurses nls nodrm offensive ogg oggvorbis opengl oss pam pdflib plotutils png postgres python qt qtmt quicktime readline samba scanner sdl serial skey smartcard spell sqlite sse ssl svg tetex tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis xine xml xml2 xv xvid zlib linguas_en,de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-27 02:55:29 UTC
(In reply to comment #0)
> Waiting for entities.o.lock to be removed
> Waiting for lexer.o.lock to be removed
> Waiting for access.o.lock to be removed
> Waiting for parser.o.lock to be removed
> Waiting for attrs.o.lock to be removed
> Waiting for localize.o.lock to be removed
> Waiting for istack.o.lock to be removed
> Waiting for pprint.o.lock to be removed
> Waiting for tags.o.lock to be removed
> Waiting for clean.o.lock to be removed
> Waiting for entities.o.lock to be removed
> Waiting for lexer.o.lock to be removed

This is not distcc issue, fam is screwing things up. Remove it or at least switch to gamin instead.


*** This bug has been marked as a duplicate of 78814 ***