pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #668: make keeps outputting the same command repeatedly
4+ messages / 2 participants
[nested] [flat]

* [pgvector/pgvector] issue #668: make keeps outputting the same command repeatedly
@ 2024-09-09 22:47  "jacksonwalters (@jacksonwalters)" <noreply+jacksonwalters@github.com>
  0 siblings, 0 replies; 4+ messages in thread

From: jacksonwalters (@jacksonwalters) @ 2024-09-09 22:47 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

I am on Ubuntu 22.04 LTS with PostgreSQL 14.13. I have resolved the header error by installing:

`sudo apt install postgresql-server-dev-14`

When I run `make`, the command is output:

`jackson@personal:/tmp/pgvector$ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -march=native -ftree-vectorize -fassociative-math -fno-signed-zeros -fno-trapping-math -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/sparsevec.o src/sparsevec.c`

indefinitely. It pauses for awhile, probably the time it takes to compile, and then outputs the command again, but never terminates. I just ran the `gcc` command independently, and it seemed to complete. Then I was able to `sudo make install` which output:

```
jackson@personal:/tmp/pgvector$ sudo make install
/bin/mkdir -p '/usr/lib/postgresql/14/lib'
/bin/mkdir -p '/usr/share/postgresql/14/extension'
/bin/mkdir -p '/usr/share/postgresql/14/extension'
/usr/bin/install -c -m 755  vector.so '/usr/lib/postgresql/14/lib/vector.so'
/usr/bin/install -c -m 644 .//vector.control '/usr/share/postgresql/14/extension/'
/usr/bin/install -c -m 644 .//sql/vector--0.1.0--0.1.1.sql .//sql/vector--0.1.1--0.1.3.sql .//sql/vector--0.1.3--0.1.4.sql .//sql/vector--0.1.4--0.1.5.sql .//sql/vector--0.1.5--0.1.6.sql .//sql/vector--0.1.6--0.1.7.sql .//sql/vector--0.1.7--0.1.8.sql .//sql/vector--0.1.8--0.2.0.sql .//sql/vector--0.2.0--0.2.1.sql .//sql/vector--0.2.1--0.2.2.sql .//sql/vector--0.2.2--0.2.3.sql .//sql/vector--0.2.3--0.2.4.sql .//sql/vector--0.2.4--0.2.5.sql .//sql/vector--0.2.5--0.2.6.sql .//sql/vector--0.2.6--0.2.7.sql .//sql/vector--0.2.7--0.3.0.sql .//sql/vector--0.3.0--0.3.1.sql .//sql/vector--0.3.1--0.3.2.sql .//sql/vector--0.3.2--0.4.0.sql .//sql/vector--0.4.0--0.4.1.sql .//sql/vector--0.4.1--0.4.2.sql .//sql/vector--0.4.2--0.4.3.sql .//sql/vector--0.4.3--0.4.4.sql .//sql/vector--0.4.4--0.5.0.sql .//sql/vector--0.5.0--0.5.1.sql .//sql/vector--0.5.1--0.6.0.sql .//sql/vector--0.6.0--0.6.1.sql .//sql/vector--0.6.1--0.6.2.sql .//sql/vector--0.6.2--0.7.0.sql .//sql/vector--0.7.0--0.7.1.sql .//sql/vector--0.7.1--0.7.2.sql .//sql/vector--0.7.2--0.7.3.sql .//sql/vector--0.7.3--0.7.4.sql sql/vector--0.7.4.sql '/usr/share/postgresql/14/extension/'
/bin/mkdir -p '/usr/include/postgresql/14/server/extension/vector/'
/usr/bin/install -c -m 644   .//src/halfvec.h .//src/sparsevec.h .//src/vector.h '/usr/include/postgresql/14/server/extension/vector/'
/bin/mkdir -p '/usr/lib/postgresql/14/lib/bitcode/vector'
/bin/mkdir -p '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/bitutils.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/bitvec.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/halfutils.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/halfvec.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/hnsw.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/hnswbuild.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/hnswinsert.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/hnswscan.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/hnswutils.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/hnswvacuum.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/ivfbuild.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/ivfflat.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/ivfinsert.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/ivfkmeans.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/ivfscan.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/ivfutils.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/ivfvacuum.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/sparsevec.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
/usr/bin/install -c -m 644 src/vector.bc '/usr/lib/postgresql/14/lib/bitcode'/vector/src/
cd '/usr/lib/postgresql/14/lib/bitcode' && /usr/lib/llvm-14/bin/llvm-lto -thinlto -thinlto-action=thinlink -o vector.index.bc vector/src/bitutils.bc vector/src/bitvec.bc vector/src/halfutils.bc vector/src/halfvec.bc vector/src/hnsw.bc vector/src/hnswbuild.bc vector/src/hnswinsert.bc vector/src/hnswscan.bc vector/src/hnswutils.bc vector/src/hnswvacuum.bc vector/src/ivfbuild.bc vector/src/ivfflat.bc vector/src/ivfinsert.bc vector/src/ivfkmeans.bc vector/src/ivfscan.bc vector/src/ivfutils.bc vector/src/ivfvacuum.bc vector/src/sparsevec.bc vector/src/vector.bc
```

^ permalink  raw  [nested|flat] 4+ messages in thread

* Re: [pgvector/pgvector] issue #668: make keeps outputting the same command repeatedly
@ 2024-09-09 23:23  "ankane (@ankane)" <noreply+ankane@github.com>
  2 siblings, 0 replies; 4+ messages in thread

From: ankane (@ankane) @ 2024-09-09 23:23 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @jacksonwalters, I'm not sure how to reproduce, but it doesn't seem like an issue with pgvector. Also, for Postgres 14, you'll want to use `postgresql-server-dev-14`.

^ permalink  raw  [nested|flat] 4+ messages in thread

* Re: [pgvector/pgvector] issue #668: make keeps outputting the same command repeatedly
@ 2024-09-09 23:23  "ankane (@ankane)" <noreply+ankane@github.com>
  2 siblings, 0 replies; 4+ messages in thread

From: ankane (@ankane) @ 2024-09-09 23:23 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

@ankane closed this.

^ permalink  raw  [nested|flat] 4+ messages in thread

* Re: [pgvector/pgvector] issue #668: make keeps outputting the same command repeatedly
@ 2024-09-09 23:26  "jacksonwalters (@jacksonwalters)" <noreply+jacksonwalters@github.com>
  2 siblings, 0 replies; 4+ messages in thread

From: jacksonwalters (@jacksonwalters) @ 2024-09-09 23:26 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @ankane, yes it always funky, could be something else on my specific system. I just enabled the extension and added a few test vectors to a DB, so it’s working. Thanks!

^ permalink  raw  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2024-09-09 23:26 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-09-09 22:47 [pgvector/pgvector] issue #668: make keeps outputting the same command repeatedly "jacksonwalters (@jacksonwalters)" <noreply+jacksonwalters@github.com>
2024-09-09 23:23 ` "ankane (@ankane)" <noreply+ankane@github.com>
2024-09-09 23:23 ` "ankane (@ankane)" <noreply+ankane@github.com>
2024-09-09 23:26 ` "jacksonwalters (@jacksonwalters)" <noreply+jacksonwalters@github.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox