Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112183 - dev-db/postgis-1.0.1_p20050805 install error
Summary: dev-db/postgis-1.0.1_p20050805 install error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-11 08:12 UTC by Matteo Spreafico
Modified: 2006-11-11 15:55 UTC (History)
1 user (show)

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


Attachments
Patch for postgis-1.0.1_p20050805.ebuild (postgis.patch,504 bytes, patch)
2005-11-14 11:36 UTC, Matteo Spreafico
Details | Diff
postgis-ebuild.patch (postgis-ebuild.patch,783 bytes, patch)
2005-12-09 03:34 UTC, FENOY Gérald (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Spreafico 2005-11-11 08:12:04 UTC
>>> emerge (1 of 1) dev-db/postgis-1.0.1_p20050805 to /
>>> md5 files   ;-) postgis-0.7.5-r2.ebuild
>>> md5 files   ;-) postgis-1.0.0_p20050512.ebuild
>>> md5 files   ;-) postgis-1.0.1_p20050805.ebuild
>>> md5 files   ;-) files/digest-postgis-0.7.5-r2
>>> md5 files   ;-) files/digest-postgis-1.0.1_p20050805
>>> md5 files   ;-) files/digest-postgis-1.0.0_p20050512
>>> md5 src_uri ;-) postgis-cvs-1.0.1_p20050805.tar.gz
>>> Unpacking source...
>>> Unpacking postgis-cvs-1.0.1_p20050805.tar.gz to
/var/tmp/portage/postgis-1.0.1_p20050805/work
>>> Source unpacked.
 * doc will not be build
 * econf: updating postgis-cvs/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating postgis-cvs/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --enable-autoconf --with-maxbackends=1024
--with-geos=/usr/bin/geos-config --with-proj=/usr
--mandir=/var/tmp/portage/postgis-1.0.1_p20050805/image//usr/share/man
--libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking whether ln -s works... yes
checking for iconv_open in -lc... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for pg_config... /usr/bin/pg_config
checking which template to use... linux
checking for geos-config... /usr/bin/geos-config
checking for proj... /usr/bin/proj
checking for flex... /usr/bin/flex
checking for yacc... /usr/bin/yacc
checking for install... /bin/install
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating config.h

 SUMMARY
 -------------------------------------------------------

 HOST_OS: linux-gnu

   PGSQL: /usr/bin/pg_config
    GEOS: /usr/bin/geos-config
    PROJ: dir=/usr
   ICONV: 1

 PORTNAME: linux
   PREFIX: /usr
  EPREFIX: ${prefix}
      DOC: ${prefix}/share/doc/postgis
     DATA: /usr/share/postgis
      MAN: /var/tmp/portage/postgis-1.0.1_p20050805/image//usr/share/man
      BIN: ${exec_prefix}/bin
      EXT: ${exec_prefix}/libexec (${exec_prefix}/libexec)
 -------------------------------------------------------

make -C lwgeom
make -C loader
make -C utils
make[1]: Entering directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/utils'
chmod +x postgis_restore.pl create_undef.pl postgis_proc_upgrade.pl
profile_intersects.pl test_estimation.pl test_joinestimation.pl
make[1]: Leaving directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/utils'
make[1]: Entering directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/loader'
x86_64-pc-linux-gnu-gcc -g -Wall -I.. -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_ICONV -DUSE_VERSION=81   -c -o shpopen.o shpopen.c
make[1]: Entering directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/lwgeom'
sh ../geos_version.sh /usr > postgis_geos_version.h
x86_64-pc-linux-gnu-gcc -g -Wall -I.. -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_ICONV -DUSE_VERSION=81   -c -o dbfopen.o dbfopen.c
shpopen.c:176: warning: 'rcsid' defined but not used
x86_64-pc-linux-gnu-gcc -g -Wall -I.. -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_ICONV -DUSE_VERSION=81   -c -o getopt.o getopt.c
dbfopen.c:200: warning: 'rcsid' defined but not used
cpp -P -traditional-cpp -DUSE_VERSION=81 lwpostgis.sql.in | sed -e
's:@MODULE_FILENAME@:/usr/libexec/liblwgeom.so.1.1:g;s:@POSTGIS_VERSION@:1.1
USE_GEOS=1 USE_PROJ=1
USE_STATS=1:g;s:@POSTGIS_SCRIPTS_VERSION@:0.3.1:g;s/@POSTGIS_BUILD_DATE@/2005-11-11
16:09:42/g' | grep -v '^#' > lwpostgis.sql
x86_64-pc-linux-gnu-gcc -g -Wall -I.. -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_ICONV -DUSE_VERSION=81   -c -o shp2pgsql.o shp2pgsql.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o measures.o measures.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o box2d.o box2d.c
x86_64-pc-linux-gnu-gcc -g -Wall -I.. -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_ICONV -DUSE_VERSION=81 -I/usr/include -c pgsql2shp.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o ptarray.o ptarray.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_api.o lwgeom_api.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom.o lwgeom.c
x86_64-pc-linux-gnu-gcc -g -Wall -I.. -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_ICONV -DUSE_VERSION=81   -c -o PQunescapeBytea.o PQunescapeBytea.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwpoint.o lwpoint.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwline.o lwline.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwpoly.o lwpoly.c
x86_64-pc-linux-gnu-gcc -g -Wall -I.. -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_ICONV -DUSE_VERSION=81 shpopen.o dbfopen.o getopt.o shp2pgsql.o -Wl,-O1 -o
shp2pgsql
x86_64-pc-linux-gnu-gcc -g -Wall -I.. -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_ICONV -DUSE_VERSION=81 shpopen.o dbfopen.o getopt.o PQunescapeBytea.o
pgsql2shp.o -Wl,-O1 -L/usr/lib64 -lpq -o pgsql2shp
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwmpoint.o lwmpoint.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwmline.o lwmline.c
make[1]: Leaving directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/loader'
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwmpoly.o lwmpoly.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwcollection.o
lwcollection.c
x86_64-pc-linux-gnu-g++ -march=athlon64 -O3 -ftracer -pipe -msse3 -I/usr/include
 -g -O2 -fPIC -fexceptions -DUSE_GEOS   -c -o lwgeom_geos_wrapper.o
lwgeom_geos_wrapper.cpp
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o wktunparse.o wktunparse.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgparse.o lwgparse.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o wktparse.tab.o
wktparse.tab.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lex.yy.o lex.yy.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o vsprintf.o vsprintf.c
In file included from vsprintf.c:135:
vsprintf.c: In function `vasprintf':
vsprintf.c:44: warning: passing arg 3 of `int_vasprintf' from incompatible
pointer type
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o liblwgeom.o liblwgeom.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_pg.o lwgeom_pg.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_debug.o
lwgeom_debug.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_spheroid.o
lwgeom_spheroid.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_ogc.o lwgeom_ogc.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o
lwgeom_functions_analytic.o lwgeom_functions_analytic.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_geos.o
lwgeom_geos.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_inout.o
lwgeom_inout.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_estimate.o
lwgeom_estimate.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o
lwgeom_functions_basic.o lwgeom_functions_basic.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_gist.o
lwgeom_gist.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_btree.o
lwgeom_btree.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_transform.o
lwgeom_transform.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o stringBuffer.o
stringBuffer.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_box.o lwgeom_box.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_box3d.o
lwgeom_box3d.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_box2dfloat4.o
lwgeom_box2dfloat4.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_chip.o
lwgeom_chip.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_svg.o lwgeom_svg.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_gml.o lwgeom_gml.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_triggers.o
lwgeom_triggers.c
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o lwgeom_dump.o
lwgeom_dump.c
cp lwpostgis.sql ..
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3
-DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.0CVS"'
-DPOSTGIS_SCRIPTS_VERSION='"0.3.1"' -DPOSTGIS_BUILD_DATE='"2005-11-11 16:09:42"'
-I/usr/include -DUSE_PROJ  -I/usr/include/postgresql/server -DAUTOCACHE_BBOX=1 
-DUSE_STATS -g -O2 -fPIC -fexceptions -DUSE_GEOS  -shared
-Wl,-soname,liblwgeom.so.1  measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o
lwpoint.o lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o
lwgeom_geos_wrapper.o  wktunparse.o lwgparse.o wktparse.tab.o lex.yy.o
vsprintf.o liblwgeom.o lwgeom_pg.o lwgeom_debug.o lwgeom_spheroid.o lwgeom_ogc.o
lwgeom_functions_analytic.o lwgeom_geos.o lwgeom_inout.o lwgeom_estimate.o
lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o
stringBuffer.o lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o
lwgeom_svg.o lwgeom_gml.o lwgeom_triggers.o lwgeom_dump.o  -shared  -lstdc++
-L/usr/lib -lgeos -L/usr/lib -lproj -o liblwgeom.so.1.1
rm -f liblwgeom.so.1
ln -s liblwgeom.so.1.1 liblwgeom.so.1
rm -f liblwgeom.so
ln -s liblwgeom.so.1.1 liblwgeom.so
make[1]: Leaving directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/lwgeom'
>>> Test phase [not enabled]: dev-db/postgis-1.0.1_p20050805

>>> Install postgis-1.0.1_p20050805 into
/var/tmp/portage/postgis-1.0.1_p20050805/image/ category dev-db
make -C lwgeom
make[1]: Entering directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/lwgeom'
sh ../geos_version.sh /usr > postgis_geos_version.h
make[1]: Leaving directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/lwgeom'
make -C loader
make[1]: Entering directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/loader'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/loader'
make -C utils
make[1]: Entering directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/utils'
chmod +x postgis_restore.pl create_undef.pl postgis_proc_upgrade.pl
profile_intersects.pl test_estimation.pl test_joinestimation.pl
make[1]: Leaving directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/utils'
make -C lwgeom install
make[1]: Entering directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/lwgeom'
sh ../geos_version.sh /usr > postgis_geos_version.h
/bin/install -c -m 755 liblwgeom.so.1.1
/var/tmp/portage/postgis-1.0.1_p20050805/image/usr/lib64/liblwgeom.so.1.1
/bin/install: cannot create regular file
`/var/tmp/portage/postgis-1.0.1_p20050805/image/usr/lib64/liblwgeom.so.1.1': No
such file or directory
make[1]: *** [install-lib-shared] Error 1
make[1]: Leaving directory
`/var/tmp/portage/postgis-1.0.1_p20050805/work/postgis-cvs/lwgeom'
make: *** [liblwgeom-install] Error 2

!!! ERROR: dev-db/postgis-1.0.1_p20050805 failed.
!!! Function einstall, Line 534, Exitcode 2
!!! einstall failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge -av postgis



Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r1-Teo x86_64)
=================================================================
System uname: 2.6.14-gentoo-r1-Teo x86_64 AMD Athlon(tm) 64 X2 Dual Core
Processor 3800+
Gentoo Base System version 1.12.0_pre10
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ftracer -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ftracer -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acl acpi alsa arts audiofile avi bash-completion berkdb
bitmap-fonts bzip2 caps cdparanoia cdr crypt cups curl dts dvd dvdr dvdread eds
emboss encode exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gnome
gnutls gpm gstreamer gtk gtk2 gtkhtml hal idn ieee1394 imagemagick imlib ipv6
java javascript jpeg kde kdeenablefinal lcms libcaca lm_sensors lzw lzw-tiff mad
mailwrapper matroska mng motif mp3 mpeg mysql ncurses nls nptl nsplugin
offensive ogg opengl pam pcre pdflib perl png postgres python qt quicktime
readline recode samba sasl sdl slang sndfile socks5 speex spell ssl svg tcpd
theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd
vorbis wmf xine xml xml2 xmms xpm xprint xv xvid zlib linguas_it userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, PORTDIR_OVERLAY
Comment 1 Matteo Spreafico 2005-11-14 11:36:41 UTC
Created attachment 72888 [details, diff]
Patch for postgis-1.0.1_p20050805.ebuild

This can fix the problem
Comment 2 FENOY Gérald (RETIRED) gentoo-dev 2005-12-09 03:34:23 UTC
Created attachment 74372 [details, diff]
postgis-ebuild.patch

Hi, it should be better to use directy the get_libdir function defined in the
multilib eclass. Indeed the last patch posted could be applied only in one
case, when you use an amd64 arch.
Comment 3 Matteo Spreafico 2006-05-27 03:39:31 UTC
postgis 1.1.2 ebuild works for me on amd64.
Is it possible to mark it ~amd64 and close this bug?
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2006-11-11 15:55:40 UTC
Done long time ago. Closing this now.