Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929250 - dev-db/mydumper-0.15.2.8 - /.../mydumper_common.c: error: O_CREAT undeclared (first use in this function)
Summary: dev-db/mydumper-0.15.2.8 - /.../mydumper_common.c: error: O_CREAT undeclared ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-13 07:38 UTC by Toralf Förster
Modified: 2024-04-13 07:38 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.48 KB, text/plain)
2024-04-13 07:38 UTC, Toralf Förster
Details
dev-db:mydumper-0.15.2.8:20240412-225648.log (dev-db:mydumper-0.15.2.8:20240412-225648.log,19.92 KB, text/plain)
2024-04-13 07:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,152.33 KB, text/plain)
2024-04-13 07:38 UTC, Toralf Förster
Details
environment (environment,98.72 KB, text/plain)
2024-04-13 07:38 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,992 bytes, application/x-xz)
2024-04-13 07:38 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.77 KB, application/x-xz)
2024-04-13 07:38 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,230.07 KB, text/plain)
2024-04-13 07:38 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.95 KB, application/x-xz)
2024-04-13 07:38 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 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