Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715664 - sys-fs/libeatmydata-105-r2 : /.../libeatmydata.c: error: redefinition of open
Summary: sys-fs/libeatmydata-105-r2 : /.../libeatmydata.c: error: redefinition of open
Status: RESOLVED FIXED
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: PATCH
Depends on:
Blocks:
 
Reported: 2020-03-31 19:03 UTC by Toralf Förster
Modified: 2021-10-25 06:48 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.28 KB, text/plain)
2020-03-31 19:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,174.20 KB, text/plain)
2020-03-31 19:03 UTC, Toralf Förster
Details
environment (environment,66.69 KB, text/plain)
2020-03-31 19:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.45 KB, application/x-bzip)
2020-03-31 19:03 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.33 KB, application/x-bzip)
2020-03-31 19:03 UTC, Toralf Förster
Details
sys-fs:libeatmydata-105-r2:20200331-173155.log (sys-fs:libeatmydata-105-r2:20200331-173155.log,13.72 KB, text/plain)
2020-03-31 19:04 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.87 KB, application/x-bzip)
2020-03-31 19:04 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-03-31 19:03:45 UTC
In file included from /var/tmp/portage/sys-fs/libeatmydata-105-r2/work/libeatmydata-105/libeatmydata/libeatmydata.c:25:
/var/tmp/portage/sys-fs/libeatmydata-105-r2/work/libeatmydata-105/libeatmydata/libeatmydata.c:161:22: error: redefinition of open
  161 | int LIBEATMYDATA_API open64(const char* pathname, int flags, ...)
      |                      ^~~~~~
/usr/include/fcntl.h:34:5: note: previous definition of open was here

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

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

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

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.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Mar 31 16:43:40 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO sys-fs/libeatmydata
[ebuild  N    ] sys-fs/libeatmydata-105-r2
Comment 1 Toralf Förster gentoo-dev 2020-03-31 19:03:47 UTC
Created attachment 628074 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-31 19:03:50 UTC
Created attachment 628076 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-31 19:03:53 UTC
Created attachment 628078 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-31 19:03:56 UTC
Created attachment 628080 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-31 19:03:58 UTC
Created attachment 628082 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-31 19:04:01 UTC
Created attachment 628084 [details]
sys-fs:libeatmydata-105-r2:20200331-173155.log
Comment 7 Toralf Förster gentoo-dev 2020-03-31 19:04:04 UTC
Created attachment 628086 [details]
temp.tbz2
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2020-09-07 07:25:07 UTC
Please report it and have it reviewed upstream: https://launchpad.net/libeatmydata/
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-25 06:48:49 UTC
https://github.com/stewartsmith/libeatmydata/commit/1d06f46cda6333fd03d5175c1e334119ee394fcb

... and fixed in 129, so already in Gentoo.