Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895232 - dev-php/swoole-4.4.16 - /.../async_thread.cc: error: e was not declared in this scope
Summary: dev-php/swoole-4.4.16 - /.../async_thread.cc: error: e was not declared in th...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL: https://github.com/swoole/swoole-src/...
Whiteboard:
Keywords: PATCH
: 895812 (view as bug list)
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-18 09:32 UTC by Toralf Förster
Modified: 2023-04-26 02:21 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,21.06 KB, text/plain)
2023-02-18 09:32 UTC, Toralf Förster
Details
dev-php:swoole-4.4.16:20230218-092757.log (dev-php:swoole-4.4.16:20230218-092757.log,101.35 KB, text/plain)
2023-02-18 09:32 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,70.55 KB, application/x-bzip)
2023-02-18 09:32 UTC, Toralf Förster
Details
environment (environment,82.95 KB, text/plain)
2023-02-18 09:32 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,43.60 KB, application/x-bzip)
2023-02-18 09:32 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.09 KB, application/x-bzip)
2023-02-18 09:32 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.57 KB, application/x-bzip)
2023-02-18 09:32 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-02-18 09:32:00 UTC
      |                                   ^
/var/tmp/portage/dev-php/swoole-4.4.16/work/php7.4/src/os/async_thread.cc:369:35: error: expected ) before & token
  369 |     catch (const std::system_error& e)
      |           ~                       ^
      |                                   )
/var/tmp/portage/dev-php/swoole-4.4.16/work/php7.4/src/os/async_thread.cc:369:35: error: expected { before & token
/var/tmp/portage/dev-php/swoole-4.4.16/work/php7.4/src/os/async_thread.cc:369:37: error: e was not declared in this scope
  369 |     catch (const std::system_error& e)
      |                                     ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4-20230214-180043

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
1)	OpenJDK 11.0.18_p10 [openjdk-11]
2)	OpenJDK 17.0.6_p10 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-11 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit 2411317457d31827bcaee8035d7c771f09dc2639
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Feb 18 09:01:54 2023 +0000

    Merge updates from master

emerge -qpvO dev-php/swoole
[ebuild  N    ] dev-php/swoole-4.8.7  USE="mysql -debug -http2 -sockets -ssl" PHP_TARGETS="php7-4 php8-0 -php8-1"
Comment 1 Toralf Förster gentoo-dev 2023-02-18 09:32:01 UTC
Created attachment 852602 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-18 09:32:02 UTC
Created attachment 852604 [details]
dev-php:swoole-4.4.16:20230218-092757.log
Comment 3 Toralf Förster gentoo-dev 2023-02-18 09:32:03 UTC
Created attachment 852606 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-02-18 09:32:05 UTC
Created attachment 852608 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-02-18 09:32:06 UTC
Created attachment 852610 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-18 09:32:07 UTC
Created attachment 852612 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-18 09:32:08 UTC
Created attachment 852614 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-18 08:29:20 UTC
ping, this should be a trivial missing include, and gcc 13 is about to be released
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-26 02:12:07 UTC
*** Bug 895812 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2023-04-26 02:21:06 UTC
The bug has been closed via the following commit(s):

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

commit 5542212403a33d8c2a2c8087b47e4fa1a2b4a267
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-26 02:16:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-26 02:16:28 +0000

    dev-php/swoole: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/895232
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-php/swoole/files/swoole-4.8.7-gcc13.patch | 19 +++++++++++++++++++
 dev-php/swoole/swoole-4.8.7.ebuild            |  6 +++++-
 2 files changed, 24 insertions(+), 1 deletion(-)