Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143170 - www-apps/horde-turba needs dev-php/PEAR-Net_LDAP dependency
Summary: www-apps/horde-turba needs dev-php/PEAR-Net_LDAP dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-08 00:57 UTC by Marcin Deranek
Modified: 2007-12-30 18:42 UTC (History)
1 user (show)

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


Attachments
Net_LDAP sample ebuild (PEAR-Net_LDAP-0.6.6.ebuild,260 bytes, text/plain)
2006-08-14 04:41 UTC, Marcin Deranek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Deranek 2006-08-08 00:57:31 UTC
It seems like horde-turba 2.1 has a missing dependency on Net_LDAP PHP module. Here is the error I get:

Aug  8 09:35:50 ftp php-cgi: PHP Warning:  Turba_Driver_ldap::require_once(Net/LDAP.php) [<a href='function.Turba-Driver-ldap-require-once
'>function.Turba-Driver-ldap-require-once</a>]: failed to open stream: No such file or directory in /usr/share/webapps/horde-turba/2.1/htd
ocs/lib/Driver/ldap.php on line 673
Aug  8 09:35:50 ftp php-cgi: PHP Fatal error:  Turba_Driver_ldap::require_once() [<a href='function.require'>function.require</a>]: Failed
 opening required 'Net/LDAP.php' (include_path='/usr/share/webapps/horde/3.1.1-r1/htdocs/lib:.:/usr/share/php5:/usr/share/php') in /usr/sh
are/webapps/horde-turba/2.1/htdocs/lib/Driver/ldap.php on line 673

Unfortunately Net_LDAP is not in portage.. Any chance of getting this fixed ?

emerge --info:
Portage 2.1-r1 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r10 i686)
=================================================================
System uname: 2.6.16-hardened-r10 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/var/tmp/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="accessibility acpi adns apm bash-completion berkdb bidi bindist bzip2 clamav crypt cscope ctype cups curl curlwrappers dio dlloader exif fastcgi flatfile foomaticdb ftp gd gdbm gif gnutls gpm graphviz hardened hardenedphp iconv idn imagemagick imap javascript jbig jpeg jpeg2k lcms libcaca libwww maildir mbox memlimit mime mmap mmx mng mpi multilib ncurses nls nocd nptl pam pcntl pcre pdf perl php pic png posix ppds readline session sharedmem slang sockets spell sqlite3 sse ssl sysvipc szip tcpd test threads tidy tiff truetype unicode usb userlocales x86 xml xorg zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_dummy"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marcin Deranek 2006-08-08 14:58:05 UTC
Looks like disabling all check_required* and check_syntax in sources.php works around the problem. If those checks are enabled Net_LDAP module is required to perform sanity checks on attributes..
Comment 2 Marcin Deranek 2006-08-14 04:41:13 UTC
Created attachment 94224 [details]
Net_LDAP sample ebuild

Proposed ebuild for PEAR-Net_LDAP (might require some changes)
Comment 3 Marcin Deranek 2006-08-14 04:47:07 UTC
I have emerged PEAR-Net_LDAP using provided ebuild on x86 platform and looks like it works (required fields were automatically provided by Horde if they were missing). I think adding 'ldap' use flag to horde-turba would be nice..
Comment 4 SpanKY gentoo-dev 2006-10-25 20:48:55 UTC
no, this is not my problem until PEAR-Net_LDAP is in portage
Comment 5 Renat Lumpau (RETIRED) gentoo-dev 2007-01-02 13:15:03 UTC
not ours either
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-05-20 21:43:57 UTC
Sorry, missing dependencies in existing ebuilds not maintained by PHP are not a PHP issue. Either add the ebuild and the needed dependency or fix horde-turba to not require it.
Comment 7 Marcin Deranek 2007-05-20 21:58:41 UTC
First PEAR-Net_LDAP needs to find its way into portage (Comment #4). Working ebuild is provided.
If you, for whatever reason, do not want to do that please close this bug (actually request) - I already lost any hope sometime during those 9 moths of waiting..
Comment 8 SpanKY gentoo-dev 2007-05-24 03:15:57 UTC
Jakub: seriously, stop trying to "help"
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-05-24 18:03:41 UTC
(In reply to comment #8)
> Jakub: seriously, stop trying to "help"

As said above; this is none of PHP herd business; kindly fix horde stuff. We won't do it.
Comment 10 SpanKY gentoo-dev 2007-05-25 04:12:34 UTC
which part of "go away" dont you understand ?  was it the "go" or the "away" or the part where you're not wanted ?

since you obviously dont have a clue as to what's going on here, why not try all three
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-08-20 21:58:22 UTC
vapier - in the tree, all yours now ;)
Comment 12 SpanKY gentoo-dev 2007-12-30 18:42:17 UTC
ive added the optional depend:
http://sources.gentoo.org/www-apps/horde-turba/horde-turba-2.1.5.ebuild?r1=1.1&r2=1.2