openresty-packaging icon indicating copy to clipboard operation
openresty-packaging copied to clipboard

Debian/Ubuntu source package

Open mhf-ir opened this issue 6 years ago • 8 comments

deb-src http://openresty.org/package/ubuntu bionic main

will be an error

W: Skipping acquire of configured file 'main/source/Sources' as repository 'http://openresty.org/package/ubuntu bionic InRelease' does not seem to provide it (sources.list entry misspelt?)

mhf-ir avatar Jul 05 '19 19:07 mhf-ir

Also compiling during Ubuntu/Debian has faild:

dpkg-genchanges: info: not including original source code in upload
 dpkg-source --after-build openresty-zlib
dpkg-buildpackage: info: binary and diff upload (original source NOT included)
Now signing dsc file...
 signfile dsc openresty-zlib_1.2.11-3~bionic1.dsc OpenResty Admin <[email protected]>
gpg: skipped "OpenResty Admin <[email protected]>": No secret key
gpg: /tmp/debsign.cucFiSQ2/openresty-zlib_1.2.11-3~bionic1.dsc: clear-sign failed: No secret key
debsign: gpg error occurred!  Aborting....
debuild: fatal error at line 1091:
running debsign failed
Makefile:40: recipe for target 'zlib-build' failed
make: *** [zlib-build] Error 29

mhf-ir avatar Jul 09 '19 18:07 mhf-ir

@mhf-ir Right, we do not deliver source deb packages in our repos (yet).

Regarding the dpkg error, you need to disable the gpg key signing on your side if you want to build those packages yourself. We surely cannot give you our own gpg private keys for you to sign.

agentzh avatar Jul 10 '19 17:07 agentzh

@agentzh of course about privage key but i need to add some modules to openresty and recompile it, using deb-src is one of the fav tools for Debian/Ubuntu packages for such a senario.

I test some options for debuild options in Makefile like -uc or -us but not solved. https://github.com/openresty/openresty-packaging/blob/master/deb/Makefile#L18

I need really solve this problem, is there any chance for we have deb-src for openresty ?

mhf-ir avatar Jul 10 '19 20:07 mhf-ir

https://github.com/openresty/luajit2/issues/64

Openresty could not recompile as deb-src nither i cant compile nginx deb-src with luajit2 seems be not detected, an i donno how to add simply add some basic nginx add-module to my openresty. :cry:

mhf-ir avatar Jul 15 '19 08:07 mhf-ir

Is that official openresty launchpad ? https://launchpad.net/~openresty/+archive/ubuntu/ppa. It's include sources.

mhf-ir avatar Sep 19 '19 05:09 mhf-ir

Ubuntu launchpad has source package. Latest version on launchpad is 1.15.8.1 Please update it to latest OpenResty 1.15.8.2

mhf-ir avatar Oct 05 '19 18:10 mhf-ir

@mhf-ir how to disable the gpg key signing?

mritd avatar Feb 19 '22 09:02 mritd

@mritd see our build script: https://github.com/aasaam/web-server/blob/master/Dockerfile#L85

mhf-ir avatar Feb 20 '22 04:02 mhf-ir