Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148158 - net-www/mod_auth_kerb-5.0_rc6 won't compile under gcc 4.1.1 x86_64
Summary: net-www/mod_auth_kerb-5.0_rc6 won't compile under gcc 4.1.1 x86_64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on: 155118
Blocks: 117482
  Show dependency tree
 
Reported: 2006-09-18 22:52 UTC by Mike McClurg
Modified: 2007-01-07 16:30 UTC (History)
0 users

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


Attachments
A patch for the fix described (amd64-fix.patch,446 bytes, patch)
2006-09-19 13:00 UTC, Tim Steiner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike McClurg 2006-09-18 22:52:56 UTC
mod_auth_kerb-5.0_rc6 won't compile under gcc 4.1.1 x86_64. The file spnegokrb5/spnego_asn1.h needs to include the file parse_units.h. Once this file is included the package compiles flawlessly.

emerge --info:

Portage 2.1.1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.5
Last Sync: Fri, 15 Sep 2006 21:30:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/app-defaults /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 auctex avi berkdb bitmap-fonts cli crypt cups dlloader dri eds elibc_glibc emacs emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb userland_GNU video_cards_nvidia xorg xpm xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tim Steiner 2006-09-19 13:00:15 UTC
Created attachment 97454 [details, diff]
A patch for the fix described
Comment 2 Pietro Franchi 2006-10-04 15:51:47 UTC
Fixes for me! Thanks.
Comment 3 Toby Corkindale 2006-11-06 05:44:10 UTC
Cheers - patch worked for me too.

I copied the patch into mod_auth_kerb/files/x86_64.patch and put the following into the ebuild:
src_unpack() {
    unpack ${A} || die "unpack failed"
    cd ${S} || die "cd to $S failed"
    epatch "${FILESDIR}"/x64.patch
}
Comment 4 Toby Corkindale 2006-12-06 08:59:33 UTC
Note also that a later version of mod_auth_kerb (5.3) works "out of the box".
Comment 5 Bryan Østergaard (RETIRED) gentoo-dev 2007-01-07 16:30:04 UTC
Added 5.3 to portage, solving this bug.