Bug 60901 - Error on bundle.targets with the Zip task
Summary: Error on bundle.targets with the Zip task
Status: NEEDINFO
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Marek Habersack
URL:
Depends on:
Blocks:
 
Reported: 2017-11-28 20:48 UTC by Justin
Modified: 2018-01-05 20:43 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Full build log (314.31 KB, text/plain)
2017-11-28 21:23 UTC, Justin
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 60901 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEEDINFO

Description Justin 2017-11-28 20:48:01 UTC
I am attempting to build Xammarin.Android on debian using the official github repo's latest code at the time of this writing.

Steps I took:

1. Clone github repo
2. Run make prepare
3. Run make all

Point of failure:

At any point the MSBuild Zip task is used I get the following error: "error : Error executing task Zip: zip_open"

System:
Debian 9.2.1 amd64 stock installation
Packages I installed on top of stock Debian: mono-complete nuget openjdk-8-jdk zip unzip zlib1g-dev dirmngr gcc g++ autoconf cmake libzip4
Comment 1 Justin 2017-11-28 21:23:04 UTC
Created attachment 25855 [details]
Full build log
Comment 2 dean.ellis 2017-12-01 10:48:51 UTC
Grendel, 

This looks like a issue with linux dependencies/libzipsharp, so its not an Android/MSbuild issue. Any chance you can take a look?
Comment 3 Marek Habersack 2017-12-01 22:17:59 UTC
PR opened: https://github.com/xamarin/xamarin-android/pull/1060
Comment 5 Justin 2017-12-03 22:17:13 UTC
Awesome guys, thanks for fixing this so quickly. I'll test this on my debian build server tomorrow.
Comment 6 Justin 2017-12-09 18:54:52 UTC
I finally got to testing this, and I am still having the same issue. On a fresh checkout of the repo, running make prepare && make yields the same error as before. I am on this commit: https://github.com/xamarin/xamarin-android/commit/9a73c4c149aa13ce232417de141dff43892d2fe4
Comment 7 Marek Habersack 2017-12-12 12:24:07 UTC
@Justin, can you attach the `Configuration.OperatingSystem.props` file, please? It is generated at the root of XA tree by `make prepare`
Comment 8 Tomasz B 2018-01-05 20:43:00 UTC
I had the same problem. I installed libzip from repo, and finally problem is resolved :)