Bug#722789:
Hi didn't found the problem, If look at build log https://buildd.debian.org/status/fetch.php?pkg=libapr-memcachearch=mipsver=0.7.0-1stamp=1334370101 There is no problem for mips build if look to build server. I build libapr-memcache as you can see in the rules file : %: dh $@ So to ./configure command is done by dh_au In case of amd64 system it configures like this: ./configure \ --build=x86_64-linux-gnu \ --prefix=/usr \ --includedir=${prefix}/include \ --mandir=${prefix}/share/man \ --infodir=${prefix}/share/info \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=${prefix}/lib/x86_64-linux-gnu \ --libexecdir=${prefix}/lib/x86_64-linux-gnu \ --disable-maintainer-mode \ --disable-dependency-tracking \ $@ In case of mips system it configures like this : #! /bin/sh # # Created by configure ./configure \ --build=mips-linux-gnu \ --prefix=/usr \ --includedir=${prefix}/include \ --mandir=${prefix}/share/man \ --infodir=${prefix}/share/info \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=${prefix}/lib/libapr-memcache \ --disable-maintainer-mode \ --disable-dependency-tracking \ $@ So if you still thinks this wrong for debian as multi arch system then you need to file bug against debhelper. Becouse the dh_auto_configure add's the configure options like libexecdir and libdir if he think it is needed so this is not libapr-memcache bug so I will mark it as wontfix Wontfix #722789
Bug#722789: libapr-memcache link with -L/usr/lib
Package: libapr-memcache Version: 0.7.0-1 X-Debbugs-CC: wzss...@gmail.com This package has one or more -L/usr/lib in its build system, which will make it ftbfs if there is libraries under /usr/lib, while is not the default architecture, mips* for example. On mips* systems, /usr/lib is defined as place to hold O32 libraries, and /usr/lib32 for N32, and /usr/lib64 is for N64. Beside the way, on the multiarch system like Debian, user may install libraries under /usr/lib by hand. Please use the default search path if you can, and please consider fix this. I will try to fix this bug, while if you can help to fix it, It will be very appreciative. The attachement is the buildlog of this package on mips64el platform. libapr-memcache_0.7.0-1_mips64el.build.xz Description: Binary data