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

Bug#527670: fv: FTBFS: unistd.h:327: error: conflicting types for 'read'



Package: fv
Version: 3.0-17
Severity: serious
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20090508 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -O -DPIC -fPIC -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1  -DVISU_LIBRARY=\"/usr/lib/pow\"  -c   -I/usr/include/tcl8.3/tcl-private/generic -I/usr/include/tcl8.3/tk-private/generic -INONE PowCanvCurve.c
> In file included from /usr/include/tcl8.3/tk-private/generic/../unix/tkUnixPort.h:75,
>                  from /usr/include/tcl8.3/tk-private/generic/tkPort.h:32,
>                  from /usr/include/tcl8.3/tk-private/generic/tkInt.h:27,
>                  from PowCanvCurve.c:15:
> /usr/include/tcl8.3/tk-private/generic/../unix/../compat/unistd.h:42: warning: conflicting types for built-in function 'execl'
> /usr/include/tcl8.3/tk-private/generic/../unix/../compat/unistd.h:43: warning: conflicting types for built-in function 'execle'
> /usr/include/tcl8.3/tk-private/generic/../unix/../compat/unistd.h:44: warning: conflicting types for built-in function 'execlp'
> In file included from tkpict.h:48,
>                  from pow.h:6,
>                  from PowCanvCurve.c:19:
> /usr/include/unistd.h:327: error: conflicting types for 'read'
> /usr/include/tcl8.3/tk-private/generic/../unix/../compat/unistd.h:59: error: previous declaration of 'read' was here
> /usr/include/unistd.h:333: error: conflicting types for 'write'
> /usr/include/tcl8.3/tk-private/generic/../unix/../compat/unistd.h:65: error: previous declaration of 'write' was here
> /usr/include/unistd.h:516: error: conflicting types for 'execve'
> /usr/include/unistd.h:528: error: conflicting types for 'execv'
> /usr/include/unistd.h:533: error: conflicting types for 'execle'
> /usr/include/tcl8.3/tk-private/generic/../unix/../compat/unistd.h:43: error: previous declaration of 'execle' was here
> /usr/include/unistd.h:538: error: conflicting types for 'execl'
> /usr/include/tcl8.3/tk-private/generic/../unix/../compat/unistd.h:42: error: previous declaration of 'execl' was here
> /usr/include/unistd.h:543: error: conflicting types for 'execvp'
> /usr/include/unistd.h:549: error: conflicting types for 'execlp'
> /usr/include/tcl8.3/tk-private/generic/../unix/../compat/unistd.h:44: error: previous declaration of 'execlp' was here
> In file included from tkpict.h:48,
>                  from pow.h:6,
>                  from PowCanvCurve.c:19:
> /usr/include/unistd.h:668: error: conflicting types for 'getgroups'
> /usr/include/tcl8.3/tk-private/generic/../unix/../compat/unistd.h:53: error: previous declaration of 'getgroups' was here
> PowCanvCurve.c: In function 'PowCurveCoords':
> PowCanvCurve.c:381: warning: cast from pointer to integer of different size
> make[1]: *** [PowCanvCurve.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/05/08/fv_3.0-17_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Reply to: