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

Bug 929250

Summary: dev-db/mydumper-0.15.2.8 - /.../mydumper_common.c: error: O_CREAT 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: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-db:mydumper-0.15.2.8:20240412-225648.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-04-13 07:38:25 UTC
too long lines were shrinked:

/usr/bin/x86_64-pc-linux-musl-gcc  -I/usr/include/mysql -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -O2 -pipe -march=native -fno-diagnostics-color -std=gnu99 -Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wextra -Wshadow -I/usr/include/mysql -fno-diagnostics-color -MD -MT CMak
/var/tmp/portage/dev-db/mydumper-0.15.2.8/work/mydumper-0.15.2-8/src/mydumper_common.c: In function 'm_open_pipe':
/var/tmp/portage/dev-db/mydumper-0.15.2.8/work/mydumper-0.15.2-8/src/mydumper_common.c:204:14: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration]
  204 |   f->fdout = open(new_filename, O_CREAT|O_WRONLY|O_TRUNC, 0660);
      |              ^~~~
      |              popen
/var/tmp/portage/dev-db/mydumper-0.15.2.8/work/mydumper-0.15.2-8/src/mydumper_common.c:204:33: error: 'O_CREAT' undeclared (first use in this function)
  204 |   f->fdout = open(new_filename, O_CREAT|O_WRONLY|O_TRUNC, 0660);
      |                                 ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240410-202513

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-13 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

php cli (if any):
  [1]   php8.1
  [2]   php8.3 *
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit 0218134f9a89b2a734b2c5f55f071034a40cfc46
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 12 19:49:09 2024 +0000

    2024-04-12 19:49:09 UTC

emerge -qpvO dev-db/mydumper
[ebuild  N    ] dev-db/mydumper-0.15.2.8  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2024-04-13 07:38:26 UTC
Created attachment 890590 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-13 07:38:27 UTC
Created attachment 890591 [details]
dev-db:mydumper-0.15.2.8:20240412-225648.log
Comment 3 Toralf Förster gentoo-dev 2024-04-13 07:38:28 UTC
Created attachment 890592 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-13 07:38:30 UTC
Created attachment 890593 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-13 07:38:30 UTC
Created attachment 890594 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-13 07:38:31 UTC
Created attachment 890595 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-13 07:38:32 UTC
Created attachment 890596 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-04-13 07:38:33 UTC
Created attachment 890597 [details]
temp.tar.xz