← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1890790] Re: Build Failure with --enable-ssl-crtd flag

 

Alright, you can fix it by doing:

edit src/ssl/certificate_db.h and change

#define Here __FILE__, __LINE__

to

#ifndef Here
#define Here __FILE__, __LINE__
#endif

and that will fix your issue.

But, please, do notice that this bug is unsupported by Ubuntu and this
bug is indeed invalid.

"no modification" is "not changing package configure options" and that
is why we didn't catch this issue after the security fixes were applied:
because we don't build with those options (including crypto) so we never
faced a FTBFS after applying the patches.

I can't move on with a "SRU" (Stable Release Update) for a FTBFS in a
configure option we don't use to generate our binary packages, I hope
you understand. Just wanted to clarify this for further needs. Best
place to discuss those issues could be Ubuntu User mailing list, or even
to query someone at Ubuntu Devel mailing list.

For the record, after the fix:

$ ldd ./debian/squid/usr/sbin/squid3 | grep ssl
	libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f5b37dd0000)

Have a good one ;)

** Changed in: squid3 (Ubuntu)
       Status: New => Invalid

** Changed in: squid3 (Ubuntu Xenial)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1890790

Title:
  Build Failure with --enable-ssl-crtd flag

Status in squid3 package in Ubuntu:
  Invalid
Status in squid3 source package in Xenial:
  Invalid

Bug description:
  I have a script that grabs the latest package source for squid3 and
  builds, adding the --enable-ssl-crtd and --with-openssl flags. After
  the last package update "squid3_3.5.12-1ubuntu7.12.debian.tar.xz" this
  errors out during compilation.

  I have narrowed it down to the --enable-ssl-crtd flag. The error is as
  follows:

  ssl/certificate_db.h:56:0: error: "Here" redefined [-Werror]
   #define Here __FILE__, __LINE__
   ^
  In file included from ../src/base/TextException.h:15:0,
                   from ../src/SBufExceptions.h:12,
                   from ../src/SBuf.h:14,
                   from ../src/http/MethodType.h:12,
                   from ../src/HttpRequestMethod.h:12,
                   from ../src/AccessLogEntry.h:18,
                   from acl/FilledChecklist.h:12,
                   from client_side.cc:61:
  ../src/base/Here.h:15:0: note: this is the location of the previous definition
   #define Here() SourceLocation(__FUNCTION__, __FILE__, __LINE__)
   ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1890790/+subscriptions