Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgis: missing PROTOCC #17

Open
bitozoid opened this issue Feb 13, 2020 · 0 comments
Open

postgis: missing PROTOCC #17

bitozoid opened this issue Feb 13, 2020 · 0 comments

Comments

@bitozoid
Copy link

FOr =dev-db/postgis-3.0.0-r1, when protobuf flag is disabled, PROTOCC gets no value and compilation fails.

# grep -P "^PROTOCC" work/POSTGRESQL_SERVERS/12/postgis-3.0.0/postgis/Makefile.in
PROTOCC=@PROTOCC@

# grep -P "^PROTOCC" work/POSTGRESQL_SERVERS/12/postgis-3.0.0/postgis/Makefile
PROTOCC=

Error looks like this:

...
x86_64-pc-linux-gnu-cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=native -pipe -O2 -fPIC -I../liblwgeom -std=gnu99 -march=native -pipe -O2 -fno-math-errno -fno-signed-zeros -I../libpgcommon -I../deps/wagyu -I../deps/uthash/include  -I/usr/x86_64-pc-linux-gnu/include   -I/usr/x86_64-pc-linux-gnu/include/libxml2  -I/usr/x86_64-pc-linux-gnu/include/json-c  -march=native -pipe -O2  -fPIC -DPIC -I. -I./ -I/usr/x86_64-pc-linux-gnu/include/postgresql-12/server -I/usr/x86_64-pc-linux-gnu/include/postgresql-12/internal  -march=native -pipe -O2 -D_GNU_SOURCE   -c -o postgis_libprotobuf.o postgis_libprotobuf.c

Error:
  * In program cave --colour yes perform install --hooks --managed-output --output-exclusivity with-others =dev-db/postgis-3.0.0-r1:0::CleverCloud --destination installed --replacing =dev-db/postgis-3.0.0:0::installed --x-of-y 1 of 1:
  * When installing 'dev-db/postgis-3.0.0-r1:0::CleverCloud' replacing { 'dev-db/postgis-3.0.0:0::installed' }:
  * When running an ebuild command on 'dev-db/postgis-3.0.0-r1:0::CleverCloud':
  * Install failed for 'dev-db/postgis-3.0.0-r1:0::CleverCloud' (paludis::ActionFailedError)

c_out=. vector_tile.proto
x86_64-pc-linux-gnu-cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=native -pipe -O2 -fPIC -I../liblwgeom -std=gnu99 -march=native -pipe -O2 -fno-math-errno -fno-signed-zeros -I../libpgcommon -I../deps/wagyu -I../deps/uthash/include  -I/usr/x86_64-pc-linux-gnu/include   -I/usr/x86_64-pc-linux-gnu/include/libxml2  -I/usr/x86_64-pc-linux-gnu/include/json-c  -march=native -pipe -O2  -fPIC -DPIC -I. -I./ -I/usr/x86_64-pc-linux-gnu/include/postgresql-12/server -I/usr/x86_64-pc-linux-gnu/include/postgresql-12/internal  -march=native -pipe -O2 -D_GNU_SOURCE   -c -o vector_tile.pb-c.o vector_tile.pb-c.c
make[1]: Leaving directory '/var/tmp/paludis/build/dev-db-postgis-3.0.0-r1/work/POSTGRESQL_SERVERS/12/postgis-3.0.0/postgis'
/bin/sh: vector_tile.proto: command not found
make[1]: [Makefile:218: vector_tile.pb-c.c] Error 127 (ignored)
x86_64-pc-linux-gnu-gcc: error: vector_tile.pb-c.c: No such file or directory
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
make[1]: *** [<builtin>: vector_tile.pb-c.o] Error 1
make: *** [GNUmakefile:20: all] Error 1

!!! ERROR in dev-db/postgis-3.0.0-r1::CleverCloud:
!!! In /usr/x86_64-pc-linux-gnu/libexec/paludis/utils/exheres-0/emake at line 30
!!! emake returned error 2

!!! Call stack:
!!!    * paludis_die_or_error_func (/usr/x86_64-pc-linux-gnu/libexec/paludis/die_functions.bash:82)
!!!    * main (/usr/x86_64-pc-linux-gnu/libexec/paludis/utils/exheres-0/emake:30)

diefunc: making ebuild PID 4146516 exit with error
die trap: exiting with error.

Failed install to / for dev-db/postgis-3.0.0-r1:0::CleverCloud replacing 3.0.0:0::installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant