[Bug 1225779] New: gtest.pc injects a bogus include directory which breaks libstdc++ headers
https://bugzilla.suse.com/show_bug.cgi?id=1225779 Bug ID: 1225779 Summary: gtest.pc injects a bogus include directory which breaks libstdc++ headers Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.5 Hardware: x86-64 OS: openSUSE Leap 15.5 Status: NEW Severity: Major Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: brunopitrus@hotmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: ---
pkg-config --cflags gtest -DGTEST_HAS_PTHREAD=1 -lpthread -I/usr/lib64/pkgconfig/../../include
The `-I` is changed to `-isystem` by a downstream build system (Google Ninja) When calling g++-13 with this flag on a file which includes `<cstdlib>`, i'm getting a confusing build error: In file included from ../../v8/include/v8.h:21, from ../../third_party/electron_node/src/node.h:79, from ../../third_party/electron_node/src/api/async_resource.cc:1: /usr/include/c++/13/cstdlib:79:15: fatal error: stdlib.h: No such file or directory 79 | #include_next <stdlib.h> | ^~~~~~~~~~ This is gtest-1.10.0-1.10.x86_64 The problem happens on both 15.5 and 15.6, does not happen on Tumbleweed. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225779 https://bugzilla.suse.com/show_bug.cgi?id=1225779#c1 Bruno Pitrus <brunopitrus@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #1 from Bruno Pitrus <brunopitrus@hotmail.com> --- It seems a newer version with that fixed already is available: https://build.opensuse.org/package/show/openSUSE:Backports:SLE-15-SP4:Update... Not sure why OBS picked an older one. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225779 https://bugzilla.suse.com/show_bug.cgi?id=1225779#c6 --- Comment #6 from Robert Frohl <rfrohl@suse.com> --- (In reply to Robert Frohl from comment #5)
(In reply to Robert Frohl from comment #4)
(In reply to OBSbugzilla Bot from comment #3)
This is an autogenerated message for OBS integration: This bug (1225779) was mentioned in https://build.opensuse.org/request/show/1178070 Backports:SLE-15-SP5 / googletest
not entirely sure what went wrong here, but the submission was empty. Trying again with the Factory version, see 1179239.
that also did not work, but I have a solution now
the still failing checks in OBS are a bit harder problem to solve. we will update the package in another way: the 1.10 version is coming from the SLE sources, instead of updating only the Leap version to 1.12.1 we will update the SLE sources to 1.12.1. This has the added benefit that all future Leap version will get that version by default. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225779 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |coldpool@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225779 https://bugzilla.suse.com/show_bug.cgi?id=1225779#c7 Valentin Lefebvre <valentin.lefebvre@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |valentin.lefebvre@suse.com --- Comment #7 from Valentin Lefebvre <valentin.lefebvre@suse.com> --- (In reply to Robert Frohl from comment #6)
(In reply to Robert Frohl from comment #5)
(In reply to Robert Frohl from comment #4)
(In reply to OBSbugzilla Bot from comment #3)
This is an autogenerated message for OBS integration: This bug (1225779) was mentioned in https://build.opensuse.org/request/show/1178070 Backports:SLE-15-SP5 / googletest
not entirely sure what went wrong here, but the submission was empty. Trying again with the Factory version, see 1179239.
that also did not work, but I have a solution now
the still failing checks in OBS are a bit harder problem to solve. we will update the package in another way: the 1.10 version is coming from the SLE sources, instead of updating only the Leap version to 1.12.1 we will update the SLE sources to 1.12.1. This has the added benefit that all future Leap version will get that version by default.
Indeed, changing SLE sources seems to be a better way to do, however, as it is an update, we must have an ECO to proceed. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225779 https://bugzilla.suse.com/show_bug.cgi?id=1225779#c8 Robert Frohl <rfrohl@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED --- Comment #8 from Robert Frohl <rfrohl@suse.com> --- update just went out to Leap 15.5 and 15.6, closing the bug -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com