Re: /bzr/squid3/trunk/ r12925: Bug 3297: Fix openSSL related build failures

From: Tsantilas Christos <chtsanti_at_users.sourceforge.net>
Date: Mon, 01 Jul 2013 13:41:03 +0300

The problem looks that it is that is is uses an older version to
configure openSSL which is installed under the "/usr/" and finally
builds with a newer version which installed under the "/usr/local/"

This is because it finds an other component under the "/usr/local" and
include these locations to build squid.

I believe that configuring using:
  ./configure --with-openssl=/usr/local/
will fix the problem.

We have also a "3.HEAD-amd64-FreeBSD-9.1" build which uses the gcc
compiler. In configure.ac script I am seeing the following tests:

if test "$squid_cv_compiler" = "gcc"; then
  case "$squid_host_os" in
  .....
  freebsd)
    # FreeBSD places local libraries and packages in /usr/local
    CFLAGS="$CFLAGS -I/usr/local/include"
    CXXFLAGS="$CXXFLAGS -I/usr/local/include"
    LDFLAGS="$LDFLAGS -L/usr/local/lib -Wl,-R/usr/local/lib"
    ;;

We should include the "/usr/local/" include and library paths for clang
compiler too.

On 07/01/2013 01:10 PM, Amos Jeffries wrote:
> On 1/07/2013 8:02 p.m., Tsantilas Christos wrote:
>> I need to see again in config.log script (I suppose the
>> ws/btlayer-02-maximus/lonfig.log file or something like that).
>> I can not find it anywhere in Jenkins web interface. Is there any
>> standard way to find out build files without have to bother you?
>
> Sure. It is a bit roundabout to find...
>
> From the jobs overview page
> (http://build.squid-cache.org/view/b-trunk/job/3.HEAD-amd64-FreeBSD-9.1-clang/)
> click on "Workspace" in the left menu. If that is not there you are
> probably on the build results page instead of the overview page.

Yep.
Thank you.

>
> In the workspace files there are the btlayer-*-* folders, usually the
> last one is the one which failed. Inside there are all the test build
> files and packages.
> The top level has a config.log, but that one is just for a packaging
> ./configure ru. It may or may not have anything useful.
> If you navigate down the sub-folders "squid-3.HEAD-BZR" then "_build"
> you will find another config.log from the actual build ./configure and
> built objects.
>
> HTH
> Amos
>
>>
>>
>> On 07/01/2013 07:38 AM, Amos Jeffries wrote:
>>> On 1/07/2013 3:54 a.m., Christos Tsantilas wrote:
>>>> ------------------------------------------------------------
>>>> revno: 12925
>>>> fixes bug(s): http://bugs.squid-cache.org/show_bug.cgi?id=3297
>>>> http://bugs.squid-cache.org/show_bug.cgi?id=3759
>>>> committer: Christos Tsantilas <chtsanti_at_users.sourceforge.net>
>>>> branch nick: trunk
>>>> timestamp: Sun 2013-06-30 18:54:22 +0300
>>>> message:
>>>> Bug 3297: Fix openSSL related build failures
>>> We have another side effect showing up now:
>>>
>>> http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-9.1-clang/288/console
>>>
>>>
>>>
>>> Amos
>>>
>
>
Received on Mon Jul 01 2013 - 10:41:22 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 03 2013 - 12:00:32 MDT