Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1224945
Summary: | mono build failure on ppc64le | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Than Ngo <than> |
Component: | mono | Assignee: | Xavier Lamien <lxtnow> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | chkr, claudiorodrigo, dan, itamar, lxtnow, moceap, moez.roy, neale, opensource, paul, pokorra.mailinglists |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | ppc64le | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-28 11:09:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1199775, 1051573 |
Description
Than Ngo
2015-05-26 09:31:18 UTC
You can ignore the errors about Novell.Directory.Ldap, they seem to appear on the build logs for x86_64 as well, but the build should succeed anyway. The real problem is the System.TimeZoneNotFoundException. The exception is thrown here: https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L88 Please have a look at the function TimeZoneInfo CreateLocal () at https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L121 This refers also to https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L163 defining timeZoneDirectory enclosed in "#if LIBC". Will this help you to work on a patch? thanks for your info, i will give a try and will report the results asap. Than Timotheus, i debug the mono codes and found that the error caused by this line var list = new List<KeyValuePair<DateTime, TimeType>> (count); in the function. static List<KeyValuePair<DateTime, TimeType>> ParseTransitions (byte [] buffer, int index, int count, Dictionary<int, TimeType> time_types) It's really strange, because this line looks correct for me however i cannot get the backtrace. Do you know how i can get backtrace in mono instead exception? It will help me to know why it crashes in this line. Thanks so it's the hardening (https://fedoraproject.org/wiki/Changes/Harden_All_Packages) that breaks the compiler, with diff --git a/mono.spec b/mono.spec index 55d5d8d..33d4ba6 100644 --- a/mono.spec +++ b/mono.spec @@ -1,4 +1,5 @@ -%global bootstrap 0 +%undefine _hardened_build +%global bootstrap 1 %if 0%{?rhel}%{?el6}%{?el7} %if 0%{?el6} %define mono_arches %ix86 x86_64 %{arm} sparcv9 alpha s390x ppc ppc64 ppc64le @@ -13,7 +14,7 @@ Name: mono Version: 4.0.1 -Release: 8%{?dist} +Release: 8%{?dist}.1 Summary: Cross-platform, Open Source, .NET development framework Group: Development/Languages @@ -46,10 +47,10 @@ Obsoletes: mono-entityframework # need to bootstrap mono, comment out this BuildRequires # and don't delete the binaries in %%prep. -BuildRequires: mono-core >= 4.0 +#BuildRequires: mono-core >= 4.0 # JIT only available on these: -ExclusiveArch: %mono_arches +ExclusiveArch: %mono_arches ppc64le %define _use_internal_dependency_generator 0 %define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/redhat/find-provides && printf "%s\\n" "${filelist[@]}" | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-provides; } | sort | uniq' I get http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2525410 - all green. It's not only ppc64le that's broken with hardening, on s390x I see segfaults. For the record, disabled hardening does not help on ppc64. Also the main change between F-22 (where my scratch builds succeeded) and F-23 (where it was failing) is the hardening. Do I understand correctly, that it fails to build on ppc64le because of the hardening but on pcc64 for unknown reasons? And s390x also needs hardening disabled? (In reply to Till Maas from comment #6) > Do I understand correctly, that it fails to build on ppc64le because of the > hardening but on pcc64 for unknown reasons? And s390x also needs hardening > disabled? yes, ppc64 is different issue (#1225035), s390x is now tracked in #1228570. IBM should be looking at both the ppc64 failures (with some fixes already in the queue, but not public yet) and I'm in contact with the s390x upstream Mono maintainer. I just saw https://github.com/mono/mono/pull/1868 which was merged 6 days ago: "[ppc] Basic powerpc64 little endian enablement" would that resolve some issues for the build as well? no, i have applied the patches and rebuilt moni, the build faulure still happens, but on somewhere. This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 this issue is fixed in rawhide and f23 |