Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems emerging heimdal-0.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
obmun
n00b
n00b


Joined: 17 Jan 2004
Posts: 66
Location: Europe (Spain)

PostPosted: Mon Feb 23, 2004 11:28 am    Post subject: Problems emerging heimdal-0.6 Reply with quote

Hi all. I'm installing a new gentoo system based on the linux headers 2.6.3 from a knoppix CD. Currently the gcc being use to compile is the 3.3.3 version I have just installed during the emerge system. I synced the portage tree yesterday late at night to solve the iputils configure.in bug, so it's an almost new 22th tree.

I'm getting this error in the heimdal-0.6 ebuild (near the end of emerge system. Heimdal is a dependency of openssh as I have the kerberos use flag in my make.conf):

Code:
/bin/sh ../../libtool --mode=compile gcc  -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../lib/roken -I../../lib/roken -I../asn1 -I./../asn1 -I/usr/include    -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O2 -mcpu=k6-2 -march=k6-2 -fomit-frame-pointer -pipe -c -o hdb.lo `test -f 'hdb.c' || echo './'`hdb.c
db3.c: In function `DB_open':
db3.c:265: warning: passing arg 2 of pointer to function from incompatible pointer type
db3.c:265: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
db3.c:265: error: too few arguments to function
db3.c:268: warning: passing arg 2 of pointer to function from incompatible pointer type
db3.c:268: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
db3.c:268: error: too few arguments to function
make[3]: *** [db3.lo] Error 1
make[3]: *** Se espera a que terminen otras tareas....
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../lib/roken -I../../lib/roken -I../asn1 -I./../asn1 -I/usr/inclu
de -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O2 -mcpu=k6-2 -march=k6-2 -fomit-frame-pointer -pipe -c hdb.c -o hdb.o
echo timestamp > hdb.lo
make[3]: Leaving directory `/var/tmp/portage/heimdal-0.6/work/heimdal-0.6/lib/hdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/heimdal-0.6/work/heimdal-0.6/lib/hdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/heimdal-0.6/work/heimdal-0.6/lib'
make: *** [all-recursive] Error 1
!!! ERROR: app-crypt/heimdal-0.6 failed.
!!! Function src_compile, Line 65, Exitcode 2
!!! (no error message)


Has anyone experienced a similar problem? Any idea? It seems to me as a Heimdal problem.

Another question is: why is Heimdal being used and not mit-krb5? Is Heimdal implementation better than mit one? I'm going to try to emerge mit-krb instead of Heimdal so the virtual/kerberos dependency is solved in openssh... but I don't like leaving that heimdal building problem there ;)
Back to top
View user's profile Send private message
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2021
Location: Republic of California

PostPosted: Thu Feb 26, 2004 1:35 am    Post subject: Reply with quote

Same issue here. I said fuck it and installed mit-krb5. Works like a charm....
Back to top
View user's profile Send private message
fastonion
n00b
n00b


Joined: 19 Jan 2003
Posts: 15
Location: Venezuela

PostPosted: Thu Feb 26, 2004 2:21 pm    Post subject: emerge system / heimdal-0.6 Reply with quote

so i have the same trouble building system.

Code:

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/heimdal-0.6/work/heimdal-0.6/lib'
make: *** [all-recursive] Error 1
!!! ERROR: app-crypt/heimdal-0.6 failed.
!!! Function src_compile, Line 65, Exitcode 2
!!! (no error message)
[/code]
Back to top
View user's profile Send private message
Jesore
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 232
Location: Nürnberg Germany

PostPosted: Fri Feb 27, 2004 8:48 am    Post subject: Reply with quote

If you don't need ssh with kerberos support (I don't even though I use kerberos frequently) just do a
Code:
USE="$USE -kerberos" emerge system

when you are at that stage. That way you can first finish your gentoo system and then solve the problem of wait for a heimdal fix.

Jesore
Back to top
View user's profile Send private message
Scytale
n00b
n00b


Joined: 01 May 2003
Posts: 70
Location: Mannheim, BW, Germany

PostPosted: Tue Mar 02, 2004 8:45 am    Post subject: Reply with quote

Same problem here. Emerging mit-krb5 now, thanks for the hint.

BTW, it's USE="-kerberos" emerge system (so without the $USE reference).
_________________
Never stop using your brain.
Back to top
View user's profile Send private message
XhE
n00b
n00b


Joined: 16 Mar 2004
Posts: 10

PostPosted: Tue Mar 16, 2004 5:09 pm    Post subject: Reply with quote

Hi.

I experienced exactly the same problem described within this topic. One of my friends (using gentoo much longer than myself) emerged heimdal just for fun; und it worked. Do net ask me why. I suppose it's a missing dependency or something like that.

I did a screencopy of his emerge, but couldn't find a hint. While googling there is a topic where a guy asked exactly the same question. there you can find two patches.

http://www.stacken.kth.se/lists/heimdal-discuss/2003-08/msg00024.html

but as the friend of mine did NOT have to do anything this cannot be the only solution.


Last edited by XhE on Thu Mar 18, 2004 4:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
mbjr
Guru
Guru


Joined: 17 Jan 2004
Posts: 531
Location: Budapest/Hungary

PostPosted: Wed Mar 17, 2004 2:37 pm    Post subject: Solved Reply with quote

Hi guys,

I had the exact issue, and did a search on bugs.gentoo.org. I've found out that this is a known one, called 22876 (https://bugs.gentoo.org/show_bug.cgi?id=22876) and Marcin Wisnicki has released a patch for this on 2003-06-15.

Download those patches to your heimdal files dir, and the modified ebuild to /usr/portage/app-crypt/heimdal dir. Now you can do the emerge, kerberos won't die any more :-)
_________________
mb
Back to top
View user's profile Send private message
XhE
n00b
n00b


Joined: 16 Mar 2004
Posts: 10

PostPosted: Thu Mar 18, 2004 5:32 pm    Post subject: Solution to compiling Heimdal Reply with quote

In between I have a nice working solution to the heimdal compiling Problem.

So you remember it breaks while parsing db3.c

So I had a look - hmm is build db installed. Yes it is. Version 4.....
The trick that of some packages multiple versions can and must be installed, as in this case.

try:

Code:
emerge =db-3.2.9-r9


and after that

Code:
emerge heimdal


You won't experience any error. At least didnt' I.

As it seems to, the depencies of heimdal, are completly wrong.

I tried to compile on my local computer which has been freshly emerged. heimdal fail because a tool could not be found "aclocal". But on the server it went through perfectly.

Does anybody know where report dependency problems ? bugs.gentoo.org ???

ADDON: I know why it failed. aclocal belongs to automake. And automake has not been emerged yet.
Back to top
View user's profile Send private message
sirsnigel
n00b
n00b


Joined: 20 Nov 2003
Posts: 7

PostPosted: Sun Mar 21, 2004 6:48 am    Post subject: Reply with quote

I thought I would note that the
Code:
emerge =db-3.2.9-r9
worked fine for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum