Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225565 - net-im/ejabberd-2.0.1_p2 fails to merge w/ USE="ldap"
Summary: net-im/ejabberd-2.0.1_p2 fails to merge w/ USE="ldap"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-09 12:47 UTC by Johannes Truschnigg
Modified: 2008-07-24 12:56 UTC (History)
4 users (show)

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


Attachments
Patch from svn, fixed to apply (2.0.1-parallel-make.patch,1.50 KB, patch)
2008-07-16 16:36 UTC, Dennis Schridde
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Truschnigg 2008-06-09 12:47:05 UTC
When trying to install ejabberd with "ldap" in its USE, the build fails with the following:

--- snip ---
229 making all in eldap
230 make[1]: Entering directory `/var/tmp/portage/net-im/ejabberd-2.0.1_p2/work/ejabberd-2.0.1/src/eldap'
231 /usr/bin/erlc -bber_bin -W -I .. -pz .. ELDAPv3.asn
232 make[1]: *** No rule to make target `ELDAPv3.beam', needed by `all'.  Stop.
233 make[1]: *** Waiting for unfinished jobs....
234 Erlang ASN.1 version "1.5.1" compiling "/var/tmp/portage/net-im/ejabberd-2.0.1_p2/work/ejabberd-2.0.1/src/eldap/ELDAPv3.    asn"
235 Compiler Options: [ber_bin,report_errors,
236                    {cwd,"/var/tmp/portage/net-im/ejabberd-2.0.1_p2/work/ejabberd-2.0.1/src/eldap"},
237                    {outdir,"/var/tmp/portage/net-im/ejabberd-2.0.1_p2/work/ejabberd-2.0.1/src/eldap"},
238                    {i,"/var/tmp/portage/net-im/ejabberd-2.0.1_p2/work/ejabberd-2.0.1/src/eldap/.."},
239                    {i,"."},
240                    {i,"/var/tmp/portage/net-im/ejabberd-2.0.1_p2/work/ejabberd-2.0.1/src/eldap"}]
241 --{generated,"/var/tmp/portage/net-im/ejabberd-2.0.1_p2/work/ejabberd-2.0.1/src/eldap/ELDAPv3.asn1db"}--
242 --{generated,"/var/tmp/portage/net-im/ejabberd-2.0.1_p2/work/ejabberd-2.0.1/src/eldap/ELDAPv3.hrl"}--
243 --{generated,"/var/tmp/portage/net-im/ejabberd-2.0.1_p2/work/ejabberd-2.0.1/src/eldap/ELDAPv3.erl"}--
244 ok
245 make[1]: Leaving directory `/var/tmp/portage/net-im/ejabberd-2.0.1_p2/work/ejabberd-2.0.1/src/eldap'
246 make: *** [all-recursive] Error 1
--- snip ---

Not having "ldap" set avoids this issue, and allows ejabberd to be installed properly.

Reproducible: Always

Steps to Reproduce:
1. put "ldap" in USE for net-im/ejabberd
2. emerge ejabberd
Actual Results:  
ejabberd fails to complete its build process

Expected Results:  
ejabberd is installed with LDAP support

Erlang version was 12.2.2
Comment 1 Bernd Marienfeldt 2008-06-25 09:31:40 UTC
This is still an issue.



echo "net-im/ejabberd -ldap" >> /etc/portage/package.use

net-im/ejabberd     ldap mod_irc mod_muc mod_pubsub -odbc ssl web
dev-lang/php xml
net-im/ejabberd -ldap

emerge --info
Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.24-hardened-r2 i686)
=================================================================
System uname: 2.6.24-hardened-r2 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Timestamp of tree: Wed, 25 Jun 2008 07:36:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 base bash-completion berkdb bzip2 cli crypt ctype elf gd gif hardened hardenedphp imap innodbipv6 jpeg jpgraph libwww lm_sensors maildir mailwarapper mbox mmx mysql ncurses nptl nptlonly pam pcre pear perl php pic pie png python readline sensord session snort sqlite sse ssl threads truetype unicode x86 xml xml2 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1         emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m  maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvifso speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt      mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage         siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware    voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2008-06-27 12:19:44 UTC
any idea on a fix?
Comment 3 Dennis Schridde 2008-07-16 16:03:04 UTC
Fix is in their svn/trunk: https://forge.process-one.net/changelog/ejabberd/trunk/src/eldap?cs=1258
Comment 4 Dennis Schridde 2008-07-16 16:13:40 UTC
Created upstream bugreport: http://support.process-one.net/browse/EJAB-697
Comment 5 Dennis Schridde 2008-07-16 16:36:37 UTC
Created attachment 160582 [details, diff]
Patch from svn, fixed to apply
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2008-07-19 12:22:56 UTC
Committed patch as 2.0.1_p2-r1.  Thanks for the report.
Comment 7 Dennis Schridde 2008-07-24 12:56:15 UTC
Fixed upstream in r1484. (Thus I assume it will be included in 2.0.2.)