From scan-admin at coverity.com Mon Aug 7 08:11:42 2023 From: scan-admin at coverity.com (scan-admin at coverity.com) Date: Mon, 07 Aug 2023 08:11:42 +0000 (UTC) Subject: Coverity Scan: Analysis completed for varnish Message-ID: <64d0a73d8f0ce_1eab72ac4ea5f399c5272@prd-scan-dashboard-0.mail> Your request for analysis of varnish has been completed successfully. The results are available at https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrJbcjUxJo9eCHXi2QbgV6mmItSKtPrD4wtuBl7WlE3MQ-3D-3Dihcw_WyTzqwss9kUEGhvWd0SG502mTu1yasCtuh9h-2FD3Je4-2BNiKPDLkwgfOgaHn25PzbETyt3f6ryXBd73qAqkVGyoTPQ3MrVVcS5PXylAssoatGm3vkGqm923xTRnWUt3WvwswrwYVNsyl-2F8s3IQNM-2BnEMVZYnEPPa65tGpyyeIlNZZTsNr7JSROfmJarAssjx9Wi6rtMHvrJRCuHJyzLJNS1oIGylakq65tbD-2FMVbtmELE-3D Build ID: 549091 Analysis Summary: New defects found: 0 Defects eliminated: 0 From scan-admin at coverity.com Mon Aug 14 08:10:52 2023 From: scan-admin at coverity.com (scan-admin at coverity.com) Date: Mon, 14 Aug 2023 08:10:52 +0000 (UTC) Subject: Coverity Scan: Analysis completed for varnish Message-ID: <64d9e18c2a43f_8d2bf2ac4ea5f399c5268@prd-scan-dashboard-0.mail> Your request for analysis of varnish has been completed successfully. The results are available at https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrJbcjUxJo9eCHXi2QbgV6mmItSKtPrD4wtuBl7WlE3MQ-3D-3DIk7k_WyTzqwss9kUEGhvWd0SG502mTu1yasCtuh9h-2FD3Je48QCKEf4DX3yzdPWlyyPZUn4-2BcSGjfRhixC8LdOUaOs9nEZsTxg0oFq9ePDl4lDZcyT5czsHiI0IVXr9IiJwnVaIKPJT9i4p62mA78Vt64W413O8ZHZQ9ayZF8W9gJErk-2FQhUXtBVi2MiNpdyhhQiBfKgctCFFqiOpGDXWAbnyvBpAWArRlKE08Dj5fgF2I-2F8Q-3D Build ID: 550565 Analysis Summary: New defects found: 0 Defects eliminated: 0 From scan-admin at coverity.com Mon Aug 21 08:11:35 2023 From: scan-admin at coverity.com (scan-admin at coverity.com) Date: Mon, 21 Aug 2023 08:11:35 +0000 (UTC) Subject: Coverity Scan: Analysis completed for varnish Message-ID: <64e31c374fc71_faafc2ac4ea5f399c52de@prd-scan-dashboard-0.mail> Your request for analysis of varnish has been completed successfully. The results are available at https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrJbcjUxJo9eCHXi2QbgV6mmItSKtPrD4wtuBl7WlE3MQ-3D-3DYx4l_WyTzqwss9kUEGhvWd0SG502mTu1yasCtuh9h-2FD3Je4-2Bco8O2s7dAB7a0e3rtInCSiJg56LrfZcT3qVd9yFX2lcjWhe5c2dViLlOkfQDe56ujkaGbsHs3G2QnUpjUYDT8NCq9Ls0HR40a-2FkOS6uzzqoXzkfBIgsJRAyEOaZTFPfbNc4ol9h8UylXPMBnRLivtSwrX0kmF5oxxYZysTRxFu88LnpwnvyDPgYisBIgjLjw-3D Build ID: 552029 Analysis Summary: New defects found: 0 Defects eliminated: 0 From kcowan at alm.com Mon Aug 21 20:31:05 2023 From: kcowan at alm.com (Kari Cowan) Date: Mon, 21 Aug 2023 13:31:05 -0700 Subject: Looking for tips to install varnish-modules Message-ID: Installing varnish-modules https://github.com/varnish/varnish-modules - has generic install notes Version for Varnish7.3 https://github.com/varnish/varnish-modules/releases/tag/0.22.0 - unloaded and untarred in /home/VarnishAdmin Trying to follow install notes, but they don't work or my download isn't the right thing to download (?) Running (if helpful) Fedora: "Red Hat Enterprise Linux 8" $ uname -a Linux almstgvarnish124 4.18.0-372.9.1.el8.x86_64 #1 SMP Fri Apr 15 22:12:19 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux Anyone have tips or link to a decent tutorial/explanation page? Also - I apologize if this went out to varnish-misc. I didn't see anything come back so i assumed it didn't go out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From guillaume.quintard at gmail.com Mon Aug 21 20:58:48 2023 From: guillaume.quintard at gmail.com (Guillaume Quintard) Date: Mon, 21 Aug 2023 13:58:48 -0700 Subject: Looking for tips to install varnish-modules In-Reply-To: References: Message-ID: Hi Kari, I didn't see anything coming on varnish-misc, that's weird. "they don't work" is a bit hard to debug, would you have some logs to share by any chance? Normally, assuming you have the right dependencies, it's a simple "./configure && make && make install" You can also try install-vmod like we do in the docker image: https://github.com/varnish/docker-varnish/blob/master/fresh/debian/Dockerfile#L51 -- Guillaume Quintard On Mon, Aug 21, 2023 at 1:32?PM Kari Cowan wrote: > Installing varnish-modules > https://github.com/varnish/varnish-modules > - has generic install notes > > Version for Varnish7.3 > https://github.com/varnish/varnish-modules/releases/tag/0.22.0 > - unloaded and untarred in /home/VarnishAdmin > > Trying to follow install notes, but they don't work or my download isn't > the right thing to download (?) > > Running (if helpful) > Fedora: "Red Hat Enterprise Linux 8" > $ uname -a > Linux almstgvarnish124 4.18.0-372.9.1.el8.x86_64 #1 SMP Fri Apr 15 > 22:12:19 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux > > Anyone have tips or link to a decent tutorial/explanation page? > > Also - I apologize if this went out to varnish-misc. I didn't see > anything come back so i assumed it didn't go out. > _______________________________________________ > varnish-dev mailing list > varnish-dev at varnish-cache.org > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kcowan at alm.com Mon Aug 21 22:57:45 2023 From: kcowan at alm.com (Kari Cowan) Date: Mon, 21 Aug 2023 15:57:45 -0700 Subject: Looking for tips to install varnish-modules In-Reply-To: References: Message-ID: Sorry for the vague report -- I wasn't getting past the first steps so logs won't help. But looks like you dropped a good tip for me to read into and try again. I'll reply back again with questions or hopefully that it worked out. On Mon, Aug 21, 2023 at 1:59?PM Guillaume Quintard < guillaume.quintard at gmail.com> wrote: > Hi Kari, > > I didn't see anything coming on varnish-misc, that's weird. > > "they don't work" is a bit hard to debug, would you have some logs to > share by any chance? > > Normally, assuming you have the right dependencies, it's a simple > "./configure && make && make install" > > You can also try install-vmod > like we do > in the docker image: > https://github.com/varnish/docker-varnish/blob/master/fresh/debian/Dockerfile#L51 > > > -- > Guillaume Quintard > > > On Mon, Aug 21, 2023 at 1:32?PM Kari Cowan wrote: > >> Installing varnish-modules >> https://github.com/varnish/varnish-modules >> - has generic install notes >> >> Version for Varnish7.3 >> https://github.com/varnish/varnish-modules/releases/tag/0.22.0 >> - unloaded and untarred in /home/VarnishAdmin >> >> Trying to follow install notes, but they don't work or my download isn't >> the right thing to download (?) >> >> Running (if helpful) >> Fedora: "Red Hat Enterprise Linux 8" >> $ uname -a >> Linux almstgvarnish124 4.18.0-372.9.1.el8.x86_64 #1 SMP Fri Apr 15 >> 22:12:19 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux >> >> Anyone have tips or link to a decent tutorial/explanation page? >> >> Also - I apologize if this went out to varnish-misc. I didn't see >> anything come back so i assumed it didn't go out. >> _______________________________________________ >> varnish-dev mailing list >> varnish-dev at varnish-cache.org >> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dridi at varni.sh Tue Aug 22 14:10:26 2023 From: dridi at varni.sh (Dridi Boukelmoune) Date: Tue, 22 Aug 2023 14:10:26 +0000 Subject: Looking for tips to install varnish-modules In-Reply-To: References: Message-ID: On Mon, Aug 21, 2023 at 8:31?PM Kari Cowan wrote: > > Installing varnish-modules > https://github.com/varnish/varnish-modules > - has generic install notes > > Version for Varnish7.3 > https://github.com/varnish/varnish-modules/releases/tag/0.22.0 > - unloaded and untarred in /home/VarnishAdmin > > Trying to follow install notes, but they don't work or my download isn't the right thing to download (?) Did you install the varnish-devel package? From kcowan at alm.com Fri Aug 25 15:40:06 2023 From: kcowan at alm.com (Kari Cowan) Date: Fri, 25 Aug 2023 08:40:06 -0700 Subject: Looking for tips to install varnish-modules In-Reply-To: References: Message-ID: Anyways - I ran configure instead of bootstrap, had to add the --disable-dependency-tracking option to get through it. But what to do about this? # make CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/varnish-modules/build-aux/missing' aclocal-1.16 -I m4 -I /usr/share/aclocal /varnish-modules/build-aux/missing: line 81: aclocal-1.16: command not found WARNING: 'aclocal-1.16' is missing on your system. You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'. The 'aclocal' program is part of the GNU Automake package: It also requires GNU Autoconf, GNU m4 and Perl in order to run: On Fri, Aug 25, 2023 at 8:13?AM Kari Cowan wrote: > To answer your earlier question, I hadn't installed varnish-libs-devel, so > I did do that this morning. > > Thanks for confirmin the release. And just switched to run the configure > script instead 9f the other. > > Is the script error message useful, or does that happen for some other > reason? > > config.status: error: in `/varnish-modules': > config.status: error: Something went wrong bootstrapping makefile fragments > for automatic dependency tracking. If GNU make was not used, consider > re-running the configure script with MAKE="gmake" (or whatever is > necessary). You can also try re-running configure with the > '--disable-dependency-tracking' option to at least be able to build > the package (albeit without support for automatic dependency tracking). > See `config.log' for more details > > > > On Fri, Aug 25, 2023 at 7:49?AM Dridi Boukelmoune wrote: > >> On Fri, Aug 25, 2023 at 2:37?PM Kari Cowan wrote: >> > >> > So it's a new install of varnish 7.3, and the varnish-modules I >> downloaded is: >> > https://github.com/varnish/varnish-modules/releases/tag/0.22.0 >> > >> > But running the bootstrap script wants a file I don't seem to have, so >> even if I were to add the env variable to the package, I don't think it >> would work if that file doesn't exist. >> > >> > What am I missing? >> > >> > varnish-modules]# ./bootstrap >> > Package varnishapi was not found in the pkg-config search path. >> > Perhaps you should add the directory containing `varnishapi.pc' >> > to the PKG_CONFIG_PATH environment variable >> > >> > varnish-modules]# locate "varnishapi" >> > /usr/lib64/libvarnishapi.so.3 >> > /usr/lib64/libvarnishapi.so.3.0.0 >> >> The bootstrap script is for development from a git checkout, use the >> configure script instead. I'm not sure why the README doesn't mention >> this. >> >> Make sure to build the release archive: >> >> >> https://github.com/varnish/varnish-modules/releases/download/0.22.0/varnish-modules-0.22.0.tar.gz >> >> Dridi >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kcowan at alm.com Fri Aug 25 17:12:59 2023 From: kcowan at alm.com (Kari Cowan) Date: Fri, 25 Aug 2023 10:12:59 -0700 Subject: Odd one, varnish doesn't recognize symbol for std.rand Message-ID: Probably a stupid question, but I have at the top of my file: import std; But varnish doesn't recognize symbol for std.rand Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: Message from VCC-compiler: Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: Symbol not found: 'std.rand' Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: At: ('/etc/varnish/default.vcl' Line 94 Pos 17) -- (Pos 24) Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: if (std.rand(0, 100) < 50) { Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: ----------------########---------------- Seems odd... I thought it was included in the 7.3 distribution. How do I fix that? --- -------------- next part -------------- An HTML attachment was scrubbed... URL: From guillaume.quintard at gmail.com Fri Aug 25 18:31:42 2023 From: guillaume.quintard at gmail.com (Guillaume Quintard) Date: Fri, 25 Aug 2023 11:31:42 -0700 Subject: Looking for tips to install varnish-modules In-Reply-To: References: Message-ID: centos should be close enough -- Guillaume Quintard On Fri, Aug 25, 2023 at 10:06?AM Kari Cowan wrote: > is there one for redhat? > > On Fri, Aug 25, 2023 at 9:47?AM Guillaume Quintard < > guillaume.quintard at gmail.com> wrote: > >> Hi Kari, >> >> The message is pretty clear (for once :-) ): you need aclolocal, which is >> part of the automake package. >> >> For reference, here's what we install for vmod building: >> - on centos: >> https://github.com/varnish/varnish-modules/blob/master/Dockerfile#L8 >> - on debian: >> https://github.com/varnish/docker-varnish/blob/master/fresh/debian/Dockerfile#L12 >> - on alpine: >> https://github.com/varnish/docker-varnish/blob/master/fresh/alpine/Dockerfile#L12 >> - on arch: >> https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=varnish-modules#n8 >> >> Hopefully, this helps >> >> On Fri, Aug 25, 2023, 08:41 Kari Cowan wrote: >> >>> Anyways - I ran configure instead of bootstrap, had to add the >>> --disable-dependency-tracking option to get through it. >>> >>> But what to do about this? >>> >>> # make >>> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh >>> '/varnish-modules/build-aux/missing' aclocal-1.16 -I m4 -I >>> /usr/share/aclocal >>> /varnish-modules/build-aux/missing: line 81: aclocal-1.16: command not >>> found >>> WARNING: 'aclocal-1.16' is missing on your system. >>> You should only need it if you modified 'acinclude.m4' or >>> 'configure.ac' or m4 files included by 'configure.ac'. >>> The 'aclocal' program is part of the GNU Automake package: >>> >>> It also requires GNU Autoconf, GNU m4 and Perl in order to run: >>> >>> >>> >>> >>> On Fri, Aug 25, 2023 at 8:13?AM Kari Cowan wrote: >>> >>>> To answer your earlier question, I hadn't installed varnish-libs-devel, >>>> so I did do that this morning. >>>> >>>> Thanks for confirmin the release. And just switched to run the >>>> configure script instead 9f the other. >>>> >>>> Is the script error message useful, or does that happen for some other >>>> reason? >>>> >>>> config.status: error: in `/varnish-modules': >>>> config.status: error: Something went wrong bootstrapping makefile >>>> fragments >>>> for automatic dependency tracking. If GNU make was not used, >>>> consider >>>> re-running the configure script with MAKE="gmake" (or whatever is >>>> necessary). You can also try re-running configure with the >>>> '--disable-dependency-tracking' option to at least be able to build >>>> the package (albeit without support for automatic dependency >>>> tracking). >>>> See `config.log' for more details >>>> >>>> >>>> >>>> On Fri, Aug 25, 2023 at 7:49?AM Dridi Boukelmoune >>>> wrote: >>>> >>>>> On Fri, Aug 25, 2023 at 2:37?PM Kari Cowan wrote: >>>>> > >>>>> > So it's a new install of varnish 7.3, and the varnish-modules I >>>>> downloaded is: >>>>> > https://github.com/varnish/varnish-modules/releases/tag/0.22.0 >>>>> > >>>>> > But running the bootstrap script wants a file I don't seem to have, >>>>> so even if I were to add the env variable to the package, I don't think it >>>>> would work if that file doesn't exist. >>>>> > >>>>> > What am I missing? >>>>> > >>>>> > varnish-modules]# ./bootstrap >>>>> > Package varnishapi was not found in the pkg-config search path. >>>>> > Perhaps you should add the directory containing `varnishapi.pc' >>>>> > to the PKG_CONFIG_PATH environment variable >>>>> > >>>>> > varnish-modules]# locate "varnishapi" >>>>> > /usr/lib64/libvarnishapi.so.3 >>>>> > /usr/lib64/libvarnishapi.so.3.0.0 >>>>> >>>>> The bootstrap script is for development from a git checkout, use the >>>>> configure script instead. I'm not sure why the README doesn't mention >>>>> this. >>>>> >>>>> Make sure to build the release archive: >>>>> >>>>> >>>>> https://github.com/varnish/varnish-modules/releases/download/0.22.0/varnish-modules-0.22.0.tar.gz >>>>> >>>>> Dridi >>>>> >>>> _______________________________________________ >>> varnish-dev mailing list >>> varnish-dev at varnish-cache.org >>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From guillaume.quintard at gmail.com Fri Aug 25 18:33:41 2023 From: guillaume.quintard at gmail.com (Guillaume Quintard) Date: Fri, 25 Aug 2023 11:33:41 -0700 Subject: Odd one, varnish doesn't recognize symbol for std.rand In-Reply-To: References: Message-ID: Please use the varnish-misc for that kind of questions (I know it failed previously, let's try again) you want `std.random()`, not `std.rand()`: https://varnish-cache.org/docs/trunk/reference/vmod_std.html#std-random -- Guillaume Quintard On Fri, Aug 25, 2023 at 10:14?AM Kari Cowan wrote: > Probably a stupid question, but I have at the top of my file: > > import std; > > But varnish doesn't recognize symbol for std.rand > > > Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: Message from > VCC-compiler: > Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: Symbol not found: > 'std.rand' > Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: At: > ('/etc/varnish/default.vcl' Line 94 Pos 17) -- (Pos 24) > Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: if > (std.rand(0, 100) < 50) { > Aug 25 03:03:35 almstgvarnish124 varnishd[910081]: > ----------------########---------------- > > Seems odd... I thought it was included in the 7.3 distribution. How do I > fix that? > > --- > _______________________________________________ > varnish-dev mailing list > varnish-dev at varnish-cache.org > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From scan-admin at coverity.com Mon Aug 28 08:10:26 2023 From: scan-admin at coverity.com (scan-admin at coverity.com) Date: Mon, 28 Aug 2023 08:10:26 +0000 (UTC) Subject: Coverity Scan: Analysis completed for varnish Message-ID: <64ec567238f69_167d752ac4ea5f399c5244@prd-scan-dashboard-0.mail> Your request for analysis of varnish has been completed successfully. The results are available at https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrJbcjUxJo9eCHXi2QbgV6mmItSKtPrD4wtuBl7WlE3MQ-3D-3DmKTD_WyTzqwss9kUEGhvWd0SG502mTu1yasCtuh9h-2FD3Je4903IdDlhmiz4s4PbgKRG7LwWNLMAhGLNIPnXCqJynmSKP9CYaD9V9aud-2BSZ06AnbnsLMcy1H1apIbhq0QlU6anJNibkrGHa6A4L5PW4CGg01aTuHIgRDJaIj2Dlz1ZbLDdW-2B7fdHG-2BKGglN3IG0MLrkWckn-2FnJiS9L4-2Fsgu6s0zHO-2FJha3wGhFR5FYSNRUK30-3D Build ID: 553477 Analysis Summary: New defects found: 0 Defects eliminated: 0