Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96372 - x11-misc/lavaps doesn't emerge
Summary: x11-misc/lavaps doesn't emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Jonathan Smith (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-17 06:08 UTC by Matteo Spreafico
Modified: 2005-06-23 13:39 UTC (History)
2 users (show)

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


Attachments
compile-fixes (lavaps-2.4.patch,101.22 KB, patch)
2005-06-17 07:38 UTC, Stian Skjelstad
Details | Diff
lavaps-2.7.patch (lavaps-2.7.patch,2.33 KB, patch)
2005-06-22 23:33 UTC, Stian Skjelstad
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Spreafico 2005-06-17 06:08:28 UTC
make[1]: Entering directory `/var/tmp/portage/lavaps-2.7/work/lavaps-2.7'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/lavaps-2.7/work/lavaps-2.7/doc'
/usr/bin/perl podprune LAVAPS "WHAT'S NEW" REQUIREMENTS "INSTALLATION DETAILS"
AVAILABILITY "RELEASE HISTORY" ISPELL <master.pod >lavaps.pod
make[3]: Entering directory `/var/tmp/portage/lavaps-2.7/work/lavaps-2.7/doc'
/usr/bin/perl podprune LAVAPS "WHAT'S NEW" REQUIREMENTS "INSTALLATION DETAILS"
AVAILABILITY "RELEASE HISTORY" ISPELL <master.pod >lavaps.pod
/usr/bin/pod2man --section=1 --release="lavaps-2.7" --center="Lavaps
Documentation" lavaps.pod >lavaps.1
/usr/bin/pod2man --section=1 --release="lavaps-2.7" --center="Lavaps
Documentation" lavaps.pod >lavaps.1
rm lavaps.pod
/usr/bin/perl podprune LAVAPS "WHAT'S NEW" REQUIREMENTS "INSTALLATION DETAILS"
AVAILABILITY "RELEASE HISTORY" ISPELL  <master.pod >lavaps.pod
rm lavaps.pod
make[3]: Leaving directory `/var/tmp/portage/lavaps-2.7/work/lavaps-2.7/doc'
/usr/bin/pod2html --title "lavaps-2.7 manual page" lavaps.pod >lavaps_man.html
Can't open lavaps.pod: No such file or directory at
/usr/lib/perl5/5.8.6/Pod/Html.pm line 378.
rm lavaps.pod
rm: impossibile rimuovere `lavaps.pod': No such file or directory
make[2]: *** [lavaps_man.html] Error 1
make[2]: Leaving directory `/var/tmp/portage/lavaps-2.7/work/lavaps-2.7/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lavaps-2.7/work/lavaps-2.7'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:
1. emerge lavaps



Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r10 i686)
=================================================================
System uname: 2.6.11-gentoo-r10 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
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.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -ffast-math -funroll-loops
-fomit-frame-pointer -mfpmath=sse,387 -maccumulate-outgoing-args
-fprefetch-loop-arrays -fforce-addr"
CHOST="i686-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/lib/fax /usr/share/config /var/qmail/control /var/s
pool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -ffast-math -funroll-loops
-fomit-frame-pointer -mfpmath=sse,387 -maccumulate-outgoing-args
-fprefetch-loop-arrays -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ngi.it ftp://sunsite.cnlab-switch.ch/mirror/gentoo
http://gentoo.oregonstate.edu/"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages-p3"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip X aalib acl acpi alsa apache2 arts avi bash-completion berkdb
bitmap-fonts blas bonobo bzip2 bzlib caps cdparanoia cdr cpdflib crypt cscope
ctype cups curl curlwrappers dba dga divx4linux dvd e
mboss encode esd fam fbcon ffmpeg fftw flac font-server foomaticdb fortran ftp
gd gdal gdbm geotiff gif gnutls gpm gtk gtk2 gtkhtml iconv imagemagick imap
imlib ipv6 java jbig jpeg jpeg2k junit kde kdeenable
final kerberos lapack lcms ldap libcaca libwww lzw-tiff mad mailwrapper matroska
mbox mhash mikmod mime ming mmx mng motif mozilla mp3 mpeg mysql nas ncurses nls
nptl nptlonly nvidia offensive ogg oggvorbis 
opengl pam pcntl pcre pdflib perl png posix postgres python qt quicktime
readline real recode samba sasl scanner sdl session sharedext sharedmem silc
simplexml slang snmp sockets speex spell sse ssl svg svga
 sysvipc szip tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts
type1-fonts unicode usb userlocales v4l vhost vorbis win32codecs wmf xine xml
xml2 xmlrpc xmms xpm xprint xsl xv xvid xvmc zlib
 linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 1 Matteo Spreafico 2005-06-17 06:10:15 UTC
lavaps 2.4 is also broken for me.


make[3]: Entering directory `/var/tmp/portage/lavaps-2.4/work/lavaps-2.4/linux/proc'
gcc -O2 -g -D_GNU_SOURCE -I.. -Wall -c alloc.c
gcc -O2 -g -D_GNU_SOURCE -I.. -Wall -c compare.c
gcc -O2 -g -D_GNU_SOURCE -I.. -Wall -c devname.c
In file included from devname.c:18:
/usr/include/linux/kdev_t.h:26: error: parse error before "old_encode_dev"
/usr/include/linux/kdev_t.h:31: error: parse error before "val"
/usr/include/linux/kdev_t.h: In function `old_decode_dev':
/usr/include/linux/kdev_t.h:33: error: `val' undeclared (first use in this function)
/usr/include/linux/kdev_t.h:33: error: (Each undeclared identifier is reported
only once
/usr/include/linux/kdev_t.h:33: error: for each function it appears in.)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:41: error: parse error before "new_encode_dev"
/usr/include/linux/kdev_t.h:48: error: parse error before "dev"
/usr/include/linux/kdev_t.h: In function `new_decode_dev':
/usr/include/linux/kdev_t.h:50: error: `dev' undeclared (first use in this function)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:60: error: parse error before "huge_encode_dev"
/usr/include/linux/kdev_t.h:65: error: parse error before "dev"
/usr/include/linux/kdev_t.h: In function `huge_decode_dev':
/usr/include/linux/kdev_t.h:67: error: `dev' undeclared (first use in this function)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:75: error: parse error before "sysv_encode_dev"
/usr/include/linux/kdev_t.h:80: error: parse error before "dev"
/usr/include/linux/kdev_t.h: In function `sysv_major':
/usr/include/linux/kdev_t.h:82: error: `dev' undeclared (first use in this function)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:85: error: parse error before "dev"
/usr/include/linux/kdev_t.h: In function `sysv_minor':
/usr/include/linux/kdev_t.h:87: error: `dev' undeclared (first use in this function)
make[3]: *** [devname.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/lavaps-2.4/work/lavaps-2.4/linux/proc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lavaps-2.4/work/lavaps-2.4/linux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lavaps-2.4/work/lavaps-2.4'
make: *** [all] Error 2

!!! ERROR: x11-misc/lavaps-2.4 failed.
!!! Function src_compile, Line 556, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 2 Stian Skjelstad 2005-06-17 07:38:34 UTC
Created attachment 61396 [details, diff]
compile-fixes

F* ixes configure.ac to use C and not C++ when checking for libc functions
* autoconf ran (not good to have this in patch, but run autoconf in ebuild
instead perhaps)
* missing header-files includes in linux/proc/*

Does NOT fix the doc problemen original mentioned, but the stuff in comment #2
Comment 3 Jonathan Smith (RETIRED) gentoo-dev 2005-06-17 08:38:15 UTC
you guys are talking about different packages... the initial report refers to
2.7, while the second refers to 2.4.

both of you have abnormal cflags. please recompile with "-O2 -march=foo", and
see what happens
Comment 4 Matteo Spreafico 2005-06-17 08:57:13 UTC
lavaps 2.7 with CFLAGS="-O2" doesn't work as in comment #1
lavaps 2.4 with CFLAGS="-02" doesn't work as in comment #2
Comment 5 Jonathan Smith (RETIRED) gentoo-dev 2005-06-22 18:09:10 UTC
(In reply to comment #2)
> Created an attachment (id=61396) [edit]
> compile-fixes

thats a freaking huge diff which essentially totally replaces the file...

i can't reproduce any of this; they both work for me. anyone have any more info
to point me in the correct direction?
Comment 6 Stian Skjelstad 2005-06-22 23:16:18 UTC
Look at the last 3 hunks in the patch file (the first one comes from
regeneration of configure.ac).

Some kernelheaders are a bit broken, so you need to include asm/type.h,
configure always thinks a libc functions isn't present because it uses c++, and
not c when it tests, and another file has a warning about _exit not defined
since needed include file isn't included.

The person in comment #1 had the kernel-header problem for instance. The orignal
doc problem I don't know about yet.
Comment 7 Stian Skjelstad 2005-06-22 23:33:53 UTC
Created attachment 61757 [details, diff]
lavaps-2.7.patch
Comment 8 Stian Skjelstad 2005-06-22 23:36:04 UTC
Forgot to comment. The last patch fixes version 2.7. configure patch wasn't
needed since generated configure script runs g++ a different way apparently
(atleast no failures about senenv in my config.log with 2.7)

However both failures from #1 and #2 is fixed in this patch (version 2.7)

First patch is for 2.4.
Comment 9 Jonathan Smith (RETIRED) gentoo-dev 2005-06-23 13:39:03 UTC
fixed in 2.7-r1

thanks for the patch