Re: [squid-users] Rebuilding Squid 3.5.25 with the `--with-openssl` option generates compilation error

2023-09-21 Thread Alex Rousskov

On 2023-09-20 23:22, Bud Miljkovic wrote:

Using the *Squid 3.5.25* version from the Open Embedded *pyro* 
repository, I enabled the `*--with-openssl*` build option by adding the 
*squid_%.bbappend* file, please the attachment below.


Then using *docker*, I tried to rebuild *squid* package but now I get 
the following compilation error - please see the *squid_rebuild.log* 
file below.



squid-3.5.25/src/ssl/gadgets.h:229:7: error: 'Ssl::CertificateProperties' 
declared with greater visibility than the type of its field 
'Ssl::CertificateProperties::mimicCert' [-Werror=attributes]



FWIW, I have not seen -Wattributes warnings before and cannot quickly 
figure out what they really mean in your context. There is nothing 
particularly alarming in that Squid code AFAICT.


If you have to use unsupported and buggy Squid v3, consider building it 
with --disable-strict-error-checking. Otherwise, consider switching to 
Squid v6 that more folks may be interested in helping you with.



HTH,

Alex.

___
squid-users mailing list
squid-users@lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users


[squid-users] Rebuilding Squid 3.5.25 with the `--with-openssl` option generates compilation error

2023-09-20 Thread Bud Miljkovic
Hello there,

Using the *Squid 3.5.25* version from the Open Embedded *pyro* repository,
I enabled the `*--with-openssl*` build option by adding the
*squid_%.bbappend* file, please the attachment below.

Then using *docker*, I tried to rebuild *squid* package but now I get the
following compilation error - please see the *squid_rebuild.log* file below.

Could someone provide some clues about what the problem is?

Regards,
Buda

-- 
Budimir Miljković BSc E | He
Senior Development Engineer
Civil Construction Field Systems
Trimble

11-17 Birmingham Drive, Christchurch, Canterbury, 8024
New Zealand
+64 3 963-5550 Direct
+64 21 419-024 Mobile

www.trimble.com

This email may contain confidential information that is intended only for
the listed recipient(s) of this email. Any unauthorized review, use,
disclosure or distribution is prohibited. If you believe you have received
this email in error, please immediately delete this email and any
attachments, and inform me via reply email.


squid_%.bbappend
Description: Binary data
Build Configuration:
BB_VERSION= "1.34.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "ctct-r2"
DISTRO= "r2-distro"
DISTRO_VERSION= "2.3.4"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa8"
TARGET_FPU= "hard"
meta  
meta-poky 
meta-yocto-bsp= "pyro-r2:ebb42af2829edfca1a23c7a51a431c656ffc2090"
meta-linaro-toolchain = "pyro-r2:74dacb34c13d1c85fe4627a890b9c04940f9ffeb"
meta-oe   
meta-python   
meta-networking   = "pyro-r2:04b453d30b19a79929e225a79d8040357c9a87ed"
meta-ctct = "RR-1818:4a2d2758d45779a335238b27beacce62a57a1ee6"

Initialising tasks: 100% |##| Time: 0:00:05
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: squid-3.5.25-r0 do_compile: oe_runmake failed
ERROR: squid-3.5.25-r0 do_compile: Function failed: do_compile (log file is located at /opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/temp/log.do_compile.113810)
ERROR: Logfile of failure stored in: /opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/temp/log.do_compile.113810
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 -l 10
| Making all in compat
| make[1]: Entering directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/compat'
| make[1]: Nothing to be done for 'all'.
| make[1]: Leaving directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/compat'
| Making all in lib
| make[1]: Entering directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib'
| Making all in snmplib
| make[2]: Entering directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib/snmplib'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib/snmplib'
| Making all in rfcnb
| make[2]: Entering directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib/rfcnb'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib/rfcnb'
| Making all in smblib
| make[2]: Entering directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib/smblib'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib/smblib'
| Making all in ntlmauth
| make[2]: Entering directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib/ntlmauth'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib/ntlmauth'
| make[2]: Entering directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib'
| make[2]: Nothing to be done for 'all-am'.
| make[2]: Leaving directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib'
| make[1]: Leaving directory '/opt/os_build/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/squid/3.5.25-r0/build/lib'
| Making all in 

[squid-users] Rebuilding Squid

2007-08-28 Thread Srinivas B
Hi All,

I have squid 2.6 stable 12 version. Now I need to re-build the same
squid with ssl option enabled. I dont want to change or disturb the
existing systems. How can I do this?

Any help would be appreciated.

Thanks


Re: [squid-users] Rebuilding Squid

2007-08-28 Thread Adrian Chadd
On Tue, Aug 28, 2007, Srinivas B wrote:
 Hi All,
 
 I have squid 2.6 stable 12 version. Now I need to re-build the same
 squid with ssl option enabled. I dont want to change or disturb the
 existing systems. How can I do this?
 
 Any help would be appreciated.

./squid -v

Grab all the config options; then rebuild with those options and --enable-ssl 
IIRC



Adrian



Re: [squid-users] Rebuilding Squid

2007-08-28 Thread Amos Jeffries
 On Tue, Aug 28, 2007, Srinivas B wrote:
 Hi All,

 I have squid 2.6 stable 12 version. Now I need to re-build the same
 squid with ssl option enabled. I dont want to change or disturb the
 existing systems. How can I do this?

 Any help would be appreciated.

 ./squid -v

 Grab all the config options; then rebuild with those options and
 --enable-ssl IIRC


As someone who has tried that. I would highly recommend a test run adding
--prefix=something before the full install.
I ran into problems with some of the components depending at build on
libraries I didn't have on the production server.

Amos