Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160286 - net-libs/courier-authlib-0.58 autoconf error w/ USE="gdbm"
Summary: net-libs/courier-authlib-0.58 autoconf error w/ USE="gdbm"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 160751 161686 161824 162503 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-05 09:25 UTC by Paul
Modified: 2007-01-17 09:39 UTC (History)
9 users (show)

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


Attachments
files/configure-gdbm.patch (configure-gdbm.patch,252 bytes, text/plain)
2007-01-16 11:35 UTC, Sheldon Hearn
Details
files/configure-gdbm.patch (configure-gdbm.patch,252 bytes, patch)
2007-01-16 11:35 UTC, Sheldon Hearn
Details | Diff
Patch against courier-authlib-0.58.ebuild (courier-authlib-0.58.ebuild.patch,581 bytes, patch)
2007-01-16 11:37 UTC, Sheldon Hearn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2007-01-05 09:25:13 UTC
emerge -v  courier-imap courier-authlib gave me this output.

* Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/courier-authlib-0.58/temp/autoconf-24696.out


!!! ERROR: net-libs/courier-authlib-0.58 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  courier-authlib-0.58.ebuild, line 56:   Called eautoreconf
  autotools.eclass, line 88:   Called eautoconf
  autotools.eclass, line 161:   Called autotools_run_tool 'autoconf'
  autotools.eclass, line 248:   Called die
Comment 1 Paul 2007-01-05 09:26:26 UTC
this is emerge --info : 

test postfix # emerge --info
Portage 2.1.1-r2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r5, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1700MHz
Gentoo Base System version 1.12.6
Last Sync: Fri, 05 Jan 2007 16: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.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe -march=pentium4"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "
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.europe.gentoo.org/gentoo-portage"
USE="x86 alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm arts berkdb bitmap-fonts cli cracklib crypt dlloader dri eds elibc_glibc emboss encode foomaticdb fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 iconv imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux libg++ libwww mad maildir mikmod motif mp3 mpeg mysql ncurses nls ogg opengl oss pam pcre pdo perl png pppd python qt3 qt4 quicktime readline reflection sasl sdl session spell spl ssl swat tcpd truetype truetype-fonts type1-fonts 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 vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Paul 2007-01-05 09:29:29 UTC
this is /var/tmp/portage/courier-authlib-0.58/temp/autoconf-24696.out

***** autoconf *****

configure.in:26: error: possibly undefined macro: AC_PROG_SYSCONFTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
Comment 3 Sebastian Fohler 2007-01-05 09:35:42 UTC
It seems that this problem is quickfixed if you do a USE="-gdbm" it's working then. Question is this intentionally or just a bug.
Comment 4 Paul 2007-01-05 11:48:59 UTC
ahh yeah that worked :)
i don't know what gdbm is but it works ^^
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-01-07 18:49:14 UTC
*** Bug 160751 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-01-12 07:50:27 UTC
*** Bug 161686 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-01-12 21:28:10 UTC
*** Bug 161821 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-01-12 21:47:16 UTC
*** Bug 161824 has been marked as a duplicate of this bug. ***
Comment 9 Radko Lazarov 2007-01-14 19:09:58 UTC
It doens't work for me even with -gdbm

reating libbdbobj.la
(cd .libs && rm -f libbdbobj.la && ln -s ../libbdbobj.la libbdbobj.la)
/bin/sh ./libtool --tag=CXX   --mode=link i686-pc-linux-gnu-g++  -O3 -march=pentium-m -pipe -ftracer -fprefetch-loop-arrays -fvisibility-inlines-hidden -static -Wl,-O1 -Wl,--sort-common -s -o testbdb testbdb.o libbdbobj.la -ldb-4.2
i686-pc-linux-gnu-g++ -O3 -march=pentium-m -pipe -ftracer -fprefetch-loop-arrays -fvisibility-inlines-hidden -Wl,-O1 -Wl,--sort-common -s -o testbdb testbdb.o  ./.libs/libbdbobj.a /usr/lib/libdb-4.2.so -lpthread
./.libs/libbdbobj.a(bdbobj.o): In function `.L40':
bdbobj.c:(.text+0x2a7): undefined reference to `db_create'
collect2: ld returned 1 exit status
make[3]: *** [testbdb] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.58/work/courier-authlib-0.58/bdbobj'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.58/work/courier-authlib-0.58/bdbobj'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.58/work/courier-authlib-0.58'
make: *** [all] Error 2

!!! ERROR: net-libs/courier-authlib-0.58 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3737:   Called src_compile
  courier-authlib-0.58.ebuild, line 95:   Called die

!!! Compile problem
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-libs/courier-authlib-0.58/temp/build.log'.
Comment 10 Radko Lazarov 2007-01-14 19:24:50 UTC
It it could help, I have openldap-2.3.31-r1 installed , which means different/new libldap and liblber
Comment 11 Sheldon Hearn 2007-01-14 20:23:08 UTC
Unfortunately, many users of courier-authlib's userdb mechanism can't disable gdbm.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-01-14 21:19:30 UTC
(In reply to comment #9)
> It doens't work for me even with -gdbm

Completely unrelated issue, move it somewhere else please.
Comment 13 Radko Lazarov 2007-01-15 06:04:17 UTC
(In reply to comment #12)
> (In reply to comment #9)
> > It doens't work for me even with -gdbm
> 
> Completely unrelated issue, move it somewhere else please.
> 

OK I reponed my bug 161821
Comment 14 Jacek 2007-01-15 21:51:48 UTC
I can confirm, adding "-gdbm" solve autoconf error.
Comment 15 Sheldon Hearn 2007-01-16 11:26:17 UTC
This seems trivial to fix.  I'm going to attach a patch to the ebuild, and the new FILESDIR patch it depends on.
Comment 16 Sheldon Hearn 2007-01-16 11:35:54 UTC
Created attachment 107169 [details]
files/configure-gdbm.patch

Remove obsolete macro even when the gdbm USE flag is set.
Comment 17 Sheldon Hearn 2007-01-16 11:35:59 UTC
Created attachment 107171 [details, diff]
files/configure-gdbm.patch

Remove obsolete macro even when the gdbm USE flag is set.
Comment 18 Sheldon Hearn 2007-01-16 11:37:27 UTC
Created attachment 107172 [details, diff]
Patch against courier-authlib-0.58.ebuild

Fix ebuild to apply configure-gdbm.patch when the gdbm USE flag is set.
Comment 19 Charlie Shepherd (RETIRED) gentoo-dev 2007-01-16 23:05:17 UTC
Thanks, fixed in CVS.
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2007-01-17 09:39:44 UTC
*** Bug 162503 has been marked as a duplicate of this bug. ***