Bug#640688: slxfig: FTBFS: configure: error: unable to find the slang library and header file slang.h

2012-01-03 Thread Ilya Barygin
tags 622051 patch
user debian-d...@lists.debian.org
usertags 622051 multiarch
thanks

Hello, here's a patch from Ubuntu:
https://launchpad.net/ubuntu/+source/slxfig/0.2.0~.35-1ubuntu1

diff -u slxfig-0.2.0~.35/debian/rules slxfig-0.2.0~.35/debian/rules
--- slxfig-0.2.0~.35/debian/rules
+++ slxfig-0.2.0~.35/debian/rules
@@ -6,6 +6,9 @@
 DEB_MAKE_BUILD_TARGET := all RPATH=
 DEB_MAKE_INSTALL_TARGET := install datarootdir=/usr/share  \
   DESTDIR=$(DEB_DESTDIR)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_CONFIGURE_EXTRA_FLAGS +=
--with-slanglib=/usr/lib/$(DEB_HOST_MULTIARCH) \
+  --with-slanginc=/usr/include

 pkg = slxfig
 ver = 0



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#640688: slxfig: FTBFS: configure: error: unable to find the slang library and header file slang.h

2011-09-06 Thread Mònica Ramírez Arceda
Source: slxfig
Version: 0.2.0~.35-1
Severity: serious
Tags: wheezy sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20110902 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
  debian/rules build
 test -x debian/rules
 mkdir -p .
 if test -e /usr/share/misc/config.guess ; then \
   for i in ./autoconf/config.guess ; do \
   if ! test -e $i.cdbs-orig ; then \
   mv $i $i.cdbs-orig ; \
   cp --remove-destination 
 /usr/share/misc/config.guess $i ; \
   fi ; \
   done ; \
   fi
 if test -e /usr/share/misc/config.sub ; then \
   for i in ./autoconf/config.sub ; do \
   if ! test -e $i.cdbs-orig ; then \
   mv $i $i.cdbs-orig ; \
   cp --remove-destination 
 /usr/share/misc/config.sub $i ; \
   fi ; \
   done ; \
   fi
 touch debian/stamp-autotools-files
 chmod a+x /build/slxfig-o7nFFh/slxfig-0.2.0~.35/./configure
 mkdir -p .
 cd .CFLAGS=-g -O2 -g -O2 -Wall CXXFLAGS=-g -O2 -g -O2 -Wall 
 CPPFLAGS= LDFLAGS= /build/slxfig-o7nFFh/slxfig-0.2.0~.35/./configure 
 --build=x86_64-linux-gnu  --prefix=/usr --includedir=\${prefix}/include 
 --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info 
 --sysconfdir=/etc --localstatedir=/var --libexecdir=\${prefix}/lib/slxfig 
 --srcdir=. --disable-maintainer-mode --disable-dependency-tracking 
 --disable-silent-rules
 checking build system type... x86_64-pc-linux-gnu
 checking host system type... x86_64-pc-linux-gnu
 checking for ranlib... ranlib
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether make sets $(MAKE)... yes
 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 using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking how to run the C preprocessor... gcc -E
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for AIX... no
 checking for gcc... (cached) gcc
 checking whether we are using the GNU C compiler... (cached) yes
 checking whether gcc accepts -g... (cached) yes
 checking for gcc option to accept ISO C89... (cached) none needed
 checking how to run the C preprocessor... gcc -E
 checking whether gcc needs -traditional... no
 checking for library containing strerror... none required
 checking C compiler that understands ANSI prototypes... gcc looks ok.  Good.
 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 dlfcn.h usability... yes
 checking dlfcn.h presence... yes
 checking for dlfcn.h... yes
 checking for dlopen in -ldl... yes
 checking for X... no
 checking for the slang library and header files ... no
 configure: error: unable to find the slang library and header file slang.h
 make: *** [debian/stamp-autotools] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2011/09/02/slxfig_0.2.0~.35-1_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.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org