Bug 203046 - devel/cargo build error Dwarf Error: found dwarf version '4', this reader only handles version 2 information.
Summary: devel/cargo build error Dwarf Error: found dwarf version '4', this reader onl...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Jean-Sébastien Pédron
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-11 19:06 UTC by Lacey Powers
Modified: 2016-05-11 20:53 UTC (History)
1 user (show)

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


Attachments
Failed portmaster build log for devel/cargo (15.98 KB, text/x-log)
2015-09-11 19:06 UTC, Lacey Powers
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lacey Powers 2015-09-11 19:06:34 UTC
Created attachment 160932 [details]
Failed portmaster build log for devel/cargo

Error in the title occurs when trying to build from ports with portmaster on FreeBSD 10.2-RELEASE-p2.

The build log is attached with the full error.

Please let me know if you need additional information. Thank you. =)
Comment 1 oleksii.tsai 2015-09-12 23:07:51 UTC
(In reply to Lacey Powers from comment #0)
I've got the same problem, when trying to build devel/cargo. I'll make an assumption that you have libgit2 installed from ports/pkg. I haven't dug all the way down to the actual cause, but at first glance it looks like the rust bindings that cargo boostrap is trying to compile doesn't match with the installed version of libgit2 which is apparently is being picked up during compilation. I'm might be wrong but looking at libgit2 I would say the problem is with rust bindings as they are probably outdated.
To workaround the problem, if it is a viable option, remove libgit2 port and  rebuild devel/cargo.
Comment 2 Lacey Powers 2015-09-14 05:53:11 UTC
Your workaround allowed me to install cargo. Thank you for your help. =)
Comment 3 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2016-04-30 11:41:35 UTC
Hi!

Is this still a problem today?
Comment 4 Lacey Powers 2016-05-10 21:59:29 UTC
No, this does not seem to be a problem any longer for me. Thank you for checking back in.
Comment 5 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2016-05-11 20:53:03 UTC
Thank you for your feedback!