1 |
I've looked around a bit and various sources, and some |
2 |
experimentation, seem to say that the new |
3 |
postgresql-{base,server}-8.3.5 ebuilds for 8.3.5 don't play well with |
4 |
some packages, particularly, php-5.2.8-r1 seems to be unable to run or |
5 |
build against it when called with postgres flag. |
6 |
|
7 |
I'm considering manually rolling out postgresql (I've already |
8 |
downloaded source) if at the very least just to check which files it |
9 |
can't find. |
10 |
|
11 |
=== trying to run php-cli |
12 |
madumlao@trixie /usr/portage/sys-kernel $ php |
13 |
php: error while loading shared libraries: libpq.so.4: cannot open |
14 |
shared object file: No such file or directory |
15 |
=== /trying to run php-cli |
16 |
|
17 |
Now libpq is part of the old postgres packages and they seemed to work |
18 |
out just fine, so I wondered, maybe I should just make overlay ebuilds |
19 |
using the postgresql/libpq form, then just version bump them to 8.3.5? |
20 |
That's probably going to take me a while though to compile though, so |
21 |
I wonder if anyone has done this? |
22 |
|
23 |
=== emerging php |
24 |
madumlao@trixie /usr/portage/sys-kernel $ tail -n 40 |
25 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/temp/build.log |
26 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: |
27 |
In function '_php_pgsql_notice_handler': |
28 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:362: |
29 |
warning: passing argument 2 of '_php_pgsql_trim_message' from |
30 |
incompatible pointer type |
31 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:366: |
32 |
warning: cast from pointer to integer of different size |
33 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: |
34 |
In function 'php_pgsql_do_connect': |
35 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:747: |
36 |
error: 'PG_VERSION' undeclared (first use in this function) |
37 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:747: |
38 |
error: (Each undeclared identifier is reported only once |
39 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:747: |
40 |
error: for each function it appears in.) |
41 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:770: |
42 |
warning: cast from pointer to integer of different size |
43 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: |
44 |
In function 'php_pgsql_get_link_info': |
45 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:958: |
46 |
error: 'PG_VERSION' undeclared (first use in this function) |
47 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: |
48 |
In function 'php_pgsql_get_field_info': |
49 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:1863: |
50 |
warning: comparison is always false due to limited range of data type |
51 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: |
52 |
In function 'zif_pg_lo_create': |
53 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2559: |
54 |
error: 'INV_READ' undeclared (first use in this function) |
55 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2559: |
56 |
error: 'INV_WRITE' undeclared (first use in this function) |
57 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2563: |
58 |
warning: comparison is always false due to limited range of data type |
59 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: |
60 |
In function 'zif_pg_lo_open': |
61 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2707: |
62 |
error: 'INV_READ' undeclared (first use in this function) |
63 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2709: |
64 |
error: 'INV_WRITE' undeclared (first use in this function) |
65 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: |
66 |
In function 'zif_pg_lo_import': |
67 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2947: |
68 |
warning: comparison is always false due to limited range of data type |
69 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: |
70 |
In function 'php_pgsql_result2array': |
71 |
/var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:5791: |
72 |
warning: passing argument 3 of 'php_addslashes' from incompatible |
73 |
pointer type |
74 |
make: *** [ext/pgsql/pgsql.lo] Error 1 |
75 |
* |
76 |
* ERROR: dev-lang/php-5.2.8-r1 failed. |
77 |
* Call stack: |
78 |
* ebuild.sh, line 49: Called src_compile |
79 |
* environment, line 4483: Called src_compile_normal |
80 |
* environment, line 4602: Called php5_2-sapi_src_compile |
81 |
* environment, line 3516: Called die |
82 |
* The specific snippet of code: |
83 |
* emake || die "make failed" |
84 |
* The die message: |
85 |
* make failed |
86 |
* |
87 |
* If you need support, post the topmost build error, and the call |
88 |
stack if relevant. |
89 |
* A complete build log is located at |
90 |
'/var/tmp/portage/dev-lang/php-5.2.8-r1/temp/build.log'. |
91 |
* The ebuild environment file is located at |
92 |
'/var/tmp/portage/dev-lang/php-5.2.8-r1/temp/environment'. |
93 |
* |
94 |
=== /emerging php |
95 |
|
96 |
Or maybe it's the php ebuild that needs some help. I've recently had |
97 |
some trouble getting it to compile against >readline-5. |