Code: Select all
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b phalcon-1.3.4 gave error exit status 2
Code: Select all
/> git clone -b 1.3.4 https://github.com/phalcon/cphalcon.git ; cd cphalcon
/> rm -rf .git*; cd ..
/> tar zcvf phalcon-1.3.4.tar.gz cphalcon
/> mv cphalcon phalcon-1.3.4; cd phalcon-1.3.4
/> dh_make -f ../phalcon-1.3.4.tar.gz -e my@mail.com
Code: Select all
#!/usr/bin/make -f
DH_VERBOSE = 1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
%:
dh $@
override_dh_auto_configure:
./configure --enable-phalcon
Code: Select all
Source: phalcon
Section: main
Priority: optional
Maintainer: mynamehere <mymail@here>
Build-Depends: debhelper (>=9)
Standards-Version: 3.9.5
Homepage: https://phalconphp.com
Vcs-Git: git://github.com/phalcon/cphalcon.git
Package: phalcon
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: shor one here
Loger one here
Code: Select all
* Binary builded by ...
in changelog file as well.
Inside build/install script I comment out last line after part where phpize create the extension. So, only what's left to do is run:
Code: Select all
/> ./configure --enable-phalcon
/> make
/> sudo make install
Code: Select all
/> dpkg-buildpackage -us -uc
What should I do?
Many thanks for help!