ich bin mal wieder daran ein aktuelles sane-backends Paket zu bauen.
Den Paketbau mache ich im wesentlichen wie viewtopic.php?f=34&t=148155#p980252 beschrieben.
Jetzt fliegt mir das allerdings hier auseinander:
hier der entsprechende Part der debian/rules:make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/tmp/buildd/sane-backends-1.0.25-pre-20141126/testsuite'
make[4]: Leaving directory '/tmp/buildd/sane-backends-1.0.25-pre-20141126/testsuite'
make[3]: Leaving directory '/tmp/buildd/sane-backends-1.0.25-pre-20141126/testsuite'
make[3]: Entering directory '/tmp/buildd/sane-backends-1.0.25-pre-20141126'
make[4]: Entering directory '/tmp/buildd/sane-backends-1.0.25-pre-20141126'
make[4]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/tmp/buildd/sane-backends-1.0.25-pre-20141126/debian/tmp/usr/share/doc/libsane'
/usr/bin/install -c -m 644 AUTHORS ChangeLog COPYING LICENSE NEWS PROBLEMS PROJECTS README README.aix README.beos README.darwin README.djpeg README.freebsd README.hp-ux README.linux README.netbsd README.openbsd README.os2 README.solaris README.unixware2 README.unixware7 README.windows README.zeta '/tmp/buildd/sane-backends-1.0.25-pre-20141126/debian/tmp/usr/share/doc/libsane'
make[4]: Leaving directory '/tmp/buildd/sane-backends-1.0.25-pre-20141126'
make[3]: Leaving directory '/tmp/buildd/sane-backends-1.0.25-pre-20141126'
make[2]: Leaving directory '/tmp/buildd/sane-backends-1.0.25-pre-20141126'
# remove /usr/lib/sane/libsane.so.1 (libtool side-effect ?)
rm -f debian/tmp/usr/lib/x86_64-linux-gnu/sane/libsane.so.1
# remove libsane-dll, same as regular libsane
rm -f debian/tmp/usr/lib/x86_64-linux-gnu/sane/libsane-dll.*
# install only the manpages for the backends which have been built
cp debian/libsane-common.install.in debian/libsane-common.install
ls debian/tmp/usr/lib/x86_64-linux-gnu/sane/*.so | sed -e \
"s#.*/lib\([^.]\+\)[.]so#usr/share/man/man5/\1.5#" | { while read mp; do \
test -e debian/tmp/$mp && echo $mp >> debian/libsane-common.install; done }
# Empty dependency_libs in all .la files
find debian/tmp/usr -name "*.la" -type f -exec sed -e "s,^dependency_libs=.*,dependency_libs=''," -i {} \;
make[1]: Leaving directory '/tmp/buildd/sane-backends-1.0.25-pre-20141126'
debian/rules override_dh_install
make[1]: Entering directory '/tmp/buildd/sane-backends-1.0.25-pre-20141126'
dh_install
dh_install: sane-backends-1.0.25-pre-dev missing files (usr/lib/lib*.a), aborting
debian/rules:78: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 255
make[1]: Leaving directory '/tmp/buildd/sane-backends-1.0.25-pre-20141126'
debian/rules:29: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
I: user script /var/cache/pbuilder/build//28198/tmp/hooks/C10shell starting
Reading package lists...
Code: Alles auswählen
override_dh_install:
dh_install
# Install HAL fdi file
mkdir -p $(CURDIR)/debian/libsane-common/usr/share/hal/fdi/preprobe/10osvendor
$(CURDIR)/tools/sane-desc -s $(CURDIR)/doc/descriptions -m hal-new > \
$(CURDIR)/debian/libsane-common/usr/share/hal/fdi/preprobe/10osvendor/20-libsane.fdi
# Install the pkg-config file
mkdir -p debian/libsane-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/
cp tools/sane-backends.pc debian/libsane-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/