[gentoo-user] Re: world update gone astray portage will not let me continue

2021-07-20 Thread nunojsilva
On 2021-07-20, John Covici wrote:

> On Tue, 20 Jul 2021 02:53:30 -0400,
> Neil Bothwick wrote:
>> 
>> [1  ]
>> On Tue, 20 Jul 2021 07:36:27 +0100, (Nuno Silva) wrote:
>> 
>> > As this is a problem with generating documentation, have you tried the
>> > following as a workaround?:
>> > 
>> > USE=-doc emerge -1a media-libs/harfbuzz
>> 
>> It is recommended that you do not enable the doc USE flag globally, but
>> only for those packages where you need the extra documentation.
>> 
>> % grep \^doc /var/portage/profiles/use.desc
>> doc - Add extra documentation (API, Javadoc, etc). It is recommended
>> to enable per package instead of globally
> Well, I finally did manage to get harfbuzz installed which brings up
> another question.  First, I tried to find the package for the
> /usr/bin/gtkdoc packages and found none.  So, on a hunch, I emerged
> dev-utils/gtk-doc and discovered I did not have the package in my
> install.  So, I did it anyway and after that harfbuzz installed.  So,
> the question is, should I put that in my world file -- which seems
> wrong to me, or is there a missing dependency somewhere or what?

If I'm reading the ebuild correctly, currently having USE=-doc does not
disable building the documentation.  Setting USE=doc would probably have
worked as a workaround, because then emerge would pull gtk-doc as a
dependency.

I've mentioned this problem on IRC, but I haven't filled anything at
bugzilla.


I wonder if replacing

$(meson_native_use_feature doc)

with

$(meson_native_use_feature doc docs)

is enough? (I haven't tested it, though)

-- 
Nuno Silva




Re: [gentoo-user] Re: world update gone astray portage will not let me continue

2021-07-20 Thread John Covici
On Tue, 20 Jul 2021 02:53:30 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Tue, 20 Jul 2021 07:36:27 +0100, (Nuno Silva) wrote:
> 
> > As this is a problem with generating documentation, have you tried the
> > following as a workaround?:
> > 
> > USE=-doc emerge -1a media-libs/harfbuzz
> 
> It is recommended that you do not enable the doc USE flag globally, but
> only for those packages where you need the extra documentation.
> 
> % grep \^doc /var/portage/profiles/use.desc
> doc - Add extra documentation (API, Javadoc, etc). It is recommended to 
> enable per package instead of globally
Well, I finally did manage to get harfbuzz installed which brings up
another question.  First, I tried to find the package for the
/usr/bin/gtkdoc packages and found none.  So, on a hunch, I emerged
dev-utils/gtk-doc and discovered I did not have the package in my
install.  So, I did it anyway and after that harfbuzz installed.  So,
the question is, should I put that in my world file -- which seems
wrong to me, or is there a missing dependency somewhere or what?


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: world update gone astray portage will not let me continue

2021-07-20 Thread John Covici
On Tue, 20 Jul 2021 02:53:30 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Tue, 20 Jul 2021 07:36:27 +0100, (Nuno Silva) wrote:
> 
> > As this is a problem with generating documentation, have you tried the
> > following as a workaround?:
> > 
> > USE=-doc emerge -1a media-libs/harfbuzz
> 
> It is recommended that you do not enable the doc USE flag globally, but
> only for those packages where you need the extra documentation.
> 
> % grep \^doc /var/portage/profiles/use.desc
> doc - Add extra documentation (API, Javadoc, etc). It is recommended to 
> enable per package instead of globally
> 

I don't have doc as a global use flag at all and that particular
package has -doc, but its still failing.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: world update gone astray portage will not let me continue

2021-07-20 Thread John Covici
On Tue, 20 Jul 2021 02:36:27 -0400,
Nuno Silva wrote:
> 
> On 2021-07-19, John Covici wrote:
> 
> > Hi.  I am having major problems with my world update started a couple
> > of days ago.  There is a long history which I won't go into now, but
> > what I have immediately is that media-libs/harfbuzz will not install
> > and even though I have --keep-going, portage won't let me continue.
> >
> > Here is the last part of the build log:
> >
> > /var/tmp/portage/media-libs/harfbuzz-2.8.2-r1/work/harfbuzz-2.8.2/docs/../src/hb-unicode.cc:180:
> > warning: unknown annotation "Xconstructor" in documentation for
> > hb_unicode_funcs_create.^M
> > See harfbuzz-undeclared.txt for the list of undeclared symbols.^M
> > ./harfbuzz-unused.txt:1: warning: 46 unused declarations.They should
> > be added to harfbuzz-sections.txt in the appropriate place.^M
> > ^M
> > ERROR: Error in gtkdoc helper script:^M
> > ^M
> > ERROR: ['/usr/bin/gtkdoc-mkhtml',
> > '--path=/var/tmp/portage/media-libs/harfbuzz-2.8.2-r1/work/harfbuzz-2.8.2/docs:/var/tmp/portage/media-libs/harfbuzz-2.8.2-r1/work/harfbuzz-2.8.2-abi_x86_64.amd64/docs',
> > 'harfbuzz', '../harfbuzz-docs.xml'] \failed with status 6^M
> > ^M
> > --- stderr ---^M
> > ^M
> 
> 
> As this is a problem with generating documentation, have you tried the
> following as a workaround?:
> 
> USE=-doc emerge -1a media-libs/harfbuzz
> 
> Gentoo bug 704550[1], makes me wonder if it's worth a try trying to
> update gtk-doc before harfbuzz, or is it already updated?
> 
> [1] https://bugs.gentoo.org/show_bug.cgi?id=704550

OK, I have  not specified doc, but apparently its in a use flag, so I
will try that and see if it does anything -- thanks.
Well, no joy, I think -doc was already selected because no * was after
it and I get the same error as before.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: world update gone astray portage will not let me continue

2021-07-20 Thread Neil Bothwick
On Tue, 20 Jul 2021 07:36:27 +0100, (Nuno Silva) wrote:

> As this is a problem with generating documentation, have you tried the
> following as a workaround?:
> 
> USE=-doc emerge -1a media-libs/harfbuzz

It is recommended that you do not enable the doc USE flag globally, but
only for those packages where you need the extra documentation.

% grep \^doc /var/portage/profiles/use.desc
doc - Add extra documentation (API, Javadoc, etc). It is recommended to enable 
per package instead of globally


-- 
Neil Bothwick

If I agreed with you, we'd both be wrong.


pgpfZoqeMcQAt.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: world update gone astray portage will not let me continue

2021-07-20 Thread nunojsilva
On 2021-07-19, John Covici wrote:

> Hi.  I am having major problems with my world update started a couple
> of days ago.  There is a long history which I won't go into now, but
> what I have immediately is that media-libs/harfbuzz will not install
> and even though I have --keep-going, portage won't let me continue.
>
> Here is the last part of the build log:
>
> /var/tmp/portage/media-libs/harfbuzz-2.8.2-r1/work/harfbuzz-2.8.2/docs/../src/hb-unicode.cc:180:
> warning: unknown annotation "Xconstructor" in documentation for
> hb_unicode_funcs_create.^M
> See harfbuzz-undeclared.txt for the list of undeclared symbols.^M
> ./harfbuzz-unused.txt:1: warning: 46 unused declarations.They should
> be added to harfbuzz-sections.txt in the appropriate place.^M
> ^M
> ERROR: Error in gtkdoc helper script:^M
> ^M
> ERROR: ['/usr/bin/gtkdoc-mkhtml',
> '--path=/var/tmp/portage/media-libs/harfbuzz-2.8.2-r1/work/harfbuzz-2.8.2/docs:/var/tmp/portage/media-libs/harfbuzz-2.8.2-r1/work/harfbuzz-2.8.2-abi_x86_64.amd64/docs',
> 'harfbuzz', '../harfbuzz-docs.xml'] \failed with status 6^M
> ^M
> --- stderr ---^M
> ^M


As this is a problem with generating documentation, have you tried the
following as a workaround?:

USE=-doc emerge -1a media-libs/harfbuzz

Gentoo bug 704550[1], makes me wonder if it's worth a try trying to
update gtk-doc before harfbuzz, or is it already updated?

[1] https://bugs.gentoo.org/show_bug.cgi?id=704550

-- 
Nuno Silva