Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827474 - sys-cluster/torque-6.0.4-r2 - configure: error: TORQUE needs pthreads in order to build
Summary: sys-cluster/torque-6.0.4-r2 - configure: error: TORQUE needs pthreads in orde...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 689876 glibc-2.34
  Show dependency tree
 
Reported: 2021-11-26 14:46 UTC by Toralf Förster
Modified: 2022-03-07 01:57 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.91 KB, text/plain)
2021-11-26 14:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,85.99 KB, text/plain)
2021-11-26 14:46 UTC, Toralf Förster
Details
environment (environment,133.65 KB, text/plain)
2021-11-26 14:46 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,23.51 KB, application/x-bzip)
2021-11-26 14:46 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.91 KB, application/x-bzip)
2021-11-26 14:46 UTC, Toralf Förster
Details
sys-cluster:torque-6.0.4-r2:20211126-012112.log (sys-cluster:torque-6.0.4-r2:20211126-012112.log,16.86 KB, text/plain)
2021-11-26 14:46 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.65 KB, application/x-bzip)
2021-11-26 14:46 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 2021-11-26 14:46:30 UTC
checking for lseek64... yes
./configure: line 19092: ac_fn_c_check_member: command not found
checking for struct stat64.st_mode... yes
checking if largefile compiles (looking at you, OSX)... checking for pthread_create in -lpthread... no
configure: error: TORQUE needs pthreads in order to build

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-cluster/torque-6.0.4-r2/work/torque-6a0b37f85c7d644e9217cbab1542792d646f59a6/config.log
 * ERROR: sys-cluster/torque-6.0.4-r2::gentoo failed (configure phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20211125-140235

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.56.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.312_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit fd754b230b47f9f97167810679d1c4b6ba687366
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 26 00:51:32 2021 +0000

    2021-11-26 00:51:31 UTC

emerge -qpvO sys-cluster/torque
[ebuild  N    ] sys-cluster/torque-6.0.4-r2  USE="crypt syslog -autorun -cgroups -cpusets -doc -munge -nvidia -quickcommit -server -tk"
Comment 1 Toralf Förster gentoo-dev 2021-11-26 14:46:31 UTC
Created attachment 756454 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-26 14:46:33 UTC
Created attachment 756458 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-11-26 14:46:34 UTC
Created attachment 756462 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-11-26 14:46:36 UTC
Created attachment 756466 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-11-26 14:46:37 UTC
Created attachment 756470 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-26 14:46:38 UTC
Created attachment 756474 [details]
sys-cluster:torque-6.0.4-r2:20211126-012112.log
Comment 7 Toralf Förster gentoo-dev 2021-11-26 14:46:40 UTC
Created attachment 756478 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-01-23 16:56:36 UTC
The bug has been closed via the following commit(s):

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

commit 55542ecffa3a87159287157e9514795b27c41799
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-23 16:55:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-23 16:56:29 +0000

    sys-cluster/torque: fix multiple build issues
    
    - Pull in Fedora patch which sorts out autoconf quoting problems
    - Build with CC=CXX given odd upstream naming (.c is C++ there)
    - Fix glibc-2.34 build too
    
    Closes: https://bugs.gentoo.org/827474
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/torque/Manifest               | 1 +
 sys-cluster/torque/torque-6.0.4-r2.ebuild | 9 ++++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)
Comment 9 Larry the Git Cow gentoo-dev 2022-03-07 01:55:02 UTC
The bug has been referenced in the following commit(s):

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

commit 33650b0188bc349f12c62bab24856c2d3ccf9bdb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-07 01:54:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-07 01:54:52 +0000

    sys-cluster/torque: fix more pthread issues
    
    Possibly only an issue with glibc 2.33 (not 2.34) somehow? Fixed now anyway.
    
    Bug: https://bugs.gentoo.org/827474
    Bug: https://bugs.gentoo.org/689876
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/torque/files/torque-6.0.4-pthreads-deux.patch | 13 +++++++++++++
 sys-cluster/torque/torque-6.0.4-r2.ebuild                 |  4 +++-
 2 files changed, 16 insertions(+), 1 deletion(-)