Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652356 - dev-lang/php-7.2.4 - error: dereferencing pointer to incomplete type ‘php_mb_regex_t’
Summary: dev-lang/php-7.2.4 - error: dereferencing pointer to incomplete type ‘php_mb_...
Status: RESOLVED DUPLICATE of bug 652352
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-03 21:26 UTC by Alex Barker
Modified: 2018-04-04 04:03 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,417.12 KB, text/x-log)
2018-04-03 21:26 UTC, Alex Barker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Barker 2018-04-03 21:26:05 UTC
Doing a rebuild on PHP 7.2 produces the following error:

/bin/sh /var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/libtool --silent --preserve-dup-deps --mode=compile /var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/meta_ccld -DHAVE_STRUCT_SIGINFO_T -Iext/pcntl/ -I/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/ext/pcntl/ -DPHP_ATOM_INC -I/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/include -I/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/main -I/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli -I/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/ext/date/lib -I/usr/include/libxml2 -I/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/ext/mbstring/libmbfl -I/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/ext/zip/lib -I/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/TSRM -I/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/Zend  -D_REENTRANT  -I/usr/include -march=native -mtune=native -O2 -fomit-frame-pointer -pipe -fvisibility=hidden -pthread -DZTS -DZEND_SIGNALS   -c /var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/ext/pcntl/php_signal.c -o ext/pcntl/php_signal.lo 
/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/ext/mbstring/php_mbregex.c: In function ‘php_mbregex_compile_pattern’:
/var/tmp/portage/dev-lang/php-7.2.4/work/sapis-build/cli/ext/mbstring/php_mbregex.c:452:15: error: dereferencing pointer to incomplete type ‘php_mb_regex_t {aka struct php_mb_re_pattern_buffer}’
  if (!rc || rc->options != options || rc->enc != enc || rc->syntax != syntax) {


Reproducible: Always




Portage 2.3.28 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.26-r6, 4.15.14-gentoo x86_64)
=================================================================
System uname: Linux-4.15.14-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.4.1
KiB Mem:    24744960 total,   7217020 free
KiB Swap:    8291540 total,   8291540 free
Timestamp of repository gentoo: Tue, 03 Apr 2018 20:45:01 +0000
Head commit of repository gentoo: 3aa32984919c421909d2796a89f6cefe402c3fd8
sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p1) 2.30.0
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.1-r2::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.5::gentoo
dev-util/cmake:           3.11.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.35.5::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.30::gentoo
sys-devel/gcc:            7.3.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync6.us.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

local_overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

fuverlay
    location: /var/lib/layman/fuverlay
    masters: gentoo
    priority: 50

hasufell
    location: /var/lib/layman/hasufell
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_BINHOST="http://tinderbox.dev.gentoo.org/default-linux/amd64/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 amr berkdb branding btrfs bzip2 cairo cdda cddb cdr cifs cli consolekit crypt cups curl custom-cflags cxx dbus declarative dri dts dvd dvdr emboss encode exif faac fam fat ffmpeg flac fortran ftp gdbm gif glamor gpm graphite gsm gstreamer gtk gtk3 hal hfs iconv icu ipv6 javafx jpeg kde kipi kwallet lame lcms legacy-systray libnotify lm_sensors lto lzma mad matroska mmx mmxext mng modules mp3 mp4 mpeg multilib musepack mysql ncurses nfs nls nptl nptlonl ntfs offensive ogg openal opengl openmp opus pam pango pcre pdf pdo phonon pic plasma png policykit popcnt postproc ppds qml qt3support qt5 rar rdesktop rdp readline samba sdl seccomp speex spell sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite taglib tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vnc vorbis wavpack widgets wxwidgets x264 xattr xcb xcomposite xfs xml xv xvid xvmc zip zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0 php7-1 php7-2" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="artec_eplus48u" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPT
Comment 1 Alex Barker 2018-04-03 21:26:24 UTC
Created attachment 526492 [details]
build.log
Comment 2 Alex Barker 2018-04-03 21:37:56 UTC
This appears to affect all php slots, probably all versions, and appears to be related to dev-libs/oniguruma.
Comment 3 jorgicio 2018-04-04 00:54:05 UTC
I confirm the same happens with stable 7.1.15 since I upgraded oniguruma to the latest version.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2018-04-04 04:03:52 UTC

*** This bug has been marked as a duplicate of bug 652352 ***