Bug#387133: libx11: FTBFS: floating point exception

2006-09-12 Thread Daniel Stone
On Tue, Sep 12, 2006 at 01:23:52PM -0700, Steve Langasek wrote:
> On Tue, Sep 12, 2006 at 03:50:04PM +0300, Daniel Stone wrote:
> > On Tue, Sep 12, 2006 at 02:01:59PM +0200, Goswin von Brederlow wrote:
> > > Hi, when I try to build libx11 under etch or sid I get the following 
> > > error:
> 
> > > make[3]: Leaving directory 
> > > `/scratch/build/amd64/etch-biarch/xorg/libx11/libx11-1.0.0/obj-x86_64-linux-gnu/src/util'
> > > ../src/util/makekeys < /usr/include/X11/keysymdef.h > ks_tables_h
> > > /bin/sh: line 1: 27372 Floating point exception../src/util/makekeys 
> > > ks_tables_h
> > > make[2]: *** [ks_tables.h] Error 136
> > > make[2]: Leaving directory 
> > > `/scratch/build/amd64/etch-biarch/xorg/libx11/libx11-1.0.0/obj-x86_64-linux-gnu/src'
> 
> > > Full debuild log for sid is attached.
> 
> > Yes, unfortunately x11proto-core 7.0.3 or above (or something) breaks
> > the build of libx11 << 1.0.1.
> 
> Then we have a problem, given that David says the new libx11 is not
> targetted for etch and the new x11proto-core is already there.

So backport the makekeys.c fix.  Problem solved.


signature.asc
Description: Digital signature


Bug#387133: libx11: FTBFS: floating point exception

2006-09-12 Thread Steve Langasek
On Tue, Sep 12, 2006 at 03:50:04PM +0300, Daniel Stone wrote:
> On Tue, Sep 12, 2006 at 02:01:59PM +0200, Goswin von Brederlow wrote:
> > Package: libx11
> > Version: 2:1.0.0-8
> > Severity: serious
> > Justification: no longer builds from source

> > Hi, when I try to build libx11 under etch or sid I get the following error:

> > make[3]: Leaving directory 
> > `/scratch/build/amd64/etch-biarch/xorg/libx11/libx11-1.0.0/obj-x86_64-linux-gnu/src/util'
> > ../src/util/makekeys < /usr/include/X11/keysymdef.h > ks_tables_h
> > /bin/sh: line 1: 27372 Floating point exception../src/util/makekeys 
> > ks_tables_h
> > make[2]: *** [ks_tables.h] Error 136
> > make[2]: Leaving directory 
> > `/scratch/build/amd64/etch-biarch/xorg/libx11/libx11-1.0.0/obj-x86_64-linux-gnu/src'

> > Full debuild log for sid is attached.

> Yes, unfortunately x11proto-core 7.0.3 or above (or something) breaks
> the build of libx11 << 1.0.1.

Then we have a problem, given that David says the new libx11 is not
targetted for etch and the new x11proto-core is already there.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


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



Bug#387133: libx11: FTBFS: floating point exception

2006-09-12 Thread Goswin von Brederlow
Daniel Stone <[EMAIL PROTECTED]> writes:

> On Tue, Sep 12, 2006 at 02:01:59PM +0200, Goswin von Brederlow wrote:
>> Package: libx11
>> Version: 2:1.0.0-8
>> Severity: serious
>> Justification: no longer builds from source
>> 
>> Hi, when I try to build libx11 under etch or sid I get the following error:
>> 
>> make[3]: Leaving directory 
>> `/scratch/build/amd64/etch-biarch/xorg/libx11/libx11-1.0.0/obj-x86_64-linux-gnu/src/util'
>> ../src/util/makekeys < /usr/include/X11/keysymdef.h > ks_tables_h
>> /bin/sh: line 1: 27372 Floating point exception../src/util/makekeys 
>> ks_tables_h
>> make[2]: *** [ks_tables.h] Error 136
>> make[2]: Leaving directory 
>> `/scratch/build/amd64/etch-biarch/xorg/libx11/libx11-1.0.0/obj-x86_64-linux-gnu/src'
>> 
>> Full debuild log for sid is attached.
>
> Yes, unfortunately x11proto-core 7.0.3 or above (or something) breaks
> the build of libx11 << 1.0.1.

Meanwhile Tollef Fog Heen told me to try the Ubuntu version (1.0.3)
which worked. So I just added the makekeys.c from it to 1.0.0 and then
it compiled fine. If updating to 1.0.1+ is too much change then maybe
this quick fix would do.

MfG
Goswin


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



Bug#387133: libx11: FTBFS: floating point exception

2006-09-12 Thread Daniel Stone
On Tue, Sep 12, 2006 at 02:01:59PM +0200, Goswin von Brederlow wrote:
> Package: libx11
> Version: 2:1.0.0-8
> Severity: serious
> Justification: no longer builds from source
> 
> Hi, when I try to build libx11 under etch or sid I get the following error:
> 
> make[3]: Leaving directory 
> `/scratch/build/amd64/etch-biarch/xorg/libx11/libx11-1.0.0/obj-x86_64-linux-gnu/src/util'
> ../src/util/makekeys < /usr/include/X11/keysymdef.h > ks_tables_h
> /bin/sh: line 1: 27372 Floating point exception../src/util/makekeys 
> ks_tables_h
> make[2]: *** [ks_tables.h] Error 136
> make[2]: Leaving directory 
> `/scratch/build/amd64/etch-biarch/xorg/libx11/libx11-1.0.0/obj-x86_64-linux-gnu/src'
> 
> Full debuild log for sid is attached.

Yes, unfortunately x11proto-core 7.0.3 or above (or something) breaks
the build of libx11 << 1.0.1.


signature.asc
Description: Digital signature


Bug#387133: libx11: FTBFS: floating point exception

2006-09-12 Thread Goswin von Brederlow
Package: libx11
Version: 2:1.0.0-8
Severity: serious
Justification: no longer builds from source

Hi, when I try to build libx11 under etch or sid I get the following error:

make[3]: Leaving directory 
`/scratch/build/amd64/etch-biarch/xorg/libx11/libx11-1.0.0/obj-x86_64-linux-gnu/src/util'
../src/util/makekeys < /usr/include/X11/keysymdef.h > ks_tables_h
/bin/sh: line 1: 27372 Floating point exception../src/util/makekeys 
ks_tables_h
make[2]: *** [ks_tables.h] Error 136
make[2]: Leaving directory 
`/scratch/build/amd64/etch-biarch/xorg/libx11/libx11-1.0.0/obj-x86_64-linux-gnu/src'

Full debuild log for sid is attached.

MfG
Goswin

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-frosties-2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
 fakeroot debian/rules clean
rm -f stampdir/genscripts
rm -f debian/*.config \
  debian/*.postinst \
  debian/*.postrm \
  debian/*.preinst \
  debian/*.prerm
rm -f stampdir/patch
Unapplying patches...nothing to do.
dh_testdir
rm -f .pc patches
rm -rf stampdir build-tree
rm -rf imports
dh_clean debian/shlibs.local \
 debian/MANIFEST.amd64 debian/MANIFEST.amd64.new \
 debian/po/pothead
dh_testdir
dh_testroot
rm -f build-stamp
rm -f config.cache config.log config.status
rm -f */config.cache */config.log */config.status
rm -f conftest* */conftest*
rm -rf autom4te.cache */autom4te.cache
rm -rf obj-*
dh_clean
 debian/rules build
mkdir stampdir
>stampdir/stampdir
for FILE in debian/*.config.in \
debian/*.postinst.in \
debian/*.postrm.in \
debian/*.preinst.in \
debian/*.prerm.in; do \
  if [ -e "$FILE" ]; then \
MAINTSCRIPT=$(echo $FILE | sed 's/.in$//'); \
sed -n '1,/^#INCLUDE_SHELL_LIB#$/p' <$FILE \
  | sed -e '/^#INCLUDE_SHELL_LIB#$/d' >$MAINTSCRIPT.tmp; \
cat debian/xsfbs/xsfbs.sh >>$MAINTSCRIPT.tmp; \
sed -n '/^#INCLUDE_SHELL_LIB#$/,$p' <$FILE \
  | sed -e '/^#INCLUDE_SHELL_LIB#$/d' >>$MAINTSCRIPT.tmp; \
sed -e 's/@SOURCE_VERSION@/2:1.0.0-8/' \
-e 's/@OFFICIAL_BUILD@/yes/' \
-e 's/@DEFAULT_DCRESOLUTIONS@//' \
  <$MAINTSCRIPT.tmp >$MAINTSCRIPT; \
rm $MAINTSCRIPT.tmp; \
  fi; \
done
# Validate syntax of generated shell scripts.
#sh debian/scripts/validate-posix-sh debian/*.config \
#debian/*.postinst \
#debian/*.postrm \
#debian/*.preinst \
#debian/*.prerm
>stampdir/genscripts
if [ ! -e stampdir/patches ]; then \
mkdir stampdir/patches; \
ln -s stampdir/patches .pc; \
echo 2 >stampdir/patches/.version; \
fi; \
if [ ! -e stampdir/log ]; then \
mkdir stampdir/log; \
fi; \
if [ ! -e patches ]; then \
ln -s debian/patches patches; \
fi; \
>stampdir/prepare
if ! [ `which quilt` ]; then \
echo "Couldn't find quilt. Please install it or add it to the 
build-depends for this package."; \
exit 1; \
fi; \
if quilt next; then \
  echo -n "Applying patches..."; \
  if quilt push -a -v >stampdir/log/patch 2>&1; then \
echo "successful."; \
  else \
echo "failed! (check stampdir/log/patch for details)"; \
exit 1; \
  fi; \
else \
  echo "No patches to apply"; \
fi; \
>stampdir/patch
001_no_xkb_in_pc_file.diff
Applying patches...successful.
dh_testdir
test -d obj-x86_64-linux-gnu || mkdir obj-x86_64-linux-gnu
cd obj-x86_64-linux-gnu && \
../configure --prefix=/usr --mandir=\${prefix}/share/man \
 --infodir=\${prefix}/share/info --build=x86_64-linux-gnu 
--enable-man-pages=3 --enable-loadable-i18n \
 CFLAGS="-Wall -g -O2 -DLIBXCURSOR=\\\"libXcursor.so.1\\\"" 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... 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