Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327445 - www-apache/mod_auth_kerb-5.4: fails to build with app-crypt/heimdal-1.3.3 (automagic dep?)
Summary: www-apache/mod_auth_kerb-5.4: fails to build with app-crypt/heimdal-1.3.3 (au...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal with 4 votes (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 561138 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-08 08:03 UTC by Jiri Novosad
Modified: 2017-06-04 18:30 UTC (History)
5 users (show)

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


Attachments
the build log (build.log,6.37 KB, text/plain)
2010-07-08 08:04 UTC, Jiri Novosad
Details
include gssapi/gssapi_krb5.h also for heimdal (mod_auth_kerb-5.4-gssapi_krb5.patch,346 bytes, patch)
2010-10-05 13:08 UTC, Jiri Novosad
Details | Diff
apply the patch to include gssapi/gssapi_krb5.h also for heimdal (mod_auth_kerb-5.4.ebuild.patch,818 bytes, patch)
2010-10-05 13:10 UTC, Jiri Novosad
Details | Diff
build.log (build.log,2.40 KB, text/plain)
2013-01-04 11:00 UTC, Sergey Popov
Details
mod_auth_kerb.tar.xz (mod_auth_kerb.tar.xz,12.40 KB, application/octet-stream)
2013-01-04 14:13 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Novosad 2010-07-08 08:03:27 UTC
After upgrade to heimdal-1.3.3 (from heimdal-1.2.1-r4) the build of mod_auth_kerb-5.4 fails.

Reproducible: Always

Steps to Reproduce:
1. emerge -av =app-crypt/heimdal-1.3.3 =www-apache/mod_auth_kerb-5.4
2.
3.

Actual Results:  
Build fails, will attach the build log.


Using heimdal-1.2.1-r4  or app-crypt/mit-krb5-1.8.2 instead of heimdal-1.3.3 works.

app-crypt/heimdal-1.3.3 was built with the following:
USE="X berkdb ipv6 (multilib) ssl -afs -hdb-ldap -otp -pkinit -test -threads" 

$ emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.32.7 x86_64)
=================================================================
System uname: Linux-2.6.32.7-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-gentoo-1.12.13
Timestamp of tree: Thu, 08 Jul 2010 07:00:18 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo/"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="3dnow 3dnowext X acl amd64 bash-completion berkdb bzip2 cli cracklib crypt cups cxx dbus dri gdbm gif iconv ipv6 jpeg mbox mmx mmxext modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre pic png pppd readline reflection session spl sse sse2 ssl sysfs tcpd tiff unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jiri Novosad 2010-07-08 08:04:18 UTC
Created attachment 237993 [details]
the build log
Comment 2 Jiri Novosad 2010-10-05 13:08:24 UTC
Created attachment 249637 [details, diff]
include gssapi/gssapi_krb5.h also for heimdal
Comment 3 Jiri Novosad 2010-10-05 13:10:20 UTC
Created attachment 249639 [details, diff]
apply the patch to include gssapi/gssapi_krb5.h also for heimdal
Comment 4 Jiri Novosad 2010-10-05 13:14:30 UTC
Heimdal now requires including gssapi/gssapi_krb5.h explicitly, and the
proposed patch does exactly that.
Comment 5 the_mgt 2011-06-12 11:49:05 UTC
Yes, same situation here. Also happens with the 5.3 version, so the patch is needed in both ebuilds. And I doubt upstream will fix it in time, there bugtracker does not show a fixed bug since 2009.
But the development page shows recent changes, so maybe you could sent the patch upstream and pray.

Thanks, Jiri!
Comment 6 Pacho Ramos gentoo-dev 2013-01-03 18:59:07 UTC
+*mod_auth_kerb-5.4-r1 (03 Jan 2013)
+
+  03 Jan 2013; Pacho Ramos <pacho@gentoo.org>
+  +files/mod_auth_kerb-5.4-cachedir.patch,
+  +files/mod_auth_kerb-5.4-delegation.patch,
+  +files/mod_auth_kerb-5.4-fixes.patch, +files/mod_auth_kerb-5.4-httpd24.patch,
+  +files/mod_auth_kerb-5.4-rcopshack.patch,
+  +files/mod_auth_kerb-5.4-s4u2proxy.patch, +mod_auth_kerb-5.4-r1.ebuild:
+  Include Fedora patches to fix a lot of bugs and add compat with apache-2.4
+

please retry with this new version on a fully updated system and latest apache
Comment 7 Jiri Novosad 2013-01-04 09:44:20 UTC
Two patches fail to apply:

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/usr/portage/www-apache/mod_auth_kerb/files/mod_auth_kerb-5.4-s4u2proxy.patch'

=============================================
patching file README
Hunk #1 FAILED at 122.
1 out of 1 hunk FAILED -- saving rejects to file README.rej
patching file src/mod_auth_kerb.c
Hunk #1 FAILED at 42.
1 out of 14 hunks FAILED -- saving rejects to file src/mod_auth_kerb.c.rej

patch program exited with status 1

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/usr/portage/www-apache/mod_auth_kerb/files/mod_auth_kerb-5.4-httpd24.patch'

===========================================
patching file src/mod_auth_kerb.c
Hunk #1 succeeded at 147 (offset -32 lines).
Hunk #2 succeeded at 330 (offset -63 lines).
Hunk #3 succeeded at 345 (offset -63 lines).
Hunk #4 succeeded at 1521 (offset -355 lines).
Hunk #5 succeeded at 1675 (offset -355 lines).
Hunk #6 FAILED at 2089.
1 out of 6 hunks FAILED -- saving rejects to file src/mod_auth_kerb.c.rej

patch program exited with status 1

After removing these from the ebuild the build fails with the same error
as before. Including gssapi/gssapi_krb5.h fixes the problem.
Comment 8 Pacho Ramos gentoo-dev 2013-01-04 09:53:06 UTC
They apply for me:
>>> Emerging (1 of 1) www-apache/mod_auth_kerb-5.4-r1
 * mod_auth_kerb-5.4.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking mod_auth_kerb-5.4.tar.gz to /var/tmp/portage/www-apache/mod_auth_kerb-5.4-r1/work
 * Applying mod_auth_kerb-5.4-rcopshack.patch ...                                                                                                                [ ok ]
 * Applying mod_auth_kerb-5.4-fixes.patch ...                                                                                                                    [ ok ]
 * Applying mod_auth_kerb-5.4-s4u2proxy.patch ...                                                                                                                [ ok ]
 * Applying mod_auth_kerb-5.4-httpd24.patch ...                                                                                                                  [ ok ]
 * Applying mod_auth_kerb-5.4-delegation.patch ...                                                                                                               [ ok ]
 * Applying mod_auth_kerb-5.4-cachedir.patch ...                                                                                                                 [ ok ]
>>> Source unpacked in /var/tmp/portage/www-apache/mod_auth_kerb-5.4-r1/work
>>> Compiling source in /var/tmp/portage/www-apache/mod_auth_kerb-5.4-r1/work/mod_auth_kerb-5.4 ...
Comment 9 Sergey Popov gentoo-dev 2013-01-04 10:59:21 UTC
(In reply to comment #7)
> Two patches fail to apply:
> (snip)

Confirm this. Last ebuild from CVS tree failed
Comment 10 Sergey Popov gentoo-dev 2013-01-04 11:00:22 UTC
Created attachment 334394 [details]
build.log

build.log with failed patches
Comment 11 Pacho Ramos gentoo-dev 2013-01-04 14:13:32 UTC
Created attachment 334416 [details]
mod_auth_kerb.tar.xz

Try with this ebuilds, that is exactly the copy from my tree that is properly applying the patches

Portage 2.1.11.38 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.4, glibc-2.15-r3, 3.6.6-gentoo x86_64)
=================================================================
System uname: Linux-3.6.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.1
Timestamp of tree: Sun, 30 Dec 2012 20:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo bumblebee x11 x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j5"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/bumblebee /usr/portage/local/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli colord consolekit cracklib crypt cups cvs cxx dbus djvu dri dts dvd dvdr dvi eds emboss enchant encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle http iconv jpeg kpathsea latex lcms ldap libnotify libvisual lyx mad mms mmx mmxext mng modules mono monolithic-build mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network-cron networkmanager nls nptl ntfs ntp numa nvidia ogg opengl openmp optimized-qmake pam pango pch pdf png policykit ppds pppd pulseaudio qt3support readline reiserfs scanner sdl session smp sna socialweb spell sse sse2 sse3 ssl ssse3 startup-notification svg t1lib tcpd test theora threads tiff truetype udev udisks unicode upnp-av upower usb v4l vaapi vala vcd vdpau vorbis wifi wxwidgets x264 xcb xfs xml xv xvid youtube zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es es_ES en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 12 Jiri Novosad 2013-01-07 16:12:43 UTC
Yes, your ebuild's patches do apply. The s4u2proxy patch is different from my portage tree version:

--- mod_auth_kerb.portage/files/mod_auth_kerb-5.4-s4u2proxy.patch  2013-01-03 19:58:44.000000000 +0100
+++ mod_auth_kerb/files/mod_auth_kerb-5.4-s4u2proxy.patch   2013-01-07 16:35:50.000000000 +0100
@@ -37,7 +37,7 @@
 +
 +The module itself will obtain and manage the necessary credentials.
 +
- $Id: mod_auth_kerb-5.4-s4u2proxy.patch,v 1.1 2013/01/03 18:58:44 pacho Exp $
+ $Id: README,v 1.12 2008/09/17 14:01:55 baalberith Exp $
 diff -up --recursive mod_auth_kerb-5.4.orig/src/mod_auth_kerb.c mod_auth_kerb-5.4/src/mod_auth_kerb.c
 --- mod_auth_kerb-5.4.orig/src/mod_auth_kerb.c 2011-12-09 17:55:05.000000000 -0500
 +++ mod_auth_kerb-5.4/src/mod_auth_kerb.c      2012-03-01 14:19:40.000000000 -0500
@@ -70,7 +70,7 @@
 + * Copyright (C) 2012  Red Hat
 + */
 +
- #ident "$Id: mod_auth_kerb-5.4-s4u2proxy.patch,v 1.1 2013/01/03 18:58:44 pacho Exp $"
+ #ident "$Id: mod_auth_kerb.c,v 1.150 2008/12/04 10:14:03 baalberith Exp $"
  
  #include "config.h"
 @@ -49,6 +74,7 @@
Comment 13 Joe Breuer 2013-01-11 15:10:40 UTC
(In reply to comment #11)
> Created attachment 334416 [details]
> mod_auth_kerb.tar.xz
> 
> Try with this ebuilds, that is exactly the copy from my tree that is
> properly applying the patches

Please get the official tree fixed.

No matter where I sync from, I always get the broken version of mod_auth_kerb-5.4-s4u2proxy.patch

Also:
- the header of mod_auth_kerb-5.4-r1.ebuild in the tree differs from yours.
- your version of the ChangeLog does not include your recent changes, the one in the tree does

Mirrors tried:
  rsync://212.89.225.155/gentoo-portage
  rsync://81.91.242.10/gentoo-portage
  rsync://87.106.218.149/gentoo-portage


With your version of mod_auth_kerb-5.4-s4u2proxy.patch from attachment 334416 [details], the build works for me.
Comment 14 Pacho Ramos gentoo-dev 2013-01-11 20:26:48 UTC
(In reply to comment #12)
> Yes, your ebuild's patches do apply. The s4u2proxy patch is different from
> my portage tree version:
> 
> --- mod_auth_kerb.portage/files/mod_auth_kerb-5.4-s4u2proxy.patch 
> 2013-01-03 19:58:44.000000000 +0100
> +++ mod_auth_kerb/files/mod_auth_kerb-5.4-s4u2proxy.patch   2013-01-07
> 16:35:50.000000000 +0100
> @@ -37,7 +37,7 @@
>  +
>  +The module itself will obtain and manage the necessary credentials.
>  +
> - $Id: mod_auth_kerb-5.4-s4u2proxy.patch,v 1.1 2013/01/03 18:58:44 pacho Exp
> $
> + $Id: README,v 1.12 2008/09/17 14:01:55 baalberith Exp $
>  diff -up --recursive mod_auth_kerb-5.4.orig/src/mod_auth_kerb.c
> mod_auth_kerb-5.4/src/mod_auth_kerb.c
>  --- mod_auth_kerb-5.4.orig/src/mod_auth_kerb.c 2011-12-09
> 17:55:05.000000000 -0500
>  +++ mod_auth_kerb-5.4/src/mod_auth_kerb.c      2012-03-01
> 14:19:40.000000000 -0500
> @@ -70,7 +70,7 @@
>  + * Copyright (C) 2012  Red Hat
>  + */
>  +
> - #ident "$Id: mod_auth_kerb-5.4-s4u2proxy.patch,v 1.1 2013/01/03 18:58:44
> pacho Exp $"
> + #ident "$Id: mod_auth_kerb.c,v 1.150 2008/12/04 10:14:03 baalberith Exp $"
>   
>   #include "config.h"
>  @@ -49,6 +74,7 @@

This change looks surprising, but I don't know if it's being modified by cvs or repoman when committing
Comment 16 Pacho Ramos gentoo-dev 2013-01-11 20:42:27 UTC
+  11 Jan 2013; Pacho Ramos <pacho@gentoo.org>
+  files/mod_auth_kerb-5.4-s4u2proxy.patch:
+  Commit patch properly to prevent CVS keywords to be modified (#327445#c15 by
+  Zac Medico)
+


Thanks, it's the first time I see this problem :S
Comment 17 eponymous 2015-06-01 14:02:57 UTC
So I appear to be seeing this exact same problem (as shown in the build log) in mod_auth_kerb-5.4-r2.ebuild emerged yesterday.

Was this issue actually fixed? 

Do I need to do something special?
Comment 18 eponymous 2015-06-01 14:23:50 UTC
It seems like a bunch of things have changed recently; to what extent were they tested?:

1 	# ChangeLog for www-apache/mod_auth_kerb
2 	# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
3 	# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_kerb/ChangeLog,v 1.19 2015/05/17 10:55:22 pacho Exp $
4 	
5 	  23 May 2015; Pacho Ramos <pacho@gentoo.org>
6 	  -files/mod_auth_kerb-5.4-s4u2proxy-r1.patch,
7 	  -files/mod_auth_kerb-5.4-s4u2proxy-r2.patch:
8 	  drop old
9 	
10 	  17 May 2015; Pacho Ramos <pacho@gentoo.org>
11 	  +files/mod_auth_kerb-5.4-s4u2proxy-r3.patch, mod_auth_kerb-5.4-r2.ebuild:
12 	  Try to commit the patch properly
13 	
14 	  14 May 2015; Michael Sterrett <mr_bones_@gentoo.org>
15 	  -mod_auth_kerb-5.4-r1.ebuild:
16 	  old
17 	
18 	*mod_auth_kerb-5.4-r2 (08 May 2015)
19 	
20 	  08 May 2015; Pacho Ramos <pacho@gentoo.org>
21 	  +files/mod_auth_kerb-5.4-handle-continue.patch,
22 	  +files/mod_auth_kerb-5.4-longuser.patch,
23 	  +files/mod_auth_kerb-5.4-s4u2proxy-r2.patch, +mod_auth_kerb-5.4-r2.ebuild:
24 	  Apply more Fedora patches with fixes, update s4u2proxy patch to support
25 	  heimdal (#454816 by Spooky Ghost), tmpfiles.d needed (#470942 by Azamat H.
26 	  Hackimov)
Comment 19 Zac Medico gentoo-dev 2015-06-01 15:50:09 UTC
(In reply to eponymous from comment #17)
> So I appear to be seeing this exact same problem (as shown in the build log)
> in mod_auth_kerb-5.4-r2.ebuild emerged yesterday.

Please file a new bug and attach your build log. I am able to compile this package with no issues here.

> Was this issue actually fixed? 

Yes.
 
> Do I need to do something special?

No.
Comment 20 eponymous 2015-06-01 18:13:58 UTC
(In reply to Zac Medico from comment #19)
> (In reply to eponymous from comment #17)
> > So I appear to be seeing this exact same problem (as shown in the build log)
> > in mod_auth_kerb-5.4-r2.ebuild emerged yesterday.
> 
> Please file a new bug and attach your build log. I am able to compile this
> package with no issues here.
> 
> > Was this issue actually fixed? 
> 
> Yes.
>  
> > Do I need to do something special?
> 
> No.

Thanks.

However, before I raise a new bug I want to check that I'm not just missing something simple.

>> I am able to compile this package with no issues here.

Are you also using the Heimdal 1.5.3-r2?

I'm not explicitly setting any use flags other than the default in my profile. Are there any global use flags I need to take into consideration?

According to http://modauthkerb.sourceforge.net/install.html you can change your CFLAGS to get Heimdal functionality. I had this override set via package.env which didn't help:

CFLAGS="${CFLAGS} HEIMDAL"
Comment 21 Jiri Novosad 2015-06-03 12:41:36 UTC
(In reply to Zac Medico from comment #19)
> (In reply to eponymous from comment #17)
> > So I appear to be seeing this exact same problem (as shown in the build log)
> > in mod_auth_kerb-5.4-r2.ebuild emerged yesterday.
> 
> Please file a new bug and attach your build log. I am able to compile this
> package with no issues here.
> 
> > Was this issue actually fixed? 
> 
> Yes.

I believe this wasn't fixed. I can reproduce the same error with mod_auth_kerb-5.4-r2 and heimdal-1.5.3-r2. After applying the original patch mod_auth_kerb compiles successfully.

Heimdal use flags: berkdb ipv6 pkinit ssl
Comment 22 eponymous 2015-06-03 13:17:26 UTC
(In reply to Jiri Novosad from comment #21)
> (In reply to Zac Medico from comment #19)
> > (In reply to eponymous from comment #17)
> > > So I appear to be seeing this exact same problem (as shown in the build log)
> > > in mod_auth_kerb-5.4-r2.ebuild emerged yesterday.
> > 
> > Please file a new bug and attach your build log. I am able to compile this
> > package with no issues here.
> > 
> > > Was this issue actually fixed? 
> > 
> > Yes.
> 
> I believe this wasn't fixed. I can reproduce the same error with
> mod_auth_kerb-5.4-r2 and heimdal-1.5.3-r2. After applying the original patch
> mod_auth_kerb compiles successfully.
> 
> Heimdal use flags: berkdb ipv6 pkinit ssl

These are the same versions I'm using with the same use flags.
Comment 23 asears 2015-08-31 13:32:46 UTC
This was NOT fixed, the patch needs to be added to include gssapi/gssapi_krb5.h for heimdal. Tested with www-apache/mod_auth_kerb-5.4-r2 and app-crypt/heimdal-1.5.3-r2. I've overlaid it with the patch on my system for now.
Comment 24 Pacho Ramos gentoo-dev 2016-08-18 16:45:15 UTC
*** Bug 561138 has been marked as a duplicate of this bug. ***
Comment 25 Pacho Ramos gentoo-dev 2016-08-18 16:56:13 UTC
[master b90dc99] www-apache/mod_auth_kerb: Properly provide and apply Fedora patches (#327445)
 3 files changed, 41 insertions(+), 630 deletions(-)
 delete mode 100644 www-apache/mod_auth_kerb/files/mod_auth_kerb-5.4-s4u2proxy-r3.patch
Comment 26 Jiri Novosad 2017-03-13 13:57:13 UTC
Still not fixed:

src/mod_auth_kerb.c: In function ‘get_gss_creds’:
src/mod_auth_kerb.c:1275:40: error: ‘GSS_KRB5_NT_PRINCIPAL_NAME’ undeclared (first use in this function)
        (have_server_princ) ? (gss_OID) GSS_KRB5_NT_PRINCIPAL_NAME : (gss_OID) GSS_C_NT_HOSTBASED_SERVICE,

Including gssapi/gssapi_krb5.h still fixes this for me.
Comment 27 Pacho Ramos gentoo-dev 2017-06-04 18:30:42 UTC
[master 08f2f4b1740] www-apache/mod_auth_kerb: Fix building with heimdal (#327445)
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 www-apache/mod_auth_kerb/files/mod_auth_kerb-5.4-heimdal.patch