Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688472 - dev-db/pgagent-4.0.0 : /.../ld: CMakeFiles/.../connection.cpp.o: undefined reference to symbol pthread_join@@GLIBC_2.2.5
Summary: dev-db/pgagent-4.0.0 : /.../ld: CMakeFiles/.../connection.cpp.o: undefined re...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on: 759274
Blocks:
  Show dependency tree
 
Reported: 2019-06-22 12:43 UTC by Toralf Förster
Modified: 2020-12-17 14:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.35 KB, text/plain)
2019-06-22 12:43 UTC, Toralf Förster
Details
dev-db:pgagent-4.0.0:20190622-121314.log (dev-db:pgagent-4.0.0:20190622-121314.log,11.21 KB, text/plain)
2019-06-22 12:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,230.87 KB, text/plain)
2019-06-22 12:43 UTC, Toralf Förster
Details
environment (environment,103.22 KB, text/plain)
2019-06-22 12:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.27 KB, application/x-bzip)
2019-06-22 12:43 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.14 KB, application/x-bzip)
2019-06-22 12:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.77 KB, application/x-bzip)
2019-06-22 12:43 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-06-22 12:43:14 UTC
FAILED: pgagent 
: && /usr/bin/x86_64-pc-linux-gnu-g++  -O2 -pipe -march=native  -Wl,-O1 -Wl,--as-needed    -rdynamic CMakeFiles/pgagent.dir/connection.cpp.o CMakeFiles/pgagent.dir/job.cpp.o CMakeFiles/pgagent.dir/misc.cpp.o CMakeFiles/pgagent.dir/pgAgent.cpp.o CMakeFiles/pgagent.dir/precomp.cpp.o CMakeFiles/pgagent.dir/unix.cpp.o CMakeFiles/pgagent.dir/win32.cpp.o  -o pgagent -L/usr/lib64/postgresql-11/lib64 -Wl,-rpath,/usr/lib64/postgresql-11/lib64: -lpq -lboost_filesystem-mt -lboost_regex-mt -lboost_date_time-mt -lboost_thread-mt -lboost_system-mt -lboost_chrono-mt -lboost_atomic-mt && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/pgagent.dir/connection.cpp.o: undefined reference to symbol 'pthread_join@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-no-multilib-hardened_20190617-141910

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.35.0 *
java-config:
The following VMs are available for generation-2:


emerge -qpvO dev-db/pgagent
[ebuild  N    ] dev-db/pgagent-4.0.0
Comment 1 Toralf Förster gentoo-dev 2019-06-22 12:43:17 UTC
Created attachment 580420 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-22 12:43:20 UTC
Created attachment 580422 [details]
dev-db:pgagent-4.0.0:20190622-121314.log
Comment 3 Toralf Förster gentoo-dev 2019-06-22 12:43:22 UTC
Created attachment 580424 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-06-22 12:43:25 UTC
Created attachment 580426 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-06-22 12:43:28 UTC
Created attachment 580428 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-22 12:43:30 UTC
Created attachment 580430 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-06-22 12:43:33 UTC
Created attachment 580432 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-02-18 19:03:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf58dfea3eb65e157aa56bc11cc795b49c629c1c

commit cf58dfea3eb65e157aa56bc11cc795b49c629c1c
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2020-02-18 19:03:37 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2020-02-18 19:03:44 +0000

    dev-db/pgagent: Fix pthread linking
    
    Bug: https://bugs.gentoo.org/688472
    Package-Manager: Portage-2.3.84, Repoman-2.3.16
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 .../files/pgagent-4.0.0-pthreads-linking.patch     | 33 +++++++++++++
 dev-db/pgagent/pgagent-4.0.0-r1.ebuild             | 55 ++++++++++++++++++++++
 2 files changed, 88 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2020-12-17 14:10:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=916d0dc952cabaed686171491dfb038acdcb3438

commit 916d0dc952cabaed686171491dfb038acdcb3438
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2020-12-17 14:09:02 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2020-12-17 14:09:02 +0000

    dev-db/pgagent: Cleanup
    
    Closes: https://bugs.gentoo.org/688472
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 dev-db/pgagent/Manifest                            |   1 -
 dev-db/pgagent/files/add-log-timestamps.patch      | 535 ---------------------
 .../files/fix-dbconn-getlasterror-crash.patch      |  32 --
 dev-db/pgagent/files/fix-job-success-test.patch    |  30 --
 dev-db/pgagent/files/postgres-10-build-fix.patch   |  52 --
 .../pgagent/files/save-stderr-jobstep-output.patch |  79 ---
 dev-db/pgagent/pgagent-3.4.0-r3.ebuild             |  78 ---
 dev-db/pgagent/pgagent-4.0.0.ebuild                |  53 --
 8 files changed, 860 deletions(-)