Created attachment 272639 [details] Output log for postgresql-server-9.0.4 "/usr/bin/perl" ./text2macro.pl --strip='^(\#.*|\s*)$' plc_perlboot.pl plc_trusted.pl > perlchunks.h "/usr/bin/perl" plperl_opmask.pl plperl_opmask.h x86_64-pc-linux-gnu-gcc -march=native -mtune=native -O2 -pipe --param l2-cache-size=3040 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msahf -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../src/include -fpic -I. -I. -I../../../src/include -march=native -mtune=native -O2 -pipe --param l2-cache-size=3040 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msahf -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/postgresql-9.0/ -I/usr/lib64/perl5/5.14.0/x86_64-linux-thread-multi/CORE -c -o plperl.o plperl.c -MMD -MP -MF .deps/plperl.Po plperl.c: In function 'plperl_trusted_init': plperl.c:877:3: error: lvalue required as left operand of assignment Miscellaneous --info/perl -V data available here: https://gist.github.com/7d6756b1656ac2203c50
Upstream has a very nice fix for this. http://archives.postgresql.org/pgsql-hackers/2011-04/msg01283.php
Created attachment 272831 [details, diff] 9.0.4 perl 5.14.0 patch. I've mangled the upstream patch into one vs our current 9.0.4 build and it permits compilation w/ 5.14.0 http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=blob;f=dev-db/postgresql-server/files/9.0.4/0001-GvCV_set-patch-from-http-archives.postgresql.org-pgs.patch;hb=perl514 For the lazy, there is also a -r1 ebuild on the perl514 branch of the perl-experimental overlay which builds for me. http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=blob;f=dev-db/postgresql-server/postgresql-server-9.0.4-r1.ebuild;hb=perl514
*** Bug 376655 has been marked as a duplicate of this bug. ***
Any reason to not merge it to ~arch?
Fixed with today's security bump(bug 384539).