pkgsrc-Bugs archive

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

Re: pkg/37999: pkgsrc-current's security/sudo does not build on the 3.0.3 branch



The following reply was made to PR pkg/37999; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/37999: pkgsrc-current's security/sudo does not build on the 
3.0.3 branch
Date: Sun, 24 Feb 2008 01:19:28 +0900

 On Mon, 11 Feb 2008 23:55:01 +0900, <jwise%draga.com@localhost> wrote:
 
 > cc -o sudo check.o env.o getspwuid.o gettime.o goodpath.o fileops.o
 > find_path.o  interfaces.o logging.o parse.o set_perms.o sudo.o sudo_edit.o
 > tgetpass.o zero_bytes.o  sudo_auth.o kerb5.o passwd.o sudo.tab.o lex.yy.o
 > alloc.o defaults.o memrchr.o -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib
 > -lutil -L/usr/lib -lkrb5 -lasn1 -ldes -lroken -lcrypto -lcom_err -lcrypt
 > kerb5.o(.text+0x1b6): In function `kerb5_verify':
 > : undefined reference to `krb5_get_init_creds_opt_alloc'
 > kerb5.o(.text+0x294): In function `kerb5_verify':
 > : undefined reference to `krb5_get_init_creds_opt_free'
 > *** Error code 1
 >
 >
 >> Fix:
 > Not sure.  Use of these symbols does not seem to be governed by a
 > preprocessor define, and I'm not sure what the proper replacement is (or
 > whether this is a heimdal build issue).
 
 Yes.
 But if function "krb5_verify_user" exists, those functions should no be used,
 and NetBSD 3.0.3 have function krb5_verify_user.
 
 It seems that configure script is something wrong and
 skip some tests by error.
 
 checking for syslog... yes
 checking for getprogname... yes
 test: no: unexpected operator
 checking for krb5-config... yes
 checking whether we are using Heimdal... yes
 test: yes: unexpected operator
 checking for library containing crypt... -lcrypt
 checking for log file location... /var/log/sudo.log
 checking for timestamp file location... /var/run/sudo
 
 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index