Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2011 12:32:04 -0400
From:      Brandon Falk <falkman@gamozo.org>
To:        Brandon Falk <bfalk@brandonfa.lk>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Issue building pango on FreeBSD 10.0 amd64 (r226893) with clang
Message-ID:  <4EAC2A84.7070805@gamozo.org>
In-Reply-To: <CAL-kDOx%2Bed%2BVy1AN9zkUYaK=ttxC447pEdjcqducqR9mbbyNFw@mail.gmail.com>
References:  <CAL-kDOx%2Bed%2BVy1AN9zkUYaK=ttxC447pEdjcqducqR9mbbyNFw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/29/2011 1:51 AM, Brandon Falk wrote:
> I'm currently getting this issue building pango (everything, including world
> and kernel, have been built with clang):
>
> /usr/ports/x11-toolkits/pango/work/pango-1.28.4/pango/pango-color-table.h:762:
> syntax error, unexpected identifier in '    guint16 name_offset;' at
> 'guint16'
> /usr/ports/x11-toolkits/pango/work/pango-1.28.4/pango/pango-color-table.h:768:
> syntax error, unexpected identifier, expecting ',' or ';' in 'static const
> ColorEntry color_entries[] = {' at 'color_entries'
> /usr/ports/x11-toolkits/pango/work/pango-1.28.4/pango/pango-language-sample-table.h:52:
> syntax error, unexpected identifier in 'LANGUAGE(' at 'LANGUAGE'
>    CCLD   libpangoxft-1.0.la
>    CCLD   libpangocairo-1.0.la
> /usr/bin/ld: /usr/local/lib/libXft.a(xftdpy.o): relocation R_X86_64_32
> against `_XftDisplayInfo' can not be used when making a shared object;
> recompile with -fPIC
> /usr/local/lib/libXft.a: could not read symbols: Bad value
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> gmake[4]: *** [libpangoxft-1.0.la] Error 1
> gmake[4]: *** Waiting for unfinished jobs....
> g-ir-scanner: Pango: warning: 57 warnings suppressed (use --warn-all to see
> them)
> gmake[4]: Leaving directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.4/pango'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.4/pango'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.4/pango'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.4'
> gmake: *** [all] Error 2
> *** Error code 1
>
>
> Any ideas? Perhaps it's just some crazy temporary issue? I'll look into it
> tomorrow, but I gotta catch some sleep.
>
> Thanks in advance,
> Brandon Falk
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

(I'm the original poster... just on a different email)

I went to bed, and woke up, and the port(s) were fixed and the issues 
went away.

[NOTE: This was not a clang issue, gcc acted the same way]

To continue with my build (of vim which has now succeeded), I had to 
deinstall and reinstall the following ports (due to getting the same 
errors on these ports):

x11-fonts/libXft
x11/libXi
x11/libXrandr
x11/libXcursor
x11/libXcomposite
x11/libXdamage

Perhaps I'll have the same issue on other ports, and I'll have to 
reinstall them. But I doubt anyone has really experienced this issue, as 
it seems like it was a small window in ports where this error occurred? 
Or perhaps it's a 10.0 issue that's been ongoing and discussed elsewhere.

Anyways... this is FIXED.

Regards,
Brandon Falk




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EAC2A84.7070805>