Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639816 - sys-apps/fakechroot-2.17.2 : /.../stat.h:361:31: error: array type has incomplete element type struct timespec
Summary: sys-apps/fakechroot-2.17.2 : /.../stat.h:361:31: error: array type has incomp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthoine Bourgeois
URL:
Whiteboard:
Keywords:
: 638786 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-12-04 19:05 UTC by Toralf Förster
Modified: 2021-03-29 14:28 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.68 KB, text/plain)
2017-12-04 19:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,182.01 KB, text/plain)
2017-12-04 19:05 UTC, Toralf Förster
Details
environment (environment,74.69 KB, text/plain)
2017-12-04 19:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.64 KB, application/x-bzip)
2017-12-04 19:05 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,15.52 KB, application/x-bzip)
2017-12-04 19:05 UTC, Toralf Förster
Details
sys-apps:fakechroot-2.17.2:20171203-231121.log (sys-apps:fakechroot-2.17.2:20171203-231121.log,22.17 KB, text/plain)
2017-12-04 19:05 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.26 KB, application/x-bzip)
2017-12-04 19:06 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 2017-12-04 19:05:39 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wno-deprecated-declarations -O2 -pipe -march=native -Wall -c __lxstat.c  -fPIC -DPIC -o .libs/__lxstat.o
In file included from __lxstat.c:27:0:
/usr/include/sys/stat.h:361:31: error: array type has incomplete element type 'struct timespec'
         const struct timespec __times[2],
                               ^~~~~~~
make[2]: *** [Makefile:780: __lxstat.lo] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20171128-221357

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sys-apps/fakechroot
[ebuild  N    ] sys-apps/fakechroot-2.17.2
Comment 1 Toralf Förster gentoo-dev 2017-12-04 19:05:42 UTC
Created attachment 508072 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-04 19:05:45 UTC
Created attachment 508074 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-12-04 19:05:48 UTC
Created attachment 508076 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-12-04 19:05:51 UTC
Created attachment 508078 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-12-04 19:05:54 UTC
Created attachment 508080 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-04 19:05:57 UTC
Created attachment 508082 [details]
sys-apps:fakechroot-2.17.2:20171203-231121.log
Comment 7 Toralf Förster gentoo-dev 2017-12-04 19:06:00 UTC
Created attachment 508084 [details]
temp.tbz2
Comment 8 Denis Descheneaux 2017-12-12 05:40:23 UTC
Copy to local overlay

then rename fakechroot-2.17.2.ebuild to fakechroot-2.19.ebuild

edit ebuild

-	dodoc NEWS.md README.md THANKS
+#	dodoc NEWS.md README.md THANKS

emerges fine then 

Changelogs
https://github.com/dex4er/fakechroot/blob/master/NEWS.md
Comment 9 Denis Descheneaux 2017-12-12 05:42:53 UTC
>>> Completed installing fakechroot-2.19 into /var/tmp/portage/sys-apps/fakechroot-2.19/image/

 * Final size of build directory: 5196 KiB (5.0 MiB)
 * Final size of installed tree:   200 KiB

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   usr/lib64/fakechroot/libfakechroot.so
ecompressdir: xz -9 /usr/share/man
./
./etc/
./etc/fakechroot/
./etc/fakechroot/rinse.env
./etc/fakechroot/debootstrap.env
./etc/fakechroot/chroot.env
./usr/
./usr/bin/
./usr/bin/ldd.fakechroot
./usr/bin/fakechroot
./usr/bin/env.fakechroot
./usr/sbin/
./usr/sbin/chroot.fakechroot
./usr/lib64/
./usr/lib64/fakechroot/
./usr/lib64/fakechroot/libfakechroot.so
./usr/share/
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/fakechroot.1.xz
>>> Done.

>>> Installing (1 of 1) sys-apps/fakechroot-2.19::maolang
 * checking 9 files for package collisions
>>> Merging sys-apps/fakechroot-2.19 to /
>>> Setting SELinux security labels
--- /usr/
--- /usr/share/
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/fakechroot.1.xz
--- /usr/lib64/
>>> /usr/lib64/fakechroot/
>>> /usr/lib64/fakechroot/libfakechroot.so
--- /usr/sbin/
>>> /usr/sbin/chroot.fakechroot
--- /usr/bin/
>>> /usr/bin/env.fakechroot
>>> /usr/bin/fakechroot
>>> /usr/bin/ldd.fakechroot
--- /etc/
>>> /etc/fakechroot/
>>> /etc/fakechroot/chroot.env
>>> /etc/fakechroot/debootstrap.env
>>> /etc/fakechroot/rinse.env
>>> sys-apps/fakechroot-2.19 merged.
>>> Regenerating /etc/ld.so.cache...

 * Messages for package sys-apps/fakechroot-2.19:

 * Package:    sys-apps/fakechroot-2.19
 * Repository: maolang
 * Maintainer: anthoine.bourgeois@gmail.com proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox selinux sesandbox userpriv usersandbox
 * Skipping make test/check due to ebuild restriction.
 * Final size of build directory: 5196 KiB (5.0 MiB)
 * Final size of installed tree:   200 KiB
>>> Auto-cleaning packages...
Comment 10 Alessandro Di Federico 2018-01-09 14:17:00 UTC
Can we bump 2.19?
I can confirm 2.19 builds fine.
Comment 11 Patrick Lauer gentoo-dev 2018-02-24 19:32:47 UTC
2.19 committed
Comment 12 Jaak Ristioja 2018-06-08 19:30:51 UTC
(In reply to Patrick Lauer from comment #11)
> Status: CONFIRMED → RESOLVED

2.17.2 is the latest stable version in Gentoo, and it still fails to build with this same error.
Comment 13 Ben Kohler gentoo-dev 2021-03-29 14:23:17 UTC
*** Bug 638786 has been marked as a duplicate of this bug. ***