<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
Don't think so. I've gave latest 4.0.8 tarball from site. Applied
patch - viola! - issue is gone.<br>
<br>
08.04.16 23:32, Odhiambo Washington пишет:<br>
<span style="white-space: pre;">> Hi Yuri,<br>
><br>
> I applied the patch against 4.0.8, not 3.5.16. Check my
e-mail well well :-)<br>
><br>
> Could it be that you have a different code base from the
tarballs available for everyone?<br>
><br>
><br>
><br>
> On 8 April 2016 at 20:26, Yuri Voinov <<a class="moz-txt-link-abbreviated" href="mailto:yvoinov@gmail.com">yvoinov@gmail.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:yvoinov@gmail.com"><mailto:yvoinov@gmail.com></a>> wrote:<br>
><br>
><br>
> Note: Codebase for 4.0.x is different with 3.5.x. So, most
patches for 4.x.x series can't be applied onto 3.5.x.<br>
><br>
> 08.04.16 23:23, Odhiambo Washington пишет:<br>
> > Hi Yuri,<br>
><br>
><br>
><br>
> > Sorry to be a thorn in the flesh in this one.<br>
><br>
><br>
><br>
> > Which source code were you applying this patch
against?<br>
><br>
><br>
><br>
> > I applied this patch on the released
squid-4.0.8.tar.xz and<br>
> it doesn't apply cleanly for starters... Maybe I am
doing it<br>
> wrongly? Just doing patch < /path/to/patch<br>
><br>
><br>
><br>
> > <a class="moz-txt-link-abbreviated" href="mailto:wash@mail:~/ILI/Squid/4.x/squid-4.0.8$">wash@mail:~/ILI/Squid/4.x/squid-4.0.8$</a>
<a class="moz-txt-link-rfc2396E" href="mailto:wash@mail:~/ILI/Squid/4.x/squid-4.0.8$"><mailto:wash@mail:~/ILI/Squid/4.x/squid-4.0.8$></a> patch <<br>
> ../squid-4-14633.patch<br>
><br>
> > Hmm... Looks like a unified diff to me...<br>
><br>
> > The text leading up to this was:<br>
><br>
> > --------------------------<br>
><br>
> >
|------------------------------------------------------------<br>
><br>
> > |revno: 14633<br>
><br>
> > |revision-id:<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid3@treenet.co.nz-20160408073547-xtjco0mpai4lr920">squid3@treenet.co.nz-20160408073547-xtjco0mpai4lr920</a>
<a class="moz-txt-link-rfc2396E" href="mailto:squid3@treenet.co.nz-20160408073547-xtjco0mpai4lr920"><mailto:squid3@treenet.co.nz-20160408073547-xtjco0mpai4lr920></a><br>
><br>
> > |parent:<br>
>
<a class="moz-txt-link-abbreviated" href="mailto:chtsanti@users.sourceforge.net-20160407163610-yl8zzhc08l1ysv5f">chtsanti@users.sourceforge.net-20160407163610-yl8zzhc08l1ysv5f</a>
<a class="moz-txt-link-rfc2396E" href="mailto:chtsanti@users.sourceforge.net-20160407163610-yl8zzhc08l1ysv5f"><mailto:chtsanti@users.sourceforge.net-20160407163610-yl8zzhc08l1ysv5f></a><br>
><br>
> > |committer: Amos Jeffries <<a class="moz-txt-link-abbreviated" href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>
<a class="moz-txt-link-rfc2396E" href="mailto:squid3@treenet.co.nz"><mailto:squid3@treenet.co.nz></a><br>
> <a class="moz-txt-link-rfc2396E" href="mailto:squid3@treenet.co.nz"><mailto:squid3@treenet.co.nz></a>
<a class="moz-txt-link-rfc2396E" href="mailto:squid3@treenet.co.nz"><mailto:squid3@treenet.co.nz></a>><br>
><br>
><br>
> > |branch nick: trunk<br>
><br>
> > |timestamp: Fri 2016-04-08 19:35:47 +1200<br>
><br>
> > |message:<br>
><br>
> > | Fix shm_open error message after rev.14625<br>
><br>
> >
|------------------------------------------------------------<br>
><br>
> > |# Bazaar merge directive format 2 (Bazaar 0.90)<br>
><br>
> > |# revision_id:<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid3@treenet.co.nz-20160408073547-xtjco0mpai4lr920">squid3@treenet.co.nz-20160408073547-xtjco0mpai4lr920</a>
<a class="moz-txt-link-rfc2396E" href="mailto:squid3@treenet.co.nz-20160408073547-xtjco0mpai4lr920"><mailto:squid3@treenet.co.nz-20160408073547-xtjco0mpai4lr920></a><br>
><br>
> > |# target_branch:<br>
> <a class="moz-txt-link-freetext" href="http://bzr.squid-cache.org/bzr/squid3/trunk/">http://bzr.squid-cache.org/bzr/squid3/trunk/</a><br>
><br>
> > |# testament_sha1:
c1983f6601c29e4d03f936e60ecee221a860f932<br>
><br>
> > |# timestamp: 2016-04-08 07:51:00 +0000<br>
><br>
> > |# source_branch:
<a class="moz-txt-link-freetext" href="http://bzr.squid-cache.org/bzr/squid3/trunk">http://bzr.squid-cache.org/bzr/squid3/trunk</a><br>
><br>
> > |# base_revision_id:<br>
> <a class="moz-txt-link-abbreviated" href="mailto:chtsanti@users.sourceforge.net-20160407163610-\">chtsanti@users.sourceforge.net-20160407163610-\</a>
<a class="moz-txt-link-rfc2396E" href="mailto:chtsanti@users.sourceforge.net-20160407163610-%5C"><mailto:chtsanti@users.sourceforge.net-20160407163610-%5C></a><br>
><br>
> > |# yl8zzhc08l1ysv5f<br>
><br>
> > |#<br>
><br>
> > |# Begin patch<br>
><br>
> > |=== modified file 'src/ipc/mem/Segment.cc'<br>
><br>
> > |--- src/ipc/mem/Segment.cc 2016-04-03
23:41:58 +0000<br>
><br>
> > |+++ src/ipc/mem/Segment.cc 2016-04-08
07:35:47 +0000<br>
><br>
> > --------------------------<br>
><br>
> > Patching file src/ipc/mem/Segment.cc using Plan
A...<br>
><br>
> > Hunk #1 failed at 91.<br>
><br>
> > Hunk #2 succeeded at 105 (offset -4 lines).<br>
><br>
> > Hunk #3 succeeded at 121 (offset -4 lines).<br>
><br>
> > Hunk #4 succeeded at 151 (offset -1 lines).<br>
><br>
> > 1 out of 4 hunks failed--saving rejects to<br>
> src/ipc/mem/Segment.cc.rej<br>
><br>
> > Hmm... The next patch looks like a unified diff
to me...<br>
><br>
> > The text leading up to this was:<br>
><br>
> > --------------------------<br>
><br>
> > |<br>
><br>
> > |=== modified file 'src/ipc/mem/Segment.h'<br>
><br>
> > |--- src/ipc/mem/Segment.h 2016-03-24
17:02:25 +0000<br>
><br>
> > |+++ src/ipc/mem/Segment.h 2016-04-08
07:35:47 +0000<br>
><br>
> > --------------------------<br>
><br>
> > Patching file src/ipc/mem/Segment.h using Plan
A...<br>
><br>
> > Hunk #1 succeeded at 53.<br>
><br>
> > Hmm... Ignoring the trailing garbage.<br>
><br>
> > done<br>
><br>
><br>
><br>
><br>
><br>
> > Then when I compile, the compilation fails as
follows (though<br>
> without the patch the compilation succeeds):<br>
><br>
><br>
><br>
> > libtool: compile: clang++ -DHAVE_CONFIG_H<br>
> -DDEFAULT_STATEDIR=\"/opt/squid-4/var/run/squid\"
-I../..<br>
> -I../../include -I../../lib -I../../src -I../../include<br>
> -I/usr/include -I/usr/include -I../../libltdl
-I/usr/include<br>
> -I/usr/local/include/libxml2
-I/usr/local/include/libxml2 -Werror<br>
> -Qunused-arguments -Wno-deprecated-register
-D_REENTRANT -g -O2<br>
> -march=native -std=c++11 -I/usr/local/include -MT
mem/Pages.lo -MD<br>
> -MP -MF mem/.deps/Pages.Tpo -c mem/Pages.cc -fPIC
-DPIC -o<br>
> mem/.libs/Pages.o<br>
><br>
> > libtool: compile: clang++ -DHAVE_CONFIG_H<br>
> -DDEFAULT_STATEDIR=\"/opt/squid-4/var/run/squid\"
-I../..<br>
> -I../../include -I../../lib -I../../src -I../../include<br>
> -I/usr/include -I/usr/include -I../../libltdl
-I/usr/include<br>
> -I/usr/local/include/libxml2
-I/usr/local/include/libxml2 -Werror<br>
> -Qunused-arguments -Wno-deprecated-register
-D_REENTRANT -g -O2<br>
> -march=native -std=c++11 -I/usr/local/include -MT
mem/Pages.lo -MD<br>
> -MP -MF mem/.deps/Pages.Tpo -c mem/Pages.cc -o
mem/Pages.o<br>
> >/dev/null 2>&1<br>
><br>
> > depbase=`echo mem/PageStack.lo | sed<br>
> 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../../libtool<br>
> --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H<br>
> -DDEFAULT_STATEDIR=\"/opt/squid-4/var/run/squid\"
-I../..<br>
> -I../../include -I../../lib -I../../src
-I../../include<br>
> -I/usr/include -I/usr/include -I../../libltdl
-I/usr/include<br>
> -I/usr/local/include/libxml2
-I/usr/local/include/libxml2<br>
> -Werror -Qunused-arguments -Wno-deprecated-register
-D_REENTRANT<br>
> -g -O2 -march=native -std=c++11 -I/usr/local/include
-MT<br>
> mem/PageStack.lo -MD -MP -MF $depbase.Tpo -c -o
mem/PageStack.lo<br>
> mem/PageStack.cc && mv -f $depbase.Tpo
$depbase.Plo<br>
><br>
> > libtool: compile: clang++ -DHAVE_CONFIG_H<br>
> -DDEFAULT_STATEDIR=\"/opt/squid-4/var/run/squid\"
-I../..<br>
> -I../../include -I../../lib -I../../src -I../../include<br>
> -I/usr/include -I/usr/include -I../../libltdl
-I/usr/include<br>
> -I/usr/local/include/libxml2
-I/usr/local/include/libxml2 -Werror<br>
> -Qunused-arguments -Wno-deprecated-register
-D_REENTRANT -g -O2<br>
> -march=native -std=c++11 -I/usr/local/include -MT
mem/PageStack.lo<br>
> -MD -MP -MF mem/.deps/PageStack.Tpo -c
mem/PageStack.cc -fPIC<br>
> -DPIC -o mem/.libs/PageStack.o<br>
><br>
> > libtool: compile: clang++ -DHAVE_CONFIG_H<br>
> -DDEFAULT_STATEDIR=\"/opt/squid-4/var/run/squid\"
-I../..<br>
> -I../../include -I../../lib -I../../src -I../../include<br>
> -I/usr/include -I/usr/include -I../../libltdl
-I/usr/include<br>
> -I/usr/local/include/libxml2
-I/usr/local/include/libxml2 -Werror<br>
> -Qunused-arguments -Wno-deprecated-register
-D_REENTRANT -g -O2<br>
> -march=native -std=c++11 -I/usr/local/include -MT
mem/PageStack.lo<br>
> -MD -MP -MF mem/.deps/PageStack.Tpo -c mem/PageStack.cc
-o<br>
> mem/PageStack.o >/dev/null 2>&1<br>
><br>
> > depbase=`echo mem/Segment.lo | sed<br>
> 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../../libtool<br>
> --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H<br>
> -DDEFAULT_STATEDIR=\"/opt/squid-4/var/run/squid\"
-I../..<br>
> -I../../include -I../../lib -I../../src
-I../../include<br>
> -I/usr/include -I/usr/include -I../../libltdl
-I/usr/include<br>
> -I/usr/local/include/libxml2
-I/usr/local/include/libxml2<br>
> -Werror -Qunused-arguments -Wno-deprecated-register
-D_REENTRANT<br>
> -g -O2 -march=native -std=c++11 -I/usr/local/include
-MT<br>
> mem/Segment.lo -MD -MP -MF $depbase.Tpo -c -o
mem/Segment.lo<br>
> mem/Segment.cc && mv -f $depbase.Tpo
$depbase.Plo<br>
><br>
> > libtool: compile: clang++ -DHAVE_CONFIG_H<br>
> -DDEFAULT_STATEDIR=\"/opt/squid-4/var/run/squid\"
-I../..<br>
> -I../../include -I../../lib -I../../src -I../../include<br>
> -I/usr/include -I/usr/include -I../../libltdl
-I/usr/include<br>
> -I/usr/local/include/libxml2
-I/usr/local/include/libxml2 -Werror<br>
> -Qunused-arguments -Wno-deprecated-register
-D_REENTRANT -g -O2<br>
> -march=native -std=c++11 -I/usr/local/include -MT
mem/Segment.lo<br>
> -MD -MP -MF mem/.deps/Segment.Tpo -c mem/Segment.cc
-fPIC -DPIC<br>
> -o mem/.libs/Segment.o<br>
><br>
> > mem/Segment.cc:96:22: error: too few arguments to
function<br>
> call, single argument 'err' was not specified<br>
><br>
> > if (!createFresh() && errno == EEXIST)
{<br>
><br>
> > ~~~~~~~~~~~ ^<br>
><br>
> > ../../src/ipc/mem/Segment.h:56:5: note:
'createFresh'<br>
> declared here<br>
><br>
> > bool createFresh(int &err);<br>
><br>
> > ^<br>
><br>
> > mem/Segment.cc:98:21: error: too few arguments to
function<br>
> call, single argument 'err' was not specified<br>
><br>
> > createFresh();<br>
><br>
> > ~~~~~~~~~~~ ^<br>
><br>
> > ../../src/ipc/mem/Segment.h:56:5: note:
'createFresh'<br>
> declared here<br>
><br>
> > bool createFresh(int &err);<br>
><br>
> > ^<br>
><br>
> > mem/Segment.cc:108:9: error: use of undeclared
identifier<br>
> 'xerrno'<br>
><br>
> > xerrno = errno;<br>
><br>
> > ^<br>
><br>
> > mem/Segment.cc:110:66: error: use of undeclared
identifier<br>
> 'xerrno'<br>
><br>
> > debugs(54, 5, "ftruncate " <<
theName <<<br>
> ": " << xstrerr(xerrno));<br>
><br>
><br>
> ^<br>
><br>
> > ../../src/Debug.h:107:21: note: expanded from
macro 'debugs'<br>
><br>
> > _dbo << CONTENT; \<br>
><br>
> > ^<br>
><br>
> > mem/Segment.cc:112:45: error: use of undeclared
identifier<br>
> 'xerrno'<br>
><br>
> > theName.termedBuf(),
xstrerr(xerrno));<br>
><br>
> > ^<br>
><br>
> > 5 errors generated.<br>
><br>
> > *** Error code 1<br>
><br>
><br>
><br>
> > Stop.<br>
><br>
> > make[3]: stopped in<br>
> /usr/home/wash/ILI/Squid/4.x/squid-4.0.8/src/ipc<br>
><br>
> > *** Error code 1<br>
><br>
><br>
><br>
> > Stop.<br>
><br>
> > make[2]: stopped in<br>
> /usr/home/wash/ILI/Squid/4.x/squid-4.0.8/src<br>
><br>
> > *** Error code 1<br>
><br>
><br>
><br>
> > Stop.<br>
><br>
> > make[1]: stopped in<br>
> /usr/home/wash/ILI/Squid/4.x/squid-4.0.8/src<br>
><br>
> > *** Error code 1<br>
><br>
><br>
><br>
> > Stop.<br>
><br>
> > make: stopped in
/usr/home/wash/ILI/Squid/4.x/squid-4.0.8<br>
><br>
><br>
><br>
><br>
><br>
> > Okay, I know I am being a bug here myself since I
am focused<br>
> on 3.5 now more than 4.x but I also like giving the
little<br>
> feedback I can from these FreeBSD servers I have:-)<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > On 8 April 2016 at 17:19, Yuri Voinov
<<a class="moz-txt-link-abbreviated" href="mailto:yvoinov@gmail.com">yvoinov@gmail.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:yvoinov@gmail.com"><mailto:yvoinov@gmail.com></a><br>
> <a class="moz-txt-link-rfc2396E" href="mailto:yvoinov@gmail.com"><mailto:yvoinov@gmail.com></a>
<a class="moz-txt-link-rfc2396E" href="mailto:yvoinov@gmail.com"><mailto:yvoinov@gmail.com></a>> wrote:<br>
><br>
><br>
><br>
><br>
><br>
> > Seems fixed.<br>
><br>
><br>
><br>
> >
<a class="moz-txt-link-freetext" href="http://bugs.squid-cache.org/show_bug.cgi?id=4486#c2">http://bugs.squid-cache.org/show_bug.cgi?id=4486#c2</a><br>
><br>
><br>
><br>
> > 08.04.16 18:05, Amos Jeffries пишет:<br>
><br>
> > > On 8/04/2016 10:28 p.m., Odhiambo Washington
wrote:<br>
><br>
> > >> Hello Yuri,<br>
><br>
> > >><br>
><br>
> > >> Thanks, but this patch is for
squid-4.0.8, right??<br>
><br>
> > >><br>
><br>
><br>
><br>
> > > Yes the patch in that bug report is specific
to the<br>
> latest 4.0 snapshot,<br>
><br>
> > > which Yuri is running.<br>
><br>
><br>
><br>
> > > As Alex mentioned the errno usage in Squid
was a bit<br>
> wrong. The latest<br>
><br>
> > > 4.0 have a patch to fix that, which is
causing Yuri's<br>
> problem. Your 3.5<br>
><br>
> > > issue may or may not be related. But we wont
know until<br>
> after Yuri<br>
><br>
> > > applies that patch and checks the results.<br>
><br>
><br>
><br>
> > > Amos<br>
><br>
><br>
><br>
> > >
_______________________________________________<br>
><br>
> > > squid-users mailing list<br>
><br>
> > > <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:squid-users@lists.squid-cache.org"><mailto:squid-users@lists.squid-cache.org></a><br>
> <a class="moz-txt-link-rfc2396E" href="mailto:squid-users@lists.squid-cache.org"><mailto:squid-users@lists.squid-cache.org></a>
<a class="moz-txt-link-rfc2396E" href="mailto:squid-users@lists.squid-cache.org"><mailto:squid-users@lists.squid-cache.org></a><br>
><br>
> > >
<a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> >
_______________________________________________<br>
><br>
> > squid-users mailing list<br>
><br>
> > <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:squid-users@lists.squid-cache.org"><mailto:squid-users@lists.squid-cache.org></a><br>
> <a class="moz-txt-link-rfc2396E" href="mailto:squid-users@lists.squid-cache.org"><mailto:squid-users@lists.squid-cache.org></a>
<a class="moz-txt-link-rfc2396E" href="mailto:squid-users@lists.squid-cache.org"><mailto:squid-users@lists.squid-cache.org></a><br>
><br>
> >
<a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > --<br>
><br>
> > Best regards,<br>
><br>
> > Odhiambo WASHINGTON,<br>
><br>
> > Nairobi,KE<br>
><br>
> > +254 7 3200 0004/+254 7 2274 3223<br>
><br>
> > "Oh, the cruft."<br>
><br>
><br>
><br>
><br>
><br>
> -- <br>
> Best regards,<br>
> Odhiambo WASHINGTON,<br>
> Nairobi,KE<br>
> +254 7 3200 0004/+254 7 2274 3223<br>
> "Oh, the cruft."</span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJXB+xbAAoJENNXIZxhPexGDP8IALxFdLWjHoL29fr9KntwP4ci
<br>
RExibg32ivhh7fMAQq7DiYtafUO2bNfV/ZstJgDu7qGyglX96fn2buwAE/a/7EU3
<br>
Bama9Beku9Mv+/+ByU/w0UmLTZe+8wk0L5GsBX3vwhGG1cyzE2dp2ntm+CpJfXGv
<br>
SQSTqG/rOCZc1M1aKgdqZhMoEd+J/4NQXz1oJrXbZZSDIMLhZg+hfE66ugOjt3gB
<br>
CEQnQ6O7dvodwam5QplaM6MaqQtgKJJ0m4O47dUhAXdp9tbgKO/Xn/E5biouKOiL
<br>
pVvEeXmM5LM8/tbO8cCrch/xMBxRnvD5OxoQoWEHFAbqjxpGuDXUheE8DxJaFP0=
<br>
=yp2M
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>