Inkscape @0.92.0_3+x11 does not work under macOS Sierra 10.12.3!
Joshua Root
jmr at macports.org
Mon Feb 13 10:42:47 UTC 2017
Does the patch attached to the ticket not work?
The full environment for each step is listed in the log file for the
port. This is normally removed after a successful install though. So run
'sudo port destroot inkscape' to do a build without installing and then
'port logfile inkscape' to find the path to the log.
To build with debug symbols, you of course have to change the flags
used. This should do it (make sure you clean first):
sudo port -k install inkscape configure.optflags="-O0 -g"
(The -k will prevent the work directory from being removed after
successful installation. This is where the .dSYM files/directories are,
without which debugging doesn't work nearly as well.)
- Josh
On 2017-2-13 21:17 , Barry Scott wrote:
> I will debug this if someone can tell me how to install the port with source line debug enabled.
>
> Also how do I get to see the exact CFLAGS etc that is used in the build?
>
> I found that if I build Inkscape outside of MacPorts port file but against MacPorts libs and headers
> Inkscape works.
>
> Barry
>
>
>> On 12 Feb 2017, at 21:52, Joshua Root <jmr at macports.org> wrote:
>>
>>> The crash log contains the following chosen tidbits.
>>>
>>> Process: inkscape [21797]
>>> Path: /opt/local/bin/inkscape
>>> Identifier: inkscape
>>> Version: 0
>>> Code Type: X86-64 (Native)
>>> Parent Process: bash [530]
>>> Responsible: inkscape [21797]
>>> […]
>>> Crashed Thread: 0 Dispatch queue: com.apple.main-thread
>>>
>>> Exception Type: EXC_BAD_ACCESS (SIGSEGV)
>>> Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
>>> Exception Note: EXC_CORPSE_NOTIFY
>>>
>>> Termination Signal: Segmentation fault: 11
>>> Termination Reason: Namespace SIGNAL, Code 0xb
>>> Terminating Process: exc handler [0]
>>> […]
>>> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
>>> 0 libsystem_c.dylib 0x00007fff9d7560f3 _UTF8_mbsnrtowcs + 287
>>> 1 libsystem_c.dylib 0x00007fff9d750f02 __collate_mbstowcs + 123
>>> 2 libsystem_c.dylib 0x00007fff9d77a79c strcoll_l + 76
>>> 3 libglib-2.0.0.dylib 0x000000010740bf99 g_utf8_collate + 105
>>> 4 inkscape 0x0000000104756a93 font_factory::GetUIStyles(_PangoFontFamily*) + 221
>>> 5 inkscape 0x000000010475c1e8 Inkscape::FontLister::update_font_list(SPDocument*) + 1490
>>> 6 inkscape 0x000000010488442c sp_text_toolbox_prep(SPDesktop*, _GtkActionGroup*, _GObject*) + 156
>>> 7 inkscape 0x000000010488dc85 setup_aux_toolbox(_GtkWidget*, SPDesktop*) + 435
>>> 8 inkscape 0x000000010488d7a4 Inkscape::UI::ToolboxFactory::setToolboxDesktop(_GtkWidget*, SPDesktop*) + 518
>>> 9 inkscape 0x00000001048bb4ad Inkscape::UI::UXManagerImpl::connectToDesktop(std::__1::vector<_GtkWidget*, std::__1::allocator<_GtkWidget*> > const&, SPDesktop*) + 201
>>> 10 inkscape 0x0000000104833828 SPDesktopWidget::createInstance(SPNamedView*) + 794
>>> 11 inkscape 0x00000001048334f5 sp_desktop_widget_new(SPNamedView*) + 11
>>> 12 inkscape 0x000000010451d6df sp_file_new(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 223
>>> 13 inkscape 0x000000010451d9e9 sp_file_new_default() + 49
>>> 14 inkscape 0x00000001044df337 sp_main_gui(int, char const**) + 929
>>> 15 libdyld.dylib 0x00007fff9d6e9255 start + 1
>>
>> <https://trac.macports.org/ticket/52632>
>>
>
>
More information about the macports-users
mailing list