Search squid archive

Re: Squid-4.0.4 beta is available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kinkie please take a look at: http://bugs.squid-cache.org/show_bug.cgi?id=4403

Eliezer

On 10/01/2016 20:06, Kinkie wrote:
Hi eliezer,
    This looks like a broken or not completely installed libstdc++.
Could you check that all packages mentioned at
http://wiki.squid-cache.org/BuildFarm/CentosInstall are installed on
your build system?

On Sun, Jan 10, 2016 at 6:02 PM, Eliezer Croitoru <eliezer@xxxxxxxxxxxx> wrote:
I am having trouble building 4.0.4 on OpenSUSE leap.
I have tried both manually and using the rpm build tools.
The error in the rpmbuild logs at:
http://ngtech.co.il/repo/opensuse/leap/logs/build5-4.0.4.log
and the build log of the manual compilation are at:
http://ngtech.co.il/repo/opensuse/leap/logs/conf1-4.0.4.log
http://ngtech.co.il/repo/opensuse/leap/logs/build1-4.0.4.log

The error output:
make[3]: Entering directory
'/home/rpm/rpmbuild/SOURCES/squid-4.0.4/helpers/basic_auth/NCSA'
depbase=`echo basic_ncsa_auth.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
/usr/local/bin/g++ -DHAVE_CONFIG_H   -I../../.. -I../../../include
-I../../../lib -I../../../src -I../../../include    -I.  -Wall
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror
-Wno-deprecated-register -pipe -D_REENTRANT -g -O2 -march=native -std=c++11
-MT basic_ncsa_auth.o -MD -MP -MF $depbase.Tpo -c -o basic_ncsa_auth.o
basic_ncsa_auth.cc &&\
mv -f $depbase.Tpo $depbase.Po
basic_ncsa_auth.cc: In function ‘int main(int, char**)’:
basic_ncsa_auth.cc:104:13: error: ‘cout’ is not a member of ‘std’
              SEND_ERR("");
              ^
basic_ncsa_auth.cc:104:42: error: ‘endl’ is not a member of ‘std’
              SEND_ERR("");
                                           ^
basic_ncsa_auth.cc:108:13: error: ‘cout’ is not a member of ‘std’
              SEND_ERR("");
              ^
basic_ncsa_auth.cc:108:42: error: ‘endl’ is not a member of ‘std’
              SEND_ERR("");
                                           ^
basic_ncsa_auth.cc:115:13: error: ‘cout’ is not a member of ‘std’
              SEND_ERR("No such user");
              ^
basic_ncsa_auth.cc:115:54: error: ‘endl’ is not a member of ‘std’
              SEND_ERR("No such user");
                                                       ^
basic_ncsa_auth.cc:128:13: error: ‘cout’ is not a member of ‘std’
              SEND_OK("");
              ^
basic_ncsa_auth.cc:128:41: error: ‘endl’ is not a member of ‘std’
              SEND_OK("");
                                          ^
basic_ncsa_auth.cc:133:13: error: ‘cout’ is not a member of ‘std’
              SEND_OK("");
              ^
basic_ncsa_auth.cc:133:41: error: ‘endl’ is not a member of ‘std’
              SEND_OK("");
                                          ^
basic_ncsa_auth.cc:138:13: error: ‘cout’ is not a member of ‘std’
              SEND_ERR("Password too long. Only 8 characters accepted.");
              ^
basic_ncsa_auth.cc:138:88: error: ‘endl’ is not a member of ‘std’
              SEND_ERR("Password too long. Only 8 characters accepted.");

                  ^
basic_ncsa_auth.cc:144:13: error: ‘cout’ is not a member of ‘std’
              SEND_OK("");
              ^
basic_ncsa_auth.cc:144:41: error: ‘endl’ is not a member of ‘std’
              SEND_OK("");
                                          ^
basic_ncsa_auth.cc:148:13: error: ‘cout’ is not a member of ‘std’
              SEND_OK("");
              ^
basic_ncsa_auth.cc:148:41: error: ‘endl’ is not a member of ‘std’
              SEND_OK("");
                                          ^
basic_ncsa_auth.cc:151:9: error: ‘cout’ is not a member of ‘std’
          SEND_ERR("Wrong password");
          ^
basic_ncsa_auth.cc:151:52: error: ‘endl’ is not a member of ‘std’
          SEND_ERR("Wrong password");
                                                     ^
At global scope:
cc1plus: error: unrecognized command line option "-Wno-deprecated-register"
[-Werror]
cc1plus: all warnings being treated as errors
Makefile:814: recipe for target 'basic_ncsa_auth.o' failed
make[3]: *** [basic_ncsa_auth.o] Error 1
make[3]: Leaving directory
'/home/rpm/rpmbuild/SOURCES/squid-4.0.4/helpers/basic_auth/NCSA'
Makefile:517: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/home/rpm/rpmbuild/SOURCES/squid-4.0.4/helpers/basic_auth'
Makefile:517: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/rpm/rpmbuild/SOURCES/squid-4.0.4/helpers'
Makefile:569: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
##END OF OUTPUT

I have tried to understand the issue and I found out that it might be
because of the usage of gcc and not g++ and I have tried to use CXX=g++ in
order to test the issue but it doesn't help.
On the same machine I have built 3.5.13 without any issues.

If I can add more information on the build node just let me know.

Thanks,
Eliezer

On 10/01/2016 08:15, Amos Jeffries wrote:

The Squid HTTP Proxy team is very pleased to announce the availability
of the Squid-4.0.4 release!


This release is a beta release resolving some issues found in the prior
Squid releases.

The major changes to be aware of:


* Several regression bugs fixed

   - Bug 4393: compile fails on OS X
   - Bug 4392: assertion CbcPointer.h:159: 'c' via tunnelServerClosed or
tunnelClientClosed


* Some minor squid.conf additions

   - cache_peer support for Kerberos credentials cache instead of keytab
   - Support logging of TLS Cryptography Parameters
   - Support substring matching in Note ACL


   All users of Squid are encouraged to test this release out and plan for
upgrades where possible.


   See the ChangeLog for the full list of changes in this and earlier
   releases.

Please refer to the release notes at
http://www.squid-cache.org/Versions/v4/RELEASENOTES.html
when you are ready to make the switch to Squid-4

This new release can be downloaded from our HTTP or FTP servers

   http://www.squid-cache.org/Versions/v4/
   ftp://ftp.squid-cache.org/pub/squid/
   ftp://ftp.squid-cache.org/pub/archive/4/

or the mirrors. For a list of mirror sites see

   http://www.squid-cache.org/Download/http-mirrors.html
   http://www.squid-cache.org/Download/mirrors.html

If you encounter any issues with this release please file a bug report.
http://bugs.squid-cache.org/


Amos Jeffries

_______________________________________________
squid-announce mailing list
squid-announce@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-announce
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users


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




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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux