First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 192676
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Black <dragonheart@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alin Năstac <mrness@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 192676 depends on: Show dependency tree
Bug 192676 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-16 11:32 0000
dev-libs/ace wrongfully install several PACKAGE_* definitions in
/usr/include/ace/config.h. Most packages have their own PACKAGE_* definitions
which will make compiler to throw redefinition warnings at every C/C++ file
that includes <ace/config.h> either directly or indirectly.

Output of grep PACKAGE /usr/include/ace/config.h:
#define PACKAGE_BUGREPORT "ace-bugs@cs.wustl.edu"
#define PACKAGE_NAME "ACE"
#define PACKAGE_STRING "ACE 5.5.9"
#define PACKAGE_TARNAME "ace"
#define PACKAGE_VERSION "5.5.9"

Please remove these definitions in the next revision/version you make. These
are meant to be used when ace library is compiled, not when some program is
linked against libace.

------- Comment #1 From Alin Năstac 2007-10-08 07:18:34 0000 -------
Daniel, I see you are the active maintainer of ace. Please fix this bug.

------- Comment #2 From Daniel Black 2007-10-08 09:02:13 0000 -------
fixed in stable and latest.

------- Comment #3 From Daniel Black 2007-10-08 09:17:17 0000 -------
added upstream report.

------- Comment #4 From Alin Năstac 2008-07-13 13:10:29 0000 -------
That is not the correct fix. At the end of src_install you should do the
following:
          sed -i -e "^#define PACKAGE_.*//g" "${D}"/usr/include/ace/config.h

Currently you run
  sed -i -e "^#define PACKAGE_.*//g" /usr/include/ace/config.h
at the end of src_test, which will trigger a sandbox exception if you try do
install it with FEATURES=test.

------- Comment #5 From Alin Năstac 2008-12-14 11:57:37 0000 -------
Fixed in ace-5.6.5-r2.

First Last Prev Next    No search results available      Search page      Enter new bug