[MacPorts] #45582: xmgrace crashes with SIGSYS in yosemite
#45582: xmgrace crashes with SIGSYS in yosemite ------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Keywords: | Port: grace ------------------------+-------------------------------- % xmgrace Oops! Got SIGSYS Please use "Help/Comments" to report the bug. Abort -- Ticket URL: <https://trac.macports.org/ticket/45582> MacPorts <https://www.macports.org/> Ports system for OS X
#45582: xmgrace crashes with SIGSYS in yosemite -------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: grace | -------------------------+-------------------------------- Comment (by gezelter@…): This does not appear to be a duplicate of [https://trac.macports.org/ticket/43264 ticket 42364], as the optimization level in the port file is already set to -O1 -- Ticket URL: <https://trac.macports.org/ticket/45582#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#45582: grace: xmgrace crashes with SIGSYS in yosemite -------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: grace | -------------------------+-------------------------------- Old description:
% xmgrace
Oops! Got SIGSYS
Please use "Help/Comments" to report the bug. Abort
New description: {{{ % xmgrace Oops! Got SIGSYS Please use "Help/Comments" to report the bug. Abort }}} -- Comment (by ryandesign@…): Did you do what the error message said ("use 'Help/Comments' to report the bug)"? This sounds like a problem to be reported to the developers. -- Ticket URL: <https://trac.macports.org/ticket/45582#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#45582: grace: xmgrace crashes with SIGSYS in yosemite -------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: grace | -------------------------+-------------------------------- Comment (by barry.j.mcinnes@…): The above suggestion fixed it for us - uninstall grace,t1lib, install grace -- Ticket URL: <https://trac.macports.org/ticket/45582#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#45582: grace: xmgrace crashes with SIGSYS in yosemite --------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: grace t1lib | --------------------------+-------------------------------- Changes (by mojca@…): * cc: mojca@… (added) * version: 2.3.2 => * port: grace => grace t1lib Comment: http://plasma-gate.weizmann.ac.il/Grace/phpbb/viewtopic.php?f=5&t=2801 -- Ticket URL: <https://trac.macports.org/ticket/45582#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#45582: grace: xmgrace crashes with SIGSYS in yosemite --------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: grace t1lib | --------------------------+-------------------------------- Comment (by mojca@…): In any case `grace` shouldn't opportunistically link against `t1lib` and `netcdf`. Something along the following lines might be needed (untested): {{{ #!patch --- Portfile (revision 133549) +++ Portfile (working copy) @@ -37,7 +37,10 @@ configure.optflags -O1 configure.pre_args --prefix=${prefix}/lib configure.args --with-helpviewer="${prefix}/bin/openbrowser ${prefix}/share/doc/${name}/`basename %s`" \ - --x-include=${prefix}/include --x-lib=${prefix}/lib + --x-include=${prefix}/include \ + --x-lib=${prefix}/lib \ + --with-bundled-t1lib \ + --disable-netcdf post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc @@ -53,7 +56,7 @@ variant netcdf description {Support for NetCDF data files} { depends_lib-append port:netcdf - configure.args-append --enable-netcdf + configure.args-replace --disable-netcdf --enable-netcdf } livecheck.type regex }}} -- Ticket URL: <https://trac.macports.org/ticket/45582#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#45582: grace: xmgrace crashes with SIGSYS in yosemite --------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: grace t1lib | --------------------------+-------------------------------- Comment (by mojca@…): Plus another comment: making `pdflib` optional and disabling it by default would make the port distributable. I'm not sure if that's helpful though as I'm not using grace directly, I'm only occasionally using a port that depends on it. -- Ticket URL: <https://trac.macports.org/ticket/45582#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#45582: grace: xmgrace crashes with SIGSYS in yosemite --------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: grace t1lib | --------------------------+-------------------------------- Comment (by mjosedelinares@…): Replying to [comment:3 gezelter@…]:
I think I may have figured something out - a gdb backtrace points to a t1lib collision between the bundled t1lib in grace and the t1lib installed by macports. This seems to help:
{{{ sudo port uninstall grace sudo port uninstall t1lib sudo port install grace }}}
It may be that the optimization problem is present in the t1lib port.
I have exactly the same problem, but when I try to do your suggestion it's said "sudo: port: command not found". Even I have tried to uninstall it with "sudo make uninstall" it is said "make: *** No rule to make target `uninstall'. Stop.". I don't know what else I can do. I need to be able to use xmgrace. -- Ticket URL: <https://trac.macports.org/ticket/45582#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#45582: grace: xmgrace crashes with SIGSYS in yosemite --------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: grace t1lib | --------------------------+-------------------------------- Comment (by russell.jones@…): It sounds like you don't have MacPorts installed correctly. See https://www.macports.org/install.php Replying to [comment:8 mjosedelinares@…]:
Replying to [comment:3 gezelter@…]:
I think I may have figured something out - a gdb backtrace points to a t1lib collision between the bundled t1lib in grace and the t1lib installed by macports. This seems to help:
{{{ sudo port uninstall grace sudo port uninstall t1lib sudo port install grace }}}
It may be that the optimization problem is present in the t1lib port.
I have exactly the same problem, but when I try to do your suggestion it's said "sudo: port: command not found". Even I have tried to uninstall it with "sudo make uninstall" it is said "make: *** No rule to make target `uninstall'. Stop.". I don't know what else I can do. I need to be able to use xmgrace.
-- Ticket URL: <https://trac.macports.org/ticket/45582#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#45582: grace: xmgrace crashes with SIGSYS in yosemite --------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: grace t1lib | --------------------------+-------------------------------- Comment (by marc.octavo@…): I had the same problem and solved it adding '''+universal''' variant {{{ sudo port install grace +universal }}} -- Ticket URL: <https://trac.macports.org/ticket/45582#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#45582: grace: xmgrace crashes with SIGSYS in yosemite --------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: grace t1lib | --------------------------+-------------------------------- Comment (by phillicl@…): This worked for me as well -- Ticket URL: <https://trac.macports.org/ticket/45582#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#45582: grace: xmgrace crashes with SIGSYS in yosemite --------------------------+-------------------------------- Reporter: gezelter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: grace t1lib | --------------------------+-------------------------------- Changes (by mf2k@…): * cc: jvianalopes@…, barry.j.mcinnes@…, giovanni.bussi@… (added) Comment: Cc people from duplicates #47122 and #49893. -- Ticket URL: <https://trac.macports.org/ticket/45582#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts