[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#667392: texlive-bin: ftbfs with GCC-4.7



On Fri, Apr 06, 2012 at 12:14:42AM +0200, Hilmar PreuÃ?e wrote:
> reassign 546938 texlive-binaries
> forwarded 667392 http://tug.org/pipermail/tex-live/2012-April/031392.html
> stop
> 
> On 04.04.12 Matthias Klose (doko@debian.org) wrote:
> 
> Hi,
> 
> > Some hints on fixing these issues can be found at
> > http://gcc.gnu.org/gcc-4.7/porting_to.html
> > 
> Unfortunately not for this one. The kpathsea lib has on own
> (modified) version of getopt.h and a different definition of getopt. 
> This causes (probably) the failure.
> 
> @debian-tex:
> 
> Cleaning out the local definition of getopt is probably a larger task
> and won't be done for TL 2012, if it will ever be done.... What
> chances do we have:
> 
> - ./configure (...) --disable-dvisvgm (tested, works)
> - declare a versioned B-D for g++
> - remove the offending line(s) from kpathsea's version of getopt (at
>   least build works). Unfortunately this impacts libkpathsea-dev and
>   probably causes trouble elsewhere.

I don't remember (having not looked at the code for a while), but is
kpathsea's version of getopt only used internally (i.e., not
exported)?  If so, then one possible solution is to rename the
kpathsea version as kpse_getopt, and that will avoid the clash.

   Julian



Reply to: