View previous topic :: View next topic |
Author |
Message |
NuLL3rr0r Tux's lil' helper
Joined: 13 Jul 2009 Posts: 96 Location: The Netherlands
|
Posted: Mon Oct 02, 2023 4:39 am Post subject: error: unknown argument: '-no-opaque-pointers' |
|
|
I'm trying to build dev-db/pg_repack from either the guru or nest overlays, but I get the following error from both.
Code: |
emerge -1atv 'pg_repack'
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
Dependency resolution took 3.18 s.
[ebuild U ] dev-db/pg_repack-9999::NuLL3rr0r [1.4.7::NuLL3rr0r] POSTGRES_TARGETS="postgres14 -postgres11 -postgres12 -postgres13 -postgres15% (-postgres10%)" 0 KiB
Total: 1 package (1 upgrade), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-db/pg_repack-9999::NuLL3rr0r
>>> Failed to emerge dev-db/pg_repack-9999, Log file:
>>> '/var/tmp/portage/dev-db/pg_repack-9999/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.15, 0.14, 0.32
* Package: dev-db/pg_repack-9999:0
* Repository: NuLL3rr0r
* Maintainer: info@babaei.net
* Upstream: https://github.com/reorg/pg_repack/issues
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux postgres_targets_postgres14
* FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox
* Multibuild variants: 14
>>> Unpacking source...
* Repository id: reorg_pg_repack.git
* To override fetched repository properties, use:
* EGIT_OVERRIDE_REPO_REORG_PG_REPACK
* EGIT_OVERRIDE_BRANCH_REORG_PG_REPACK
* EGIT_OVERRIDE_COMMIT_REORG_PG_REPACK
* EGIT_OVERRIDE_COMMIT_DATE_REORG_PG_REPACK
*
* Fetching https://github.com/reorg/pg_repack.git ...
git fetch https://github.com/reorg/pg_repack.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/dev-db/pg_repack/0/__main__ refs/git-r3/HEAD
* Checking out https://github.com/reorg/pg_repack.git to /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
repository: https://github.com/reorg/pg_repack.git
at the commit: 6263dd5e7fcb2890c68b4237591628c4ad08259d
>>> Source unpacked in /var/tmp/portage/dev-db/pg_repack-9999/work
>>> Preparing source in /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999 ...
* Will copy sources from /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999
* 14: copying to /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999 ...
* 14: running run_in_build_dir emake
make -j17 -l16
make[1]: Entering directory '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14/bin'
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pg_repack.o pg_repack.c
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgut/pgut.o pgut/pgut.c
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgut/pgut-fe.o pgut/pgut-fe.c
/usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o pg_repack.bc pg_repack.c
/usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o pgut/pgut.bc pgut/pgut.c
/usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o pgut/pgut-fe.bc pgut/pgut-fe.c
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe pg_repack.o pgut/pgut.o pgut/pgut-fe.o -L/usr/lib64/postgresql-14/lib64 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -L/usr/lib/llvm/15/lib64 -Wl,--as-needed -Wl,-rpath,'/usr/lib64/postgresql-14/lib64',--enable-new-dtags -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -L/usr/lib64/postgresql-14/lib64 -lpq -L/usr/lib64/postgresql-14/lib64 -lpgcommon -lpgport -lssl -lcrypto -lz -lreadline -lm -o pg_repack
error: error: unknown argument: '-no-opaque-pointers'
unknown argument: '-no-opaque-pointers'
error: unknown argument: '-no-opaque-pointers'
make[1]: *** [/usr/lib64/postgresql-14/lib64/pgxs/src/makefiles/../../src/Makefile.global:1071: pgut/pgut.bc] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/lib64/postgresql-14/lib64/pgxs/src/makefiles/../../src/Makefile.global:1071: pgut/pgut-fe.bc] Error 1
make[1]: *** [/usr/lib64/postgresql-14/lib64/pgxs/src/makefiles/../../src/Makefile.global:1071: pg_repack.bc] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14/bin'
make: *** [Makefile:35: all] Error 2
* ERROR: dev-db/pg_repack-9999::NuLL3rr0r failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-db/pg_repack-9999::NuLL3rr0r'`,
* the complete build log and the output of `emerge -pqv '=dev-db/pg_repack-9999::NuLL3rr0r'`.
* The complete build log is located at '/var/tmp/portage/dev-db/pg_repack-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/pg_repack-9999/temp/environment'.
* Working directory: '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14'
* S: '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999'
* Messages for package dev-db/pg_repack-9999:
* ERROR: dev-db/pg_repack-9999::NuLL3rr0r failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-db/pg_repack-9999::NuLL3rr0r'`,
* the complete build log and the output of `emerge -pqv '=dev-db/pg_repack-9999::NuLL3rr0r'`.
* The complete build log is located at '/var/tmp/portage/dev-db/pg_repack-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/pg_repack-9999/temp/environment'.
* Working directory: '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14'
* S: '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999'
*
* The following package has failed to build, install, or execute postinst:
*
* (dev-db/pg_repack-9999:0/0::NuLL3rr0r, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/dev-db/pg_repack-9999/temp/build.log'
*
|
I usually copy builds to my own local overlay on my PC and they work fine. The pg_repack was building fine till a few months ago. The annoying thing is I don't understand where that -no-opaque-pointers sneaks in. It's not in either of those ebuilds, and also I don't have anything in my C/CXX/LD flags, etc. When I grep the source code for pg_repack nothing shows up there either.
Whenever I just issue a make command directly on the source, although it still adds that -no-opaque-pointers it builds fine:
Code: |
make[1]: Entering directory '/home/mamadou/dev/pg_repack/bin'
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pg_repack.o pg_repack.c
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgut/pgut.o pgut/pgut.c
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgut/pgut-fe.o pgut/pgut-fe.c
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe pg_repack.o pgut/pgut.o pgut/pgut-fe.o -L/usr/lib64/postgresql-14/lib64 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -L/usr/lib/llvm/15/lib64 -Wl,--as-needed -Wl,-rpath,'/usr/lib64/postgresql-14/lib64',--enable-new-dtags -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -L/usr/lib64/postgresql-14/lib64 -lpq -L/usr/lib64/postgresql-14/lib64 -lpgcommon -lpgport -lssl -lcrypto -lz -lreadline -lm -o pg_repack
/usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o pg_repack.bc pg_repack.c
/usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o pgut/pgut.bc pgut/pgut.c
/usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o pgut/pgut-fe.bc pgut/pgut-fe.c
make[1]: Leaving directory '/home/mamadou/dev/pg_repack/bin'
make[1]: Entering directory '/home/mamadou/dev/pg_repack/lib'
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -fPIC -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repack.o repack.c
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -fPIC -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgut/pgut-spi.o pgut/pgut-spi.c
( echo '{ global:'; gawk '/^[^#]/ {printf "%s;\n",$1}' exports.txt; echo ' local: *; };' ) >exports.list
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -fPIC -shared -Wl,--version-script=exports.list -o pg_repack.so repack.o pgut/pgut-spi.o -L/usr/lib64/postgresql-14/lib64 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -L/usr/lib/llvm/15/lib64 -Wl,--as-needed -Wl,-rpath,'/usr/lib64/postgresql-14/lib64',--enable-new-dtags -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
sed 's,REPACK_VERSION,1.4.8,g' pg_repack.sql.in \
| sed 's,relhasoids,false,g'> pg_repack--1.4.8.sql;
sed 's,REPACK_VERSION,1.4.8,g' pg_repack.control.in > pg_repack.control
/usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o repack.bc repack.c
/usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o pgut/pgut-spi.bc pgut/pgut-spi.c
make[1]: Leaving directory '/home/mamadou/dev/pg_repack/lib'
make[1]: Entering directory '/home/mamadou/dev/pg_repack/regress'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/mamadou/dev/pg_repack/regress'
|
I've read the documentation for LLVM/Clang and it seems this LLVM/Clang 15.0+ and I see from the above logs it's the chosen LLVM. I've checked and I have installed LLVM/Clang 14, 15, 16, 17 by portage on my system. So, there might be a possibility of something getting mixed up. Disabling ccache also won't help.
So, I'd appreciate it if someone could help me understand this. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30972 Location: here
|
Posted: Mon Oct 02, 2023 5:07 am Post subject: |
|
|
Moved from Portage & Programming to Unsupported Software. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1554 Location: South America
|
Posted: Mon Oct 02, 2023 12:38 pm Post subject: Re: error: unknown argument: '-no-opaque-pointers' |
|
|
NuLL3rr0r wrote: | Disabling ccache also won't help. |
Are you sure? The invocations of /usr/lib/ccache/bin/clang are the ones that are failing, although I can't explain why they don't when you build pg_repack manually (I've never used ccache). Don't they dissappear from the build log if you disable ccache? _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54340 Location: 56N 3W
|
Posted: Mon Oct 02, 2023 12:46 pm Post subject: |
|
|
NuLL3rr0r,
Code: | /usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument ... |
-no-opaque-pointers on its own looks odd. These things are normally introduced with -f or -W ...
Where does -no-opaque-pointers come from? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NuLL3rr0r Tux's lil' helper
Joined: 13 Jul 2009 Posts: 96 Location: The Netherlands
|
Posted: Thu Oct 05, 2023 4:24 pm Post subject: Re: error: unknown argument: '-no-opaque-pointers' |
|
|
GDH-gentoo wrote: | NuLL3rr0r wrote: | Disabling ccache also won't help. |
Are you sure? The invocations of /usr/lib/ccache/bin/clang are the ones that are failing, although I can't explain why they don't when you build pg_repack manually (I've never used ccache). Don't they dissappear from the build log if you disable ccache? |
Well, you've pointed out something interesting, here is the build with -ccache in the FEATURES, and interestingly:
Code: |
emerge pg_repack
Calculating dependencies... done!
Dependency resolution took 3.16 s.
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-db/pg_repack-9999::NuLL3rr0r
>>> Failed to emerge dev-db/pg_repack-9999, Log file:
>>> '/var/tmp/portage/dev-db/pg_repack-9999/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.25, 0.30, 0.59
* Package: dev-db/pg_repack-9999:0
* Repository: NuLL3rr0r
* Maintainer: info@babaei.net
* Upstream: https://github.com/reorg/pg_repack/issues
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux postgres_targets_postgres14
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Multibuild variants: 14
>>> Unpacking source...
* Repository id: reorg_pg_repack.git
* To override fetched repository properties, use:
* EGIT_OVERRIDE_REPO_REORG_PG_REPACK
* EGIT_OVERRIDE_BRANCH_REORG_PG_REPACK
* EGIT_OVERRIDE_COMMIT_REORG_PG_REPACK
* EGIT_OVERRIDE_COMMIT_DATE_REORG_PG_REPACK
*
* Fetching https://github.com/reorg/pg_repack.git ...
git fetch https://github.com/reorg/pg_repack.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/dev-db/pg_repack/0/__main__ refs/git-r3/HEAD
* Checking out https://github.com/reorg/pg_repack.git to /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
repository: https://github.com/reorg/pg_repack.git
at the commit: 6263dd5e7fcb2890c68b4237591628c4ad08259d
>>> Source unpacked in /var/tmp/portage/dev-db/pg_repack-9999/work
>>> Preparing source in /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999 ...
* Will copy sources from /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999
* 14: copying to /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999 ...
* 14: running run_in_build_dir emake
make -j17 -l16
make[1]: Entering directory '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14/bin'
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pg_repack.o pg_repack.c
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgut/pgut.o pgut/pgut.c
x86_64-pc-linux-gnu-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 -march=native -O2 -pipe -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgut/pgut-fe.o pgut/pgut-fe.c
/usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o pg_repack.bc pg_repack.c
/usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o pgut/pgut.bc pgut/pgut.c
/usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -O2 -I/usr/include/postgresql-14 -DREPACK_VERSION=1.4.8 -I. -I./ -I/usr/include/postgresql-14/server -I/usr/include/postgresql-14/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o pgut/pgut-fe.bc pgut/pgut-fe.c
error: error: error: unknown argument: '-no-opaque-pointers'unknown argument: '-no-opaque-pointers'
unknown argument: '-no-opaque-pointers'
make[1]: *** [/usr/lib64/postgresql-14/lib64/pgxs/src/makefiles/../../src/Makefile.global:1071: pg_repack.bc] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/lib64/postgresql-14/lib64/pgxs/src/makefiles/../../src/Makefile.global:1071: pgut/pgut.bc] Error 1
make[1]: *** [/usr/lib64/postgresql-14/lib64/pgxs/src/makefiles/../../src/Makefile.global:1071: pgut/pgut-fe.bc] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14/bin'
make: *** [Makefile:35: all] Error 2
* ERROR: dev-db/pg_repack-9999::NuLL3rr0r failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-db/pg_repack-9999::NuLL3rr0r'`,
* the complete build log and the output of `emerge -pqv '=dev-db/pg_repack-9999::NuLL3rr0r'`.
* The complete build log is located at '/var/tmp/portage/dev-db/pg_repack-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/pg_repack-9999/temp/environment'.
* Working directory: '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14'
* S: '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999'
* Messages for package dev-db/pg_repack-9999:
* ERROR: dev-db/pg_repack-9999::NuLL3rr0r failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-db/pg_repack-9999::NuLL3rr0r'`,
* the complete build log and the output of `emerge -pqv '=dev-db/pg_repack-9999::NuLL3rr0r'`.
* The complete build log is located at '/var/tmp/portage/dev-db/pg_repack-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/pg_repack-9999/temp/environment'.
* Working directory: '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14'
* S: '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999'
*
* The following package has failed to build, install, or execute postinst:
*
* (dev-db/pg_repack-9999:0/0::NuLL3rr0r, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/dev-db/pg_repack-9999/temp/build.log'
|
I still see ccache being invoked and don't understand why. My emerge --info does not show ccache!
Code: |
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
|
|
|
Back to top |
|
|
NuLL3rr0r Tux's lil' helper
Joined: 13 Jul 2009 Posts: 96 Location: The Netherlands
|
Posted: Thu Oct 05, 2023 4:25 pm Post subject: |
|
|
NeddySeagoon wrote: | NuLL3rr0r,
Code: | /usr/lib/ccache/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -Wno-unused-command-line-argument ... |
-no-opaque-pointers on its own looks odd. These things are normally introduced with -f or -W ...
Where does -no-opaque-pointers come from? |
This is all I have in my make.conf in regards to compiler/linker flags, no idea:
Code: |
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
|
|
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1554 Location: South America
|
Posted: Thu Oct 05, 2023 4:44 pm Post subject: Re: error: unknown argument: '-no-opaque-pointers' |
|
|
NuLL3rr0r wrote: | I still see ccache being invoked and don't understand why. My emerge --info does not show ccache! |
Good question.
Code: | >>> Emerging (1 of 1) dev-db/pg_repack-9999::NuLL3rr0r |
Could you post this ebuild? It looks like it's from a personal repository. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
NuLL3rr0r Tux's lil' helper
Joined: 13 Jul 2009 Posts: 96 Location: The Netherlands
|
Posted: Thu Oct 05, 2023 4:49 pm Post subject: |
|
|
Sure, here is the ebuild. Yes, it's from the local repository I keep under Git. |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1693
|
Posted: Thu Oct 05, 2023 5:00 pm Post subject: |
|
|
This is likely something stuck in the PostgreSQL extension structure which is executed with pg_config --pgxs
Perhaps rebuilding PostgreSQL may fix it or else looking into this further.
Edit: a file, Makefile.global, installed with PostgreSQL, is a text file which may have incorrect settings stored inside in order to build this extension |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|