Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disappearing ldap USE flag (RaQ2; mipsel) [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
salmonleap
n00b
n00b


Joined: 19 Mar 2005
Posts: 8

PostPosted: Tue Mar 13, 2007 3:03 pm    Post subject: Disappearing ldap USE flag (RaQ2; mipsel) [Solved] Reply with quote

This is probably old news, but I just noticed that the ldap USE flag is getting eaten no matter what's in make.conf.

/etc/make.conf:
Code:

# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -mips4 -mabi=32 -pipe"
CHOST="mipsel-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
FEATURES="-strict distcc"
MAKEOPTS="-j9"
PORTAGE_NICENESS="15"
USE="-X -nls aac apache2 -bitmap-fonts dedicated doc ftp gstreamer howl ldap mysql php posix -pppd -truetype-fonts -type1-fonts unicode -xorg zeroconf -video_cards_fbdev -video_cards_impact -video_cards_newport -video_cards_v4l"
SYNC="rsync://192.168.100.10/gentoo-portage"
PORTDIR_OVERLAY="/usr/local/portage"


/etc/make.profile/ -> ../usr/portage/profiles/default-linux/mips/2006.1/cobalt/o32

/etc/make.profile/make.defaults:
Code:

# Copyright 2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2006.1/cobalt/o32/make.defaults,v 1.3 2006/06/30 21:01:34 spyderous Exp $

# Cobalt O32 Profile
# Also Catalyst Build Profile for Cobalt O32ARCH="mips"PROFILE_ARCH="cobalt"
# Cobalt systems are Little-Endian, and do not support (yet) 64bit kernelsCHOST="mipsel-unknown-linux-gnu"
# Sandbox is broken on mips (Bug #45814)FEATURES="-sandbox ccache autoconfig"

# Compiler flags
# We build as R5000, because Cobalts have an RM5231A CPU in them.  Enforce o32
# as the default ABI as well.
CFLAGS="-O2 -pipe -march=r5000 -mabi=32"
CXXFLAGS=${CFLAGS}

ACCEPT_KEYWORDS="mips"

USE="readline fortran gpm berkdb gdbm tcpd pam libwww ssl nls perl python sdl mips cobalt"
STAGE1_USE="mips cobalt"


emerge --info gives:
Code:

Portage 2.1.2.2 (default-linux/mips/2006.1/cobalt/o32, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16.17-mipsgit-20060320-RaQ2 mips)
=================================================================
System uname: 2.6.16.17-mipsgit-20060320-RaQ2 mips Nevada V10.0  FPU V10.0
Gentoo Base System version 1.12.6
Timestamp of tree: Sat, 10 Mar 2007 11:00:01 +0000
distcc 2.18.3 mipsel-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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, 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.14.4
ACCEPT_KEYWORDS="mips"
AUTOCLEAN="yes"
CBUILD="mipsel-unknown-linux-gnu"
CFLAGS="-O2 -mips4 -mabi=32 -pipe"CHOST="mipsel-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mips4 -mabi=32 -pipe"DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j9"
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"
SYNC="rsync://192.168.100.10/gentoo-portage"
USE="aac apache2 berkdb cli cobalt cracklib dedicated doc fortran ftp gdbm gpm howl iconv isdnlog libwww midi mips mysql pam pcre perl posix python readline reflection sdl session spl ssl tcpd unicode zeroconf" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


This is causing emerge to compile/recompile everything without the ldap flag. For example:

Code:

#emerge -uvaD --newuse world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild   R   ] dev-libs/apr-util-0.9.12  USE="berkdb gdbm (-ldap*)" 0 kB
[ebuild   R   ] net-www/apache-2.0.58-r2  USE="apache2 doc ssl -debug (-ldap*) -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules -threads" 0 kB
[ebuild   R   ] net-misc/openssh-4.4_p1-r6  USE="pam tcpd -X -X509 -chroot -hpn -kerberos (-ldap*) -libedit (-selinux) -skey (-smartcard) -static" 0 kB
[ebuild   R   ] app-admin/sudo-1.6.8_p12-r1  USE="pam (-ldap*) -offensive (-selinux) -skey" 0 kB

Total: 5 packages (5 reinstalls), Size of downloads: 0 kB


Any ideas as to why this is happening? Is it a bug or a feature?


Last edited by salmonleap on Wed Mar 14, 2007 3:39 am; edited 1 time in total
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Tue Mar 13, 2007 11:54 pm    Post subject: Reply with quote

Basically, LDAP has been USE-masked on MIPS.

Code:
stuartl@wander ~ $ grep -B 5 ldap /usr/portage/profiles/default-linux/mips/use.mask
# Alexander Færøy <eroyf@gentoo.org>
# Err, not enough time atm... Mask for now.
xcb

# Alexander Færøy <eroyf@gentoo.org>
# ldap -- untested, masking for now.
ldap


This is because the OpenLDAP team, in their infinite wisdom, have decided to not fix their broken testkit, and thus we're not able to properly test OpenLDAP.

You can still use LDAP support, you need to put the following into /etc/portage/profiles/use.mask:
Code:
-ldap


Then you should find LDAP will work once more. (Edit: eroyf -- Hope I spelled your name better than grep did)
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
salmonleap
n00b
n00b


Joined: 19 Mar 2005
Posts: 8

PostPosted: Wed Mar 14, 2007 3:34 am    Post subject: Reply with quote

Thanks Redhatter, but is that the correct path? I thought it should be:

Code:

/etc/portage/profile/use.mask


<some tinkering happened here>

Which I now find is indeed what I have to use to get the ldap USE flag back.

Thanks for the explanation of what was going on and the hint. USE-(un)masking isn't something I've had to do yet so it didn't occur to me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum