Opened 6 years ago
Last modified 5 years ago
#45582 new defect
grace: xmgrace crashes with SIGSYS in yosemite
Reported by: | gezelter@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mojca (Mojca Miklavec), jvianalopes@…, basmac, GiovanniBussi (Giovanni) | |
Port: | grace t1lib |
Description (last modified by ryandesign (Ryan Schmidt))
% xmgrace Oops! Got SIGSYS Please use "Help/Comments" to report the bug. Abort
Change History (12)
comment:1 Changed 6 years ago by gezelter@…
comment:2 Changed 6 years ago by ryandesign (Ryan Schmidt)
Description: | modified (diff) |
---|---|
Summary: | xmgrace crashes with SIGSYS in yosemite → grace: xmgrace crashes with SIGSYS in yosemite |
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.
comment:3 follow-up: 8 Changed 6 years ago by 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.
comment:4 Changed 6 years ago by basmac
The above suggestion fixed it for us - uninstall grace,t1lib, install grace
comment:5 Changed 6 years ago by mojca (Mojca Miklavec)
Cc: | mojca@… added |
---|---|
Port: | t1lib added |
Version: | 2.3.2 |
comment:6 Changed 6 years ago by mojca (Mojca Miklavec)
In any case grace
shouldn't opportunistically link against t1lib
and netcdf
. Something along the following lines might be needed (untested):
-
Portfile
37 37 configure.optflags -O1 38 38 configure.pre_args --prefix=${prefix}/lib 39 39 configure.args --with-helpviewer="${prefix}/bin/openbrowser ${prefix}/share/doc/${name}/`basename %s`" \ 40 --x-include=${prefix}/include --x-lib=${prefix}/lib 40 --x-include=${prefix}/include \ 41 --x-lib=${prefix}/lib \ 42 --with-bundled-t1lib \ 43 --disable-netcdf 41 44 42 45 post-destroot { 43 46 xinstall -m 755 -d ${destroot}${prefix}/share/doc … … 53 56 54 57 variant netcdf description {Support for NetCDF data files} { 55 58 depends_lib-append port:netcdf 56 configure.args- append--enable-netcdf59 configure.args-replace --disable-netcdf --enable-netcdf 57 60 } 58 61 59 62 livecheck.type regex
comment:7 Changed 6 years ago by mojca (Mojca Miklavec)
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.
comment:8 follow-up: 9 Changed 6 years ago by mjosedelinares@…
Replying to 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 graceIt 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.
comment:9 Changed 6 years ago by Russell-Jones-OxPhys (Russell Jones)
Replying to mjosedelinares@…:
Replying to 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 graceIt 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.
It sounds like you don't have MacPorts installed correctly. See https://www.macports.org/install.php The instructions are for installing via MacPorts, not directly from the source.
comment:10 Changed 5 years ago by marc.octavo@…
I had the same problem and solved it adding +universal variant
sudo port install grace +universal
comment:12 Changed 5 years ago by mf2k (Frank Schima)
Cc: | jvianalopes@… barry.j.mcinnes@… giovanni.bussi@… added |
---|
This does not appear to be a duplicate of #42364, as the optimization level in the port file is already set to -O1