Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152764 - net-mail/cyrus-imap-admin-2.2.12-r1 compile error: libconfig
Summary: net-mail/cyrus-imap-admin-2.2.12-r1 compile error: libconfig
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-25 03:52 UTC by Ralf Barth
Modified: 2007-09-07 18:25 UTC (History)
1 user (show)

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


Attachments
Fixes a compile error in imapopts.h (imapopts.h,4.84 KB, text/plain)
2007-05-24 12:23 UTC, Stuart Luscombe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Barth 2006-10-25 03:52:03 UTC
Hi! cyrus-imap-admin won't compile on my system, im using the stable tree,
no keywords, etc... defined.

...
libconfig.c:462: error: arithmetic on pointer to an incomplete type
libconfig.c:464: error: dereferencing pointer to incomplete type
libconfig.c:466: error: dereferencing pointer to incomplete type
libconfig.c:468: error: dereferencing pointer to incomplete type
libconfig.c:477: error: 'OPT_NOTOPT' undeclared (first use in this function)
make: *** [libconfig.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/var/tmp/portage/cyrus-imap-admin-2.2.12-r1/work/cyrus-imapd-2.2.12/lib'

!!! ERROR: net-mail/cyrus-imap-admin-2.2.12-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  cyrus-imap-admin-2.2.12-r1.ebuild, line 72:   Called die

!!! compile problem
!!! If you need support, post the topmost build error, and the call stack if relevant

emerge --info:
------------------------------------------------------------------------
aerogramme haggy # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8-aerogramme-1.0 i686)
=================================================================
System uname: 2.6.17-gentoo-r8-aerogramme-1.0 i686 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.5
Last Sync: Wed, 25 Oct 2006 08:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://pandemonium.tiscali.de/pub/gentoo/"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow apache2 berkdb bitmap-fonts cli cracklib crypt curl dlloader dri elibc_glibc fortran gd gif gpm imap input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux ldap libg++ mysql ncurses nls nptl nptlonly pam pcre perl png ppds pppd python readline reflection session spl sse sse2 ssl tcpd tiff truetype truetype-fonts ttf type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xml2 xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Thanks in advance!
Ralf.
Comment 1 Stuart Luscombe 2007-05-24 12:23:11 UTC
Created attachment 120183 [details]
Fixes a compile error in imapopts.h
Comment 2 Stuart Luscombe 2007-05-24 12:24:19 UTC
I came across a patch for this error here: https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2681

I tested by replacing my imapopts.h with the one from that page and the compile completed correctly. I've attached it to this bug for further checking.
Comment 3 Stephan Kupfer 2007-07-06 22:10:40 UTC
(In reply to comment #2)
> I came across a patch for this error here:
> https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2681
> 
> I tested by replacing my imapopts.h with the one from that page and the compile
> completed correctly. I've attached it to this bug for further checking.
> 

i replaced the file but it wont compile on my opteron :-(


Comment 4 Tobias Scherbaum (RETIRED) gentoo-dev 2007-09-07 18:25:51 UTC
Please test cyrus-imap-admin-2.2.13 which already has been marked stable for x86 and report back if it fixes this error for you.