Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53694 - tpb 0.6.2 will not compile (autoheader failure)
Summary: tpb 0.6.2 will not compile (autoheader failure)
Status: RESOLVED DUPLICATE of bug 62809
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-11 23:36 UTC by Brian Heung
Modified: 2005-07-17 13:06 UTC (History)
5 users (show)

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


Attachments
acconfig.h - Needed file (acconfig.h,374 bytes, text/plain)
2004-06-21 10:53 UTC, Matteo Settenvini
Details
Patch to the ebuild (tpb-0.6.2.ebuild.patch,249 bytes, patch)
2004-06-21 10:55 UTC, Matteo Settenvini
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Heung 2004-06-11 23:36:07 UTC
When I try to emerge tpb 0.6.2 the ./configure step works but the system quits on make. Version 0.6.1 compiles correctly.

Reproducible: Always
Steps to Reproduce:
1. emerge tpb

Actual Results:  
cd . && autoheader
/usr/bin/autoheader-2.13: Symbol `HAVE_LIBXOSD' is not covered by
/usr/share/autoconf/acconfig.h
/usr/bin/autoheader-2.13: Symbol `HAVE_LIBXOSD_VERSION' is not covered by
/usr/share/autoconf/acconfig.h
make: *** [stamp-h.in] Error 1

!!! ERROR: app-laptop/tpb-0.6.2 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)


Expected Results:  
compile and install.

Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-rc2-mm2)
=================================================================
System uname: 2.6.7-rc2-mm2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/bmg-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb bindist crypt cups dvd encode esd flac
foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imlib java jpeg
libg++ libwww mad mikmod mmx mono motif mozilla mpeg ncurses nls oggvorbis
opengl oss pam pdflib perl png python quicktime readline samba sdl slang snmp
spell sse ssl tcpd tetex truetype x86 xml2 xmms xv zlib"
Comment 1 Henrik Brix Andersen 2004-06-14 03:47:37 UTC
I can not reproduce that using sys-devel/autoconf-2.59-r3 and sys-devel/automake-1.8.3.
Comment 2 Tristan Henderson 2004-06-14 05:48:46 UTC
I get the same LIBXOSD problem, using:
sys-devel/autoconf-2.59-r4
sys-devel/automake-1.8.5
x11-libs/xosd-2.2.5-r1
Comment 3 Christian Funke 2004-06-15 07:09:27 UTC
Same for me here (using same versions as Tristan above)
Comment 4 Jackey Yang ("timeout" in forum) 2004-06-21 06:18:16 UTC
same problem
Comment 5 Matteo Settenvini 2004-06-21 10:53:22 UTC
Created attachment 33761 [details]
acconfig.h - Needed file

After a quick look, I noticed that the tar package of tpb 0.6.2 lacks
acconfig.h . So I copied the 0.6.1 one in the work dir of 0.6.2 and tried a
./configure. It went ok.

So please add this file in portage, and have it copied in the workdir by the
ebuild. I'll attach also the modified ebuild.

(As always, test it before.)
Comment 6 Matteo Settenvini 2004-06-21 10:55:14 UTC
Created attachment 33762 [details, diff]
Patch to the ebuild

The mentioned patch.
Comment 7 Peter Johanson (RETIRED) gentoo-dev 2004-06-25 09:06:10 UTC
I've also not been able to reporduce with:
sys-devel/automake-1.8.3
sys-devel/autoconf-2.59-r3
x11-libs/xosd-2.2.5-r1


As this seems to be related to some automake/autoconf foo, i'm CCing base-system to hopefully get some of their feedback.

Comment 8 Tristan Henderson 2004-06-25 09:15:54 UTC
FWIW, I downgraded automake from automake-1.8.5-r1 to automake-1.8.3, but I still get the same HAVE_LIBXOSD problem.
Comment 9 Quantumstate 2004-07-06 10:33:48 UTC
>>> Patch to the ebuild

Thank you.  It works.
Comment 10 Quantumstate 2004-07-16 07:24:36 UTC
I believe it would be nice to integrate tpb into the rc system, and so I propose adding to the ebuild /etc/init.d/tpbutt:

#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpb/files/tpb,v 1.0 2004/07/13 19:19:04

depend() {}


checkconfig() {
	if [ ! -x "`/dev/nvram`" ] ; then
		eerror "Please re-compile your kernel with nvram support."
		return 1
	fi

start() {
	ebegin "Starting tpb"
	start-stop-daemon --start --quiet --exec /usr/bin/tpb -d
	eend $?
}

stop() {
	ebegin "Stopping tpb"
	start-stop-daemon --stop --quiet --exec /usr/bin/tpb
	eend $?
}
Comment 11 Matteo Settenvini 2004-07-21 08:43:06 UTC
Could be interesting having the patch to the ebuild and the needed file in portage, since the problem is still here with newest xosd (2.2.8), automake(1.8.5-r1) and autoconf(2.59-r4).

From comment #10: maybe it should be better to open a separate bug.
Comment 12 Thomas Eckert 2004-09-04 04:09:58 UTC
see bug #62809 for v0.6.3-comments
0.6.3 is working here with nearly exactly the versions mentioned in comment #11:
autoconf-2.59-r4, xosd-2.2.8-r1, automake-1.8.5-r1.
gcc-3.3.3-r6
Comment 13 Seemant Kulleen (RETIRED) gentoo-dev 2004-09-04 15:47:26 UTC

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