[MDEV-3608] LP:466090 - Missing define for internal libevent on Debian 4 (Etch) Created: 2009-10-31  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Arjen Lentz (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug466090.xml    

 Description   

As subject. Also, missing copyright notice for copied BSD defines.

Fix by Antony Curtis. Branch attached, based on 5.1-release tree.



 Comments   
Comment by Arjen Lentz (Inactive) [ 2009-10-31 ]

Re: Missing define for internal libevent on Debian 4 (Etch)
Since this bug/fix involves a main source modification, the OurDelta builds of MariaDB 5.1 for Debian 4 have been deferred until this patch is reviewed for the release line.

Comment by Michael Widenius [ 2009-11-02 ]

[Bug 466090] Re: Missing define for internal libevent on Debian 4 (Etch)

Hi!

>>>>> "Arjen" == Arjen Lentz <arjen@openquery.com> writes:

Arjen> Since this bug/fix involves a main source modification, the OurDelta
Arjen> builds of MariaDB 5.1 for Debian 4 have been deferred until this patch
Arjen> is reviewed for the release line.

#ifndef HAVE_TAILQFOREACH
/* These following macros are copied from BSD sys/queue.h
Copyright (c) 1991, 1993, The Regents of the University of California.
All rights reserved.
*/

#define TAILQ_EMPTY(head) ((head)->tqh_first == NULL)

I checked the BSD code and the macros has similar names, but
implementation is different.

As the names as such are not copyrightable and we don't strictly need the
above comment but I agree that it's good to give credits where credits
is due, so lets keep them.

I also checked that the README file contains the Copyright text
required by the BSD code, so we are in the clear regarding this.

Arjen, ok to push your fix to the 5.1-release tree.

Regards,
Monty

Comment by Arjen Lentz (Inactive) [ 2009-11-03 ]

Re: [Bug 466090] Re: Missing define for internal libevent on Debian 4 (Etch)
Hi Monty

We should also have -Wimplicit, as it would have caught the problem
during the compile phase rather than chucking a link (missing symbol)
error.
I'd love to see MySQL compiled cleanly with -pedantic.

On 03/11/2009, at 12:59 AM, Michael Widenius wrote:
>>>>>> "Arjen" == Arjen Lentz <arjen@openquery.com> writes:
>
> Arjen> Since this bug/fix involves a main source modification, the
> OurDelta
> Arjen> builds of MariaDB 5.1 for Debian 4 have been deferred until
> this patch
> Arjen> is reviewed for the release line.
>
> #ifndef HAVE_TAILQFOREACH
> /* These following macros are copied from BSD sys/queue.h
> Copyright (c) 1991, 1993, The Regents of the University of
> California.
> All rights reserved.
> */
>
> #define TAILQ_EMPTY(head) ((head)->tqh_first == NULL)
>
> I checked the BSD code and the macros has similar names, but
> implementation is different.
>
> As the names as such are not copyrightable and we don't strictly
> need the
> above comment but I agree that it's good to give credits where credits
> is due, so lets keep them.
>
> I also checked that the README file contains the Copyright text
> required by the BSD code, so we are in the clear regarding this.
>
> Arjen, ok to push your fix to the 5.1-release tree.
>
> Regards,
> Monty


Arjen Lentz, Exec.Director @ Open Query (http://openquery.com)
Exceptional Services for MySQL at a fixed budget.

Follow our blog at http://openquery.com/blog/
OurDelta: packages for MySQL and MariaDB @ http://ourdelta.org

Comment by Rasmus Johansson (Inactive) [ 2009-11-04 ]

Re: [Bug 466090] Re: Missing define for internal libevent on Debian 4 (Etch)

On 3-Nov-09, at 6:52 PM, Arjen Lentz wrote:

> Hi Monty
>
> We should also have -Wimplicit, as it would have caught the problem
> during the compile phase rather than chucking a link (missing symbol)
> error.
> I'd love to see MySQL compiled cleanly with -pedantic.

Short of that, you can crank up the warning levels with -Wall, -Wextra ?

--Toby

Comment by Rasmus Johansson (Inactive) [ 2009-11-04 ]

Launchpad bug id: 466090

Comment by Kristian Nielsen [ 2009-11-04 ]

Re: Missing define for internal libevent on Debian 4 (Etch)
This has been pushed into lp:~maria-captains/maria/5.1-release.

Thanks!

Generated at Thu Feb 08 06:49:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.