Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855071 - dev-cpp/clucene-2.3.3.4-r6 - /.../LuceneThreads.h: error: pthread_t does not name a type
Summary: dev-cpp/clucene-2.3.3.4-r6 - /.../LuceneThreads.h: error: pthread_t does not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-06-29 10:20 UTC by Toralf Förster
Modified: 2022-07-14 05:34 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.34 KB, text/plain)
2022-06-29 10:20 UTC, Toralf Förster
Details
dev-cpp:clucene-2.3.3.4-r6:20220629-092953.log (dev-cpp:clucene-2.3.3.4-r6:20220629-092953.log,35.57 KB, text/plain)
2022-06-29 10:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,22.55 KB, text/plain)
2022-06-29 10:20 UTC, Toralf Förster
Details
environment (environment,93.28 KB, text/plain)
2022-06-29 10:20 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.97 KB, application/x-bzip)
2022-06-29 10:20 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.28 KB, application/x-bzip)
2022-06-29 10:20 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.90 KB, application/x-bzip)
2022-06-29 10:20 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 2022-06-29 10:20:17 UTC
In file included from /var/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/debug/lucenebase.h:10,
                 from /var/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/SharedHeader.h:201,
                 from /var/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/_SharedHeader.h:13,
                 from /var/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/SharedHeader.cpp:8:
/var/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/LuceneThreads.h:40:41: error: 'pthread_t' does not name a type
   40 |           #define _LUCENE_THREADID_TYPE pthread_t
      |                                         ^~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220629-060005

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.1.1 *
clang/llvm (if any):
Python 3.9.13
Available Rust versions:
  [1]   rust-1.61.0 *
php cli:

  HEAD of ::gentoo
commit 2d5125abdac70223a403d089d25faf9f79b06589
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 29 08:46:39 2022 +0000

    2022-06-29 08:46:39 UTC

emerge -qpvO dev-cpp/clucene
[ebuild  N    ] dev-cpp/clucene-2.3.3.4-r6  USE="-debug -doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-06-29 10:20:18 UTC
Created attachment 788645 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-29 10:20:19 UTC
Created attachment 788648 [details]
dev-cpp:clucene-2.3.3.4-r6:20220629-092953.log
Comment 3 Toralf Förster gentoo-dev 2022-06-29 10:20:20 UTC
Created attachment 788651 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-06-29 10:20:21 UTC
Created attachment 788654 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-29 10:20:22 UTC
Created attachment 788657 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-29 10:20:23 UTC
Created attachment 788660 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-06-29 10:20:24 UTC
Created attachment 788663 [details]
temp.tar.bz2
Comment 8 Jory A. Pratt gentoo-dev 2022-07-14 01:00:45 UTC
This is only an issue with gcc-12, I have successfully rebuilt clucene with gcc-11.3.0 on a stable system.
Comment 9 Larry the Git Cow gentoo-dev 2022-07-14 04:36:41 UTC
The bug has been closed via the following commit(s):

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

commit 05c237dd1d5c5e2c71a9c9600de914fc46d78890
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-14 04:36:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-14 04:36:32 +0000

    dev-cpp/clucene: fix build on musl
    
    Closes: https://bugs.gentoo.org/855071
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/clucene/clucene-2.3.3.4-r6.ebuild                |  1 +
 dev-cpp/clucene/files/clucene-2.3.3.4-musl-pthread.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-07-14 05:34:28 UTC
The bug has been referenced in the following commit(s):

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

commit 0372ef7872544ba2d39e3aec30843681186c4183
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-14 05:34:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-14 05:34:22 +0000

    dev-cpp/clucene: revbump for header fix
    
    I'd missed this was in an instlled header.
    
    Bug: https://bugs.gentoo.org/855071
    Fixes: 05c237dd1d5c5e2c71a9c9600de914fc46d78890
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/clucene/{clucene-2.3.3.4-r6.ebuild => clucene-2.3.3.4-r7.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)