NetBSD Problem Report #47102

From www@NetBSD.org  Mon Oct 22 03:08:25 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 29D5C63E4CA
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 22 Oct 2012 03:08:25 +0000 (UTC)
Message-Id: <20121022030824.8970A63DD3A@www.NetBSD.org>
Date: Mon, 22 Oct 2012 03:08:24 +0000 (UTC)
From: justin@shiningsilence.com
Reply-To: justin@shiningsilence.com
To: gnats-bugs@NetBSD.org
Subject: Reapply -libx11 configure patch for x11/xpmroot DragonFly
X-Send-Pr-Version: www-1.0

>Number:         47102
>Category:       pkg
>Synopsis:       Reapply -libx11 configure patch for x11/xpmroot DragonFly
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 22 03:10:00 +0000 2012
>Last-Modified:  Thu Oct 25 04:15:02 +0000 2012
>Originator:     Justin Sherrill
>Release:        DragonFly-3.2
>Organization:
>Environment:
DragonFly df.v12.su 3.2-RELEASE DragonFly v3.2.0-RELEASE #15: Tue Oct  9 09:44:17 MSD 2012     root@df.v12.su:/usr/obj/usr/src/sys/DFAHCI  i386

>Description:


(config output)
checking for X... no

X11 libraries or header files could not be found.  Please make
sure the X11 development package is installed on your system.
If it is definitely installed, try setting the include and library
paths with the --x-include and --x-libraries options of configure.
Fvwm can not be compiled without the X11 development environment

Aborting.

*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/xpmroot
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/xpmroot
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wm/fvwm
*** Error code 1

Stop in /usr/src/nrelease.

>How-To-Repeat:
cd x11/xpmroot; bmake
>Fix:

http://pkgsrc.se/files.php?messageId=20120223183954.3D706175DD@cvs.netbsd.org

This patch was applied before but apparently lost?

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/47102: Reapply -libx11 configure patch for x11/xpmroot
 DragonFly
Date: Mon, 22 Oct 2012 13:16:01 +0900

 On Mon, 22 Oct 2012 12:10:01 +0900, <justin@shiningsilence.com> wrote:

 >> Fix:
 >
 > http://pkgsrc.se/files.php?messageId=20120223183954.3D706175DD@cvs.netbsd.org
 >
 > This patch was applied before but apparently lost?

 No significant changes since the commit.
 Could you find the (new?) problem from config.log?

 -- 
 OBATA Akio / obache@NetBSD.org

From: Justin Sherrill <justin@shiningsilence.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/47102: Reapply -libx11 configure patch for x11/xpmroot DragonFly
Date: Thu, 25 Oct 2012 00:11:58 -0400

 >  No significant changes since the commit.
 >  Could you find the (new?) problem from config.log?

 I did have an out-of-date checkout, but I get this on a brand new
 checkout of pkgsrc-2012Q3 into a clean dir.  This is doing a release
 build of DragonFly, so it looks like this:

 http://nopaste.info/2cc19292b2.html

 configure.log output below.

 configure:4526: result: no
 configure:4554: checking for minix/config.h
 configure:4561: result: no
 configure:4592: checking for X
 configure:4707: cc -E -I/usr/pkg/include conftest.c
 configure:4713: $? = 0
 configure:4769: cc -o conftest -O2 -I/usr/pkg/include -I/usr/pkg/include -L/usr/
 pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lXt  >&5
 /usr/libexec/binutils222/elf/ld.bfd: /tmp//ccGNswrr.o: undefined reference to sy
 mbol 'XrmInitialize'
 /usr/libexec/binutils222/elf/ld.bfd: note: 'XrmInitialize' is defined in DSO /us
 r/pkg/lib/libX11.so.6 so try adding it to the linker command line
 /usr/pkg/lib/libX11.so.6: could not read symbols: Invalid operation
 configure:4775: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME ""
 | #define PACKAGE_TARNAME ""

NetBSD Home
NetBSD PR Database Search

(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.