Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912886 - dev-libs/sentry-native-0.6.5[breakpad] generates incomplete CMake config modules
Summary: dev-libs/sentry-native-0.6.5[breakpad] generates incomplete CMake config modules
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL: https://github.com/getsentry/sentry-n...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-23 18:57 UTC by Toralf Förster
Modified: 2023-08-23 23:37 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.07 KB, text/plain)
2023-08-23 18:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,143.51 KB, text/plain)
2023-08-23 18:57 UTC, Toralf Förster
Details
environment (environment,109.63 KB, text/plain)
2023-08-23 18:57 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-08-23 18:57 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.78 KB, application/x-xz)
2023-08-23 18:57 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.25 KB, application/x-xz)
2023-08-23 18:57 UTC, Toralf Förster
Details
mail-mta:proton-mail-bridge-3.3.2:20230823-092316.log (mail-mta:proton-mail-bridge-3.3.2:20230823-092316.log,6.09 KB, text/plain)
2023-08-23 18:57 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.39 KB, application/x-xz)
2023-08-23 18:57 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-08-23 18:57:44 UTC
  CMakeLists.txt:86 (find_package)


-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
 * ERROR: mail-mta/proton-mail-bridge-3.3.2::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20230820-171503

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
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.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.71.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 03b015c09a0fa3f184de5adc45bbfb6b91c269a4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Aug 23 07:01:33 2023 +0000

    2023-08-23 07:01:33 UTC

emerge -qpvO mail-mta/proton-mail-bridge
[ebuild   R   ] mail-mta/proton-mail-bridge-3.3.2  USE="gui*"
Comment 1 Toralf Förster gentoo-dev 2023-08-23 18:57:45 UTC
Created attachment 868535 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-23 18:57:46 UTC
Created attachment 868536 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-08-23 18:57:47 UTC
Created attachment 868537 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-23 18:57:48 UTC
Created attachment 868538 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-23 18:57:49 UTC
Created attachment 868539 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-23 18:57:50 UTC
Created attachment 868540 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-23 18:57:51 UTC
Created attachment 868541 [details]
mail-mta:proton-mail-bridge-3.3.2:20230823-092316.log
Comment 8 Toralf Förster gentoo-dev 2023-08-23 18:57:52 UTC
Created attachment 868542 [details]
temp.tar.xz
Comment 9 Marek Szuba (RETIRED) archtester gentoo-dev 2023-08-23 20:36:07 UTC
The problem lies with CMake modules installed by dev-libs/sentry-native when linked against dev-util/breakpad. I'll try to fix it myself, and failing that I'll just temporarily mask USE=breakpad and talk to upstream.
Comment 10 Larry the Git Cow gentoo-dev 2023-08-23 21:06:02 UTC
The bug has been closed via the following commit(s):

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

commit 85f96685aa2e5b7cf8f7d71b973cc68181830d81
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-08-23 20:57:30 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-08-23 21:05:51 +0000

    dev-libs/sentry-native: make installed cmake modules handle USE=breakpad
    
    Looks like upstream has only tested this for bundled breakpad.
    
    Closes: https://bugs.gentoo.org/912886
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../files/sentry-native-0.6.5_cmake-breakpad.patch         | 14 ++++++++++++++
 ...y-native-0.6.5.ebuild => sentry-native-0.6.5-r1.ebuild} |  6 +++++-
 2 files changed, 19 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit 50617250fed88df8c69f17193bc4b3731a814ad9
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-08-23 21:01:14 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-08-23 21:05:52 +0000

    mail-mta/proton-mail-bridge: require a sentry-native version which produces complete CMake modules
    
    Bug: https://bugs.gentoo.org/912886
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 ...oton-mail-bridge-3.3.2.ebuild => proton-mail-bridge-3.3.2-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)