[MacPorts] #18181: xpdf fails to run in Leopard

MacPorts noreply at macports.org
Mon Feb 16 10:49:25 PST 2009


#18181: xpdf fails to run in Leopard
------------------------------------+---------------------------------------
 Reporter:  macosx12345@…           |       Owner:  ricci@…           
     Type:  defect                  |      Status:  assigned          
 Priority:  Normal                  |   Milestone:  Port Bugs         
Component:  ports                   |     Version:  1.7.0             
 Keywords:  motif non-widget child  |        Port:  xpdf              
------------------------------------+---------------------------------------
Changes (by ricci@…):

  * status:  new => assigned


Comment:

 Replying to [ticket:18181 macosx12345@…]:
 > This is a similar problem to #18114.
 >
 > I'm trying to run xpdf on a fresh install of Mac OS X 10.5 with Xquartz
 2.3.2 and a fresh install of MacPorts 1.7.0.
 >
 > xpdf builds fine, but when I try to run it I get the following error
 message:
 >
 > {{{
 > Warning: Widget must be a VendorShell.
 > Error: attempt to add non-widget child "dsm" to parent "xpdf" which
 supports only widgets
 > }}}
 >
 > The same problem happens on another system where xpdf @3.02_2 built
 several month ago is running fine but a new build of xpdf @3.02_4 fails
 with the same error message.
 >
 > This message might be caused by problems with openmotif (see
 http://www.faqs.org/faqs/motif-faq/part9/section-29.html, but here there
 is seemingly no problem of library order on the link command line).

         I agree, the link order appears to be okay.

         The problem seems to be triggered in xpdf/XPDFViewer.cc a line
 1676:

                 pageNumText = XmCreateTextField(toolBar, "pageNum", args,
 n);

         and occurs in libXt (libXt-1.0.5/src/Create.c in
 _XtCreateWidget()):


         if (!ext || !ext->accepts_objects) {
         params[1] = XtName(parent);
         num_params = 2;
         XtAppErrorMsg(XtWidgetToApplicationContext(parent),
                   "nonWidget", XtNxtCreateWidget,XtCXtToolkitError,
 "attempt to add non-widget child \"%s\" to parent \"%s\" which supports
 only widgets",
                   params, &num_params);
         }


         If someone has more time to hunt this out (and/or more familiarity
 w/ X11 stuff, mine is horribly rusty) that'd be great, esp. as it seems to
 apply to multiple ports using OpenMotif.

-- 
Ticket URL: <http://trac.macports.org/ticket/18181#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list