NetBSD Problem Report #34956

From www@NetBSD.org  Tue Oct 31 14:00:22 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 7019163B8CA; Tue, 31 Oct 2006 14:00:22 +0000 (UTC)
Message-Id: <20061031140022.7019163B8CA@narn.NetBSD.org>
Date: Tue, 31 Oct 2006 14:00:22 +0000 (UTC)
From: richard.earnshaw@buzzard.freeserve.co.uk
Reply-To: richard.earnshaw@buzzard.freeserve.co.uk
To: gnats-bugs@NetBSD.org
Subject: problems building kdeadmin on Linux (heimdal glob.h interaction)
X-Send-Pr-Version: www-1.0

>Number:         34956
>Category:       pkg
>Synopsis:       problems building kdeadmin on Linux (heimdal glob.h interaction)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    linux-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 31 14:05:01 +0000 2006
>Closed-Date:    Thu Jan 27 03:40:43 +0000 2022
>Last-Modified:  Thu Jan 27 03:40:43 +0000 2022
>Originator:     Richard Earnshaw
>Release:        N/A
>Organization:
>Environment:
Linux pc960 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux
>Description:
Heimdal installs its own version of glob.h on some platforms (linux in this case), which causes several problems when building kdeamin.

1) the version of glob.h in heimdal requires linking with -lkrb5.  This library isn't in the link list.

2) lilo-config uses GNU extensions to glob.h which aren't supported by the heimdal version.
>How-To-Repeat:
try to build pkgsrc kdeadmin on a linux machine.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Fri, 03 Nov 2006 15:33:52 +0000
Responsible-Changed-Why:
Assigned to maintainer.


Responsible-Changed-From-To: markd->jlam
Responsible-Changed-By: jlam@NetBSD.org
Responsible-Changed-When: Thu, 28 Feb 2008 17:01:19 +0000
Responsible-Changed-Why:
This is a Heimdal issue, not a KDE issue.


State-Changed-From-To: open->analyzed
State-Changed-By: jlam@NetBSD.org
State-Changed-When: Thu, 28 Feb 2008 17:01:19 +0000
State-Changed-Why:
The Heimdal configure script is not properly detecting /usr/include/glob.h
on Linux, which causes it to install its own, conflicting glob.h in
${PREFIX}/include/krb5.  We need to determine how the glob.h check is
failing and fix it in the Heimdal configure script.


Responsible-Changed-From-To: jlam->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 21 Mar 2010 16:11:40 +0000
Responsible-Changed-Why:
Back to role account, jlam lost his commit bit.


Responsible-Changed-From-To: pkg-manager->linux-pkg-people
Responsible-Changed-By: cheusov@NetBSD.org
Responsible-Changed-When: Sun, 04 Dec 2011 16:09:20 +0000
Responsible-Changed-Why:
Linux problem


From: cheusov@tut.by
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34956
Date: Sun, 04 Dec 2011 19:02:44 +0300

 security/heimdal package now installs

    PREFIX/include/krb5/roken/glob.h
    PREFIX/include/krb5/roken/vis.h

 headers. Note that they are not under ${PREFIX}/include/krb5.

 This happens for the following reasons.

 Autoconf test for glob defines fails.

    conftest.c:123: error: 'GLOB_QUOTE' undeclared (first use in this function)
    conftest.c:123: error: (Each undeclared identifier is reported only once
    conftest.c:123: error: for each function it appears in.)
    conftest.c:127: error: 'GLOB_LIMIT' undeclared (first use in this function)

 The test code is

     #include <stdio.h>
     #include <glob.h>

     <a lot of defines here>

     int
     main ()
     {

     glob(NULL, GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE|
     #ifdef GLOB_MAXPATH
     GLOB_MAXPATH
     #else
     GLOB_LIMIT
     #endif
     ,
     NULL, NULL);

       ;
       return 0;
     }

 Neither GLOB_QUOTE nor GLOB_LIMIT is provided by glibc (v2.7).
 GLOB_MAXPATH is also not provided.

 Can anybody explain what kind of problems
 ${PREFIX}/include/krb5/roken/glob.h may cause?  kdeadmin3 in my bulk
 builds succeeded, kdeadmin4 fails due to broken ffmpeg.

State-Changed-From-To: analyzed->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Thu, 27 Jan 2022 03:40:43 +0000
State-Changed-Why:
Stale bug report, all packages involved have changed significantly since. Sorry it wasn't addressed at the time.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.