NetBSD Problem Report #48031
From www@NetBSD.org Tue Jul 9 04:52:50 2013
Return-Path: <www@NetBSD.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" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 3E44D7196E
for <gnats-bugs@gnats.NetBSD.org>; Tue, 9 Jul 2013 04:52:50 +0000 (UTC)
Message-Id: <20130709045248.542237196F@mollari.NetBSD.org>
Date: Tue, 9 Jul 2013 04:52:48 +0000 (UTC)
From: richard@netbsd.org
Reply-To: richard@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: xterm-295 fails to build on solaris
X-Send-Pr-Version: www-1.0
>Number: 48031
>Category: pkg
>Synopsis: xterm-295 fails to build on solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: wiz
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 09 04:55:00 +0000 2013
>Closed-Date: Wed Jul 10 11:56:11 +0000 2013
>Last-Modified: Wed Jul 10 11:56:11 +0000 2013
>Originator: Richard PALO
>Release: pkgsrc trunk
>Organization:
>Environment:
SunOS devzoneX 5.11 illumos-gate i86pc i386 i86pc
>Description:
building the latest xterm fails
with some problems during configure
...
checking for XftDrawSetClipRectangles... yes
checking for usable Xft/fontconfig package... no
sed: 1: "s,-lXft ,-lXft -L/opt/p ...": bad flag in substitute command: '-'
...
finally with:
/bin/sh ./plink.sh gcc -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -I/usr/include -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wdeclaration-after-statement -Wextra -Wno-unknown-pragmas -Wswitch-enum -L/opt/pkg/gcc48/lib/gcc/x86_64-sun-solaris2.11/4.8.1 -Wl,-R/opt/pkg/gcc48/lib/gcc/x86_64-sun-solaris2.11/4.8.1 -L/opt/pkg/gcc48/lib -Wl,-R/opt/pkg/gcc48/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -R/usr/lib/amd64 -R/opt/pkg/lib -R/opt/pkg/gcc48/lib -R/opt/pkg/gcc48/lib/gcc/x86_64-sun-solaris2.11/4.8.1 -o resize resize.o version.o xstrings.o
Undefined first referenced
symbol in file
tgetent resize.o
ld: fatal: symbol referencing errors. No output written to resize
collect2: error: ld returned 1 exit status
*** [resize] Error code 1
bmake: stopped in /var/tmp/pkgsrc/x11/xterm/work/xterm-295
--- xterm ---
Undefined first referenced
symbol in file
XUnmapWindow menu.o
FcCharSetHasChar fontutils.o
Xutf8TextListToTextProperty button.o
XMoveResizeWindow misc.o
XGrabKeyboard menu.o
_XtInherit charproc.o
XCreateFontCursor misc.o
XGetWindowAttributes misc.o
XBell misc.o
XFree charproc.o
XSync charproc.o
XftFontClose fontutils.o
XtVaCreateManagedWidget main.o
XDrawImageString16 util.o
XftFontMatch fontutils.o
XftTextExtents32 fontutils.o
XGetAtomName fontutils.o
XGetKeyboardMapping input.o
XtCreatePopupShell Tekproc.o
XDrawRectangle fontutils.o
FcPatternBuild fontutils.o
XpmCreatePixmapFromData misc.o
XIconifyWindow charproc.o
XCreateBitmapFromData menu.o
XtGetSubresources charproc.o
XtGetSelectionValue button.o
XtUnmanageChild menu.o
XtManageChild menu.o
XLowerWindow charproc.o
XDrawImageString util.o
XClearWindow util.o
XSetForeground Tekproc.o
XmuGetHostname main.o
XtRemoveTimeOut charproc.o
XtRealizeWidget charproc.o
XSetWindowBorder Tekproc.o
FcPatternDestroy fontutils.o
XtCreateWidget menu.o
XtAppAddTimeOut charproc.o
XSetClipRectangles util.o
XGContextFromGC Tekproc.o
XtDispatchEvent misc.o
XSetTextProperty misc.o
XtReleaseGC misc.o
XmbTextPropertyToTextList button.o
XDefaultScreen misc.o
XtAppPending misc.o
XWindowEvent util.o
XSetLineAttributes fontutils.o
XtAppPeekEvent misc.o
XtAugmentTranslations charproc.o
XtLastTimestampProcessed charproc.o
_XA_UTF8_STRING button.o
XtCreateManagedWidget menu.o
XmuInternAtom button.o
XpmReadFileToPixmap misc.o
XtOpenApplication misc.o
XCreateGlyphCursor misc.o
_XA_LENGTH button.o
IceSetIOErrorHandler main.o
XftDrawSetClip util.o
XMaxRequestSize button.o
XWarpPointer menu.o
XSendEvent screen.o
XtSetMappedWhenManaged main.o
XRefreshKeyboardMapping main.o
XFillPolygon fontutils.o
XGetWindowProperty misc.o
XtOverrideTranslations charproc.o
XDefineCursor charproc.o
XAllocColor misc.o
XtRegisterGrabAction menu.o
XDeleteProperty misc.o
_XA_LIST_LENGTH button.o
XSetWindowBackground util.o
XftDrawCreate util.o
XReconfigureWMWindow charproc.o
XDisplayString main.o
formWidgetClass menu.o
XGetModifierMapping input.o
XGetWMIconName charproc.o
XReparentWindow misc.o
XFlush charproc.o
XMapWindow charproc.o
XawSimpleMenuAddGlobalActions menu.o
XmbTextListToTextProperty button.o
XtFree button.o
XftDrawCharSpec util.o
XftNameParse fontutils.o
XtVaSetValues charproc.o
XtVaGetValues charproc.o
XCreateWindow charproc.o
XCopyArea util.o
topLevelShellWidgetClass Tekproc.o
XDisplayKeycodes input.o
Xutf8TextPropertyToTextList button.o
XSetErrorHandler main.o
XGetVisualInfo misc.o
XftFontOpenPattern fontutils.o
XtSetErrorHandler misc.o
XtAddEventHandler charproc.o
XtAppNextEvent misc.o
XmuNameOfAtom charproc.o
XDrawString16 util.o
XmuReleaseStippledPixmap cachedGCs.o
XFreeModifiermap input.o
XDrawSegments Tekproc.o
XawScrollbarSetThumb scrollbar.o
XFillRectangle fontutils.o
XChangeProperty charproc.o
_XA_TARGETS button.o
XmuConvertStandardSelection button.o
XUngrabKeyboard menu.o
XftCharExists fontutils.o
XTextWidth16 util.o
XSetBackground Tekproc.o
XTextPropertyToStringList button.o
XmuMakeAtom charproc.o
XQueryColors misc.o
XSetIOErrorHandler main.o
XtCallActionProc menu.o
XtDisownSelection button.o
XDrawLine fontutils.o
XAllocWMHints misc.o
XLookupString input.o
XSetDashes Tekproc.o
XtRealloc charproc.o
XCreateGC cachedGCs.o
XFreeFont fontutils.o
XDrawLines charproc.o
XftDrawRect util.o
XSetClipMask util.o
XFreeStringList button.o
XScreenNumberOfScreen misc.o
XtMalloc button.o
XFetchBuffer button.o
XQueryColor misc.o
XtSetValues main.o
XtGetValues misc.o
XtAddCallback menu.o
XParseColor misc.o
XGetWMName charproc.o
XSetFont Tekproc.o
smeLineObjectClass menu.o
IceRemoveConnectionWatch misc.o
XFreeCursor Tekproc.o
XawFormDoLayout menu.o
XSetWMProtocols charproc.o
boxWidgetClass menu.o
XtParseTranslationTable charproc.o
XftDrawSetClipRectangles util.o
IceConnectionNumber misc.o
XMoveWindow charproc.o
XmuCreateStippledPixmap cachedGCs.o
tgetent xtermcap.o
tgetstr xtermcap.o
XmuInternStrings button.o
_XA_COMPOUND_TEXT button.o
XtWindowOfObject charproc.o
XGetKeyboardControl scrollbar.o
XClearArea charproc.o
XDrawArc fontutils.o
XmuPrintDefaultErrorMessage misc.o
XGetSelectionOwner charproc.o
XtOwnSelection button.o
XmuCompareISOLatin1 charproc.o
IceAddConnectionWatch misc.o
XStoreBuffer button.o
XGetWMHints misc.o
XSetWMHints misc.o
XSetWMNormalHints charproc.o
XGetWMNormalHints misc.o
XSupportsLocale button.o
XGeometry main.o
XtRemoveCallback menu.o
XWithdrawWindow misc.o
_XA_TEXT button.o
XtGetApplicationResources main.o
XtAppWarningMsg charproc.o
XQueryFont Tekproc.o
XQueryTree misc.o
XCopyGC Tekproc.o
XQueryPointer Tekproc.o
XFreeGC cachedGCs.o
XInternAtom charproc.o
XDrawString util.o
widgetClassRec charproc.o
menuButtonWidgetClass menu.o
XtVaCreatePopupShell menu.o
simpleMenuWidgetClass menu.o
smeBSBObjectClass menu.o
XtAddConverter charproc.o
XKeycodeToKeysym input.o
XtRegisterDrawable charproc.o
XConfigureWindow screen.o
XRecolorCursor util.o
XtConfigureWidget scrollbar.o
scrollbarWidgetClass scrollbar.o
XChangeGC cachedGCs.o
XtSetLanguageProc main.o
XmuUpdateMapHints misc.o
XParseGeometry charproc.o
XRaiseWindow charproc.o
XtAppProcessEvent misc.o
XSelectInput charproc.o
XtGetGC misc.o
XtMakeResizeRequest charproc.o
XTextWidth util.o
XChangeKeyboardControl scrollbar.o
XGetGeometry misc.o
sessionShellWidgetClass main.o
XLoadQueryFont charproc.o
XVisualIDFromVisual misc.o
XftTextExtentsUtf8 fontutils.o
XtAppAddActions charproc.o
XmuCvtStringToGravity charproc.o
ld: fatal: symbol referencing errors. No output written to xterm
collect2: error: ld returned 1 exit status
*** [xterm] Error code 1
bmake: stopped in /var/tmp/pkgsrc/x11/xterm/work/xterm-295
2 errors
bmake: stopped in /var/tmp/pkgsrc/x11/xterm/work/xterm-295
*** Error code 2
Stop.
bmake: stopped in /home/richard/src/pkgsrc/x11/xterm
*** Error code 1
Stop.
bmake: stopped in /home/richard/src/pkgsrc/x11/xterm
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Tue, 09 Jul 2013 07:02:50 +0000
Responsible-Changed-Why:
A Solaris issue.
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/48031: xterm-295 fails to build on solaris
Date: Tue, 9 Jul 2013 11:41:34 +0200
On Tue, Jul 09, 2013 at 04:55:00AM +0000, richard@netbsd.org wrote:
> checking for XftDrawSetClipRectangles... yes
> checking for usable Xft/fontconfig package... no
> sed: 1: "s,-lXft ,-lXft -L/opt/p ...": bad flag in substitute command: '-'
I've asked upstream to take a look.
There were upstream changes in 294 to remove duplicate X libraries
from the command line. Perhaps this broke something. Just to give you
a pointer in case you want to debug further.
Thomas
Responsible-Changed-From-To: solaris-pkg-people->wiz
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 09 Jul 2013 14:58:14 +0000
Responsible-Changed-Why:
see PR 48035
State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 10 Jul 2013 09:11:48 +0000
State-Changed-Why:
Added a patch from upstream that should address this issue -- please test!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48031 CVS commit: pkgsrc/x11/xterm
Date: Wed, 10 Jul 2013 09:11:05 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Wed Jul 10 09:11:05 UTC 2013
Modified Files:
pkgsrc/x11/xterm: distinfo
Added Files:
pkgsrc/x11/xterm/patches: patch-configure
Log Message:
Add patch from Thomas E. Dickey to address the build problems from
PR 48031 and PR 48035.
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/x11/xterm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xterm/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Richard PALO <richard.palo@baou.fr>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: PR/48031 CVS commit: pkgsrc/x11/xterm
Date: Wed, 10 Jul 2013 13:41:56 +0200
Le 10/07/13 11:15, Thomas Klausner a écrit :
> The following reply was made to PR pkg/48031; it has been noted by GNATS.
>
> From: "Thomas Klausner" <wiz@netbsd.org>
> To: gnats-bugs@gnats.NetBSD.org
> Cc:
> Subject: PR/48031 CVS commit: pkgsrc/x11/xterm
> Date: Wed, 10 Jul 2013 09:11:05 +0000
>
> Module Name: pkgsrc
> Committed By: wiz
> Date: Wed Jul 10 09:11:05 UTC 2013
>
> Modified Files:
> pkgsrc/x11/xterm: distinfo
> Added Files:
> pkgsrc/x11/xterm/patches: patch-configure
>
> Log Message:
> Add patch from Thomas E. Dickey to address the build problems from
> PR 48031 and PR 48035.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.50 -r1.51 pkgsrc/x11/xterm/distinfo
> cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xterm/patches/patch-configure
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>
>
seems to build and run okay now for me. Thanks!
State-Changed-From-To: feedback->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 10 Jul 2013 11:56:11 +0000
State-Changed-Why:
Confirmed fixed, thanks!
>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.