[MacPorts] #18815: xfig does not start
#18815: xfig does not start ---------------------------------+------------------------------------------ Reporter: david.grier@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: ---------------------------------+------------------------------------------ On a fresh install of macports 1.700, OS X 11.5.6, Xquartz 2.1.5, installing xfig @3.2.5_4 goes without a hitch. Running xfig, however, immediately crashes with Error: Unresolved inheritance operation and no other feedback. No windows open, and none of the command line options appear to make a difference. -- Ticket URL: <http://trac.macports.org/ticket/18815> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18815: xfig does not start ---------------------------------+------------------------------------------ Reporter: david.grier@… | Owner: pguyot@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xfig ---------------------------------+------------------------------------------ Changes (by jmr@…): * owner: macports-tickets@… => pguyot@… * port: => xfig -- Ticket URL: <http://trac.macports.org/ticket/18815#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18815: xfig does not start ---------------------------------+------------------------------------------ Reporter: david.grier@… | Owner: pguyot@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xfig ---------------------------------+------------------------------------------ Comment(by raphael@…):
Running xfig, however, immediately crashes with
Error: Unresolved inheritance operation
and no other feedback. No windows open, and none of the command line options appear to make a difference.
I have the same problem here. The cause of the problem is that xfig is linked with the wrong X11 libraries, whereas libXaw3d is linked with the right ones: {{{
otool -L /opt/local/bin/xfig /opt/local/bin/xfig: /opt/local/lib/libjpeg.62.dylib (compatibility version 63.0.0, current version 63.0.0) /usr/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0) /usr/X11/lib/libpng12.0.dylib (compatibility version 34.0.0, current version 34.0.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/X11/lib/libXi.6.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libXaw3d.8.dylib (compatibility version 8.0.0, current version 8.0.0) /usr/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0) /usr/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0) /usr/X11/lib/libXp.6.dylib (compatibility version 9.0.0, current version 9.0.0) /usr/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0) /usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) otool -L /opt/local/lib/libXaw3d.8.dylib /opt/local/lib/libXaw3d.8.dylib: /opt/local/lib/libXaw3d.8.dylib (compatibility version 8.0.0, current version 8.0.0) /opt/local/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0) /opt/local/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0) /opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0) /opt/local/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0) /opt/local/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0) /opt/local/lib/libXp.6.dylib (compatibility version 9.0.0, current version 9.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3) }}}
-- Ticket URL: <http://trac.macports.org/ticket/18815#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18815: xfig does not start ---------------------------------+------------------------------------------ Reporter: david.grier@… | Owner: pguyot@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xfig ---------------------------------+------------------------------------------ Comment(by raphael@…): I solved the problem by changing the Portfile and a patch file. Both patches are attached. Maybe it would be better to use a patched version of the included {{{Makefile.noimake}}} or to fix imake. Can anybody commit these changes? -- Ticket URL: <http://trac.macports.org/ticket/18815#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18815: xfig does not start ---------------------------------+------------------------------------------ Reporter: david.grier@… | Owner: pguyot@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xfig ---------------------------------+------------------------------------------ Comment(by raphael@…): I just discovered that there is a simpler solution, see #18250. I changed the patch files to use this solution. -- Ticket URL: <http://trac.macports.org/ticket/18815#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18815: xfig does not start ---------------------------------+------------------------------------------ Reporter: david.grier@… | Owner: pguyot@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xfig ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * cc: zhang.xiaolan@… (added) Comment: Cc'ing reporter of duplicate #18873. -- Ticket URL: <http://trac.macports.org/ticket/18815#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18815: xfig does not start ---------------------------------+------------------------------------------ Reporter: david.grier@… | Owner: pguyot@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xfig ---------------------------------+------------------------------------------ Comment(by helgel@…): I will embarrass myself by putting my ignorance on display here: I dont understand how to solve the problem (even though I found the attachment -- patch-Imakefile.diff). Can somebody please advise on how to get this going? -- Ticket URL: <http://trac.macports.org/ticket/18815#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18815: xfig does not start ---------------------------------+------------------------------------------ Reporter: david.grier@… | Owner: pguyot@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xfig ---------------------------------+------------------------------------------ Comment(by zhang.xiaolan@…): I am new to mac too. I have the same problem. where to find these files and patch them? thanks! Replying to [comment:8 helgel@…]:
I will embarrass myself by putting my ignorance on display here: I dont understand how to solve the problem (even though I found the attachment -- patch-Imakefile.diff). Can somebody please advise on how to get this going?
-- Ticket URL: <http://trac.macports.org/ticket/18815#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18815: xfig does not start ---------------------------------+------------------------------------------ Reporter: david.grier@… | Owner: pguyot@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: xfig ---------------------------------+------------------------------------------ Comment(by raphael@…): Replying to [comment:8 helgel@…]:
Can somebody please advise on how to get this going?
First download the two attachments of this ticket to the current directory. Then copy the current xfig portfile and its patches to the same directory, patch the portfile, replace one patchfile and install the new xfig port: {{{ sudo port sync cp -r /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/xfig . cd xfig patch -p0 < ../Portfile.diff cp ../patch-Imakefile.diff files sudo port deactivate xfig @3.2.5_4 sudo port install }}} As soon as somebody commits these changes to MacPorts (and closes this ticket) a {{{sudo port sync ; sudo port upgrade xfig}}} should be sufficient. -- Ticket URL: <http://trac.macports.org/ticket/18815#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18815: xfig does not start ----------------------------------+----------------------------------------- Reporter: david.grier@… | Owner: pguyot@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: xfig | ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => fixed Comment: Committed revision r48375. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/18815#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts