Package: zbar
Version: 0.10+doc-2
Severity: wishlist
Tags: patch

        Hi

 While trying to build zbar with debuild -j2, it failed to build while
 running:
perl/Makefile:
        cd $(CURDIR)/perl && $(PERL) Makefile.PL \
                INSTALLDIRS=vendor \
                INC="-I$(CURDIR)/include" \
                LIBS="$(LDFLAGS_LIB_SEARCHPATH) -lzbar"

 because LDFLAGS_LIB_SEARCHPATH is defined as:
LDFLAGS_LIB_SEARCHPATH = $(strip $(shell find $(CURDIR)/build-nopython -name 
'*.so' -printf "-L%h "))

 The "find" fails because build-nopython doesn't exist yet.  In fact,
 debian/rules needs to ensure the .so files exist before running this
 find.

 So the perl/Makefile target needs to depend on
 build-nopython/build-stamp or not use LDFLAGS_LIB_SEARCHPATH.
 NB: build-perl-stamp properly also yses LDFLAGS_LIB_SEARCHPATH but
 depends on build-nopython/build-stamp.

   Cheers
-- 
Loïc Minier



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

Reply via email to