Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902833 - sci-astronomy/siril-1.2.0_beta1 - quantize.c:(.text+<snip>): undefined reference to omp_get_num_threads
Summary: sci-astronomy/siril-1.2.0_beta1 - quantize.c:(.text+<snip>): undefined refere...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: mario.haustein
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-03-23 18:05 UTC by Toralf Förster
Modified: 2023-03-25 04:08 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.19 KB, text/plain)
2023-03-23 18:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,129.48 KB, text/plain)
2023-03-23 18:05 UTC, Toralf Förster
Details
environment (environment,102.98 KB, text/plain)
2023-03-23 18:06 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,710 bytes, application/x-bzip)
2023-03-23 18:06 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.83 KB, application/x-bzip)
2023-03-23 18:06 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.40 KB, application/x-bzip)
2023-03-23 18:06 UTC, Toralf Förster
Details
sci-astronomy:siril-1.2.0_beta1:20230323-020820.log.bz2 (sci-astronomy:siril-1.2.0_beta1:20230323-020820.log.bz2,12.26 KB, application/x-bzip)
2023-03-23 18:06 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.67 KB, application/x-bzip)
2023-03-23 18:06 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 2023-03-23 18:05:57 UTC
too long lines were shrinked:

[226/230] /usr/bin/msgfmt ../siril-1.2.0-beta1/po/zh_CN.po -o po/zh_CN/LC_MESSAGES/siril.mo
[227/230] x86_64-pc-linux-gnu-gcc -Isrc/tests/sorting_perf.p -Isrc/tests -I../siril-1.2.0-beta1/src/tests -Isrc -I../siril-1.2.0-beta1/src -Isubprojects/htmesh/__CMake_build -I../siril-1.2.0-beta1/subprojects/htmesh/__CMake_build -Isubprojects/htmesh -I../siril-1.2.0-beta1/subprojects/htmesh -Isubpr
[228/230] x86_64-pc-linux-gnu-g++  -o src/siril-cli src/siril-cli.p/main-cli.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--whole-archive -Wl,--start-group src/libsiril.a -Wl,--no-whole-archive -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--def
FAILED: src/siril-cli 
x86_64-pc-linux-gnu-g++  -o src/siril-cli src/siril-cli.p/main-cli.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--whole-archive -Wl,--start-group src/libsiril.a -Wl,--no-whole-archive -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gent
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/libsiril.a.p/algos_quantize.c.o: in function `siril_fits_img_stats_float':
quantize.c:(.text+0x21b3): undefined reference to `omp_get_num_threads'
collect2: error: ld returned 1 exit status
[229/230] x86_64-pc-linux-gnu-g++  -o src/siril src/siril.p/main.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--whole-archive -Wl,--start-group src/libsiril.a -Wl,--no-whole-archive -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-j4-20230321-141441

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.0
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.68.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
3)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm
  [3]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 4fc0cfeffd38963119156190f5291def9cfb6b4f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Mar 22 17:16:55 2023 +0000

    2023-03-22 17:16:55 UTC

emerge -qpvO sci-astronomy/siril
[ebuild  N    ] sci-astronomy/siril-1.2.0_beta1  USE="jpeg png tiff -curl -ffmpeg -heif -libconfig -openmp -raw -wcs"
Comment 1 Toralf Förster gentoo-dev 2023-03-23 18:05:58 UTC
Created attachment 858725 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-23 18:05:59 UTC
Created attachment 858727 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-03-23 18:06:00 UTC
Created attachment 858729 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-03-23 18:06:01 UTC
Created attachment 858731 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-03-23 18:06:02 UTC
Created attachment 858733 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-23 18:06:03 UTC
Created attachment 858735 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-03-23 18:06:04 UTC
Created attachment 858737 [details]
sci-astronomy:siril-1.2.0_beta1:20230323-020820.log.bz2
Comment 8 Toralf Förster gentoo-dev 2023-03-23 18:06:05 UTC
Created attachment 858739 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-03-25 04:08:42 UTC
The bug has been closed via the following commit(s):

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

commit e46f341c307105de27df5f04c715433d25f1d3bd
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2023-03-24 17:39:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-25 04:05:51 +0000

    sci-astronomy/siril: fix build without OpenMP
    
    Closes: https://bugs.gentoo.org/902833
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Closes: https://github.com/gentoo/gentoo/pull/30333
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-astronomy/siril/files/siril-1.2-openmp.patch | 19 +++++++++++++++++++
 sci-astronomy/siril/siril-1.2.0_beta1.ebuild     |  1 +
 2 files changed, 20 insertions(+)