Closed lewurm closed 6 years ago
CC @jstedfast, who implemented the IL repacking.
@radical does this ring any bell?
Clean the msbuild outputs and try again. For some reason, the msbuild logic to detect if the assemblies have already been merged isn't working.
This used to happen in some commits from several months ago, but has long been fixed afaik.
@jstedfast this is a problem on the wrench/jenkins bots.
Here is an instance where it happens on jenkins: https://jenkins.mono-project.com/job/xamarin-macios-pr-builder/6662/Test_Report/
This is the problem:
Target "ILRepack: (TargetId:294)" in project "/Users/builder/data/lanes/5929/a7abab1c/source/xamarin-macios/msbuild/Xamarin.iOS.Tasks/Xamarin.iOS.Tasks.csproj" (target "Compile" depends on it):
Building target "ILRepack" completely.
Input file "/Users/builder/data/lanes/5929/a7abab1c/source/xamarin-macios/msbuild/Xamarin.iOS.Tasks/obj/Debug/Xamarin.iOS.Tasks.dll" is newer than output file "obj/Debug/ilrepack.txt".
Now all someone needs to do is figure out why that file exists in the build in the first place before ilrepacking has been done.
error message:
main take away:
Logs on wrench: http://xamarin-storage/macios-mac-mono-2018-02/a7/a7abab1cc67eddf87c80c8b1a7d1d39a7ced5316/Itchy-HighSierra/1f82a27daa28/jenkins-results/tests/index.html http://xamarin-storage/macios-mac-mono-2018-02/a7/a7abab1cc67eddf87c80c8b1a7d1d39a7ced5316/Itchy-HighSierra/1f82a27daa28/jenkins-results/tests/Xamarin.MacDev.Tasks_267/build-iOS-20180308_114857.txt
/cc @rolfbjarne @spouliot
https://github.com/mono/mono/issues/6842 https://github.com/xamarin/xamarin-macios/pull/3402