[squid-users] compilation error

Eliezer Croitor ngtech1ltd at gmail.com
Tue Sep 15 17:24:52 UTC 2020


I will try to test 5.0.4 build on couple local OS's.

It seems that at-least CentOS 8 is showing the same issue.

Eliezer
----
Eliezer Croitoru
Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd at gmail.com

-----Original Message-----
From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of L.P.H. van Belle
Sent: Tuesday, September 15, 2020 11:16 AM
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] compilation error

Hai Amos, 

Just a small question. If i may hop in this thread. 

Based on TP starter, i also took a 5.0.4 to build on debian, i build in pbuilder/cowbuilder env. 

I first attempted to build and that errored on time_quote. 
I found that i had to add libtdb-dev to the build depends in debian/control 
And now its building, only Im ending with this eror. (ideas?)


x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\"   -I../.. -I../../include -I../../lib -I../../src -I../../include  -isystem /usr/include/mit-krb5  -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror -pipe -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/build/squid-5.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -c -o Transport.o Transport.cc
cp ../../src/tests/stub_debug.cc tests/stub_debug.cc
cp: cannot create regular file 'tests/stub_debug.cc': No such file or directory
make[4]: *** [Makefile:1518: tests/stub_debug.cc] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/squid-5.0.4/tools/squidclient'
make[3]: *** [Makefile:1049: all-recursive] Error 1
make[3]: Leaving directory '/build/squid-5.0.4/tools/squidclient'
make[2]: *** [Makefile:1191: all-recursive] Error 1
make[2]: Leaving directory '/build/squid-5.0.4/tools'
make[1]: *** [Makefile:591: all-recursive] Error 1
make[1]: Leaving directory '/build/squid-5.0.4'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
I: copying local configuration

This part, 
cp ../../src/tests/stub_debug.cc tests/stub_debug.cc
cp: cannot create regular file 'tests/stub_debug.cc'

I checked for : tests/stub_debug.cc its there.. 
So why this is, i dont know. (yet)

How i make the packages. 
I get the sid sources, get latest squid-caches sources.
Copy the debian folder in the new, update where needed,refreshed patches,
and mostl of the time, i hardly need to change things.
Squid 4.13 runs great, and was done in the same way. 

Only thing i miss/dont know is, how can i find which packages are needed,to build squid,
based on the new sources.tar.gz of squid. I think i still miss a package but im not sure here.

Thanks in advance, Amos. 
Great work on squid on debian you doing. 
Its a long time ago squid errored in building and im doing this since 3.x.x :-) 


Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: squid-users 
> [mailto:squid-users-bounces at lists.squid-cache.org] Namens 
> Amos Jeffries
> Verzonden: maandag 14 september 2020 23:38
> Aan: Service MV
> CC: Squid Users
> Onderwerp: Re: [squid-users] compilation error
> 
> On 15/09/20 9:04 am, Service MV wrote:
> > Fresh download of source code in a fresh server.
> > 
> 
> Thanks. Looks like I've got some more digging to do on this issue.
> 
> 
> It should work okay if you use "make -j1" for the build stage.
> 
> Amos
> 
> > 
> > El lun., 14 sep. 2020 18:02, Amos Jeffries escribió:
> > 
> >     On 15/09/20 6:34 am, Service MV wrote:
> >     > Hi everyone, I don't know if you can help me with 
> this. I´m trying to
> >     > compile SQUID beta 5.0.4 on Debian 10 but I get an error:
> >     >
> > 
> >     Is this ocurring in a fresh download of the sources 
> tarball? or fetched
> >     via some other method?
> > 
> >     Amos
> >     _______________________________________________
> >     squid-users mailing list
> >     squid-users at lists.squid-cache.org
> >     <mailto:squid-users at lists.squid-cache.org>
> >     http://lists.squid-cache.org/listinfo/squid-users
> > 
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
> 

_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list