First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 89478
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: foser (RETIRED) <foser@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Brian Fistler <gentoo@kimnbrian.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config.log config.log file from attempted build of courier-imap text/plain Brian Fistler 2005-04-18 13:01 0000 77.63 KB Details
fam-header.patch fixes fam.h to #include <limits.h> instead of #include "limits.h" patch Roy Marples (RETIRED) 2005-05-06 10:03 0000 316 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 89478 depends on: Show dependency tree
Show dependency graph
Bug 89478 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-17 18:40 0000
Emerging courier-imap on gentoo system, errors out with the following message:

hecking fam.h usability... no
checking fam.h presence... no
checking for fam.h... no
checking for symlink... yes
checking for readlink... yes
checking for strcasecmp... yes
checking for utime... yes
checking for utimes... yes
checking for FAMOpen in -lfam... yes
checking for fam.h... (cached) no
configure: WARNING: The development header files and libraries for fam,
configure: WARNING: the File Alteration Monitor, are not installed.
configure: WARNING: You appear to have the FAM runtime libraries installed,
configure: WARNING: so you need to simply install the additional development
configure: WARNING: package for your operating system.
configure: error: FAM development libraries not found.
configure: error: /bin/sh './configure' failed for maildir

I re-emerged the fam package.
/usr/include/fam.h DOES exist




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

------- Comment #1 From Jakub Moc 2005-04-18 00:56:18 0000 -------
*** Bug 89480 has been marked as a duplicate of this bug. ***

------- Comment #2 From Diego Pettenò 2005-04-18 02:47:20 0000 -------
emerge info, and please tell if you have fam or gamin installed.
Also attach config.log to the bug.

------- Comment #3 From Brian Fistler 2005-04-18 05:38:26 0000 -------
fam is installed (2005.0 stage-3 install)

Emerge info:

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 16 2005, 12:27:53)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2"
CHOST="x86_64-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/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -fomit-frame-pointer -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 OSS X acpi alsa bash-completion berkdb bitmap-fonts cdr crypt cups curl esd fam flac font-server fortran gif gpm gtk imlib ipv6 java jp2 jpeg kde lzw lzw-tiff motif mp3 mysql ncurses nls ogg opengl oss pam perl png python qt readline samba sdl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #4 From Brian Fistler 2005-04-18 13:01:04 0000 -------
Created an attachment (id=56599) [edit]
config.log file from attempted build of courier-imap

------- Comment #5 From Tuan Van (RETIRED) 2005-04-30 12:05:07 0000 -------
please attach config.log in maildir/

------- Comment #6 From Bjarke Istrup Pedersen 2005-05-01 07:16:22 0000 -------
This also happends with courier .

------- Comment #7 From Ashley Nicholls 2005-05-02 21:05:29 0000 -------
Okay guys, I managed to get it to compile right and it seems to be working
sweet as. Seems like configure can't find the fam.h file, but what is actually
happening is this 

fam.h includes limits.h
limits.h includes the 64bit limits.h
(/usr/include/gentoo-multilib/amd64/limits.h)
amd64/limits.h attempts to include the compilers limits.h
(/usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.3/include/limits.h)

but for some reason it can't find the file

In file included from /usr/include/limits.h:7,
                 from /usr/include/fam.h:44,
                 from conftest.c:69:
/usr/include/gentoo-multilib/amd64/limits.h:124:26: no include path in which to
search for limits.h

To get it to work I just modified my 64bit limits.h file to specifically
include the compilers limits.h file

#if defined __GNUC__ && !defined _GCC_LIMITS_H_
/* `_GCC_LIMITS_H_' is what GCC's file defines.  */
/* # include_next <limits.h> */
# include_next </usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.3/include/limits.h>

After that it seemed to work fine, although I've changed it back after the
emerge just in case it breaks something else :D

Hope this helps

------- Comment #8 From Tuan Van (RETIRED) 2005-05-02 22:39:09 0000 -------
It looks like amd64 issue. Reassign.

------- Comment #9 From Bjarke Istrup Pedersen 2005-05-02 22:50:45 0000 -------
Interresting, missed that it was marked amd64.
My problem is with a dual Pentium 3.
linux-headers-2.6.11 , if that helps you :)

------- Comment #10 From Roy Marples (RETIRED) 2005-05-06 10:02:53 0000 -------
I'm getting a different error on x86 using linux-headers-2.6.11
Just create a basic C file and #include <fam.h> and you get

In file included from /usr/include/limits.h:124,
                 from /usr/include/limits.h:124,
                 from /usr/include/limits.h:124,
   for ages and finally
                from /usr/include/fam.h:44,
                 from x.c:1:
/usr/include/limits.h:124:26: error: #include nested too deeply

Easiet fix is to change line 44 of /usr/include/fam.h
#include "limits.h"
to
#include <limits.h>

With that fix in place, fam, courier-imap, courier-authlib, maildrop and mod_php still compile and work fine.

Assigning to foser as he owns the fam package

------- Comment #11 From Roy Marples (RETIRED) 2005-05-06 10:03:59 0000 -------
Created an attachment (id=58214) [edit]
fixes fam.h to #include <limits.h> instead of #include "limits.h"

------- Comment #12 From foser (RETIRED) 2005-05-27 15:06:31 0000 -------
please apply & close Roy. Thanks.

------- Comment #13 From Roy Marples (RETIRED) 2005-05-29 04:06:57 0000 -------
Fixed in fam-2.7.0-r4

------- Comment #14 From Jakub Moc 2005-08-01 06:35:52 0000 -------
*** Bug 100948 has been marked as a duplicate of this bug. ***

------- Comment #15 From Jakub Moc 2005-09-01 15:00:41 0000 -------
*** Bug 104501 has been marked as a duplicate of this bug. ***

------- Comment #16 From Tiago Freire 2005-09-02 06:57:36 0000 -------
Yes, it worked. Thumbs up for resolution Turnaround time! 

------- Comment #17 From SpanKY 2005-09-08 06:38:41 0000 -------
*** Bug 104973 has been marked as a duplicate of this bug. ***

------- Comment #18 From Richard Murphy 2005-09-08 19:15:51 0000 -------
*** Bug 105317 has been marked as a duplicate of this bug. ***

------- Comment #19 From Jakub Moc 2005-09-11 08:37:33 0000 -------
*** Bug 105606 has been marked as a duplicate of this bug. ***

------- Comment #20 From Jakub Moc 2005-09-19 14:14:47 0000 -------
*** Bug 106585 has been marked as a duplicate of this bug. ***

------- Comment #21 From Torsten Veller 2005-09-27 13:56:42 0000 -------
*** Bug 106798 has been marked as a duplicate of this bug. ***

------- Comment #22 From Lindsay Haisley 2005-09-27 15:23:44 0000 -------
*** Bug 106730 has been marked as a duplicate of this bug. ***

------- Comment #23 From Jakub Moc 2005-10-26 07:00:15 0000 -------
*** Bug 110527 has been marked as a duplicate of this bug. ***

------- Comment #24 From Jakub Moc 2005-11-09 06:45:14 0000 -------
*** Bug 111905 has been marked as a duplicate of this bug. ***

------- Comment #25 From Torsten Veller 2005-11-26 13:14:37 0000 -------
*** Bug 113656 has been marked as a duplicate of this bug. ***

------- Comment #26 From Lindsay Haisley 2005-11-30 19:21:02 0000 -------
Someone needs to move on bringing fam 2.7.0-r4 into stable.  This problem was
reported and supposedly resolved back in May, and fam stable is still at
2.7.0-r2 for amd64, which has the problem described (and resolved) here.  Foser?
 'zat your department ??

I just did another amd64 install and tripped on the same problem again, although
emerging fam unstable fixes it.

------- Comment #27 From Jakub Moc 2005-12-05 00:35:10 0000 -------
*** Bug 114502 has been marked as a duplicate of this bug. ***

------- Comment #28 From Jakub Moc 2005-12-22 00:59:46 0000 -------
*** Bug 116353 has been marked as a duplicate of this bug. ***

------- Comment #29 From Jakub Moc 2005-12-23 11:59:23 0000 -------
*** Bug 116527 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug