Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104192 - lighttpd-1.4.2 ebuild has an unstated dependency on gamin
Summary: lighttpd-1.4.2 ebuild has an unstated dependency on gamin
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: www-servers Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-29 15:20 UTC by Jacob Smullyan
Modified: 2005-11-06 05:33 UTC (History)
1 user (show)

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


Attachments
Fix for gamin DEPEND (diff,316 bytes, patch)
2005-08-29 15:39 UTC, Mike Cvet
Details | Diff
gzipped config.log, showing configure failure (config.log.gz,12.71 KB, application/octet-stream)
2005-08-29 17:39 UTC, Jacob Smullyan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Smullyan 2005-08-29 15:20:40 UTC
If you have the fam keyword enabled, apparently you need app-admin/gamin.  

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6
                                                             
.11-gentoo-r11-gentoo-osmp x86_64)
=================================================================
System uname: 2.6.11-gentoo-r11-gentoo-osmp x86_64 AMD Opteron(tm) Processor 846
                                                               HE
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
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.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -mtune=opteron -fomit-frame-pointer -fprefetch-loop-a
                                                              rrays"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
                                                              config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=opteron -mtune=opteron -fomit-frame-pointer -fprefetch-loop
                                                              -arrays"
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 a52 acpi alsa apache2 audiofile avi berkdb cdr crypt cups curl dvd dv
                                                              dr eds emacs
encode esd fam foomaticdb fortran gdbm gif gpm gstreamer imagemagic            
                                                  k imlib jpeg jpeg2k kde lcms
libg++ libwww lzw lzw-tiff mad maildir mp3 mpeg mys                            
                                  ql ncurses network nls nocardbus ogg oggvorbis
pam pcre pdflib perl png postgres                                              
                 postgresql python qt quicktime readline rtc sdl slang sndfile
spell sqlite ssl                                                               
tcpd threads tiff unicode usb userlocales vorbis xml2 xpm xv zlib userland_GNU k
                                                              ernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Mike Cvet 2005-08-29 15:38:45 UTC
I got the same without fam enabled; I'll submit a diff for a missing dependency

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
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
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ftracer -funit-at-a-time"
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 /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 -march=k8 -pipe -ftracer -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/
http:://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo"
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 alsa avi berkdb bitmap-fonts cdr crypt cups curl eds encode
esd foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 guile imagemagick
imlib ipv6 jpeg junit libwww lzw lzw-tiff mad motif mp3 mpeg ncurses nls nptl
ogg opengl pam pdflib perl png postgres python qt quicktime readline sdl snmp
spell sqlite ssl tcltk tcpd tetex tiff truetype-fonts type1-fonts usb
userlocales vorbis xine xml xml2 xmms xpm xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Mike Cvet 2005-08-29 15:39:38 UTC
Created attachment 67219 [details, diff]
Fix for gamin DEPEND

DEPEND=">=app-admin/gamin-0.1.0 needs to be specified in the ebuild.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-29 15:41:01 UTC
<snip> 
fam?      ( virtual/fam )
</snip>

Don't see any unstated dependency.
Comment 4 Jacob Smullyan 2005-08-29 16:27:17 UTC
I may not have described it correctly, but there is definitely a bug, because
when I had the fam keyword enabled, the ebuild died during compilation
complaining of the missing dependency; removing "fam" from USE made it emerge. 
I should have included those error messages rather than jumping to a diagnosis;
I'm on a different machine right now but I'll try to reproduce it later and add
them here.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-08-29 16:33:40 UTC
(In reply to comment #4)

> I should have included those error messages rather than jumping to a diagnosis;
> I'm on a different machine right now but I'll try to reproduce it later and add
> them here.

Yes, please do so and reopen then, it wasn't really apparent what you mean.
Seems like the patch for Bug 103643 does not work then. 

Comment 6 Jacob Smullyan 2005-08-29 17:35:53 UTC
The error is below.  I'll attach the config log for completeness' sake, but it
won't tell you much more.

What is telling is that the 1.4.1-r1 ebuild has a number of diffs, including
01_all_any_fam.diff, which are not in 1.4.2.  So it looks like they didn't all
make it upstream (some did, according to the ChangeLog), and they weren't
brought over from the 1.4.1-r1 ebuild.  

---

$ USE="fam" emerge lighttpd
[snip]
checking for FAM... yes
checking for FAMOpen2 in -lfam... yes
checking fam.h usability... no
checking fam.h presence... no
checking for fam.h... no
checking for gamin >= 0.1.0... Package gamin was not found in the pkg-config sea
rch path.
Perhaps you should add the directory containing `gamin.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gamin' found

configure: error: Library requirements (gamin >= 0.1.0) not met; consider adjust
ing the PKG_CONFIG_PATH environment variable if your libraries are in a nonstand
ard prefix so pkg-config can find them.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/lighttpd-1.4.2/work/lighttpd-1.4.2/config.log

!!! ERROR: www-servers/lighttpd-1.4.2 failed.
Comment 7 Jacob Smullyan 2005-08-29 17:39:01 UTC
Created attachment 67231 [details]
gzipped config.log, showing configure failure

The blasted file is so large I'm gzipping it.
Comment 8 Aaron Walker (RETIRED) gentoo-dev 2005-08-30 05:32:56 UTC
There is nothing wrong with the ebuild, but actually your system.

This is the actual problem:

checking fam.h usability... no
checking fam.h presence... no
checking for fam.h... no

it should never even get to the gamin check if both -lfam is found (which it was
in your case) and fam.h is found (which it wasn't obviously).

I have no idea on earth why you'd have libfam but not fam.h.  Perhaps try
re-merging fam?
Comment 9 Aaron Walker (RETIRED) gentoo-dev 2005-08-30 05:35:00 UTC
(In reply to comment #6)

> What is telling is that the 1.4.1-r1 ebuild has a number of diffs, including
> 01_all_any_fam.diff, which are not in 1.4.2.  So it looks like they didn't all
> make it upstream (some did, according to the ChangeLog), and they weren't
> brought over from the 1.4.1-r1 ebuild.  

I beg to differ.  *EVERY* single patch in 1.4.1-r1 is in upstream subversion.
Comment 10 Jacob Smullyan 2005-08-30 12:00:57 UTC
What is odd is that I *do* have fam.h in /usr/include.  I re-emerged fam
(2.7.0-r2) and it makes no difference, it still fails the same way.

(Sorry, A.W., again I jumped to conclusions.)
Comment 11 Aaron Walker (RETIRED) gentoo-dev 2005-08-31 05:55:13 UTC
(In reply to comment #6)
> The error is below.  I'll attach the config log for completeness' sake, but it
> won't tell you much more.

I took your word for it and so didn't look at it until now.  It does however
reveal the problem:

configure:24749: checking fam.h usability
configure:24761: x86_64-pc-linux-gnu-gcc -c -O2 -march=opteron -mtune=opteron
-fomit-frame-pointer -fprefetch-loop-arrays  -D_REENTRANT  conftest.c >&5
In file included from /usr/include/limits.h:7,
                 from /usr/include/fam.h:44,
                 from conftest.c:106:
/usr/include/gentoo-multilib/amd64/limits.h:124:26: no include path in which to
search for limits.h

So basically, as per the bug, you need to re-merge linux-headers/glibc as the
include paths are b0rked.

*** This bug has been marked as a duplicate of 87560 ***
Comment 12 Jacob Smullyan 2005-10-21 07:26:30 UTC
I've gone back to this and tried to emerge lighttpd (1.4.6 this time) with fam
enabled again; I've reemerged linux-headers and glibc, in that order, and still
get the same error.  The same problem in config.log which Aaron found is
present, so just reemerging those packages isn't enough to solve the problem.  

(I know this is a duplicate, but putting this message on the parent bug doesn't
seem to give enough context ....).  
Comment 13 Aaron Walker (RETIRED) gentoo-dev 2005-10-21 07:33:36 UTC
(In reply to comment #12)
> I've gone back to this and tried to emerge lighttpd (1.4.6 this time) with fam
> enabled again; I've reemerged linux-headers and glibc, in that order, and still
> get the same error.  The same problem in config.log which Aaron found is
> present, so just reemerging those packages isn't enough to solve the problem.  
> 
> (I know this is a duplicate, but putting this message on the parent bug doesn't
> seem to give enough context ....).  

This is some problem with your multilib setup I assume.  As this isn't really
lighttpd-related (other than it causes the failure), I'd say comment on bug
87560 and see if the amd64 folks can be of any help. 
Comment 14 Jeremy Huddleston (RETIRED) gentoo-dev 2005-10-21 18:16:22 UTC
nope... not a dupe, his headers are created correctly.
Comment 15 Aaron Walker (RETIRED) gentoo-dev 2005-10-21 18:45:24 UTC
It might not be a dupe, but it's still not a lighttpd issue.
Comment 16 Danny van Dyk (RETIRED) gentoo-dev 2005-11-06 05:33:07 UTC
I can' trigger it on 1.4.6 (1.4.2 isn't in the tree anymore)

From my install:
checking for FAM... yes
checking for FAMOpen2 in -lfam... yes
checking fam.h usability... yes
checking fam.h presence... yes
checking for fam.h... yes
checking for FAMNoExists... no

Jacob: Can you recreate it with your current install? Also, have you yet
upgraded to 2005.1 profile? Please reopen the bug with this info!