Re: setting port options for multiple ports

2018-07-30 Thread Mark Millard via freebsd-ports
blubee blubeeme gurenchan at gmail.com write on
Mon Jul 30 11:03:07 UTC 2018 :

> I am working on a port that requires many other ports to be built with
> specific options selected.
> 
> Is there any way to have a port enables options in it's dependencies?

If the port is to be built on the FreeBSD package builders there are
likely large implications to forcing specific options of other ports.

Is this a "personal/local" port or otherwise not to be built by the
package builders ( or anyone doing poudriere bulk -a )?

There are ports that have local copies and internal builds of other
things needed in order to avoid such ties. As I remember pkg itself
is an example. (This has an environment-bootstrap sequence issue
involved in why as well.)


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

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-29 Thread Mark Millard via freebsd-ports
[Updating devel/powerpc64-gcc's BUILD_DEPENDS seems to have
fixed the issue. Also: Stupid of me to have typed _BOOTSTRAP
at the end of WITH_BINUTILS and WITH_ELFTOOLCHAIN
references. I've noted the references to avoid future
confusions.]

On 2018-Jul-29, at 6:55 PM, Mark Millard  wrote:

> [Looks like this might be objdump being available vs. not
> for the architecture doing the build of devel/powerpc64-gcc
> (or which ever *-gcc), such as via poudriere-devel: configure.ac
> and its configure produced depend on objdump for -rdynamic
> testing but devel/powerpc64-gcc and the like do not list
> appropriate build dependencies for the architecture doing the
> build. If buildworld did not include objdump that leaves only
> a port to supply it and a path would need to be set up to
> find it. More evidence listed bottom-posted.]
> 
> On 2018-Jul-29, at 5:22 PM, Mark Millard  wrote:
> 
>> [In my poudriere-devel enviroment configure is deciding: enable_plugin='no' 
>> .]
>> 
>> On 2018-Jul-29, at 10:51 AM, Mark Millard  wrote:
>> 
>>> On 2018-Jul-29, at 8:42 AM, John Baldwin  wrote:
>>> 
 On 7/28/18 9:39 AM, Mark Millard wrote:
> [Older directions of investigation omitted.]
> 
> On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:
> 
>> On 7/26/18 12:02 AM, Mark Millard wrote:
>>> 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). . .
>>> 
>>> ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
>>>  such file or directory
>>> *** Error code 1
>>> 
>>> 
>>> ===>  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-unknown-freebsd12.0/6.4.0/plugin/gtype.state:No
>>>  such file or directory
>>> pkg-static: Unable to access file 
>>> 

Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-29 Thread Mark Millard via freebsd-ports
[Looks like this might be objdump being available vs. not
for the architecture doing the build of devel/powerpc64-gcc
(or which ever *-gcc), such as via poudriere-devel: configure.ac
and its configure produced depend on objdump for -rdynamic
testing but devel/powerpc64-gcc and the like do not list
appropriate build dependencies for the architecture doing the
build. If buildworld did not include objdump that leaves only
a port to supply it and a path would need to be set up to
find it. More evidence listed bottom-posted.]

On 2018-Jul-29, at 5:22 PM, Mark Millard  wrote:

> [In my poudriere-devel enviroment configure is deciding: enable_plugin='no' .]
> 
> On 2018-Jul-29, at 10:51 AM, Mark Millard  wrote:
> 
>> On 2018-Jul-29, at 8:42 AM, John Baldwin  wrote:
>> 
>>> On 7/28/18 9:39 AM, Mark Millard wrote:
 [Older directions of investigation omitted.]
 
 On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:
 
> On 7/26/18 12:02 AM, Mark Millard wrote:
>> 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). . .
>> 
>> ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
>>  such file or directory
>> *** Error code 1
>> 
>> 
>> ===>  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-unknown-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-unknown-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-unknown-freebsd12.0/6.4.0/plugin/include/addresses.h:No
>>  such file or directory
>> 

Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-29 Thread Mark Millard via freebsd-ports
[In my poudriere-devel enviroment configure is deciding: enable_plugin='no' .]

On 2018-Jul-29, at 10:51 AM, Mark Millard  wrote:

> On 2018-Jul-29, at 8:42 AM, John Baldwin  wrote:
> 
>> On 7/28/18 9:39 AM, Mark Millard wrote:
>>> [Older directions of investigation omitted.]
>>> 
>>> On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:
>>> 
 On 7/26/18 12:02 AM, Mark Millard wrote:
> 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). . .
> 
> ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
>  such file or directory
> *** Error code 1
> 
> 
> ===>  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-unknown-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-unknown-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-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/plugin/include/alloc-pool.h:No
>  such file or directory
> pkg-static: Unable to access file 
> 

Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-29 Thread Mark Millard via freebsd-ports
On 2018-Jul-29, at 8:42 AM, John Baldwin  wrote:

> On 7/28/18 9:39 AM, Mark Millard wrote:
>> [Older directions of investigation omitted.]
>> 
>> On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:
>> 
>>> On 7/26/18 12:02 AM, Mark Millard wrote:
 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). . .
 
 ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
  such file or directory
 *** Error code 1
 
 
 ===>  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-unknown-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-unknown-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-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/plugin/include/ansidecl.h:No
  such file or directory
 pkg-static: Unable to access file 
 

Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-28 Thread Mark Millard via freebsd-ports
[portmaster -DK devel/powerpc64-gcc built and installed
powerpc64-gcc just fine.]

On 2018-Jul-28, at 6:51 PM, Mark Millard  wrote:

> [Top note of a correction: I used portmaster -C and am
> trying without -C. The -K references below are wrong.
> No further updated material follows in this note.]
> 
> On 2018-Jul-28, at 6:47 PM, Mark Millard  wrote:
> 
>> [Completing building aarch64-gcc via portmaster -K (after pkg
>> install of  poudriere-devel builds of things required) worked
>> fine. But powerpc64-gcc via -K failed like under poudriere.]
>> 
>> On 2018-Jul-28, at 12:15 PM, Mark Millard  wrote:
>> 
>>> On 2018-Jul-28, at 10:36 AM, Mark Millard  wrote:
>>> 
 [So much for reverting -r475361 : it still is producing *-gcc-6.4.0_2.tbz 
 files.
 and the version relationship was wrong for when I first saw the issue.]
 
 On 2018-Jul-28, at 9:39 AM, Mark Millard  wrote:
 
> [Older directions of investigation omitted.]
> 
> On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:
> 
>> On 7/26/18 12:02 AM, Mark Millard wrote:
>>> 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). . .
 
 During experiments with this issue I have progressed past
 -r475344 and the problem has repeated.
 
 But I should have noticed 475344 < 475361 .
 
>>> ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
>>>  such file or directory
>>> *** Error code 1
>>> 
>>> 
>>> ===>  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-unknown-freebsd12.0/6.4.0/plugin/gtype.state:No
>>>  such file or directory
>>> pkg-static: Unable to access file 
>>> 

Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-28 Thread Mark Millard via freebsd-ports
[Completing building aarch64-gcc via portmaster -K (after pkg
install of  poudriere-devel builds of things required) worked
fine. But powerpc64-gcc via -K failed like under poudriere.]

On 2018-Jul-28, at 12:15 PM, Mark Millard  wrote:

> On 2018-Jul-28, at 10:36 AM, Mark Millard  wrote:
> 
>> [So much for reverting -r475361 : it still is producing *-gcc-6.4.0_2.tbz 
>> files.
>> and the version relationship was wrong for when I first saw the issue.]
>> 
>> On 2018-Jul-28, at 9:39 AM, Mark Millard  wrote:
>> 
>>> [Older directions of investigation omitted.]
>>> 
>>> On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:
>>> 
 On 7/26/18 12:02 AM, Mark Millard wrote:
> 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). . .
>> 
>> During experiments with this issue I have progressed past
>> -r475344 and the problem has repeated.
>> 
>> But I should have noticed 475344 < 475361 .
>> 
> ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
>  such file or directory
> *** Error code 1
> 
> 
> ===>  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-unknown-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-unknown-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-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/plugin/include/alias.h:No
>  such file or directory
> pkg-static: Unable 

Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-28 Thread Mark Millard via freebsd-ports
[Top note of a correction: I used portmaster -C and am
trying without -C. The -K references below are wrong.
No further updated material follows in this note.]

On 2018-Jul-28, at 6:47 PM, Mark Millard  wrote:

> [Completing building aarch64-gcc via portmaster -K (after pkg
> install of  poudriere-devel builds of things required) worked
> fine. But powerpc64-gcc via -K failed like under poudriere.]
> 
> On 2018-Jul-28, at 12:15 PM, Mark Millard  wrote:
> 
>> On 2018-Jul-28, at 10:36 AM, Mark Millard  wrote:
>> 
>>> [So much for reverting -r475361 : it still is producing *-gcc-6.4.0_2.tbz 
>>> files.
>>> and the version relationship was wrong for when I first saw the issue.]
>>> 
>>> On 2018-Jul-28, at 9:39 AM, Mark Millard  wrote:
>>> 
 [Older directions of investigation omitted.]
 
 On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:
 
> On 7/26/18 12:02 AM, Mark Millard wrote:
>> 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). . .
>>> 
>>> During experiments with this issue I have progressed past
>>> -r475344 and the problem has repeated.
>>> 
>>> But I should have noticed 475344 < 475361 .
>>> 
>> ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
>>  such file or directory
>> *** Error code 1
>> 
>> 
>> ===>  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-unknown-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-unknown-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 
>> 

/usr/ports/devel/powerpc64-gcc/Makefile : armv7 too vs. only armv6 and aarch64 for CXXFLAGS=-fbracket-depth=512 ?

2018-07-28 Thread Mark Millard via freebsd-ports
Is armv7 really distinct from armv6 and aarch64 for the below?

.if ${TARGETARCH} == "armv6" || ${TARGETARCH} == "aarch64"
. if ${COMPILER_TYPE} == clang
MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512
. endif
.endif

(Not that I expect that this is tied to what I've been trying
to figure out about lack of installing into staging.)


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

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-28 Thread Mark Millard via freebsd-ports
On 2018-Jul-28, at 10:36 AM, Mark Millard  wrote:

> [So much for reverting -r475361 : it still is producing *-gcc-6.4.0_2.tbz 
> files.
> and the version relationship was wrong for when I first saw the issue.]
> 
> On 2018-Jul-28, at 9:39 AM, Mark Millard  wrote:
> 
>> [Older directions of investigation omitted.]
>> 
>> On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:
>> 
>>> On 7/26/18 12:02 AM, Mark Millard wrote:
 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). . .
> 
> During experiments with this issue I have progressed past
> -r475344 and the problem has repeated.
> 
> But I should have noticed 475344 < 475361 .
> 
 ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
  such file or directory
 *** Error code 1
 
 
 ===>  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-unknown-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-unknown-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-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/plugin/include/all-tree.def:No
  such file or directory
 pkg-static: Unable to access file 
 

A typo(?) in devel/powerpc64-gcc/Makefile : /${GCC_TARGET$}/ has an extra "$"?

2018-07-28 Thread Mark Millard via freebsd-ports
https://svnweb.freebsd.org/ports/head/devel/powerpc64-gcc/Makefile?revision=475446=markup=rev=down

shows (starting line 109):

.if ${TARGETARCH} == "amd64" || ${TARGETARCH} == "i386"
# Conflicts with sys/x86/include/float.h
${RM} 
${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET$}/${PORTVERSION}/include/float.h
.endif

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

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-28 Thread Mark Millard via freebsd-ports
[So much for reverting -r475361 : it still is producing *-gcc-6.4.0_2.tbz files.
and the version relationship was wrong for when I first saw the issue.]

On 2018-Jul-28, at 9:39 AM, Mark Millard  wrote:

> [Older directions of investigation omitted.]
> 
> On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:
> 
>> On 7/26/18 12:02 AM, Mark Millard wrote:
>>> 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). . .

During experiments with this issue I have progressed past
-r475344 and the problem has repeated.

But I should have noticed 475344 < 475361 .

>>> ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
>>>  such file or directory
>>> *** Error code 1
>>> 
>>> 
>>> ===>  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-unknown-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-unknown-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-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/plugin/include/alloc-pool.h:No
>>>  such file or directory
>>> pkg-static: Unable to access file 
>>> 

Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-28 Thread Mark Millard via freebsd-ports
[Older directions of investigation omitted.]

On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:

> On 7/26/18 12:02 AM, Mark Millard wrote:
>> 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). . .
>> 
>> ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
>>  such file or directory
>> *** Error code 1
>> 
>> 
>> ===>  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-unknown-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-unknown-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-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/plugin/include/asan.h:No
>>  such file or directory
>> pkg-static: Unable to access file 
>> 

Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-28 Thread Mark Millard via freebsd-ports


On 2018-Jul-28, at 1:33 AM, Mark Millard  wrote:

> On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:
> 
>> On 7/26/18 12:02 AM, Mark Millard wrote:
>>> 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). . .
>>> 
>>> ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
>>>  such file or directory
>>> *** Error code 1
>>> 
>>> 
>>> ===>  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-unknown-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-unknown-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-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/plugin/include/asan.h:No
>>>  such file or directory
>>> pkg-static: Unable to access file 
>>> 

Re: Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-28 Thread Mark Millard via freebsd-ports
On 2018-Jul-26, at 10:24 AM, John Baldwin  wrote:

> On 7/26/18 12:02 AM, Mark Millard wrote:
>> 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). . .
>> 
>> ===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
>>  such file or directory
>> *** Error code 1
>> 
>> 
>> ===>  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-unknown-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-unknown-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-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/plugin/include/attribs.h:No
>>  such file or directory

Building devel/powerpc64-gcc and devel/amd64-gcc and the like fail: "Unable to access file" for many files in work/stage/...

2018-07-26 Thread Mark Millard via freebsd-ports
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). . .

===>  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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/include/ada/gcc-interface/ada-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-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/powerpc64-unknown-freebsd12.0/6.4.0/plugin/gengtype:No
 such file or directory
*** Error code 1


===>  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-unknown-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-unknown-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-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-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/amd64-gcc/work/stage/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/plugin/include/auto-host.h:No
 such file or directory
pkg-static: Unable to access file 

Re: emulators/virtualbox-ose-additions-nox11 fails to build in poudriere-devel for amd64 context: fails CTASSERT(sizeof(struct pcpu) == UMA_PCPU_ALLOC_SIZE)

2018-07-15 Thread Mark Millard via freebsd-ports
[The build got to emulators/virtualbox-ose-additions and it also
failed this way. The PAGE_SIZE warning did not occur. More notes
added after the quoted history.]

On 2018-Jul-15, at 7:49 AM, Mark Millard  wrote:

> The failure:
> 
> kBuild: Compiling VBoxGuestR0Lib - 
> /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibPhysHeap.cpp
> In file included from 
> /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/src/VBox/GuestHost/HGSMI/HGSMIMemAlloc.cpp:55:
> In file included from 
> /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/include/VBox/Graphics/HGSMIMemAlloc.h:31:
> In file included from 
> /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/include/VBox/Graphics/HGSMIDefs.h:35:
> In file included from 
> /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/include/VBox/Graphics/VBoxVideoIPRT.h:32:
> In file included from 
> /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/include/iprt/string.h:45:
> In file included from /usr/src/sys/sys/libkern.h:41:
> In file included from /usr/src/sys/sys/systm.h:112:
> /usr/src/sys/sys/pcpu.h:207:1: error: static_assert failed "compile-time 
> assertion failed"
> CTASSERT(sizeof(struct pcpu) == UMA_PCPU_ALLOC_SIZE);
> ^~~~
> /usr/src/sys/sys/systm.h:107:21: note: expanded from macro 'CTASSERT'
> #define CTASSERT(x) _Static_assert(x, "compile-time assertion failed")
>^  ~
> 
> (There are other example places that fail the same assert condition.)
> 
> There is also a warning for PAGE_SIZE being redefined:
> 
> In file included from 
> /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibInit.cpp:33:
> In file included from 
> /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/include/iprt/string.h:45:
> In file included from /usr/src/sys/sys/libkern.h:41:
> In file included from /usr/src/sys/sys/systm.h:111:
> In file included from /usr/src/sys/sys/param.h:141:
> /usr/include/machine/param.h:101:9: warning: 'PAGE_SIZE' macro redefined 
> [-Wmacro-redefined]
> #define PAGE_SIZE   (1<^
> /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/include/iprt/param.h:52:10:
>  note: previous definition is here
> # define PAGE_SIZE  4096
> ^
> 
> 
> Context:
> 
> 
> # uname -apKU
> FreeBSD FBSDUSSD 12.0-CURRENT FreeBSD 12.0-CURRENT  r336301M  amd64 amd64 
> 1200072 1200072
> 
> 
> 
> # svnlite info /usr/ports | grep "Re[plv]"
> Relative URL: ^/head
> Repository Root: svn://svn.freebsd.org/ports
> Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> Revision: 474654
> Last Changed Rev: 474654
> 
> 
> 
> The "M" in r336301M is mostly for use with powerpc* family experiments based
> on modern C/C++ compilers:
> 
> # svnlite status /usr/src/ | sort
> ?   /usr/src/sys/amd64/conf/GENERIC-DBG
> ?   /usr/src/sys/amd64/conf/GENERIC-NODBG
> ?   /usr/src/sys/arm/conf/GENERIC-DBG
> ?   /usr/src/sys/arm/conf/GENERIC-NODBG
> ?   /usr/src/sys/arm64/conf/GENERIC-DBG
> ?   /usr/src/sys/arm64/conf/GENERIC-NODBG
> ?   /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG
> ?   /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG
> ?   /usr/src/sys/powerpc/conf/GENERICvtsc-DBG
> ?   /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG
> M   /usr/src/Makefile.libcompat
> M   /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
> M   /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp
> M   /usr/src/crypto/openssl/crypto/armcap.c
> M   /usr/src/lib/libkvm/kvm_powerpc.c
> M   /usr/src/lib/libkvm/kvm_private.c
> M   /usr/src/release/Makefile.vm
> M   /usr/src/release/scripts/mk-vmimage.sh
> M   /usr/src/release/tools/vmimage.subr
> M   /usr/src/secure/lib/libcrypto/Makefile
> M   /usr/src/stand/defs.mk
> M   /usr/src/stand/powerpc/boot1.chrp/Makefile
> M   /usr/src/stand/powerpc/kboot/Makefile
> M   /usr/src/sys/arm64/arm64/identcpu.c
> M   /usr/src/sys/conf/kmod.mk
> M   /usr/src/sys/conf/ldscript.powerpc
> M   /usr/src/sys/powerpc/aim/mmu_oea64.c
> M   /usr/src/sys/powerpc/ofw/ofw_machdep.c

emulators/virtualbox-ose-additions also got the error. But it did
not get the PAGE_SIZE warning.


There was also in both variants the likes of (3 times for each):

/wrkdirs/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.14/src/VBox/Runtime/common/asm/ASMSerializeInstruction-iret.asm:46:
 warning: `ss' segment register ignored in 64-bit mode


And there were lots of notices for:

warning: flexible array members are a C99 feature [-Wc99-extensions]
warning: 'register' storage class specifier is 

emulators/virtualbox-ose-additions-nox11 fails to build in poudriere-devel for amd64 context: fails CTASSERT(sizeof(struct pcpu) == UMA_PCPU_ALLOC_SIZE)

2018-07-15 Thread Mark Millard via freebsd-ports
The failure:

kBuild: Compiling VBoxGuestR0Lib - 
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibPhysHeap.cpp
In file included from 
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/src/VBox/GuestHost/HGSMI/HGSMIMemAlloc.cpp:55:
In file included from 
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/include/VBox/Graphics/HGSMIMemAlloc.h:31:
In file included from 
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/include/VBox/Graphics/HGSMIDefs.h:35:
In file included from 
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/include/VBox/Graphics/VBoxVideoIPRT.h:32:
In file included from 
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/include/iprt/string.h:45:
In file included from /usr/src/sys/sys/libkern.h:41:
In file included from /usr/src/sys/sys/systm.h:112:
/usr/src/sys/sys/pcpu.h:207:1: error: static_assert failed "compile-time 
assertion failed"
CTASSERT(sizeof(struct pcpu) == UMA_PCPU_ALLOC_SIZE);
^~~~
/usr/src/sys/sys/systm.h:107:21: note: expanded from macro 'CTASSERT'
#define CTASSERT(x) _Static_assert(x, "compile-time assertion failed")
^  ~

(There are other example places that fail the same assert condition.)

There is also a warning for PAGE_SIZE being redefined:

In file included from 
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibInit.cpp:33:
In file included from 
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBox-5.2.14/include/iprt/string.h:45:
In file included from /usr/src/sys/sys/libkern.h:41:
In file included from /usr/src/sys/sys/systm.h:111:
In file included from /usr/src/sys/sys/param.h:141:
/usr/include/machine/param.h:101:9: warning: 'PAGE_SIZE' macro redefined 
[-Wmacro-redefined]
#define PAGE_SIZE   (1

Re: aarch64-none-elf-gcc and related programs will not install

2018-07-09 Thread Mark Millard via freebsd-ports



On 2018-Jul-9, at 9:13 AM, John Baldwin  wrote:

> On 7/7/18 5:56 PM, Mark Millard wrote:
>> Things seem to be in a confused state/status. Here is my limited 
>> understanding,
>> including what has me confused . . .
>> 
>> https://svnweb.freebsd.org/ports/head/devel/aarch64-none-elf-gcc/Makefile?revision=472670=markup
>> shows that this is a slave port of powerpc64-gcc :
>> 
>> 17   MASTERDIR=  ${.CURDIR}/../powerpc64-gcc
>> 
>> (This looks to be true from when aarch64-none-elf-gcc/Makefile
>> was first checked in as well.)
>> 
>> As of -r465416 powerpc64-gcc recursively removes:
>> 
>> ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed
>> 
>> in post-install . (Other things are also removed.)
>> 
>> ("include-fixed" tends to not track FreeBSD in a timely manor, for example.
>> I'll not get into all the issues that I'm aware of.)
>> 
>> But 
>> https://svnweb.freebsd.org/ports/head/devel/aarch64-none-elf-gcc/pkg-plist?revision=467716=markup
>> shows:
>> 
>> 23   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h
>> 24   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_fil.h
>> 25   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_lookup.h
>> 26   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_nat.h
>> 27   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_proxy.h
>> 28   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_scan.h
>> 29   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_state.h
>> 30   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README
>> 31   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stddef.h
>> 32   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdio.h
>> 33   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdlib.h
>> 34   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/sys/types.h
>> 35   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h
>> 36   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/unistd.h
>> 37   lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/wchar.h
>> 
>> and so has references to files that do not exist as far as I can tell
>> so far.
>> 
>> Most/all other slave ports of powerpc64-gcc have had such
>> references removed as I understand.
>> 
>> For example, -r437977 removed:
>> 
>> lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README   
>> lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h 
>> lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h
>> 
>> in devel/aarch64-gcc/pkg-plist .
>> 
>> But -r466699 (that included aarch64-none-elf-gcc changes) says:
>> 
>> Author:  jhb
>> Date:Sat Apr 7 00:26:46 2018 UTC (3 months ago)
>> Changed paths:   3
>> Log Message: 
>> Fix two more issues with r465416
>> 
>> . . .
>> - Don't remove the include-fixed headers for the aarch64-none-elf-gcc
>>  and arm-none-eabi-gcc packages.
>> . . .
>> 
>> Reported by: kevans (2)
>> Reviewed by: bdrewery, kevans
>> Differential Revision:   
>> https://reviews.freebsd.org/D14925
> 
> This made the RM conditional if you look at the diff:
> 
> .if empty(PKGNAMEPREFIX:M*-*-)
>@${RM} -r 
> ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed
> .endif
> 
> The conditional should only apply to xtoolchain gcc ports (e.g. amd64-gcc)
> not to aarch64-none-elf-gcc.
> 
> I don't have the context from the start of this thread to know what is broken
> though.

Somehow I missed the conditional code. Sorry.

https://svnweb.freebsd.org/ports/branches/2018Q2/devel/ goes
back to -r466125 before the conditional was added.

It looks like https://svnweb.freebsd.org/ports/branches/2018Q3/devel/
was only established about 7 days ago as/at -r473710 .

So if the quarterly 2018Q2 was in use at the time, that would explain
the types messages.

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

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: aarch64-none-elf-gcc and related programs will not install

2018-07-07 Thread Mark Millard via freebsd-ports
Things seem to be in a confused state/status. Here is my limited understanding,
including what has me confused . . .

https://svnweb.freebsd.org/ports/head/devel/aarch64-none-elf-gcc/Makefile?revision=472670=markup
shows that this is a slave port of powerpc64-gcc :

17  MASTERDIR=  ${.CURDIR}/../powerpc64-gcc

(This looks to be true from when aarch64-none-elf-gcc/Makefile
was first checked in as well.)

As of -r465416 powerpc64-gcc recursively removes:

${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed

in post-install . (Other things are also removed.)

("include-fixed" tends to not track FreeBSD in a timely manor, for example.
I'll not get into all the issues that I'm aware of.)

But 
https://svnweb.freebsd.org/ports/head/devel/aarch64-none-elf-gcc/pkg-plist?revision=467716=markup
shows:

23  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h
24  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_fil.h
25  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_lookup.h
26  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_nat.h
27  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_proxy.h
28  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_scan.h
29  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_state.h
30  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README
31  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stddef.h
32  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdio.h
33  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdlib.h
34  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/sys/types.h
35  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h
36  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/unistd.h
37  lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/wchar.h

and so has references to files that do not exist as far as I can tell
so far.

Most/all other slave ports of powerpc64-gcc have had such
references removed as I understand.

For example, -r437977 removed:

 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README 
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h   
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h

in devel/aarch64-gcc/pkg-plist .

But -r466699 (that included aarch64-none-elf-gcc changes) says:

Author: jhb
Date:   Sat Apr 7 00:26:46 2018 UTC (3 months ago)
Changed paths:  3
Log Message:
Fix two more issues with r465416

. . .
- Don't remove the include-fixed headers for the aarch64-none-elf-gcc
  and arm-none-eabi-gcc packages.
. . .

Reported by:kevans (2)
Reviewed by:bdrewery, kevans
Differential Revision:  
https://reviews.freebsd.org/D14925


( -r466699 is after -r465416 added the removal of include-fixed/.
Thus my confusion.)

There is also -r467716 which says:

Wed Apr 18 17:07:23 2018 UTC (2 months, 2 weeks ago) by kevans 
File size: 29483 byte(s)
Fix arm-none-eabi-gcc/aarch64-none-elf-gcc plist after r466699

jhb fixed these ports in r466699, but include-fixed headers has changed
since the last update, perhaps due to --sysroot and these ports being built
differently since then.

Add the extra headers to the plist and bump PORTREVISION due to package
differences. This fixes some sanity checking in the plist, since these files
are installed to the stage dir.

Reported by:Phillip R. Jaenke 
Approved by:ler (ports)
MFH:2018Q2



(This also confuses me, given when powerpc64-gcc [the master
port] started removing include-fixed well before this.)


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

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: svn commit: r466933 - head/devel/amd64-binutils

2018-04-13 Thread Mark Millard via freebsd-ports
On 2018-Apr-13, at 8:09 PM, Mark Millard  wrote:

>> Author: kan
>> Date: Tue Apr 10 01:00:30 2018
>> New Revision: 466933
>> URL: 
>> https://svnweb.freebsd.org/changeset/ports/466933
>> 
>> 
>> Log:
>>  Catch up with changed binutils prefix
>> 
>> . . .
>> -BUTARGET=   x86_64-${OPSYS:tl}
>> +BUTARGET=   x86_64-unknown-${OPSYS:tl}${OSREL}
> 
> Should something have been done to force the port
> to rebuild after a svnlite update picks up this
> change? The change has significant file name
> differences in what would be installed but poudriere
> bulk did not classify my reference to
> devel/amd64-xtoolchain-gcc as needing to update
> devel/amd64-binutils .

Forcing devel/amd64-binutils to build worked.

But afterwards devel/amd64-gcc fails to build because:

. . .
===
===>   amd64-gcc-6.3.0_3 depends on executable: x86_64-freebsd-as - not found
===>   Installing existing package /packages/All/amd64-binutils-2.30_2,1.txz
[FBSDFSSDjailVariant] Installing amd64-binutils-2.30_2,1...
[FBSDFSSDjailVariant] Extracting amd64-binutils-2.30_2,1: .. done
===>   amd64-gcc-6.3.0_3 depends on executable: x86_64-freebsd-as - not found
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/amd64-gcc
=>> Cleaning up wrkdir
===>  Cleaning for amd64-gcc-6.3.0_3
build of devel/amd64-gcc | amd64-gcc-6.3.0_3 ended at Fri Apr 13 20:58:39 PDT 
2018
build time: 00:01:16
!!! build failure encountered !!!


This looks to be because of BU_PREFIX in
devel/amd64-gcc/Makefile :

GCC_TARGET= x86_64-unknown-${OPSYS:tl}${OSREL}
BU_PREFIX=  x86_64-${OPSYS:tl}

devel/powerpc64-gcc (the master) shows the normal
structure is:

.if empty(GCC_TARGET)
# We are building for a FreeBSD target
GCC_TARGET?=${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
BU_PREFIX?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
EXTRA_PATCHES+= ${FILESDIR}/freebsd-format-extensions
. . .

amd64 does need the x86_64- part of what it has but the
suffix after that needs the unknown-${OPSYS:tl}${OSREL}
part as well.

Again, forcing an update after a svn update picks up
such a change is likely appropriate.

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

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: svn commit: r466933 - head/devel/amd64-binutils

2018-04-13 Thread Mark Millard via freebsd-ports
> Author: kan
> Date: Tue Apr 10 01:00:30 2018
> New Revision: 466933
> URL: 
> https://svnweb.freebsd.org/changeset/ports/466933
> 
> 
> Log:
>   Catch up with changed binutils prefix
> 
> . . .
> -BUTARGET=x86_64-${OPSYS:tl}
> +BUTARGET=x86_64-unknown-${OPSYS:tl}${OSREL}

Should something have been done to force the port
to rebuild after a svnlite update picks up this
change? The change has significant file name
differences in what would be installed but poudriere
bulk did not classify my reference to
devel/amd64-xtoolchain-gcc as needing to update
devel/amd64-binutils .


===
Mark Millard
marklmi26-fbsd at yahoo.com
( dsl-only.net went
away in early 2018-Mar)






___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Attempting a xtoolchain-gcc head amd64->aarch64 cross buildworld failed for liblto_plugin.so loading error

2018-04-07 Thread Mark Millard via freebsd-ports
[The static build of binutils is what gets the lto involved.]

On 2018-Apr-7, at 5:29 PM, Mark Millard  wrote:

> On 2018-Apr-7, at 3:35 PM, Alexander Kabaev  wrote:
> 
>> On Sat, 7 Apr 2018 15:23:50 -0700
>> Mark Millard via freebsd-arm  wrote:
>> 
>>> My attempted, xtoolchain-gcc based, amd64->aarch64
>>> cross-buildworld-buildkernel failed with:
>>> 
>>> --- libc.so.7.full ---
>>> /usr/local/bin/aarch64-unknown-freebsd12.0-ld: 
>>> /usr/local/libexec/gcc/aarch64-unknown-freebsd12.0/6.3.0/liblto_plugin.so:
>>> error loading plugin: Service unavailable collect2: error: ld
>>> returned 1 exit status *** [libc.so.7.full] Error code 1
>>> 
>>> (I've not attempted such a build in a long time, so I do not
>>> know how new this is. Historically I've done lots of such
>>> builds. cortex-a53 was specifically targeted here.)
>>> . . .
>> 
>> IIRC, I had to disable LTO plugin in binutils and this need to
>> disable it was there for a while. 
> 
> Hmm . . .
> 
> # pkg info aarch64-binutils
> aarch64-binutils-2.30_2,1
> Name   : aarch64-binutils
> Version: 2.30_2,1
> Installed on   : Tue Feb  6 17:37:31 2018 PST
> Origin : devel/aarch64-binutils
> Architecture   : FreeBSD:12:amd64
> Prefix : /usr/local
> Categories : devel
> Licenses   : GPLv3, LGPL3
> Maintainer : bapt at FreeBSD.org
> WWW: http://sources.redhat.com/binutils/
> Comment: GNU binutils for AArch64 cross-development
> Options:
>RELRO  : off
>STATIC : on
> . . . (no more options listed) . . .
> 
> # poudriere options -jFBSDFSSDjail -s devel/aarch64-binutils
> [00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
> ===> The following configuration options are available for 
> aarch64-binutils-2.30_2,1:
> RELRO=off: enable -z relro in ELF linker by default
> STATIC=on: Build static executables and/or libraries
> ===> Use 'make config' to modify these settings
> . . .
> 
> 
> Controlling LTO's presence via my port build does
> not seem to be the way to disable LTO.
> 
> This would suggest that I need to override part
> of what buildworld does in order to force avoiding
> lto. Such would be the first time that I've run
> into that.
> 
> Looks like I've some research to do for how.
> 
> Thanks for letting me know.

I had forgotten but I'd analyzed this once before:

https://lists.freebsd.org/pipermail/freebsd-ports/2017-August/109769.html

and it traced back to:

 STATIC=on: Build static executables and/or libraries

for aarch64-binutils. (Static was at the time required for
a poudriere/qemu mix that used aarch64-binutils.)

(I do-not/did-not see such problems for powerpc64 targeted cross
builds using xtoolchain material, such as powerpc64-binutils
and powerpc64-gcc. This is specific to aarch64 for some
reason.)

So I'll see about turning STATIC off to enable buildworld.

===
Mark Millard
marklmi26-fbsd at yahoo.com
( dsl-only.net went
away in early 2018-Mar)






___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


head amd64->aarch64 buildkernel: clang using aarch64-binutils gets /tmp/cloudabi_vdso_armv6_on_64bit-2f26ed.o: error adding symbols: File in wrong format

2018-04-07 Thread Mark Millard via freebsd-ports
(Context: buildworld completed before builkernel started.)

My attempt to do buildworld buildkernel via clang but using
aarch64-binutils got the following failure during buildkernel.

(Note the use of: -B/usr/local/aarch64-unknown-freebsd12.0/bin/
for clang.)

--- cloudabi32_vdso.o ---
/tmp/cloudabi_vdso_armv6_on_64bit-2f26ed.o: error adding symbols: File in wrong 
format
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [cloudabi32_vdso.o] Error code 1

make[4]: stopped in /usr/src/sys/modules/cloudabi32
.ERROR_TARGET='cloudabi32_vdso.o'
.ERROR_META_FILE='/usr/obj/cortexA53_clang_xbinutils/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-NODBG/modules/usr/src/sys/modules/cloudabi32/cloudabi32_vdso.o.meta'
.MAKE.LEVEL='4'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
_ERROR_CMD='cc -B/usr/local/aarch64-unknown-freebsd12.0/bin/ -mcpu=cortex-a53 
-target aarch64-unknown-freebsd12.0 
--sysroot=/usr/obj/cortexA53_clang_xbinutils/arm64.aarch64/usr/src/arm64.aarch64/tmp
 -B/usr/local/aarch64-unknown-freebsd12.0/bin/ -x assembler-with-cpp -m32 
-shared -nostdinc -nostdlib  
-Wl,-T/usr/src/sys/compat/cloudabi/cloudabi_vdso.lds  
/usr/src/sys/contrib/cloudabi/cloudabi_vdso_armv6_on_64bit.S -o 
cloudabi32_vdso.o;'
.CURDIR='/usr/src/sys/modules/cloudabi32'
.MAKE='make'
.OBJDIR='/usr/obj/cortexA53_clang_xbinutils/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-NODBG/modules/usr/src/sys/modules/cloudabi32'
.TARGETS='all'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='arm64'
MACHINE_ARCH='aarch64'
MAKEOBJDIRPREFIX='/usr/obj/cortexA53_clang_xbinutils/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-NODBG/modules'
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20180222'
PATH='/usr/obj/cortexA53_clang_xbinutils/arm64.aarch64/usr/src/arm64.aarch64/tmp/legacy/usr/sbin:/usr/obj/cortexA53_clang_xbinutils/arm64.aarch64/usr/src/arm64.aarch64/tmp/legacy/usr/bin:/usr/obj/cortexA53_clang_xbinutils/arm64.aarch64/usr/src/arm64.aarch64/tmp/legacy/bin:/usr/obj/cortexA53_clang_xbinutils/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/sbin:/usr/obj/cortexA53_clang_xbinutils/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/cortexA53_clang_xbinutils/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-NODBG/modules/usr/src'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk 
/usr/src/share/mk/src.sys.env.mk 
/root/src.configs/src.conf.cortexA53-clang-xbinutils-bootstrap.amd64-host 
/usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk 
/usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk 
/root/src.configs/make.conf /usr/src/share/mk/local.sys.mk 
/usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/cloudabi32/Makefile 
/usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk 
/usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk 
/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk 
/usr/src/share/mk/src.init.mk /usr/src/sys/modules/cloudabi32/../Makefile.inc 
/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk 
/usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk 
/usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk 
/usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk 
/usr/src/share/mk/bsd.obj.mk /usr/src/s
 hare/mk/bsd.subdir.mk /usr/src/sys/conf/kern.mk'
.PATH='. /usr/src/sys/modules/cloudabi32 /usr/src/sys/compat/cloudabi32 
/usr/src/sys/arm64/cloudabi32 
/usr/obj/cortexA53_clang_xbinutils/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-NODBG'
1 error


For reference:

# uname -apKU
FreeBSD FBSDFSSD 12.0-CURRENT FreeBSD 12.0-CURRENT  r332181M  amd64 amd64 
1200061 1200061

# pkg info "*binutils"
aarch64-binutils-2.30_2,1
amd64-binutils-2.30_2,1
binutils-2.30_2,1
powerpc64-binutils-2.30_2,1

# svnlite info /usr/ports/ | grep "Re[plv]"
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 466704
Last Changed Rev: 466704

buildworld buildkernel with clang using its default
utilities completed.

===
Mark Millard
marklmi26-fbsd at yahoo.com
( dsl-only.net went
away in early 2018-Mar)






___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Attempting a xtoolchain-gcc head amd64->aarch64 cross buildworld failed for liblto_plugin.so loading error

2018-04-07 Thread Mark Millard via freebsd-ports
On 2018-Apr-7, at 3:35 PM, Alexander Kabaev  wrote:

> On Sat, 7 Apr 2018 15:23:50 -0700
> Mark Millard via freebsd-arm  wrote:
> 
>> My attempted, xtoolchain-gcc based, amd64->aarch64
>> cross-buildworld-buildkernel failed with:
>> 
>> --- libc.so.7.full ---
>> /usr/local/bin/aarch64-unknown-freebsd12.0-ld: 
>> /usr/local/libexec/gcc/aarch64-unknown-freebsd12.0/6.3.0/liblto_plugin.so:
>> error loading plugin: Service unavailable collect2: error: ld
>> returned 1 exit status *** [libc.so.7.full] Error code 1
>> 
>> (I've not attempted such a build in a long time, so I do not
>> know how new this is. Historically I've done lots of such
>> builds. cortex-a53 was specifically targeted here.)
>> . . .
> 
> IIRC, I had to disable LTO plugin in binutils and this need to
> disable it was there for a while. 

Hmm . . .

# pkg info aarch64-binutils
aarch64-binutils-2.30_2,1
Name   : aarch64-binutils
Version: 2.30_2,1
Installed on   : Tue Feb  6 17:37:31 2018 PST
Origin : devel/aarch64-binutils
Architecture   : FreeBSD:12:amd64
Prefix : /usr/local
Categories : devel
Licenses   : GPLv3, LGPL3
Maintainer : bapt at FreeBSD.org
WWW: http://sources.redhat.com/binutils/
Comment: GNU binutils for AArch64 cross-development
Options:
RELRO  : off
STATIC : on
. . . (no more options listed) . . .

# poudriere options -jFBSDFSSDjail -s devel/aarch64-binutils
[00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
===> The following configuration options are available for 
aarch64-binutils-2.30_2,1:
 RELRO=off: enable -z relro in ELF linker by default
 STATIC=on: Build static executables and/or libraries
===> Use 'make config' to modify these settings
. . .


Controlling LTO's presence via my port build does
not seem to be the way to disable LTO.

This would suggest that I need to override part
of what buildworld does in order to force avoiding
lto. Such would be the first time that I've run
into that.

Looks like I've some research to do for how.

Thanks for letting me know.


===
Mark Millard
marklmi26-fbsd at yahoo.com
( dsl-only.net went
away in early 2018-Mar)






___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Attempting a xtoolchain-gcc head amd64->aarch64 cross buildworld failed for liblto_plugin.so loading error

2018-04-07 Thread Mark Millard via freebsd-ports
My attempted, xtoolchain-gcc based, amd64->aarch64 cross-buildworld-buildkernel 
failed with:

--- libc.so.7.full ---
/usr/local/bin/aarch64-unknown-freebsd12.0-ld: 
/usr/local/libexec/gcc/aarch64-unknown-freebsd12.0/6.3.0/liblto_plugin.so: 
error loading plugin: Service unavailable
collect2: error: ld returned 1 exit status
*** [libc.so.7.full] Error code 1

(I've not attempted such a build in a long time, so I do not
know how new this is. Historically I've done lots of such
builds. cortex-a53 was specifically targeted here.)

For reference:

# uname -apKU
FreeBSD FBSDFSSD 12.0-CURRENT FreeBSD 12.0-CURRENT  r332181M  amd64 amd64 
1200061 1200061

# pkg info "*binutils"
aarch64-binutils-2.30_2,1
amd64-binutils-2.30_2,1
binutils-2.30_2,1
powerpc64-binutils-2.30_2,1

# svnlite info /usr/ports/ | grep "Re[plv]"
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 466704
Last Changed Rev: 466704

# file /usr/local/libexec/gcc/*/*/liblto*
/usr/local/libexec/gcc/aarch64-unknown-freebsd12.0/6.3.0/liblto_plugin.so:  
   symbolic link to liblto_plugin.so.0.0.0
/usr/local/libexec/gcc/aarch64-unknown-freebsd12.0/6.3.0/liblto_plugin.so.0:
   symbolic link to liblto_plugin.so.0.0.0
/usr/local/libexec/gcc/aarch64-unknown-freebsd12.0/6.3.0/liblto_plugin.so.0.0.0:
   ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically 
linked, with debug_info, not stripped
/usr/local/libexec/gcc/powerpc64-unknown-freebsd12.0/6.3.0/liblto_plugin.so:
   symbolic link to liblto_plugin.so.0.0.0
/usr/local/libexec/gcc/powerpc64-unknown-freebsd12.0/6.3.0/liblto_plugin.so.0:  
   symbolic link to liblto_plugin.so.0.0.0
/usr/local/libexec/gcc/powerpc64-unknown-freebsd12.0/6.3.0/liblto_plugin.so.0.0.0:
 ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, 
with debug_info, not stripped
/usr/local/libexec/gcc/x86_64-unknown-freebsd12.0/6.3.0/liblto_plugin.so:   
   symbolic link to liblto_plugin.so.0.0.0
/usr/local/libexec/gcc/x86_64-unknown-freebsd12.0/6.3.0/liblto_plugin.so.0: 
   symbolic link to liblto_plugin.so.0.0.0
/usr/local/libexec/gcc/x86_64-unknown-freebsd12.0/6.3.0/liblto_plugin.so.0.0.0: 
   ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically 
linked, with debug_info, not stripped



make[4]: stopped in /usr/src/lib/libc
.ERROR_TARGET='libc.so.7.full'
.ERROR_META_FILE='/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/lib/libc/libc.so.7.full.meta'
.MAKE.LEVEL='4'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
_ERROR_CMD='@echo building shared library libc.so.7; @rm -f libc.so.7 libc.so; 
/usr/local/bin/aarch64-unknown-freebsd12.0-gcc -mcpu=cortex-a53 -isystem 
/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/include
 
-L/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/lib
 
-B/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/lib
 
--sysroot=/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/tmp
 -B/usr/local/aarch64-unknown-freebsd12.0/bin/  -nodefaultlibs 
-Wl,--version-script=Version.map  -shared -Wl,-x -Wl,--fatal-warnings 
-Wl,--warn-shared-textrel  -o libc.so.7.full -Wl,-soname,libc.so.7  
`NM='/usr/local/aarch64-unknown-freebsd12.0/bin/nm' NMFLAGS='' lorder 
machdep_ldisQ.pico
. . .
wcspbrk.pico wcsrchr.pico wcsspn.pico wcsstr.pico wcstok.pico wcswidth.pico 
wcsxfrm.pico wmemchr.pico wmemcmp.pico wmemcpy.pico wmemmove.pico wmemset.pico 
|  tsort -q`  -lcompiler_rt  -lssp_nonshared;'
.CURDIR='/usr/src/lib/libc'
.MAKE='make'
.OBJDIR='/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/lib/libc'
.TARGETS='all'
DESTDIR='/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/tmp'
LD_LIBRARY_PATH=''
MACHINE='arm64'
MACHINE_ARCH='aarch64'
MAKEOBJDIRPREFIX=''
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20180222'
PATH='/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/tmp/legacy/usr/sbin:/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/tmp/legacy/usr/bin:/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/tmp/legacy/bin:/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/sbin:/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk 
/usr/src/share/mk/src.sys.env.mk 
/root/src.configs/src.conf.cortexA53-xtoolchain-gcc.amd64-host 
/usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk 
/usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk 
/root/src.configs/make.conf /usr/src/share/mk/local.sys.mk 
/usr/src/share/mk/src.sys.mk /dev/null 

aarch64-none-elf-gcc V6.3.0_2 from -r465491 fails to package because of 3 referenced-but-missing include-fixed files (amd64 context)

2018-03-25 Thread Mark Millard via freebsd-ports
# svnlite info /usr/ports/ | grep "^Re[plv]"
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 465491

via a poudrirere-devel bulk -a run:

===>  Building package for aarch64-none-elf-gcc-6.3.0_2
pkg-static: Unable to access file 
/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/6.3.0/include-fixed/README:No
 such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/6.3.0/include-fixed/limits.h:No
 such file or directory
pkg-static: Unable to access file 
/wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/6.3.0/include-fixed/syslimits.h:No
 such file or directory
*** Error code 1


Context:

# uname -apKU
FreeBSD FBSDHUGE 12.0-CURRENT FreeBSD 12.0-CURRENT  r331499M  amd64 amd64 
1200060 1200060

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

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


poudriere-devel cross update-builds of ports build-depends failures: "pkg-static: wrong architecture: FreeBSD:12:armv7 instead of FreeBSD:12:amd64" (similarly for FreeBSD:12:aarch64 )

2018-01-28 Thread Mark Millard via freebsd-ports
It has been some time since I did a buildworld (-r327485). The
same for builing updated ports. For the following I've not
done any0 rebuilds or installs of world, just ports.

# svnlite info /usr/ports/ | grep "Re[plv]"
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 460228
Last Changed Rev: 460228


While the native amd64 rebuilds and installs of ports went
fine, the later cross builds for armv7 and aarch64 did not,
first just showing general information, then an example
error:

# poudriere jail -l
JAILNAME  VERSION  ARCH  METHOD TIMESTAMP   PATH
FBSDFSSDjail  12.0-CURRENT amd64 null   2017-11-22 10:15:15 
/usr/obj/DESTDIRs/clang-amd64-installworld-poud
FBSDFSSDjailCortexA53 12.0-CURRENT arm64.aarch64 null   2017-12-30 13:14:33 
/usr/obj/DESTDIRs/clang-cortexA53-installworld-poud
FBSDFSSDjailArmV7 12.0-CURRENT arm.armv7 null   2017-12-30 13:05:37 
/usr/obj/DESTDIRs/clang-armv7-installworld-poud

# poudriere bulk -jFBSDFSSDjailArmV7 -w -f /root/armv7-origins.txt
[00:00:00] Cross-building ports for arm.armv7 on amd64 requires QEMU
. . .
# poudriere bulk -jFBSDFSSDjailCortexA53 -w -f /root/cortexA53-origins.txt
[00:00:00] Cross-building ports for arm64.aarch64 on amd64 requires QEMU
. . .

Looking in the logs for the significant number of build-depends
failures I see things like:

===
===>   binutils-2.29.1,1 depends on file: /usr/local/lib/libgmp.so - not found
===>   Installing existing package /packages/All/gmp-6.1.2.txz
[FBSDFSSDjailVariant] Installing gmp-6.1.2...
pkg-static: wrong architecture: FreeBSD:12:armv7 instead of FreeBSD:12:amd64

Failed to install the following 1 package(s): /packages/All/gmp-6.1.2.txz
*** Error code 70

Stop.
make: stopped in /usr/ports/devel/binutils
=>> Cleaning up wrkdir
===>  Cleaning for binutils-2.29.1,1
build of devel/binutils | binutils-2.29.1,1 ended at Sun Jan 28 15:54:16 PST 
2018
build time: 00:00:48
!!! build failure encountered !!!

(The build was attempting 151 out of 416 ports
for the update in the armv7 case.)

The only things to build successfully were:

[00:08:23] Built ports: ports-mgmt/pkg ports-mgmt/portmaster 
sysutils/DTraceToolkit devel/pkgconf devel/boost-jam

The failures were (I split the long line):

[00:08:23] Failed ports:
security/p5-Net-SSLeay:build-depends
net/p5-URI:build-depends
devel/nspr:build-depends
devel/py-setuptools@py36:build-depends
security/ca_root_nss:build-depends
x11-fonts/encodings:build-depends
ftp/wget:build-depends
devel/py-setuptools:build-depends
security/sudo:build-depends
devel/nasm:build-depends
textproc/docbook-xsl:build-depends
archivers/liblz4:build-depends
multimedia/libdvdread:build-depends
devel/boehm-gc:build-depends
devel/libuv:build-depends
security/trousers:build-depends
devel/pcre2:build-depends
security/libtasn1:build-depends
devel/gdb:build-depends
devel/glib20:build-depends
devel/binutils:build-depends
devel/boost-libs:lib-depends
devel/qt5-qmake:run-depends

The rest was skipped.

The following side stepped the issue by forcing
everything to rebuild:

# poudriere bulk -c -jFBSDFSSDjailArmV7 -w -f /root/armv7-origins.txt

That is still in process but things are building and
reporting Success:

# poudriere bulk -c -jFBSDFSSDjailArmV7 -w -f /root/armv7-origins.txt
[00:00:00] Cross-building ports for arm.armv7 on amd64 requires QEMU
. . .
[00:02:38] [01] [00:00:00] Building ports-mgmt/pkg | pkg-1.10.4
[00:04:17] [01] [00:01:39] Finished ports-mgmt/pkg | pkg-1.10.4: Success
. . .
[00:04:25] [20] [00:00:07] Finished sysutils/gnome_subr | gnome_subr-1.0: 
Success
[00:04:26] [01] [00:00:08] Finished print/indexinfo | indexinfo-0.3.1: Success
[00:04:26] [20] [00:00:00] Building devel/boost-jam | boost-jam-1.66.0
[00:04:26] [04] [00:00:08] Finished devel/autoconf-wrapper | 
autoconf-wrapper-20131203: Success
[00:04:26] [05] [00:00:08] Finished devel/automake-wrapper | 
automake-wrapper-20131203: Success
[00:04:26] [27] [00:00:08] Finished devel/tradcpp | tradcpp-0.5.2: Success
[00:04:26] [01] [00:00:00] Building devel/gettext-runtime | 
gettext-runtime-0.19.8.1_1
[00:04:27] [25] [00:00:09] Finished multimedia/v4l_compat | v4l_compat-1.6.3: 
Success
. . .
[00:04:28] [12] [00:00:10] Finished misc/pciids | pciids-20171206: Success
[00:04:28] [22] [00:00:10] Finished graphics/jbigkit | jbigkit-2.1_1: Success
[00:04:28] [12] [00:00:00] Building print/gsfonts | gsfonts-8.11_8
[00:04:28] [22] [00:00:00] Building devel/atf | atf-0.21
[00:04:30] [18] [00:00:12] Finished misc/hicolor-icon-theme | 
hicolor-icon-theme-0.15: Success
[00:04:31] [07] [00:00:13] Finished devel/libpthread-stubs | 
libpthread-stubs-0.4: Success
[00:04:31] [18] [00:00:00] Building misc/freebsd-release-manifests | 
freebsd-release-manifests-20171003
[00:04:31] [26] [00:00:13] Finished archivers/zip | zip-3.0_1: Success
[00:04:31] [07] [00:00:00] Building 

<    1   2   3   4