Bug 214441 - lang/mono: Fails to build on 10.3 - Got a SIGSEGV while executing native code
Summary: lang/mono: Fails to build on 10.3 - Got a SIGSEGV while executing native code
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Kubilay Kocak
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2016-11-12 13:34 UTC by Grzegorz Junka
Modified: 2016-11-15 14:11 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mono)


Attachments
Poudriere logs (cut) (102.36 KB, text/plain)
2016-11-12 13:40 UTC, Grzegorz Junka
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Junka 2016-11-12 13:34:46 UTC
Doesn't build in poudriere on 10.3:

[00:10:23] ====>> [03][00:03:16] Finished build of lang/mono: Failed: build
[00:10:25] ====>> [03][00:03:18] Skipping build of x11-toolkits/gtk-sharp20: Dependent port lang/mono failed
[00:10:25] ====>> [03][00:03:18] Skipping build of security/openvpn-admin: Dependent port lang/mono failed

Logs attached
Comment 1 Grzegorz Junka 2016-11-12 13:40:32 UTC
Created attachment 176918 [details]
Poudriere logs (cut)
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2016-11-12 13:54:31 UTC
Thank you for the report Grzegorz.

Can you please attach the contents of /etc/make.conf. 

Also, if ccache is being used, please disable that and attempt to reproduce the issue.
Comment 3 Grzegorz Junka 2016-11-12 17:41:49 UTC
I didn't have to disable ccache. I re-run the compilation and this time it went OK. I tried to compile lang/mono in the last 2-3 weeks. It seems that every time there was more than a few hundred packages to compile it was failing. The new compilation run had only 139 packages that have changed and at this time lang/mono compiled fine. I will try again with another profile later today.

It seems that it may be some race condition.

$cat /etc/make.conf 
QT4_OPTIONS= CUPS QGTKSTYLE NAS

# Enable Tahoma in x11-fonts/webfonts
.if ${.CURDIR:M*/x11-fonts/webfonts}
WITH_MSWINDOWS_LICENSE=yes
.endif

WITH_CCACHE_BUILD=yes
CCACHE_DIR=/var/cache/ccache
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2016-11-15 14:11:09 UTC
Thank you for your feedback Grzegorz.

Please re-open this if the issue can be reproduced again, including with ccache disabled.