You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Yuqi Gu (Jira)" <ji...@apache.org> on 2022/12/05 10:10:00 UTC
[jira] [Updated] (BIGTOP-3890) Failed to build gpdb on Fedora-36
[ https://issues.apache.org/jira/browse/BIGTOP-3890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuqi Gu updated BIGTOP-3890:
----------------------------
Description:
Failed to build gpdb on Fedora-36:
{code:java}
+ /usr/lib/rpm/generate-rpm-note.sh gpdb 5.28.5-1.fc36 x86_64
+ cd gpdb-5.28.5
+ bash /home/workspace/bigtop-fedora36/build/gpdb/rpm/SOURCES/do-component-configure /usr/lib/gpdb
+ ./configure --prefix=/usr/lib/gpdb --disable-orca CFLAGS=-fcommon
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... yes
checking for default port number... 5432
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/home/workspace/bigtop-fedora36/build/gpdb/rpm/BUILD/gpdb-5.28.5':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
error: Bad exit status from /var/tmp/rpm-tmp.8tBwdc (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.8tBwdc (%build)
> Task :gpdb-rpm FAILED
{code}
The config.log:
{code:java}
configure:4301: gcc -o conftest -fcommon -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/home/workspace/bigtop/build/gpdb/rpm//BUILD/gpdb-5.28.5/.package_note-gpdb-5.28.5-1.fc36.x86_64.ld conftest.c >&5
/usr/bin/ld: /tmp/cc7lGNfq.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
collect2: error: ld returned 1 exit status
configure:4305: $? = 1
configure:4312: ./conftest
./configure: line 4314: ./conftest: No such file or directory
configure:4316: $? = 127
{code}
was:
Failed to build gpdb on Fedora-36:
{code:java}
+ /usr/lib/rpm/generate-rpm-note.sh gpdb 5.28.5-1.fc36 x86_64
+ cd gpdb-5.28.5
+ bash /home/workspace/bigtop-fedora36/build/gpdb/rpm/SOURCES/do-component-configure /usr/lib/gpdb
+ ./configure --prefix=/usr/lib/gpdb --disable-orca CFLAGS=-fcommon
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... yes
checking for default port number... 5432
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/home/workspace/bigtop-fedora36/build/gpdb/rpm/BUILD/gpdb-5.28.5':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
error: Bad exit status from /var/tmp/rpm-tmp.8tBwdc (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.8tBwdc (%build)
> Task :gpdb-rpm FAILED
{code}
> Failed to build gpdb on Fedora-36
> ---------------------------------
>
> Key: BIGTOP-3890
> URL: https://issues.apache.org/jira/browse/BIGTOP-3890
> Project: Bigtop
> Issue Type: Sub-task
> Components: build
> Reporter: Yuqi Gu
> Priority: Major
>
> Failed to build gpdb on Fedora-36:
> {code:java}
> + /usr/lib/rpm/generate-rpm-note.sh gpdb 5.28.5-1.fc36 x86_64
> + cd gpdb-5.28.5
> + bash /home/workspace/bigtop-fedora36/build/gpdb/rpm/SOURCES/do-component-configure /usr/lib/gpdb
> + ./configure --prefix=/usr/lib/gpdb --disable-orca CFLAGS=-fcommon
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking which template to use... linux
> checking whether to build with 64-bit integer date/time support... yes
> checking for default port number... 5432
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... configure: error: in `/home/workspace/bigtop-fedora36/build/gpdb/rpm/BUILD/gpdb-5.28.5':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
> error: Bad exit status from /var/tmp/rpm-tmp.8tBwdc (%build)
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.8tBwdc (%build)
> > Task :gpdb-rpm FAILED
> {code}
> The config.log:
> {code:java}
> configure:4301: gcc -o conftest -fcommon -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/home/workspace/bigtop/build/gpdb/rpm//BUILD/gpdb-5.28.5/.package_note-gpdb-5.28.5-1.fc36.x86_64.ld conftest.c >&5
> /usr/bin/ld: /tmp/cc7lGNfq.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
> collect2: error: ld returned 1 exit status
> configure:4305: $? = 1
> configure:4312: ./conftest
> ./configure: line 4314: ./conftest: No such file or directory
> configure:4316: $? = 127
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)