Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249486 - net-nntp/inn-2.4.3-r1 - auth_krb5.c:27:22: error: com_err.h: No such file or directory
Summary: net-nntp/inn-2.4.3-r1 - auth_krb5.c:27:22: error: com_err.h: No such file or ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Net-news project
URL: http://www.isc.org/products/INN
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-01 14:45 UTC by Gergely POLONKAI
Modified: 2009-11-08 22:34 UTC (History)
2 users (show)

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


Attachments
Works for me. (inn-2.4.3-r1--2.4.5.ebuild.patch,886 bytes, patch)
2008-12-02 01:30 UTC, Jeroen Roovers (RETIRED)
Details | Diff
KEYWORDS needed changing too (~hppa added) (inn-2.4.3-r1--2.4.5.ebuild.patch,1.08 KB, text/plain)
2008-12-02 02:06 UTC, Jeroen Roovers (RETIRED)
Details
Build log of net-nntp/inn-2.4.3-r1 without the symlink workaround (build.log,79.12 KB, text/plain)
2008-12-02 06:40 UTC, Gergely POLONKAI
Details
fixes problems with HAVE_ET_COM_ERR_H option (inn-2.4.3-configure.patch,1.88 KB, patch)
2009-05-07 13:34 UTC, Raphaël Barrois
Details | Diff
Update to the ebuild to apply configure patch (inn-2.4.3.ebuild.patch,1.21 KB, patch)
2009-05-07 13:35 UTC, Raphaël Barrois
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gergely POLONKAI 2008-12-01 14:45:04 UTC
net-nntp/inn-2.4.3-r1 don't compile: missing com_err.h.

The whole system is compiled with ACCEPT_KEYWORDS=~x86.

com_err package is not installed, but e2fsprogs-libs is so. com_err.h resides in /usr/include/et/com_err.h instead of /usr/include/com_err.h

Reproducible: Always

Steps to Reproduce:




Portage 2.1.6_rc2 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2-wood i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-wood-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.0
Timestamp of tree: Thu, 27 Nov 2008 10:15:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu/ "
LANG="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="hu"
PKGDIR="/usr/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="/usr/portage/distfiles/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acl alsa arts avahi bash-completion berkdb branding bzip2 cli cracklib crypt cups dbus dri esd fortran gdbm gif gnome gnome-keyring gnutls gpm gs gstreamer gtk hal iconv idn ipv6 isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdeprefix kerberos ldap libnotify midi mmx mp3 mudflap ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre perl png postgres pppd python qt4 readline reflection samba sdl session spl sse sse2 ssl ssse3 startup-notification sysfs tcpd theora threads tiff unicode vim-syntax vorbis wmf x86 xcomposite xfce xinerama xinetd xorg xscreensaver xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 asis auth_digest authn_dbd cern_meta charset_lite dbd dumpio ident imagemap log_forensic proxy proxy_ftp proxy_http substitute version" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Gergely POLONKAI 2008-12-01 14:46:28 UTC
creating a symlink /usr/include/com_err.h pointing to /usr/include/et/com_err.h solves the problem.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-02 00:32:31 UTC
(In reply to comment #1)
> creating a symlink /usr/include/com_err.h pointing to /usr/include/et/com_err.h
> solves the problem.

That's entirely the wrong fix. Please attach the build log.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-02 01:00:03 UTC
That's odd. The code in the file mentioned in the Summary has an ifdef but it isn't set by the configure script...

elmer /mnt/alt/portage-tmp/portage/net-nntp/inn-2.4.3-r1/work/inn-2.4.3 # grep -r HAVE_ET_COM_ERR_H .
./config.status:${ac_dA}HAVE_ET_COM_ERR_H${ac_dB}HAVE_ET_COM_ERR_H${ac_dC}1${ac_dD}
./config.status:${ac_uA}HAVE_ET_COM_ERR_H${ac_uB}HAVE_ET_COM_ERR_H${ac_uC}1${ac_uD}
./config.status:${ac_eA}HAVE_ET_COM_ERR_H${ac_eB}HAVE_ET_COM_ERR_H${ac_eC}1${ac_eD}
./authprogs/auth_krb5.c:#ifdef HAVE_ET_COM_ERR_H

Apart from that, the [URL] isn't valid as a HOMEPAGE but [1] does mention a new 2.4.5 version.

[1] https://www.isc.org/downloadables/82
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-02 01:30:52 UTC
Created attachment 174028 [details, diff]
Works for me.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-02 02:06:50 UTC
Created attachment 174029 [details]
KEYWORDS needed changing too (~hppa added)
Comment 6 Gergely POLONKAI 2008-12-02 06:40:03 UTC
Created attachment 174035 [details]
Build log of net-nntp/inn-2.4.3-r1 without the symlink workaround

I removed the created symlink and ran the emerge again. Build log is attached.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-02 06:58:44 UTC
Thanks. I saw the same problem and I think the attached patch fixes it.
Comment 8 Gergely POLONKAI 2008-12-02 10:13:31 UTC
after applying the patch, inn-2.4.5 compiles clearly without the workaround.
Comment 9 Raphaël Barrois 2009-05-07 13:34:24 UTC
Created attachment 190619 [details, diff]
fixes problems with HAVE_ET_COM_ERR_H option

The problem wasn't fixed with the proposed patch when enabling kerberos.

This fixes the stuff (or at least seems to) backporting changes from 2.4.5
Comment 10 Raphaël Barrois 2009-05-07 13:35:28 UTC
Created attachment 190620 [details, diff]
Update to the ebuild to apply configure patch

And here, the new patch for the ebuild in order to use the previously posted patch.
Comment 11 Gerhard Hintermayer 2009-09-04 17:27:35 UTC
Could we have this added to portage as inn-2.4.3-r2 ? As of Sept. 4 this is still not in the portage tree. With the upgrade of python to 2.6 probably a lot people will need to rebuild inn
Gerhard
Comment 12 Richard Freeman gentoo-dev 2009-11-05 02:57:49 UTC
Is anybody maintaining this?  It seems like we have a bug open for a year with a proposed patch.  I'm tempted to go ahead and test the patch / commit it unless somebody really objects.
Comment 13 Richard Freeman gentoo-dev 2009-11-08 22:34:56 UTC
Ok, talked to the maintainer and I committed -r2 to the tree.