Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1108325 - Impossible to compile against libmemcached without c++11 with GCC 4.9
Summary: Impossible to compile against libmemcached without c++11 with GCC 4.9
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: libmemcached
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1106145
TreeView+ depends on / blocked
 
Reported: 2014-06-11 17:28 UTC by Adrien Devresse
Modified: 2016-07-19 11:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 11:47:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adrien Devresse 2014-06-11 17:28:22 UTC
Description of problem:

libmemcached is broken in Fedora rawhide and with any compilation implying GCC 4.9.

The header memcache.h exposes "#include <cinttypes>" which forces the usage of C++11 r triggers compilation error

https://bugzilla.redhat.com/show_bug.cgi?id=1106145
http://koji.fedoraproject.org/koji/taskinfo?taskID=6951772

https://kojipkgs.fedoraproject.org//work/tasks/7102/6957102/build.log

In file included from /usr/include/c++/4.9.0/cinttypes:35:0,
                 from /usr/include/libmemcached-1.0/memcached.h:46,
                 from /usr/include/libmemcached/memcached.h:39,
                 from /builddir/build/BUILD/dmlite-plugins-memcache-0.6.2/src/Memcache.h:7,
                 from /builddir/build/BUILD/dmlite-plugins-memcache-0.6.2/src/Memcache.cpp:11:
/usr/include/c++/4.9.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \

This is an urgent fix and block compilation existing software compiling against libmemcached



Additional info:

Blocking issue for  https://bugzilla.redhat.com/show_bug.cgi?id=1106145

bug reported upstream here https://bugs.launchpad.net/libmemcached/+bug/1328985

Comment 1 Jaroslav Reznik 2015-03-03 16:01:16 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Fedora End Of Life 2016-07-19 11:47:34 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.