Skip Menu |
 

From 1993s000@educ.disi.unige.it Mon Mar 23 04:34:21 1998
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id EAA21392 for <bugs@RT-11.MIT.EDU>; Mon, 23 Mar 1998 04:34:20 -0500
Received: from topazio.educ.disi.unige.it by MIT.EDU with SMTP
id AA10872; Mon, 23 Mar 98 04:34:02 EST
Received: from educ.disi.unige.it (1993s000@localhost [127.0.0.1]) by topazio.educ.disi.unige.it (8.7.5/8.6.9) with ESMTP id KAA13636 for <krb5-bugs@mit.edu>; Mon, 23 Mar 1998 10:30:12 +0100
Message-Id: <35162BA2.7986998E@educ.disi.unige.it>
Date: Mon, 23 Mar 1998 10:30:10 +0100
From: Francesco Faenzi <1993s000@educ.disi.unige.it>
Sender: 1993s000@educ.disi.unige.it
To: krb5-bugs@MIT.EDU
Subject: Bug in krb5 compilation

Show quoted text
>Number: 570
>Category: krb5-build
>Synopsis: Bug in krb5 compilation
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: tlyu
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Mon Mar 23 04:35:01 EST 1998
>Last-Modified: Fri Mar 27 19:52:38 EST 1998
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Fri Mar 27 19:51:34 1998
Responsible-Changed-Why:

Refiled

State-Changed-From-To: open-closed
State-Changed-By: tlyu
State-Changed-When: Fri Mar 27 19:51:40 1998
State-Changed-Why:

The errno problem should already be fixed in 1.0.5.

Show quoted text
>Unformatted:
This is a multi-part message in MIME format.
--------------01F89360AD9433EF6D5610D7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I've encountered a bug while compiling krb5 under redhat 5.0

System config details
gcc-2.8.1
glibc-2.0.5
libc5-5.4.38
ld.so.2.0.4
kernel-2.0.33
make-3.76

The bug report is included in the attached file.
TIA,
Francesco Faenzi
--
--------------------------------------------------------
| Francesco Faenzi: Student in Computer Science |
| System Administrator |
| Network Consultant |
Show quoted text
________________________________________________________
| Disclaimer :=> Everything above is a true statement, |
| for sufficiently false values of true.|
--------------------------------------------------------
--------------01F89360AD9433EF6D5610D7
Content-Type: text/plain; charset=us-ascii; name="krb-bug"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="krb-bug"

rpm -i krb5-1.0-3.src.rpm

---------------------------------------------------------------------------

rpm -bb krb5.spec
* Package: krb5
* Package: krb5-workstation
Field must be present : Description
* Package: krb5-server
Field must be present : Description
* Package: krb5-libs
Field must be present : Description
* Package: krb5-devel
Field must be present : Description

Spec file check failed!!
Tell rpm-list@redhat.com if this is incorrect.

--------------------------------------------------------------------------

ADDED MYSELF AN ENTRY

%description workstation
Kerberos programs for use on workstations

%description server
Kerberos server programs

%description libs
Kerberos shared libraries

%description devel
Header files and libraries necessary to compile Kerberos programs


--------------------------------------------------------------------------

rpm -bb

+ CFLAGS=-O2 -m486 -fno-strength-reduce
+ ./configure --prefix=/usr/athena --enable-shared --with-tcl=/usr
--sysconfdir=/etc/athena --localstatedir=/var/kerberos
--infodir=/usr/info
creating cache ./config.cache
checking for C compiler... cc
checking for gcc... cc
checking whether we are using GNU C... yes
LD defaults to cc
CPPOPTS defaults to
built in krb4 support
checking for working const... yes
checking for -lsocket... no
checking for -lnsl... yes
checking whether we are using GNU C... checking how to run the C preprocessor...
cc -E yes
checking for build host... checking host system type...
Invalid configuration `i686-unknown-linux': machine `i686-unknown'
not recognized

--------------------------------------------------------------------------

CHANGED CFLAGS

CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr/athena --enable-shared \
--with-tcl=/usr --sysconfdir=/etc/athena \
--localstatedir=/var/kerberos >>>>>--host=i386-redhat-linux<<<<<<< \
--infodir=/usr/info

---------------------------------------------------------------------------

# make
making all in util...
make[1]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util'
making all in util/et...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/et'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/et'
making all in util/ss...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/ss'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/ss'
making all in util/profile...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/profile'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/profile'
making all in util/pty...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/pty'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/pty'
making all in util/dyn...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/dyn'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/dyn'
making all in util/db2...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/db2'
for i in obj; do (cd $i; make all) || exit 1; done
make[3]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/db2/obj'
cc -O2 -m486 -fno-strength-reduce -DHAVE_CONFIG_H -I. -I../include -I../mpool
-I../db -I../hash -I../btree -I../recno -c -o hash.o ../hash/hash.c
In file included from ../hash/hash.c:55:
../hash/hash.h:97: field `__errno_location' declared as a function
../hash/hash.c: In function `hash_get':
../hash/hash.c:635: parse error before `('
../hash/hash.c: In function `hash_put':
../hash/hash.c:652: parse error before `('
../hash/hash.c:656: parse error before `('
../hash/hash.c: In function `hash_delete':
../hash/hash.c:673: parse error before `('
../hash/hash.c:677: parse error before `('
../hash/hash.c: In function `cursor_get':
../hash/hash.c:852: parse error before `('
make[3]: *** [hash.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/db2/obj'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/db2'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util'
make: *** [all-recurse] Error 1

-----------------------------------------------------------------------------



--------------01F89360AD9433EF6D5610D7--