Bug#482231: motion: FTBFS: checking size of short int... configure: error: cannot compute sizeof (short int)

2008-05-28 Thread Juan Angulo Moreno
Hi Lucas,

Y build motion 3.2.9-2 in amd64 node with Sid and   
they built successfully. You can see the log here:

http://0x29.com.ve/debian/motion/logs/00_checking_size_of_short_int.txt

I use Gcc 4.3:

[EMAIL PROTECTED]:~/pkgs/motion/tmp/motion-3.2.9$ x86_64-linux-gnu-gcc -v
Usando especificaciones internas.
Objetivo: x86_64-linux-gnu
Configurado con: ../src/configure -v --with-pkgversion='Debian 4.3.0-5'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext
--enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-mpfr --enable-cld --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Modelo de hilos: posix
gcc versión 4.3.1 20080523 (prerelease) (Debian 4.3.0-5)


Lucas Nussbaum escribió:
 Package: motion
 Version: 3.2.9-2
 Severity: serious
 User: [EMAIL PROTECTED]
 Usertags: qa-ftbfs-20080520 qa-ftbfs
 Justification: FTBFS on i386
 
 Hi,
 
 During a rebuild of all packages in sid, your package failed to build on
 i386.
 
 This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3
 is now the default on most architectures (even if it's not the case on
 i386 yet).  Consequently, many failures are caused by the switch to gcc
 4.3.
 If you determine that this failure is caused by gcc 4.3, feel free to
 downgrade this bug to 'important' if your package is only built on i386,
 and this bug is specific to gcc 4.3 (i.e the package builds fine with
 gcc 4.2).
 
 Relevant part:
  /usr/bin/fakeroot debian/rules clean
 dh_testdir
 dh_testroot
 rm -f build-stamp configure-stamp
 [ ! -f Makefile ] || /usr/bin/make distclean
 rm -f config.{sub,guess,log,status}
 dh_clean 
  dpkg-source -b motion-3.2.9
 dpkg-source: info: using source format `1.0'
 dpkg-source: info: building motion using existing motion_3.2.9.orig.tar.gz
 dpkg-source: info: building motion in motion_3.2.9-2.diff.gz
 dpkg-source: info: building motion in motion_3.2.9-2.dsc
  debian/rules build
 dh_testdir
 cp -f /usr/share/misc/config.guess config.guess
 cp -f /usr/share/misc/config.sub config.sub
 # Add here commands to configure the package.
 CFLAGS=-Wall -g -O2 LDFLAGS=-Wl,--as-needed ./configure \
  --prefix=/usr \
  --bindir=\${prefix}/bin \
  --build=i486-linux-gnu \
  --host=i486-linux-gnu \
  --datadir=\${prefix}/share \
  --mandir=\${datadir}/man \
  --infodir=\${datadir}/info \
  --sysconfdir=/etc/motion \
  --with-ffmpeg \
  --with-mysql \
  --with-pgsql \
  --without-optimizecpu \
  --without-jpeg-mmx
 checking for Darwin... no
 checking for *BSD... no
 checking for i486-linux-gnu-gcc... i486-linux-gnu-gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables... 
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether i486-linux-gnu-gcc accepts -g... yes
 checking for i486-linux-gnu-gcc option to accept ISO C89... none needed
 checking for pthread_create in -lpthread... yes
 checking for libjpeg-mmx... skipping
 checking for jpeg_set_defaults in -ljpeg... yes
 checking how to run the C preprocessor... i486-linux-gnu-gcc -E
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking mjpegtools/jpegutils.h usability... no
 checking mjpegtools/jpegutils.h presence... no
 checking for mjpegtools/jpegutils.h... no
 checking mjpegtools/mjpeg_types.h usability... no
 checking mjpegtools/mjpeg_types.h presence... no
 checking for mjpegtools/mjpeg_types.h... no
 checking mjpegtools... no
 checking for ffmpeg autodetecting... found for debian
 checking for ffmpeg headers... found for debian
 checking file_protocol is defined in ffmpeg ?... no
 checking for mysql support... testing
 checking autodect mysql headers... yes
 checking autodect mysql libs... found
 checking for PostgreSQL... yes
 checking for PQcmdTuples in -lpq... no
 checking for PQoidValue in -lpq... no
 checking for PQclientEncoding in -lpq... no
 checking for pg_encoding_to_char in -lpq... no
 checking for ANSI C header files... (cached) yes
 checking stdio.h usability... yes
 checking stdio.h presence... yes
 

Bug#482231: motion: FTBFS: checking size of short int... configure: error: cannot compute sizeof (short int)

2008-05-28 Thread Lucas Nussbaum
On 28/05/08 at 16:32 -0430, Juan Angulo Moreno wrote:
 Hi Lucas,
 
 Y build motion 3.2.9-2 in amd64 node with Sid and 
 they built successfully. You can see the log here:
 
 http://0x29.com.ve/debian/motion/logs/00_checking_size_of_short_int.txt

FYI, config.log:
configure:5383: checking size of short int
configure:5685: i486-linux-gnu-gcc -o conftest -I/usr/include/ffmpeg
conftest.c -lm  -lpthread -ljpeg -lavformat -lavcodec -lavutil -lvorbis
-lvorbisenc -ltheora -logg -ldts -la52 -lraw1394 -ldc1394_control -lgsm
-lz -lm 5
/usr/bin/ld: cannot find -ldts
collect2: ld returned 1 exit status
configure:5688: $? = 1
configure: program exited with status 1
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#482231: motion: FTBFS: checking size of short int... configure: error: cannot compute sizeof (short int)

2008-05-28 Thread Bernd Zeimetz
Hi,

 Y build motion 3.2.9-2 in amd64 node with Sid and 
 they built successfully. You can see the log here:
 
 http://0x29.com.ve/debian/motion/logs/00_checking_size_of_short_int.txt
 
 I use Gcc 4.3:

seems you either don't use a proper and clean chroot, or you didn't
update for some time.

http://buildd.debian.org/build.php?pkg=motion


Best regards,

Bernd
-- 
Bernd Zeimetz
[EMAIL PROTECTED] http://bzed.de/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#482231: motion: FTBFS: checking size of short int... configure: error: cannot compute sizeof (short int)

2008-05-28 Thread Kurt Roeckx
On Thu, May 29, 2008 at 01:43:11AM +0200, Lucas Nussbaum wrote:
 On 28/05/08 at 16:32 -0430, Juan Angulo Moreno wrote:
  Hi Lucas,
  
  Y build motion 3.2.9-2 in amd64 node with Sid and   
  they built successfully. You can see the log here:
  
  http://0x29.com.ve/debian/motion/logs/00_checking_size_of_short_int.txt
 
 FYI, config.log:
 configure:5383: checking size of short int
 configure:5685: i486-linux-gnu-gcc -o conftest -I/usr/include/ffmpeg
 conftest.c -lm  -lpthread -ljpeg -lavformat -lavcodec -lavutil -lvorbis
 -lvorbisenc -ltheora -logg -ldts -la52 -lraw1394 -ldc1394_control -lgsm
 -lz -lm 5
 /usr/bin/ld: cannot find -ldts
 collect2: ld returned 1 exit status
 configure:5688: $? = 1
 configure: program exited with status 1

So this is a duplicate of #482213


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#482231: motion: FTBFS: checking size of short int... configure: error: cannot compute sizeof (short int)

2008-05-28 Thread Kurt Roeckx
On Thu, May 29, 2008 at 12:38:02AM +0200, Bernd Zeimetz wrote:
 Hi,
 
  Y build motion 3.2.9-2 in amd64 node with Sid and   
  they built successfully. You can see the log here:
  
  http://0x29.com.ve/debian/motion/logs/00_checking_size_of_short_int.txt
  
  I use Gcc 4.3:
 
 seems you either don't use a proper and clean chroot, or you didn't
 update for some time.
 
 http://buildd.debian.org/build.php?pkg=motion

Or it got fixed very recently.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#482231: motion: FTBFS: checking size of short int... configure: error: cannot compute sizeof (short int)

2008-05-28 Thread Lucas Nussbaum
On 29/05/08 at 00:44 +0200, Kurt Roeckx wrote:
 On Thu, May 29, 2008 at 01:43:11AM +0200, Lucas Nussbaum wrote:
  On 28/05/08 at 16:32 -0430, Juan Angulo Moreno wrote:
   Hi Lucas,
   
   Y build motion 3.2.9-2 in amd64 node with Sid and 
   they built successfully. You can see the log here:
   
   http://0x29.com.ve/debian/motion/logs/00_checking_size_of_short_int.txt
  
  FYI, config.log:
  configure:5383: checking size of short int
  configure:5685: i486-linux-gnu-gcc -o conftest -I/usr/include/ffmpeg
  conftest.c -lm  -lpthread -ljpeg -lavformat -lavcodec -lavutil -lvorbis
  -lvorbisenc -ltheora -logg -ldts -la52 -lraw1394 -ldc1394_control -lgsm
  -lz -lm 5
  /usr/bin/ld: cannot find -ldts
  collect2: ld returned 1 exit status
  configure:5688: $? = 1
  configure: program exited with status 1
 
 So this is a duplicate of #482213

right
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#482231: motion: FTBFS: checking size of short int... configure: error: cannot compute sizeof (short int)

2008-05-21 Thread Lucas Nussbaum
Package: motion
Version: 3.2.9-2
Severity: serious
User: [EMAIL PROTECTED]
Usertags: qa-ftbfs-20080520 qa-ftbfs
Justification: FTBFS on i386

Hi,

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

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3
is now the default on most architectures (even if it's not the case on
i386 yet).  Consequently, many failures are caused by the switch to gcc
4.3.
If you determine that this failure is caused by gcc 4.3, feel free to
downgrade this bug to 'important' if your package is only built on i386,
and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

Relevant part:
  /usr/bin/fakeroot debian/rules clean
 dh_testdir
 dh_testroot
 rm -f build-stamp configure-stamp
 [ ! -f Makefile ] || /usr/bin/make distclean
 rm -f config.{sub,guess,log,status}
 dh_clean  
  dpkg-source -b motion-3.2.9
 dpkg-source: info: using source format `1.0'
 dpkg-source: info: building motion using existing motion_3.2.9.orig.tar.gz
 dpkg-source: info: building motion in motion_3.2.9-2.diff.gz
 dpkg-source: info: building motion in motion_3.2.9-2.dsc
  debian/rules build
 dh_testdir
 cp -f /usr/share/misc/config.guess config.guess
 cp -f /usr/share/misc/config.sub config.sub
 # Add here commands to configure the package.
 CFLAGS=-Wall -g -O2 LDFLAGS=-Wl,--as-needed ./configure \
   --prefix=/usr \
   --bindir=\${prefix}/bin \
   --build=i486-linux-gnu \
   --host=i486-linux-gnu \
   --datadir=\${prefix}/share \
   --mandir=\${datadir}/man \
   --infodir=\${datadir}/info \
   --sysconfdir=/etc/motion \
   --with-ffmpeg \
   --with-mysql \
   --with-pgsql \
   --without-optimizecpu \
   --without-jpeg-mmx
 checking for Darwin... no
 checking for *BSD... no
 checking for i486-linux-gnu-gcc... i486-linux-gnu-gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables... 
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether i486-linux-gnu-gcc accepts -g... yes
 checking for i486-linux-gnu-gcc option to accept ISO C89... none needed
 checking for pthread_create in -lpthread... yes
 checking for libjpeg-mmx... skipping
 checking for jpeg_set_defaults in -ljpeg... yes
 checking how to run the C preprocessor... i486-linux-gnu-gcc -E
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking mjpegtools/jpegutils.h usability... no
 checking mjpegtools/jpegutils.h presence... no
 checking for mjpegtools/jpegutils.h... no
 checking mjpegtools/mjpeg_types.h usability... no
 checking mjpegtools/mjpeg_types.h presence... no
 checking for mjpegtools/mjpeg_types.h... no
 checking mjpegtools... no
 checking for ffmpeg autodetecting... found for debian
 checking for ffmpeg headers... found for debian
 checking file_protocol is defined in ffmpeg ?... no
 checking for mysql support... testing
 checking autodect mysql headers... yes
 checking autodect mysql libs... found
 checking for PostgreSQL... yes
 checking for PQcmdTuples in -lpq... no
 checking for PQoidValue in -lpq... no
 checking for PQclientEncoding in -lpq... no
 checking for pg_encoding_to_char in -lpq... no
 checking for ANSI C header files... (cached) yes
 checking stdio.h usability... yes
 checking stdio.h presence... yes
 checking for stdio.h... yes
 checking for unistd.h... (cached) yes
 checking fcntl.h usability... yes
 checking fcntl.h presence... yes
 checking for fcntl.h... yes
 checking time.h usability... yes
 checking time.h presence... yes
 checking for time.h... yes
 checking signal.h usability... yes
 checking signal.h presence... yes
 checking for signal.h... yes
 checking sys/ioctl.h usability... yes
 checking sys/ioctl.h presence... yes
 checking for sys/ioctl.h... yes
 checking sys/mman.h usability... yes
 checking sys/mman.h presence... yes
 checking for sys/mman.h... yes
 checking linux/videodev.h usability... yes
 checking linux/videodev.h presence... yes
 checking for linux/videodev.h... yes
 checking sys/param.h usability... yes
 checking sys/param.h presence... yes
 checking for sys/param.h... yes
 checking for struct v4l2_buffer... yes
 checking for V42L support... yes
 checking for short int... yes
 checking size of short int... configure: error: cannot compute sizeof (short 
 int)
 See `config.log' for