[gentoo-user] Making waves with package licences

2023-01-09 Thread Peter Humphrey
Hello list,

I had an interesting one today: app-emulation/virtualbox-extpack-oracle on a 
~amd64 box was to be updated, but it couldn't because the licence had changed 
from PUEL to PUEL-11. That one change caused another 35 packages to be 
dropped because of conflicting dependencies. I needed a few minutes to find the 
problem, and it was easily fixed, but I was interested to see that such a small 
licence change could spread consequences so far.

-- 
Regards,
Peter.






[gentoo-user] Re: error: template with C linkage

2023-01-09 Thread Holger Hoffstätte

On 2023-01-07 18:20, Helmut Jarausch wrote:

Hi,
for some of my (older) local ebuild I get the error
template with C linkage

What is the reason for this message?
How can I change "C linkage" to "C++ linkage"


Your C++ code opens an 'extern "C" { ..' block (maybe via included header)
but apparently does not close it correctly. Defining a C++ template in a
C-linkage scope makes no sense, hence the complaint.
To fix you need to find the 'extern "C"' section and make sure it is closed.

cheers
Holger



[gentoo-user] error: template with C linkage

2023-01-09 Thread Helmut Jarausch

Hi,
for some of my (older) local ebuild I get the error
template with C linkage

What is the reason for this message?
How can I change "C linkage" to "C++ linkage"

Many thanks for a hint,
Helmut