NetBSD Problem Report #48576
From diro@nixsyspaus.org Wed Feb 5 21:54:41 2014
Return-Path: <diro@nixsyspaus.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 21830A5673
for <gnats-bugs@gnats.netbsd.org>; Wed, 5 Feb 2014 21:54:41 +0000 (UTC)
Message-Id: <20140205203934.A02D32041E8@asche.nixsyspaus.org>
Date: Wed, 5 Feb 2014 20:39:34 +0000 (UTC)
From: diro@nixsyspaus.org
Reply-To: diro@nixsyspaus.org
To: gnats-bugs@gnats.netbsd.org
Subject: Configure of devel/libmemcached fails on CentOS 6.5
X-Send-Pr-Version: 3.95
>Number: 48576
>Category: pkg
>Synopsis: Configure of devel/libmemcached fails on CentOS 6.5
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: linux-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 05 21:55:00 +0000 2014
>Closed-Date: Sat Jul 19 12:46:13 +0000 2014
>Last-Modified: Sat Jul 19 12:46:13 +0000 2014
>Originator: diro@nixsyspaus.org
>Release: Linux 2.6.32-431.3.1.el6.x86_64
>Organization:
>Environment:
System: Linux test1 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux
Architecture: x86_64
Machine: x86_64
>Description:
=> Adding run-time search paths to pkg-config files.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gcc... gcc
checking whether the C compiler works... no
configure: error: in
`/usr/pkgsrc/devel/libmemcached/work/libmemcached-1.0.17':
configure: error: C compiler cannot create executables
See `config.log' for more details
*** Error code 77
Configure test for dladdr is what's failing. DL_LDFLAGS and DL_CFLAGS aren't
honoured by the script.
>How-To-Repeat:
cd devel/libmemcached; bmake configure;
>Fix:
Add:
.if ${OPSYS} == "Linux"
LDFLAGS+= -ldl
.endif
to Makefile after the options.mk line.
>Release-Note:
>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48576: Configure of devel/libmemcached fails on CentOS 6.5
Date: Wed, 5 Feb 2014 23:16:05 +0100
On Wed, Feb 05, 2014 at 09:55:00PM +0000, diro@nixsyspaus.org wrote:
> Configure test for dladdr is what's failing. DL_LDFLAGS and DL_CFLAGS aren't
> honoured by the script.
> >How-To-Repeat:
> cd devel/libmemcached; bmake configure;
> >Fix:
> Add:
>
> .if ${OPSYS} == "Linux"
> LDFLAGS+= -ldl
> .endif
>
> to Makefile after the options.mk line.
What about DL_AUTO_VARS=yes?
Joerg
Responsible-Changed-From-To: pkg-manager->linux-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 06 Feb 2014 06:19:27 +0000
Responsible-Changed-Why:
Problem on Linux.
From: rodent@NetBSD.org
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48576: Configure of devel/libmemcached fails on CentOS 6.5
Date: Thu, 6 Feb 2014 08:45:54 -0500
On Wed, Feb 05, 2014 at 10:20:00PM +0000, Joerg Sonnenberger wrote:
>
> What about DL_AUTO_VARS=yes?
No change. :\
From: "OBATA Akio" <obata@lins.jp>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48576: Configure of devel/libmemcached fails on CentOS 6.5
Date: Fri, 14 Feb 2014 15:41:56 +0900
I cannot reproduce with CentOS 6.5,
fresh installation plus "C++ support for GCC" package.
--
OBATA Akio / obata@lins.jp
State-Changed-From-To: open->closed
State-Changed-By: cheusov@NetBSD.org
State-Changed-When: Sat, 19 Jul 2014 12:46:13 +0000
State-Changed-Why:
I also cannot reproduce this problem and assume it was fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.