Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 713382

Summary: dev-php/pecl-dbase-7.1.1 : /.../dbf_head.c: error: LOCK_EX undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: php-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-php:pecl-dbase-7.0.1:20200318-230115.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-19 11:10:02 UTC
/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/dbf_head.c: In function dbf_open:
/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/dbf_head.c:346:41: error: LOCK_EX undeclared (first use in this function)
  346 |  if (php_flock(fd, (o_flags == O_RDWR ? LOCK_EX : LOCK_SH))) {
      |                                         ^~~~~~~
/var/tmp/portage/dev-php/pecl-dbase-7.0.1/work/php7.2/dbf_head.c:346:41: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO dev-php/pecl-dbase
[ebuild  N    ] dev-php/pecl-dbase-7.0.1  PHP_TARGETS="php7-2 (-php5-6) (-php7-0) (-php7-1) -php7-3 -php7-4"
Comment 1 Toralf Förster gentoo-dev 2020-03-19 11:10:05 UTC
Created attachment 622196 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-19 11:10:08 UTC
Created attachment 622198 [details]
dev-php:pecl-dbase-7.0.1:20200318-230115.log
Comment 3 Toralf Förster gentoo-dev 2020-03-19 11:10:11 UTC
Created attachment 622200 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-19 11:10:13 UTC
Created attachment 622202 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-19 11:10:16 UTC
Created attachment 622204 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-19 11:10:19 UTC
Created attachment 622206 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-19 11:10:22 UTC
Created attachment 622208 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2023-05-18 17:18:26 UTC
tinderbox_musl has reproduced this issue with version 7.1.1 - Updating summary.