Hi,
I had some problems when building www/ruby-passenger a few months back
and mailed ports@ but got no reply. So I thought I might get better
luck on misc@. To avoid posting the build log twice, please refer to my
previous email[1] for the attachment. The original email is at the end.
Please let me know if more information is needed.
Thanks.
[1] https://marc.info/?l=openbsd-ports&m=152359916007397&w=2
On Sat, Apr 14, 2018 at 04:16:33PM -0700, manphiz@gmail.com wrote:
> Hi,
>
> On 4/12/18 10:58 PM, manphiz@gmail.com wrote:
> > Dear ports maintainer,
> >
> > When building nginx, one of its dependencies ruby-passenger failed to
> > build due to dwarf version mismatch. The most relevant line is below:
> >
> > /usr/bin/ld: Dwarf Error: found dwarf version '0', this reader only
> > handles version 2 information.
> >
> > The detailed build log is in attachment. Let me know if more information
> > is required.
> >
> > Thanks.
>
> I've further checked dwarf information for all the .o and .a files using
> readelf and all of them reported dwarf version 2. Could this be an ld issue?
>
> The command I used for each file (e.g.
> buildout/common/libpassenger_common/LoggingKit.o, one of the files to link):
>
> $ readelf --debug-dump=info buildout/common/libpassenger_common/LoggingKit.o
> | grep -A 2 "Compilation Unit" | grep "Version:"
No comments:
Post a Comment