First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 208393
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Stefaan De Roeck <stefaan@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Skwar <askwar@digitalprojects.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
net-fs:autofs-5.0.3:20080201-080245.log net-fs:autofs-5.0.3:20080201-080245.log (Build log) text/plain Alexander Skwar 2008-02-01 08:06 0000 28.36 KB Details
autofs /etc/init.d/autofs text/plain Alexander Skwar 2008-02-01 10:02 0000 1.52 KB Details
autofs.rc14 init script for net-fs/autofs-5.0.3 text/plain Stefaan De Roeck 2008-02-01 10:14 0000 920 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 208393 depends on: Show dependency tree
Bug 208393 blocks: 158449
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-01 08:03 0000
Tried to update autofs with these flags:

[ebuild     U ] net-fs/autofs-5.0.3 [5.0.2] USE="ldap (-sasl%)" 0 kB 

fails:

[...]
gcc -shared -march=pentium-m -O2 -pipe -fomit-frame-pointer -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I../include
-I../lib -fPIC -D_GNU_SOURCE -DAUTOFS_LIB_DIR=\"/usr/lib/autofs\"
-DAUTOFS_MAP_DIR=\"/etc/autofs\" -o mount_nfs.so \
                mount_nfs.c replicated.o ../lib/autofs.a -lnsl
strip --strip-debug lookup_nisplus.so
strip --strip-debug mount_nfs.so
In file included from cyrus-sasl.c:59:
../include/lookup_ldap.h:10:18: error: krb5.h: No such file or directory
In file included from cyrus-sasl.c:59:
../include/lookup_ldap.h:74: error: expected specifier-qualifier-list before
'krb5_context'
cyrus-sasl.c: In function 'sasl_do_kinit':
cyrus-sasl.c:379: error: 'krb5_error_code' undeclared (first use in this
function)
cyrus-sasl.c:379: error: (Each undeclared identifier is reported only once
cyrus-sasl.c:379: error: for each function it appears in.)
cyrus-sasl.c:379: error: expected ';' before 'ret'
cyrus-sasl.c:380: error: 'krb5_principal' undeclared (first use in this
function)
cyrus-sasl.c:380: error: expected ';' before 'tgs_princ'
cyrus-sasl.c:381: error: 'krb5_creds' undeclared (first use in this function)
cyrus-sasl.c:381: error: expected ';' before 'my_creds'
cyrus-sasl.c:393: error: 'ret' undeclared (first use in this function)
cyrus-sasl.c:393: error: 'struct lookup_context' has no member named 'krb5ctxt'
cyrus-sasl.c:399: error: 'struct lookup_context' has no member named 'krb5ctxt'
cyrus-sasl.c:399: error: 'struct lookup_context' has no member named
'krb5_ccache'
[...]

It failed, because of:

../include/lookup_ldap.h:10:18: error: krb5.h: No such file or directory

autofs-5.0.2 compiles just fine, using these flags:

[ebuild   R   ] net-fs/autofs-5.0.2  USE="ldap -sasl" 0 kB [1]

I have cyrus-sasl-2.1.22-r2 installed with these flags:

[ebuild   R   ] dev-libs/cyrus-sasl-2.1.22-r2  USE="-authdaemond berkdb crypt
gdbm -java -kerberos ldap -mysql -ntlm_unsupported_patch pam -postgres -sample
-srp ssl -urandom" 1,572 kB 

Oh. 5.0.2 was from my own overlay. It did not use SASL (and it allowed to build
autofs without the use of SASL).

Rebuilding cyrus-sasl did not help.


--($:~)-- emerge --info
Portage 2.1.4.1 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1,
2.6.24-gentoo.r08.mit-ide-mod_2 i686)
=================================================================
System uname: 2.6.24-gentoo.r08.mit-ide-mod_2 i686 Genuine Intel(R) CPU T2400 @
1.83GHz
Timestamp of tree: Fri, 01 Feb 2008 06:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.24
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/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
/etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="buildpkg ccache collision-protect distlocks metadata-transfer
parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="        http://ftp.heanet.ie/pub/gentoo/       
http://ftp.gentoo.or.kr/        http://distfiles.gentoo.org/   
http://www.ibiblio.org/pub/Linux/distributions/gentoo "
LANG="de_CH.UTF-8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/Gentoo/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="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc"
SYNC="rsync://winds06:10873/gentoo-portage"
USE="X acpi alsa berkdb bitmap-fonts bluetooth cairo cdr cli cracklib crypt
cups dbus dmi doc dri dvd dvdr dvdread encode fam firefox fortran gdbm gif
gnome gnutls gpm gstreamer gtk hal iconv isdnlog jpeg kde kdeenablefinal
kdehiddenvisibility ldap libnotify mad midi mmx mp3 mpeg mudflap ncurses nls
nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png pppd python qt3
qt3support qt4 quicktime readline reflection samba sdl session spell spl sse
sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis wifi
win32codecs x86 xine xinerama xml xorg xv zlib" ALSA_CARDS="hda-intel intel8x0
intel8x0m usb-audio usb-usx3y" 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 setenvif so speling status
unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="ptp2
directory" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv nvidia vga
none"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Alexander Skwar 2008-02-01 08:06:53 0000 -------
Created an attachment (id=142357) [edit]
net-fs:autofs-5.0.3:20080201-080245.log (Build log)

------- Comment #2 From Stefaan De Roeck 2008-02-01 09:07:45 0000 -------
Unfortunately, autofs doesn't provide means to use sasl without kerberos5. 
Adding a dependency in case sasl is enabled with the use flag.  

------- Comment #3 From Stefaan De Roeck 2008-02-01 09:08:11 0000 -------
Fixed in net-fs/autofs-5.0.3-r1

------- Comment #4 From Stefaan De Roeck 2008-02-01 09:15:58 0000 -------
Oh, please check to confirm if it works for you as well?  autofs-4.1.3 to
autofs-5.0.3 was quite a version bump, many bugs may have been solved and
introduced, so I currently have no idea if this ebuild works for anyone else
than just me.  
Thanks for reporting!

------- Comment #5 From Alexander Skwar 2008-02-01 10:02:29 0000 -------
Created an attachment (id=142364) [edit]
/etc/init.d/autofs

Are you sure about the init script? it doesn't look like it's very much
"gentooish", so to say.

Attached you can find, what I was using (and what was working very fine).

------- Comment #6 From Alexander Skwar 2008-02-01 10:11:17 0000 -------
(In reply to comment #4)
> Oh, please check to confirm if it works for you as well? 

Compiles and works just fine.

> autofs-4.1.3 to
> autofs-5.0.3 was quite a version bump,

Yep. But I was using autofs-5.0.2 before I upgraded to 5.0.3 :)

------- Comment #7 From Stefaan De Roeck 2008-02-01 10:14:41 0000 -------
Created an attachment (id=142365) [edit]
init script for net-fs/autofs-5.0.3

Hmm, this looks very similar to what I've got.  Are you sure that
/usr/portage/net-fs/autofs/files/autofs.rc14 is what got installed on your
system?  Did you use dispatch-conf / etc-update?

If you're using the right init-script, please point out the differences you
noticed.  

------- Comment #8 From Alexander Skwar 2008-02-01 10:29:59 0000 -------
i don't know what I was using, but your autofs.rc14 looks indeed very fine.

No more objections from my side.

Well - almost none :) You might want to close bug #158449 as well. It's an old
version bump request to 5.0.1. Or you might want to have a look at that bug.
There, some person posted some patches for 5.0.3. You'll see :)

------- Comment #9 From Stefaan De Roeck 2008-02-01 10:36:35 0000 -------
(In reply to comment #8)
> i don't know what I was using, but your autofs.rc14 looks indeed very fine.

Weird, the ebuild is supposed to install this file.  Any idea how your version
might have gotten there?  If because of a bug, it should be fixed.  

Existing bugs will be dealt with at a later time, maybe next week.  

------- Comment #10 From Alexander Skwar 2008-02-01 10:55:49 0000 -------
As the portage mirrors did not have your ebuild, I fetched the 5.0.3-r1 ebuild
(and nothing else) from sources.gentoo.org with http.

I know that I should have either waited or should've done a "cvs co".

That's how that happened, I suppose.

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