Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3538

Building GPDB fails on Fedora 33

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • build
    • None

    Description

      https://ci.bigtop.apache.org/view/Packages/job/Bigtop-trunk-packages/699/COMPONENTS=gpdb,OS=fedora-33/console

      /usr/bin/ld -r -o SUBSYS.o motion/SUBSYS.o dispatcher/SUBSYS.o cdbappendonlystorage.o cdbappendonlystorageformat.o cdbappendonlystorageread.o cdbappendonlystoragewrite.o cdbbackup.o cdbbufferedappend.o cdbbufferedread.o cdbcat.o cdbcopy.o cdbdatabaseinfo.o cdbdirectopen.o cdbdistributedsnapshot.o cdbdistributedxid.o cdbdistributedxacts.o cdbdoublylinked.o cdbdtxcontextinfo.o cdbexplain.o cdbfilerep.o cdbfilerepservice.o cdbfilerepprimaryrecovery.o cdbfilerepprimary.o cdbfilerepmirror.o cdbfilerepprimaryack.o cdbfilerepmirrorack.o cdbfilerepconnclient.o cdbfilerepconnserver.o cdbfilerepresyncmanager.o cdbfilerepresyncworker.o cdbfilerepresetpeerprocess.o cdbfts.o cdbglobalsequence.o cdbgroup.o cdbhash.o cdbheap.o cdbllize.o cdblocaldistribxact.o cdbmirroredbufferpool.o cdbmirroredfilesysobj.o cdbmirroredflatfile.o cdbmirroredappendonly.o cdbmutate.o cdboidsync.o cdbpartindex.o cdbpartition.o cdbpath.o cdbpathlocus.o cdbpathtoplan.o cdbpersistentbuild.o cdbpersistentfilespace.o cdbpersistentrelation.o cdbpersistentdatabase.o cdbpersistenttablespace.o cdbpersistentfilesysobj.o cdbpersistentrecovery.o cdbpersistentstore.o cdbpgdatabase.o cdbplan.o cdbpullup.o cdbrelsize.o cdbresynchronizechangetracking.o cdbshareddoublylinked.o cdbsharedoidsearch.o cdbsetop.o cdbsreh.o cdbsrlz.o cdbsubplan.o cdbsubselect.o cdbtargeteddispatch.o cdbthreadlog.o cdbtimer.o cdbtm.o cdbtmutils.o cdbutil.o cdbvars.o cdbvarblock.o cdbpersistentcheck.o partitionselection.o 
      make[3]: Leaving directory '/bigtop/build/gpdb/rpm/BUILD/gpdb-5.28.5/src/backend/cdb'
      g++ -O3 -std=gnu99  -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -fno-aggressive-loop-optimizations -Wno-unused-but-set-variable -Wno-address -Wno-format-truncation -Wno-stringop-truncation  -L../../src/port -L../../src/port -Wl,--as-needed -Wl,-rpath,'/usr/lib/gpdb/lib',--enable-new-dtags -Wl,-E access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o fts/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o replication/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o tsearch/SUBSYS.o utils/SUBSYS.o ../../src/timezone/SUBSYS.o cdb/SUBSYS.o ../../src/port/libpgport_srv.a -lbz2 -lrt -lz -lcrypt -ldl -lm -lcurl -lpthread -o postgres
      /usr/bin/ld: cdb/SUBSYS.o:(.data+0x3bac): multiple definition of `gp_encoding_check_locale_compatibility'; utils/SUBSYS.o:(.bss+0x4915c): first defined here
      /usr/bin/ld: cdb/SUBSYS.o:(.bss+0x1207f): multiple definition of `Debug_resource_group'; utils/SUBSYS.o:(.bss+0x491dd): first defined here
      collect2: error: ld returned 1 exit status
      make[2]: Leaving directory '/bigtop/build/gpdb/rpm/BUILD/gpdb-5.28.5/src/backend'
      make[1]: Leaving directory '/bigtop/build/gpdb/rpm/BUILD/gpdb-5.28.5/src'
      make[2]: *** [Makefile:70: postgres] Error 1
      make[1]: *** [Makefile:19: all] Error 2
      make: *** [GNUmakefile:14: all] Error 2
      
      
      RPM build errors:
      error: Bad exit status from /var/tmp/rpm-tmp.OPF9s3 (%build)
          Bad exit status from /var/tmp/rpm-tmp.OPF9s3 (%build)
      
      > Task :gpdb-rpm FAILED
      :gpdb-rpm (Thread[Daemon worker,5,main]) completed. Took 8 mins 21.311 secs.
      

      Attachments

        Activity

          People

            sekikn Kengo Seki
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m