pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/34252: security/mit-krb5 fails to build due to possible incompatibilities with pkgsrc-current's standard autoconf version 2.60



>Number:         34252
>Category:       pkg
>Synopsis:       security/mit-krb5 fails to build due to possible 
>incompatibilities with pkgsrc-current's standard autoconf version 2.60
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 22 07:10:01 +0000 2006
>Originator:     Matthias Petermann
>Release:        Compiled under RedHat Linux 8.0
>Organization:
BSD-Crew Dresden
>Environment:
Linux xxxxxxx 2.4.18-14 #1 Wed Sep 4 12:13:11 EDT 2002 i686 athlon i386 
GNU/Linux

>Description:
Building security/mit-krb5 from pkgsrc results in the following error message:

=> Modifying libtool scripts to use pkgsrc libtool
===> Building for mit-krb5-1.4.2nb3
(cd include && /install/pkg/bin/bmake krb5/autoconf.h)
`krb5/autoconf.h' is up to date.
making all in util...
making all in util/support...
bmake: don't know how to make all-liblinks. Stop

bmake: stopped in 
/install/pkgsrc/security/mit-krb5/work/krb5-1.4.2/src/util/support
*** Error code 1

Stop.
bmake: stopped in /install/pkgsrc/security/mit-krb5/work/krb5-1.4.2/src/util
*** Error code 1

Stop.
bmake: stopped in /install/pkgsrc/security/mit-krb5/work/krb5-1.4.2/src
*** Error code 1

Stop.
bmake: stopped in /install/pkgsrc/security/mit-krb5
*** Error code 1

Stop.
bmake: stopped in /install/pkgsrc/security/mit-krb5


>How-To-Repeat:
It can be reproduced simply by trying to build mit-krb5 on a current pkgsrc 
with autoconf 2.60.
>Fix:
Regarding current posts[1] at the krb5 mailing list this problem might be the 
result of incompatibilities between mit-krb5 and autoconf 2.60 which is the 
current standard in pkgsrc. I'm not very familar with autoconf but I could 
temporarely fix it in this way:

$ cd /usr/pkgsrc/security/mit-krb5
$ bmake clean
$ bmake extract
$ FILES=`find . -name Makefile.in`;\
for i in $FILES;\
do cp $i /tmp/Makefile.in.tmp \
cat /tmp/Makefile.in.tmp|\
sed s/"# @lib_frag@"/"@lib_frag@"/|\
sed s/"# @libobj_frag@"/"@libobj_frag@"/\
> $i
done
$ bmake install

Maybe this could be transformed in a patch in and been provided in 
./pkgsrc/security/mit-krb5/patches ...

[1] http://mailman.mit.edu/pipermail/krb5-bugs/2006-June/004587.html




Home | Main Index | Thread Index | Old Index