Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38539 - the postgresql-7.4.1-r1 ebuild contains --include-dir which breaks the builds of almost all depending packages......
Summary: the postgresql-7.4.1-r1 ebuild contains --include-dir which breaks the builds...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 34605
  Show dependency tree
 
Reported: 2004-01-17 12:53 UTC by Nico Baggus
Modified: 2007-09-22 23:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Baggus 2004-01-17 12:53:51 UTC
the ebuild since 7.4.1-r1 contains a --include-dir to an incompatible place  in  the configure. Many packages that depend on postgresql to have its include  in /usr/include/postgresql now file.
Packages like: phppgadmin, emacs, xemacs, freeradius, exim, courier, (i didn't check further)
Probably a automake/autoconfigure need to be updated to figure this change out.


Reproducible: Always
Steps to Reproduce:
1. emerge any of above packages ; when postgresql 7.4.1-r1 is installed.
2.
3.
Actual Results:  
All build fail to locate an include file in /usr/include/postgresql 
(the file can be found in /usr/include/postgresql/pgsql after 7.4.1) 

Expected Results:  
If such a change is needed probably a lot of updates to all kinds of configure 
scripts in different products is needed.
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2004-01-17 16:08:00 UTC
hmm, <=postgresql-7.4.1 installed same include file into /usr/include and /usr/include/postgresql/pgsql. But include files in /usr/include/ were sometimes conflict with other package include file. So, it was changed only into /usr/include/postgresql/pgsql in bug 34605.
I thought many pakcages refered /usr/include/postgresql/pgsql but /usr/include, so I agreed with that. But it's wrong. 
I fixed it as postgresql-7.3.5-r2/postgresql-7.4.1-r3 for now.

We need to fix bug 34605 again..
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-17 16:23:39 UTC
nakano: please tell me what change needs to be made for PHP and I will see to it.