Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2018 00:02:43 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        John Baldwin <jhb@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Cc:        Bryan Drewery <bdrewery@FreeBSD.org>
Subject:   Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...
Message-ID:  <3A54CD6F-FEE9-4813-97B8-76A3E619D7F4@yahoo.com>

next in thread | raw e-mail | index | archive | help
Based on attempting to update (via poudriere-devel and pkg) to -r475344 =
(from
a prior 2018-Jul-15 6.4.0_1 build and installation of such devel/*-gcc =
--and
other things). . .

=3D=3D=3D>  Building package for powerpc64-gcc-6.4.0_2
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/gtype.state:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-tree.de=
f:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/addresses.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/alias.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/all-tree.def:No such file =
or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/alloc-pool.h:No such file =
or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/ansidecl.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/asan.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/attribs.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/auto-host.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/auto-profile.h:No such file =
or directory
. . .
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/xcoff.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/plugin/include/xcoffout.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/libexec/gcc/po=
werpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No such file or =
directory
*** Error code 1


=3D=3D=3D>  Building package for amd64-gcc-6.4.0_2
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/plugin/gtype.state:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-tree.def:No =
such file or directo
ry
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/plugin/include/addresses.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/plugin/include/alias.h:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/plugin/include/all-tree.def:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/plugin/include/alloc-pool.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/plugin/include/ansidecl.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/plugin/include/asan.h:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/plugin/include/attribs.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/plugin/include/auto-host.h:No such file or =
directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/plugin/include/auto-profile.h:No such file or =
directory
. . .

I'll not list devel/aarch64 materials but they are similar.


Looking around for, say, gtype.state shows the likes of:

# find /wrkdirs/usr/ports/devel/ -name gtype.state -print | more
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/.build/gcc/gtype.state
/wrkdirs/usr/ports/devel/amd64-gcc/work/.build/gcc/gtype.state

( Nothing in work/stage/... )


In fact:

# ls -laTt =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/lib/gcc/powerp=
c64-unknown-freebsd12.0/6.4.0/
total 16
drwxr-xr-x  4 root  wheel  512 Jul 25 22:00:28 2018 .
drwxr-xr-x  3 root  wheel  512 Jul 25 21:59:38 2018 install-tools
drwxr-xr-x  2 root  wheel  512 Jul 25 21:59:37 2018 include
drwxr-xr-x  3 root  wheel  512 Jul 25 21:59:26 2018 ..

# ls -laTt =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unk=
nown-freebsd12.0/6.4.0/
total 16
drwxr-xr-x  4 root  wheel   512 Jul 25 22:07:48 2018 .
drwxr-xr-x  2 root  wheel  2048 Jul 25 22:07:48 2018 include
drwxr-xr-x  3 root  wheel   512 Jul 25 22:07:47 2018 install-tools
drwxr-xr-x  3 root  wheel   512 Jul 25 22:07:44 2018 ..

# ls -laTt =
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/stage/usr/local/libexec/gcc/po=
werpc64-unknown-freebsd12.0/6.4.0/
total 284336
drwxr-xr-x  3 root  wheel        512 Jul 25 22:00:28 2018 .
-r-xr-xr-x  1 root  wheel    2812448 Jul 25 22:00:26 2018 lto-wrapper
drwxr-xr-x  2 root  wheel        512 Jul 25 21:59:38 2018 install-tools
-r-xr-xr-x  1 root  wheel  101453496 Jul 25 21:59:35 2018 cc1plus
-r-xr-xr-x  1 root  wheel    2402600 Jul 25 21:59:35 2018 collect2
-r-xr-xr-x  1 root  wheel   90112408 Jul 25 21:59:35 2018 lto1
-r-xr-xr-x  1 root  wheel   93819272 Jul 25 21:59:34 2018 cc1
lrwxr-xr-x  1 root  wheel         22 Jul 25 21:59:28 2018 =
liblto_plugin.so -> liblto_plugin.so.0.0.0
lrwxr-xr-x  1 root  wheel         22 Jul 25 21:59:28 2018 =
liblto_plugin.so.0 -> liblto_plugin.so.0.0.0
-rwxr-xr-x  1 root  wheel     264360 Jul 25 21:59:28 2018 =
liblto_plugin.so.0.0.0
drwxr-xr-x  3 root  wheel        512 Jul 25 21:59:26 2018 ..

# ls -laTt =
/wrkdirs/usr/ports/devel/amd64-gcc/work/stage/usr/local/libexec/gcc/x86_64=
-unknown-freebsd12.0/6.4.0/
total 317648
drwxr-xr-x  3 root  wheel        512 Jul 25 22:07:48 2018 .
drwxr-xr-x  2 root  wheel        512 Jul 25 22:07:47 2018 install-tools
-r-xr-xr-x  1 root  wheel    2829704 Jul 25 22:07:47 2018 lto-wrapper
-r-xr-xr-x  1 root  wheel  105180264 Jul 25 22:07:46 2018 cc1
-r-xr-xr-x  1 root  wheel  112817696 Jul 25 22:07:46 2018 cc1plus
-r-xr-xr-x  1 root  wheel    2404680 Jul 25 22:07:46 2018 collect2
-r-xr-xr-x  1 root  wheel  101541352 Jul 25 22:07:46 2018 lto1
drwxr-xr-x  3 root  wheel        512 Jul 25 22:07:44 2018 ..
lrwxr-xr-x  1 root  wheel         22 Jul 25 22:07:44 2018 =
liblto_plugin.so -> liblto_plugin.so.0.0.0
lrwxr-xr-x  1 root  wheel         22 Jul 25 22:07:44 2018 =
liblto_plugin.so.0 -> liblto_plugin.so.0.0.0
-rwxr-xr-x  1 root  wheel     264168 Jul 25 22:07:44 2018 =
liblto_plugin.so.0.0.0

So no plugin paths at all. So looking . . .

# find /wrkdirs/usr/ports/devel/ -name plugin -print | more
=
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/gcc-6.4.0/libjava/classpath/na=
tive/plugin
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/gcc-6.4.0/libgomp/plugin
=
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/gcc-6.4.0/liboffloadmic/plugin=

=
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/gcc-6.4.0/gcc/testsuite/objc.d=
g/plugin
=
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/gcc-6.4.0/gcc/testsuite/gcc.dg=
/plugin
=
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/gcc-6.4.0/gcc/testsuite/g++.dg=
/plugin
=
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/gcc-6.4.0/gcc/testsuite/obj-c+=
+.dg/plugin
=
/wrkdirs/usr/ports/devel/amd64-gcc/work/gcc-6.4.0/libjava/classpath/native=
/plugin
/wrkdirs/usr/ports/devel/amd64-gcc/work/gcc-6.4.0/libgomp/plugin
/wrkdirs/usr/ports/devel/amd64-gcc/work/gcc-6.4.0/liboffloadmic/plugin
=
/wrkdirs/usr/ports/devel/amd64-gcc/work/gcc-6.4.0/gcc/testsuite/objc.dg/pl=
ugin
=
/wrkdirs/usr/ports/devel/amd64-gcc/work/gcc-6.4.0/gcc/testsuite/gcc.dg/plu=
gin
=
/wrkdirs/usr/ports/devel/amd64-gcc/work/gcc-6.4.0/gcc/testsuite/g++.dg/plu=
gin
=
/wrkdirs/usr/ports/devel/amd64-gcc/work/gcc-6.4.0/gcc/testsuite/obj-c++.dg=
/plugin

(None of which seem to be a match.)

Picking a plugin/include/*.h file and looking for it:

lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/plugin/include/xcoff.h

# find /wrkdirs/usr/ports/devel/ -name xcoff.h -print | more
=
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/gcc-6.4.0/gcc/config/rs6000/xc=
off.h
/wrkdirs/usr/ports/devel/powerpc64-gcc/work/gcc-6.4.0/gcc/xcoff.h
=
/wrkdirs/usr/ports/devel/amd64-gcc/work/gcc-6.4.0/gcc/config/rs6000/xcoff.=
h
/wrkdirs/usr/ports/devel/amd64-gcc/work/gcc-6.4.0/gcc/xcoff.h


Note: the devel/*-binutils builds worked fine, as did devel/gdb .
( lang/gcc8 is still rebuilding. )

Context:

# uname -apKU
FreeBSD FBSDUSSD 12.0-CURRENT FreeBSD 12.0-CURRENT  r336693M  amd64 =
amd64 1200075 1200075



=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A54CD6F-FEE9-4813-97B8-76A3E619D7F4>