Package: vnc4
Version: 4.1.1+X4.3.0-21
Followup-For: Bug #489475

The current version of vnc4 from lenny (-21) does not build on amd64
(and probably on any arch) because of the switch to gcc 4.3.
Although the current version from sid FTBFS only on alpha, it should be
noted that the problem exists on lenny too.


This is the build log:
----
[EMAIL PROTECTED]:~/tmp-vnc4/vnc4-4.1.1+X4.3.0$ dpkg-buildpackage -B
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package vnc4
dpkg-buildpackage: source version 4.1.1+X4.3.0-21
dpkg-buildpackage: source changed by Ola Lundqvist <[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-arch-common-stamp build-arch-unix-stamp build-arch-x-stamp
build-indep-stamp configure-unix-stamp configure-common-stamp
#CONFIGURE-STAMP#
# Add here commands to clean up after the build process.
rm -f config.log config.status config.cache config.guess config.sub
(cd unix/xc; /usr/bin/make clean)
make[1]: Entering directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix/xc'
/usr/bin/make -f xmakefile clean
make[2]: Entering directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix/xc'
make[2]: xmakefile: No such file or directory
make[2]: *** No rule to make target `xmakefile'.  Stop.
make[2]: Leaving directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix/xc'
make[1]: *** [clean] Error 2
make[1]: Leaving directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix/xc'
make: [clean] Error 2 (ignored)
(cd unix/xc; /usr/bin/make distclean)
make[1]: Entering directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix/xc'
/usr/bin/make -f xmakefile distclean
make[2]: Entering directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix/xc'
make[2]: xmakefile: No such file or directory
make[2]: *** No rule to make target `xmakefile'.  Stop.
make[2]: Leaving directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix/xc'
make[1]: *** [distclean] Error 2
make[1]: Leaving directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix/xc'
make: [clean] Error 2 (ignored)
(cd common; /usr/bin/make clean)
make[1]: Entering directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/common'
make[1]: *** No rule to make target `clean'.  Stop.
make[1]: Leaving directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/common'
make: [clean] Error 2 (ignored)
(cd common; /usr/bin/make distclean)
make[1]: Entering directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/common'
make[1]: *** No rule to make target `distclean'.  Stop.
make[1]: Leaving directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/common'
make: [clean] Error 2 (ignored)
(cd unix; /usr/bin/make clean)
make[1]: Entering directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix'
make[1]: *** No rule to make target `clean'.  Stop.
make[1]: Leaving directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix'
make: [clean] Error 2 (ignored)
(cd unix; /usr/bin/make distclean)
make[1]: Entering directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix'
make[1]: *** No rule to make target `distclean'.  Stop.
make[1]: Leaving directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/unix'
make: [clean] Error 2 (ignored)
rm -f \
                unix/tx/Makefile \
                unix/vncconfig/Makefile \
                unix/vncpasswd/Makefile \
                unix/vncviewer/Makefile \
                unix/x0vncserver/Makefile \
                unix/Makefile \
                common/Xregion/Makefile \
                common/network/Makefile \
                common/rdr/Makefile \
                common/rfb/Makefile \
                common/Makefile
rm -f unix/config.log unix/config.cache unix/config.status
rm -f common/config.log common/config.cache common/config.status
dh_clean 
 debian/rules build
dh_testdir
# Add here commands to configure the package.
(cd unix; CFLAGS="-Wall -g -O2" ./configure \
                --host=x86_64-linux-gnu --build=x86_64-linux-gnu \
                --prefix=/usr --mandir=\${prefix}/share/man \
                --infodir=\${prefix}/share/info \
                --with-installed-zlib)
creating cache ./config.cache
configuring common...
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -Wall -g -O2 ) works... yes
checking whether the C compiler (gcc -Wall -g -O2 ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... (cached) no
checking for c++... c++
checking whether the C++ compiler (c++ -g -O2 ) works... yes
checking whether the C++ compiler (c++ -g -O2 ) is a cross-compiler...
no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... (cached) no
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking how to run the C++ preprocessor... c++ -E
checking for X... no
using installed zlib
checking for vsnprintf... yes
checking for socklen_t... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating rdr/Makefile
creating network/Makefile
creating Xregion/Makefile
creating rfb/Makefile
...done configuring common
checking for gcc... gcc
checking whether the C compiler (gcc -Wall -g -O2 ) works... yes
checking whether the C compiler (gcc -Wall -g -O2 ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... (cached) no
checking for c++... c++
checking whether the C++ compiler (c++ -g -O2 ) works... yes
checking whether the C++ compiler (c++ -g -O2 ) is a cross-compiler...
no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... (cached) no
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking how to run the C++ preprocessor... c++ -E
checking for X... no
using installed zlib
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tx/Makefile
creating x0vncserver/Makefile
creating vncviewer/Makefile
creating vncconfig/Makefile
creating vncpasswd/Makefile
touch configure-unix-stamp
dh_testdir
# Add here commands to configure the package.
(cd common; CFLAGS="-Wall -g -O2" ./configure \
                --host=x86_64-linux-gnu --build=x86_64-linux-gnu \
                --prefix=/usr --mandir=\${prefix}/share/man \
                --infodir=\${prefix}/share/info \
                --with-installed-zlib)
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -Wall -g -O2 ) works... yes
checking whether the C compiler (gcc -Wall -g -O2 ) is a
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) no
checking for c++... (cached) c++
checking whether the C++ compiler (c++ -g -O2 ) works... yes
checking whether the C++ compiler (c++ -g -O2 ) is a cross-compiler...
no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) no
checking for ranlib... (cached) ranlib
checking whether make sets ${MAKE}... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking for X... (cached) no
using installed zlib
checking for vsnprintf... (cached) yes
checking for socklen_t... yes
creating ./config.status
creating Makefile
creating rdr/Makefile
creating network/Makefile
creating Xregion/Makefile
creating rfb/Makefile
touch configure-common-stamp
(cd common; /usr/bin/make)
make[1]: Entering directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/common'
make[2]: Entering directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/common/rdr'
c++  -DX_DISPLAY_MISSING=1  -I..  -g -O2 -Wall -DPIC -fPIC -c
Exception.cxx
c++  -DX_DISPLAY_MISSING=1  -I..  -g -O2 -Wall -DPIC -fPIC -c
FdInStream.cxx
c++  -DX_DISPLAY_MISSING=1  -I..  -g -O2 -Wall -DPIC -fPIC -c
FdOutStream.cxx
c++  -DX_DISPLAY_MISSING=1  -I..  -g -O2 -Wall -DPIC -fPIC -c
InStream.cxx
c++  -DX_DISPLAY_MISSING=1  -I..  -g -O2 -Wall -DPIC -fPIC -c
RandomStream.cxx
c++  -DX_DISPLAY_MISSING=1  -I..  -g -O2 -Wall -DPIC -fPIC -c
ZlibInStream.cxx
c++  -DX_DISPLAY_MISSING=1  -I..  -g -O2 -Wall -DPIC -fPIC -c
ZlibOutStream.cxx
c++  -DX_DISPLAY_MISSING=1  -I..  -g -O2 -Wall -DPIC -fPIC -c
HexInStream.cxx
c++  -DX_DISPLAY_MISSING=1  -I..  -g -O2 -Wall -DPIC -fPIC -c
HexOutStream.cxx
rm -f librdr.a
ar cq librdr.a Exception.o FdInStream.o FdOutStream.o InStream.o
RandomStream.o ZlibInStream.o ZlibOutStream.o HexInStream.o
HexOutStream.o
ranlib librdr.a
make[2]: Leaving directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/common/rdr'
make[2]: Entering directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/common/network'
c++  -DX_DISPLAY_MISSING=1  -I.. -DVNC_SOCKLEN_T=socklen_t -g -O2 -Wall
-DPIC -fPIC -c TcpSocket.cxx
TcpSocket.cxx: In static member function ‘static
network::TcpFilter::Pattern network::TcpFilter::parsePattern(const
char*)’:
TcpSocket.cxx:448: error: ‘atoi’ was not declared in this scope
make[2]: *** [TcpSocket.o] Error 1
make[2]: Leaving directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/common/network'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/home/mteodor/tmp-vnc4/vnc4-4.1.1+X4.3.0/common'
make: *** [build-arch-common-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2


Thanks


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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

Reply via email to