Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710100 - dev-php/pecl-event-2.5.3 : /.../zend_API.h:65:23: error: zim_EventUtil_createSocket undeclared here (not in a function)
Summary: dev-php/pecl-event-2.5.3 : /.../zend_API.h:65:23: error: zim_EventUtil_create...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ruslan Osmanov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-18 18:56 UTC by Toralf Förster
Modified: 2020-03-20 15:04 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.71 KB, text/plain)
2020-02-18 18:57 UTC, Toralf Förster
Details
dev-php:pecl-event-2.5.3:20200218-152210.log (dev-php:pecl-event-2.5.3:20200218-152210.log,15.29 KB, text/plain)
2020-02-18 18:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,243.17 KB, text/plain)
2020-02-18 18:57 UTC, Toralf Förster
Details
environment (environment,71.36 KB, text/plain)
2020-02-18 18:57 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.65 KB, application/x-bzip)
2020-02-18 18:57 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.57 KB, application/x-bzip)
2020-02-18 18:57 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.50 KB, application/x-bzip)
2020-02-18 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 2020-02-18 18:56:58 UTC
                 from /var/tmp/portage/dev-php/pecl-event-2.5.3/work/php7.2/php7/src/fe.h:21,
                 from /var/tmp/portage/dev-php/pecl-event-2.5.3/work/php7.2/php7/src/fe.c:19:
/usr/lib64/php7.2/include/php/Zend/zend_API.h:65:23: error: zim_EventUtil_createSocket undeclared here (not in a function); did you mean zim_EventUtil_getSocketFd?
   65 | #define ZEND_MN(name) zim_##name
      |                       ^~~~
/usr/lib64/php7.2/include/php/Zend/zend_API.h:70:69: note: in definition of macro ZEND_FENTRY

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200212-201606

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 18 Feb 2020 14:07:28 +0000

emerge -qpvO dev-php/pecl-event
[ebuild  N    ] dev-php/pecl-event-2.5.3  USE="extra libressl ssl -debug -examples -sockets -threads" PHP_TARGETS="php7-2 (-php7-1) -php7-3 -php7-4"
Comment 1 Toralf Förster gentoo-dev 2020-02-18 18:57:01 UTC
Created attachment 614368 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-18 18:57:03 UTC
Created attachment 614370 [details]
dev-php:pecl-event-2.5.3:20200218-152210.log
Comment 3 Toralf Förster gentoo-dev 2020-02-18 18:57:06 UTC
Created attachment 614372 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-18 18:57:10 UTC
Created attachment 614374 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-18 18:57:12 UTC
Created attachment 614376 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-18 18:57:15 UTC
Created attachment 614378 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-18 18:57:18 UTC
Created attachment 614380 [details]
temp.tbz2
Comment 8 Ruslan Osmanov 2020-02-23 14:38:55 UTC
Submitted pull request: https://github.com/gentoo/gentoo/pull/14754

The bot complains about missing sign off and GLEP tags although I included both "Signed-off-by" and "Closes" tags to the commit message.
Comment 9 Ruslan Osmanov 2020-02-23 14:44:14 UTC
Submitted the bug fix to the upstream as well: https://pecl.php.net/package/event/2.5.4
Comment 10 Larry the Git Cow gentoo-dev 2020-03-20 15:04:16 UTC
The bug has been closed via the following commit(s):

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

commit bd8875182b1a71a2277ed63f5525887fb5c0fbf4
Author:     Ruslan Osmanov <rrosmanov@gmail.com>
AuthorDate: 2020-03-20 15:01:58 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-03-20 15:02:25 +0000

    dev-php/pecl-event: fix USE=-sockets build with >=dev-lang/php-7.0
    
    Closes: https://bugs.gentoo.org/710100
    Signed-off-by: Ruslan Osmanov <rrosmanov@gmail.com>
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Closes: https://github.com/gentoo/gentoo/pull/14754
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../files/pecl-event-2.5.3-no-sockets.patch        | 12 +++++
 dev-php/pecl-event/pecl-event-2.5.3-r1.ebuild      | 60 ++++++++++++++++++++++
 2 files changed, 72 insertions(+)