Source: quickfix Version: 1.13.3+dfsg-1 Severity: serious Justification: fails to build from source Tags: patch
Hi, quickfix FTBFS In the architecture except the i386, amd64 and kfreebsd. https://buildd.debian.org/status/package.php?p=quickfix http://buildd.debian-ports.org/status/package.php?p=quickfix ----- libtoolize: `/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. ./configure --build arm-linux-gnueabi --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CC="/usr/bin/gcc" CXX="/usr/bin/g++" CFLAGS="-O3 -msse3" CXXFLAGS="-O3 -msse3" LDFLAGS="-Wl,-z,defs -L/usr/lib/python2.7/config -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions" --with-ruby --with-mysql=/usr --enable-new-allocator --with-python=/usr/include/python2.6 --with-postgresql=/usr --with-boost=/usr/include/boost checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for C++ compiler default output file name... configure: error: in `/build/buildd-quickfix_1.13.3+dfsg-1-armel-cQLPDX/quickfix-1.13.3+dfsg': configure: error: C++ compiler cannot create executables See `config.log' for more details. make: *** [configure-stamp] Error 77 ----- Because some architecuture does not support "-msse3" option. I made patch which reivse this problem. Please check this? BTW, When you set -msse3 in build, this program does not work with some CPU's. Do you notice this problem? Please see http://www.debian.org/ports/amd64/index.en.html Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6
diff -Nru quickfix-1.13.3+dfsg/debian/changelog quickfix-1.13.3+dfsg/debian/changelog --- quickfix-1.13.3+dfsg/debian/changelog 2011-10-02 12:16:23.000000000 +0900 +++ quickfix-1.13.3+dfsg/debian/changelog 2011-10-06 10:33:44.000000000 +0900 @@ -1,3 +1,9 @@ +quickfix (1.13.3+dfsg-1.1) unstable; urgency=low + + * Non-maintainer upload. + + -- Nobuhiro Iwamatsu <iwama...@nigauri.org> Thu, 06 Oct 2011 10:33:42 +0900 + quickfix (1.13.3+dfsg-1) unstable; urgency=low * Initial release (Closes: #642268) diff -Nru quickfix-1.13.3+dfsg/debian/rules quickfix-1.13.3+dfsg/debian/rules --- quickfix-1.13.3+dfsg/debian/rules 2011-09-25 04:37:54.000000000 +0900 +++ quickfix-1.13.3+dfsg/debian/rules 2011-10-06 10:33:23.000000000 +0900 @@ -15,6 +15,7 @@ # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) else @@ -24,8 +25,14 @@ CC=/usr/bin/gcc CXX=/usr/bin/g++ -CFLAGS = -O3 -msse3 -CXXFLAGS = -O3 -msse3 +CFLAGS = -O3 +CXXFLAGS = -O3 + +ifeq (amd64,$(DEB_HOST_ARCH)) +CFLAGS += -O3 -msse3 +CXXFLAGS += -O3 -msse3 +endif + #CFLAGS = -Wall -g #ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))