First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 183359
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrew Ross (RETIRED) <aross@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 183359 depends on: Show dependency tree
Show dependency graph
Bug 183359 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: 2007-06-27 03:24 0000
When sys-fs/quota is built with USE=ldap it uses libldap functions which are
deprecated in OpenLDAP v2.3. To make the deprecated function prototypes visible
in <ldap.h> "-DLDAP_DEPRECATED=1" must be present in CPPFLAGS, otherwise the
build fails on amd64 when FEATURES=stricter (see below).

Both sys-fs/quota-3.13 and sys-fs/quota-3.14-r1 are affected by this bug.


 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * warnquota.c:164: warning: implicit declaration of function `ldap_unbind'
warnquota.c:174: warning: implicit declaration of function `ldap_init'
warnquota.c:176: warning: implicit declaration of function `ldap_perror'
warnquota.c:180: warning: implicit declaration of function `ldap_bind_s'
warnquota.c:395: warning: implicit declaration of function `ldap_search_s'


 * QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 * Function `ldap_init' implicitly converted to pointer at warnquota.c:174


Portage 2.1.2.7 (hardened/amd64, gcc-3.4.6, glibc-2.5-r2, 2.6.20-hardened-r2
x86_64)
=================================================================
System uname: 2.6.20-hardened-r2 x86_64 Intel(R) Core(TM)2 CPU          6420  @
2.13GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 27 Jun 2007 00:50:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  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.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/terminfo"
CXXFLAGS="-march=nocona -O2 -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-detect cvs distlocks metadata-transfer multilib-strict
parallel-fetch sandbox sfperms splitdebug strict stricter test userfetch
userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.aarnet.edu.au/pub/gentoo"
MAKEOPTS="-j3"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/aross"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 bash-completion berkdb bzip2 caps crypt cups fam
hardened jpeg jpeg2k justify kerberos ldap midi ncurses nls nptl nptlonly pcre
pic png postgres python quotas readline sasl snmp spell sse2 ssl symlink test
tiff truetype unicode urandom vhosts xattr xml xorg zlib"
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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From SpanKY 2007-07-06 04:29:12 0000 -------
fixed in quota-3.14-r1

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