Subject: | `dh-make-perl --build --cpan FCGI` problem |
Hi,
I have a problem with build Debian package for FCGI module (0.77).
In attachment is process output and deb package content.
As i understand, dh cannot determine perl build system.
This means, that i must create own debian/rules file with this content:
<pre>
#!/usr/bin/make -f
%:
dh $@ --buildsystem=perl_makemaker
</pre>
Is a way to create Debian package via dh-make-perl in this situation?
Build process is clean, but Debian package isn't right.
Kind regards,
M.
Subject: | build_output.txt |
== dh-make-perl 0.84 ==
Reading '/home/skim/.cpan/Metadata'
Database was generated on Wed, 11 Feb 2015 02:53:18 GMT
CPAN: Digest::SHA loaded ok (v5.85)
Checksum for /home/skim/.cpan/sources/authors/id/E/ET/ETHER/FCGI-0.77.tar.gz ok
FCGI-0.77/
FCGI-0.77/ChangeLog
FCGI-0.77/configure
FCGI-0.77/configure.in
FCGI-0.77/configure.readme
FCGI-0.77/eg/
FCGI-0.77/fastcgi.h
FCGI-0.77/FCGI.pm
FCGI-0.77/FCGI.xs
FCGI-0.77/fcgi_config.h.in
FCGI-0.77/fcgi_config_x86.h
FCGI-0.77/fcgiapp.c
FCGI-0.77/fcgiapp.h
FCGI-0.77/fcgimisc.h
FCGI-0.77/fcgios.h
FCGI-0.77/LICENSE.TERMS
FCGI-0.77/Makefile.PL
FCGI-0.77/MANIFEST
FCGI-0.77/MANIFEST.SKIP
FCGI-0.77/META.json
FCGI-0.77/META.yml
FCGI-0.77/os_unix.c
FCGI-0.77/os_win32.c
FCGI-0.77/README
FCGI-0.77/test.pl
FCGI-0.77/typemap
FCGI-0.77/eg/echo.pl
FCGI-0.77/eg/remote.pl
FCGI-0.77/eg/threaded.pl
CPAN: File::Temp loaded ok (v0.2304)
Using META.json
Found: FCGI 0.77 (libfcgi-perl arch=any)
Switched to a new branch 'master'
Using cached Contents from Thu Feb 13 11:48:09 2014
= perl >= 5.006 is in core
= XSLoader is in core since 5.6.0
Needs the following debian packages: perl (>= 5.6.0)
= ExtUtils::MakeMaker is in core since 5.0.0
Needs the following debian packages during building: perl (>= 5.0.0)
Using maintainer: Michal Špaček <skim@cpan.org>
Found docs:
Found examples: eg/*
Using rules: /usr/share/dh-make-perl/rules.dh.tiny
pristine-tar: committed libfcgi-perl_0.77.orig.tar.gz.delta to branch pristine-tar
make: Entering directory `/home/skim/foo/tmp/FCGI-0.77'
dh clean
dh_testdir
dh_auto_clean
dh_clean
make: Leaving directory `/home/skim/foo/tmp/FCGI-0.77'
make: Entering directory `/home/skim/foo/tmp/FCGI-0.77'
dh build
dh_testdir
dh_auto_configure
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 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 for ssize_t... yes
checking for sun_len in sys/un.h... no
checking for fpos_t in stdio.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking for a fileno() prototype in stdio.h... yes
checking whether cross-process locking is required by accept()... no
checking whether va_arg(arg, long double) crashes the compiler... no
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating fcgi_config.h
dh_auto_build
dh_auto_test
make: Leaving directory `/home/skim/foo/tmp/FCGI-0.77'
make: Entering directory `/home/skim/foo/tmp/FCGI-0.77'
dh binary
dh_testroot
dh_prep
dh_installdirs
dh_auto_install
dh_install
dh_installdocs
dh_installchangelogs
dh_installexamples
dh_installman
dh_installcatalogs
dh_installcron
dh_installdebconf
dh_installemacsen
dh_installifupdown
dh_installinfo
dh_installinit
dh_installmenu
dh_installmime
dh_installmodules
dh_installlogcheck
dh_installlogrotate
dh_installpam
dh_installppp
dh_installudev
dh_installwm
dh_installxfonts
dh_installgsettings
dh_bugfiles
dh_ucf
dh_lintian
dh_gconf
dh_icons
dh_perl
dh_usrlocal
dh_link
dh_compress
dh_fixperms
dh_strip
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: Depends field of package libfcgi-perl: unknown substitution variable ${perl:Depends}
dpkg-gencontrol: warning: Depends field of package libfcgi-perl: unknown substitution variable ${shlibs:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: building package `libfcgi-perl' in `../libfcgi-perl_0.77-1_amd64.deb'.
make: Leaving directory `/home/skim/foo/tmp/FCGI-0.77'
Reading package lists... 0%
Reading package lists... 100%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree
Reading state information... 0%
Reading state information... 0%
Reading state information... Done
**********
WARNING: a package named
'libfcgi-perl'
is already available in APT repositories
Maintainer: Michal Špaček
Description: Fast CGI module
--- Done
Subject: | list.txt |
drwxr-xr-x root/root 0 2015-02-11 09:46 ./
drwxr-xr-x root/root 0 2015-02-11 09:46 ./usr/
drwxr-xr-x root/root 0 2015-02-11 09:46 ./usr/share/
drwxr-xr-x root/root 0 2015-02-11 09:46 ./usr/share/doc/
drwxr-xr-x root/root 0 2015-02-11 09:46 ./usr/share/doc/libfcgi-perl/
-rw-r--r-- root/root 151 2015-02-11 09:46 ./usr/share/doc/libfcgi-perl/changelog.Debian.gz
-rw-r--r-- root/root 1432 2015-02-11 09:46 ./usr/share/doc/libfcgi-perl/copyright
-rw-r--r-- root/root 4205 2014-08-05 17:50 ./usr/share/doc/libfcgi-perl/changelog.gz
drwxr-xr-x root/root 0 2015-02-11 09:46 ./usr/share/doc/libfcgi-perl/examples/
-rw-r--r-- root/root 828 2014-07-17 01:33 ./usr/share/doc/libfcgi-perl/examples/remote.pl
-rw-r--r-- root/root 1615 2014-07-17 01:33 ./usr/share/doc/libfcgi-perl/examples/echo.pl
-rw-r--r-- root/root 1149 2014-07-17 01:33 ./usr/share/doc/libfcgi-perl/examples/threaded.pl