Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 58074
Alias:
Product:
Component:
Status: RESOLVED
Resolution: TEST-REQUEST
Assigned To: Gentoo's SAMBA Team <samba@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kayne K <kayne@moranprinting.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 58074 depends on: 54421 Show dependency tree
Bug 58074 blocks:
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: 2004-07-23 08:14 0000
When emerging samba-3.0.5 it fails with conflicting declarations in heimdal
header files.  Have tried to emerge -uD heimdal and then emerge samba

Reproducible: Always
Steps to Reproduce:
1.emerge samba
2.wait
3. barg

Actual Results:  
 file included from include/includes.h:421,
                 from dynconfig.c:21:
/usr/include/gssapi/gssapi.h:119: error: conflicting types for `gss_name_t'
/usr/include/heimdal/gssapi.h:64: error: previous declaration of `gss_name_t'
/usr/include/gssapi/gssapi.h:120: error: conflicting types for `gss_cred_id_t'
/usr/include/heimdal/gssapi.h:103: error: previous declaration of
`gss_cred_id_t'
/usr/include/gssapi/gssapi.h:121: error: conflicting types for `gss_ctx_id_t'
/usr/include/heimdal/gssapi.h:76: error: previous declaration of `gss_ctx_id_t'
/usr/include/gssapi/gssapi.h:150: error: redefinition of `struct
gss_OID_desc_struct'
/usr/include/gssapi/gssapi.h:156: error: redefinition of `struct
gss_OID_set_desc_struct'
/usr/include/gssapi/gssapi.h:161: error: redefinition of `struct
gss_buffer_desc_struct'
/usr/include/gssapi/gssapi.h:166: error: redefinition of `struct
gss_channel_bindings_struct'
/usr/include/gssapi/gssapi.h:469: error: conflicting types for
`gss_acquire_cred'
/usr/include/heimdal/gssapi.h:466: error: previous declaration of
`gss_acquire_cred'
/usr/include/gssapi/gssapi.h:474: error: conflicting types for
`gss_release_cred'
/usr/include/heimdal/gssapi.h:471: error: previous declaration of
`gss_release_cred'
/usr/include/gssapi/gssapi.h:490: error: conflicting types for
`gss_init_sec_context'
/usr/include/heimdal/gssapi.h:487: error: previous declaration of
`gss_init_sec_context'
/usr/include/gssapi/gssapi.h:504: error: conflicting types for
`gss_accept_sec_context'
/usr/include/heimdal/gssapi.h:501: error: previous declaration of
`gss_accept_sec_context'
/usr/include/gssapi/gssapi.h:510: error: conflicting types for
`gss_process_context_token'
/usr/include/heimdal/gssapi.h:507: error: previous declaration of
`gss_process_context_token'
/usr/include/gssapi/gssapi.h:516: error: conflicting types for
`gss_delete_sec_context'
/usr/include/heimdal/gssapi.h:513: error: previous declaration of
`gss_delete_sec_context'
/usr/include/gssapi/gssapi.h:522: error: conflicting types for
`gss_context_time'
/usr/include/heimdal/gssapi.h:519: error: previous declaration of
`gss_context_time'
/usr/include/gssapi/gssapi.h:531: error: conflicting types for `gss_get_mic'
/usr/include/heimdal/gssapi.h:527: error: previous declaration of `gss_get_mic'
/usr/include/gssapi/gssapi.h:540: error: conflicting types for `gss_verify_mic'
/usr/include/heimdal/gssapi.h:535: error: previous declaration of
`gss_verify_mic'
/usr/include/gssapi/gssapi.h:551: error: conflicting types for `gss_wrap'
/usr/include/heimdal/gssapi.h:545: error: previous declaration of `gss_wrap'
/usr/include/gssapi/gssapi.h:561: error: conflicting types for `gss_unwrap'
/usr/include/heimdal/gssapi.h:554: error: previous declaration of `gss_unwrap'
/usr/include/gssapi/gssapi.h:582: error: conflicting types for
`gss_compare_name'
/usr/include/heimdal/gssapi.h:575: error: previous declaration of
`gss_compare_name'
/usr/include/gssapi/gssapi.h:589: error: conflicting types for
`gss_display_name'
/usr/include/heimdal/gssapi.h:582: error: previous declaration of
`gss_display_name'
/usr/include/gssapi/gssapi.h:596: error: conflicting types for
`gss_import_name'
/usr/include/heimdal/gssapi.h:589: error: previous declaration of
`gss_import_name'
/usr/include/gssapi/gssapi.h:601: error: conflicting types for
`gss_release_name'
/usr/include/heimdal/gssapi.h:600: error: previous declaration of
`gss_release_name'
/usr/include/gssapi/gssapi.h:620: error: conflicting types for
`gss_inquire_cred'
/usr/include/heimdal/gssapi.h:619: error: previous declaration of
`gss_inquire_cred'
/usr/include/gssapi/gssapi.h:633: error: conflicting types for
`gss_inquire_context'
/usr/include/heimdal/gssapi.h:631: error: previous declaration of
`gss_inquire_context'
/usr/include/gssapi/gssapi.h:643: error: conflicting types for
`gss_wrap_size_limit'
/usr/include/heimdal/gssapi.h:640: error: previous declaration of
`gss_wrap_size_limit'
/usr/include/gssapi/gssapi.h:674: error: conflicting types for `gss_add_cred'
/usr/include/heimdal/gssapi.h:654: error: previous declaration of
`gss_add_cred'
/usr/include/gssapi/gssapi.h:685: error: conflicting types for
`gss_inquire_cred_by_mech'
/usr/include/heimdal/gssapi.h:664: error: previous declaration of
`gss_inquire_cred_by_mech'
/usr/include/gssapi/gssapi.h:692: error: conflicting types for
`gss_export_sec_context'
/usr/include/heimdal/gssapi.h:670: error: previous declaration of
`gss_export_sec_context'
/usr/include/gssapi/gssapi.h:699: error: conflicting types for
`gss_import_sec_context'
/usr/include/heimdal/gssapi.h:676: error: previous declaration of
`gss_import_sec_context'
/usr/include/gssapi/gssapi.h:762: error: conflicting types for `gss_sign'
/usr/include/heimdal/gssapi.h:738: error: previous declaration of `gss_sign'
/usr/include/gssapi/gssapi.h:770: error: conflicting types for `gss_verify'
/usr/include/heimdal/gssapi.h:746: error: previous declaration of `gss_verify'
/usr/include/gssapi/gssapi.h:780: error: conflicting types for `gss_seal'
/usr/include/heimdal/gssapi.h:756: error: previous declaration of `gss_seal'
/usr/include/gssapi/gssapi.h:789: error: conflicting types for `gss_unseal'
/usr/include/heimdal/gssapi.h:765: error: previous declaration of `gss_unseal'
/usr/include/gssapi/gssapi.h:796: error: conflicting types for
`gss_export_name'
/usr/include/heimdal/gssapi.h:595: error: previous declaration of
`gss_export_name'
/usr/include/gssapi/gssapi.h:803: error: conflicting types for
`gss_duplicate_name'
/usr/include/heimdal/gssapi.h:719: error: previous declaration of
`gss_duplicate_name'
/usr/include/gssapi/gssapi.h:811: error: conflicting types for
`gss_canonicalize_name'
/usr/include/heimdal/gssapi.h:713: error: previous declaration of
`gss_canonicalize_name'
make: *** [dynconfig.o] Error 1

!!! ERROR: net-fs/samba-3.0.5 failed.
!!! Function src_compile, Line 184, Exitcode 2
!!! SAMBA pieces



Expected Results:  
Emerge successfully

Gentoo Base System version 1.5.1
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r8)
=================================================================
System uname: 2.6.7-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://mirror.datapipe.net/gentoo
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dfx X aalib alsa apm arts avi berkdb cdparanoia cdr crypt cups divx4linux
dnsdb dvd dvdr dvdread emacs-w3 encode esd faac faad flac fltk foomaticdb gdbm
gif gnome gs gstreamer gtk gtk2 imap imlib ipv6 java jpeg kde kerberos ldap
libg++ libwww live lzo mad matroska mbox mikmod milter mmx motif mpeg mysql
ncurses network oggvorbis opengl oss pam perl png python qt quicktime readline
rtc samba sdl slang spell sse ssl svga tcltk tcpd theora tiff truetype x86 xml
xml2 xmms xv xvid zlib"

------- Comment #1 From Tuan Van (RETIRED) 2004-07-23 08:46:34 0000 -------
see bug #54421

------- Comment #2 From Joern P. Meier 2004-08-09 17:51:48 0000 -------
This is what I did:

1) remove heimdal from world favorites and virtuals file (make sure mit-krb5 is there and installed).

2) merge unmerge heimdal

3) emerge -u samba

4) revdep-rebuild (important, since some packages might already have been built against heimdal)

Pretty crude, but works for now.

------- Comment #3 From Christian Andreetta (RETIRED) 2004-09-11 02:26:05 0000 -------
i think this could be due to include files location changes... Blocking for
now.

------- Comment #4 From Christian Andreetta (RETIRED) 2004-09-13 23:32:52 0000 -------
gssapi.h and includes location in heimdal fixed. Can you give this another try?

------- Comment #5 From Christian Andreetta (RETIRED) 2004-11-13 02:14:35 0000 -------
closing for now. reopen if needed

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug