[squid-users] Compile/Rebuilding on debian bullseye (or buster)
L.P.H. van Belle
belle at bazuin.nl
Thu Sep 16 15:06:00 UTC 2021
Good Afernoon Amos, (and others offcourse),
A small update on this.
Short version, i can make bullseye package ready for production but not for buster (yet).
Long version..
If i pull in the debian salsa git, the build fails on bullseye.
( thats more me, because i lack knowledge on git use ).
So i took the "debian" folder from git and add it to the
extracted 5.1 source from 4 aug. (squid-5.1-20210804-r1f9e52827)
Then i can build the packages for debian bullseye.
Lintian shows some messages but no show stoppers.
Currently the salsa debian/changelog contains, 5.1-2 but since its not release yet,
I'll change this to 0.1 in my package builds, but i think, when you update it into debian
You should have 5.1-1 (for unstable).
Now i try to build again buster.. And these keep failing on this part. ( see below ).
What i dont get is, why are there below in the output "suddenly" files misses, thats one i dont get.
I think is build standards or debhelper where this is coming from, i dont know (yet)..
The only changes i made where these. :
* Build from upstream release : squid-5.1-20210804-r1f9e52827
* d/watch, changed http to https
* d/control, changed build depend : debhelper 12.8 to 13
* d/patches, added fix-typos.patch #(typos found by lintian)
* changed versioning in d/changelog 5.1-2 back to 5.1-1
Note, debhelper the bullseye build worked, only we need 13 and up,
i did lower it to 12 to allow building for buster.
# fix-typos.patch included in this mail.
I'll revert the debhelper compat back to 13 and will do
a new buster build attempt with debhelper 13 from buster-backports
(error part on buster, maybe someone can use it)
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install -psquid -psquid-common -psquidclient -psquid-cgi -psquid-purge \
--sourcedir=/<<PKGBUILDDIR>>/debian/tmp
dh_install: Cannot find (any matches for) "etc/squid/conf.d" (tried in /<<PKGBUILDDIR>>/debian/tmp, debian/tmp)
dh_install: squid missing files: etc/squid/conf.d
dh_install: Cannot find (any matches for) "etc/logrotate.d" (tried in /<<PKGBUILDDIR>>/debian/tmp, debian/tmp)
dh_install: squid missing files: etc/logrotate.d
dh_install: Cannot find (any matches for) "etc/resolvconf" (tried in /<<PKGBUILDDIR>>/debian/tmp, debian/tmp)
dh_install: squid missing files: etc/resolvconf
dh_install: Cannot find (any matches for) "etc/ufw" (tried in /<<PKGBUILDDIR>>/debian/tmp, debian/tmp)
dh_install: squid missing files: etc/ufw
dh_install: Cannot find (any matches for) "etc/apparmor.d/disable" (tried in /<<PKGBUILDDIR>>/debian/tmp, debian/tmp)
dh_install: squid missing files: etc/apparmor.d/disable
dh_install: Cannot find (any matches for) "etc/apparmor.d/force-complain" (tried in /<<PKGBUILDDIR>>/debian/tmp, debian/tmp)
dh_install: squid missing files: etc/apparmor.d/force-complain
dh_install: Cannot find (any matches for) "etc/apparmor.d/usr.sbin.squid" (tried in /<<PKGBUILDDIR>>/debian/tmp, debian/tmp)
dh_install: squid missing files: etc/apparmor.d/usr.sbin.squid
dh_install: Cannot find (any matches for) "usr/lib/cgi-bin/cachemgr.cgi" (tried in /<<PKGBUILDDIR>>/debian/tmp, debian/tmp)
dh_install: squid-cgi missing files: usr/lib/cgi-bin/cachemgr.cgi
dh_install: Cannot find (any matches for) "usr/bin/squid-purge" (tried in /<<PKGBUILDDIR>>/debian/tmp, debian/tmp)
dh_install: squid-purge missing files: usr/bin/squid-purge
dh_install: Cannot find (any matches for) "usr/share/man/man1/squid-purge.1" (tried in /<<PKGBUILDDIR>>/debian/tmp, debian/tmp)
dh_install: squid-purge missing files: usr/share/man/man1/squid-purge.1
dh_install: missing files, aborting
make[1]: *** [debian/rules:154: override_dh_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:70: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
So far,
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: squid-users
> [mailto:squid-users-bounces at lists.squid-cache.org] Namens
> L.P.H. van Belle
> Verzonden: donderdag 16 september 2021 8:51
> Aan: squid-users at lists.squid-cache.org
> Onderwerp: Re: [squid-users] Compile/Rebuilding on debian
> bullseye (or buster)
>
> Good Morning.
>
>
> > >
> >
> > I have spent a while working on it today and have pushed an
> update to
> > Debian packaging repo. Please pull a new copy of that latest.
> > It should fix all the issues you have.
>
> Wow, Thank you very very much Amos..
> Im on it now :-) ?¾
>
> I'll post the results later today.
>
> Greetz,
> Louis
>
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-typos.patch
Type: application/octet-stream
Size: 5811 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210916/b5a0d339/attachment-0001.obj>
More information about the squid-users
mailing list