Red Hat Bugzilla – Bug 181335
The spec file install own version of my_config.h which is missing support for Alpha
Last modified: 2013-07-02 23:08:17 EDT
+++ This bug was initially created as a clone of Bug #177564 +++
Description of problem:
The spec file install own version of pg_config.h which is missing support for
Alpha. Please apply the following small patch that fixes it:
--- pg_config.h.orig 2005-12-15 22:38:07.000000000 +0300
+++ pg_config.h 2006-01-11 23:22:46.000000000 +0300
@@ -21,4 +21,6 @@
It would help AlphaCore project to build this package unmodified.
Version-Release number of selected component (if applicable):
-- Additional comment from email@example.com on 2006-01-11 16:21 EST --
Yeah, this whole concept of trying to avoid header variations with architecture
seems messed up :-(. I wonder what other arches people are going to try to
build Fedora SRPMs on.
Note to self: mysql has same issue.
-- Additional comment from firstname.lastname@example.org on 2006-01-11 16:37 EST --
Yes, I don't see any advantage of it. We don't have different arch header files
in the same package. As far as I understand the pg_config.h is build by
configure for specific arch and won't be used on other arches.
-- Additional comment from email@example.com on 2006-01-11 17:21 EST --
The reason it's there is to allow installing both 32- and 64-bit devel RPMs on
multilib machines. It's an ugly solution but I don't (yet?) see a better one.
-- Additional comment from firstname.lastname@example.org on 2006-01-12 15:15 EST --
I see. How about doing this only for multilib arches. For non-multilib arches
copy postgres "pg_include.h" as pg_include_original.h and include it as last
chance if none of defines worked. It would keep current approach, but give other
arches the chance to work. :)
-- Additional comment from email@example.com on 2006-01-12 17:02 EST --
That's a good thought. Actually, on non-multilib machines there's no reason for
adding the indirection at all. I'll see what I can do.
Fixed in HEAD; will backpatch to FC5 whenever there's another reason to turn
mysql in FC5.
Done in 5.0.21.