You are not logged in.

#1 2023-07-22 09:46:09

Aryanc403
Member
Registered: 2020-06-26
Posts: 2

[Solved] Unable to install old gcc due to GFDL license

I'm trying to install gcc11 on my system.         
I have acquired package from AUR, and after running `makepkg -si`, its failing with following error.

```
Verify that you have permission to grant a GFDL license for all
new text in /home/aryan/.builds/gcc11/src/gcc-build/gcc/tm.texi, then copy it to /home/aryan/.builds/gcc11/src/gcc/gcc/doc/tm.texi.
make[3]: *** [Makefile:2627: s-tm-texi] Error 1
make[3]: Leaving directory '/home/aryan/.builds/gcc11/src/gcc-build/gcc'
make[2]: *** [Makefile:4794: all-stage1-gcc] Error 2
make[2]: Leaving directory '/home/aryan/.builds/gcc11/src/gcc-build'
make[1]: *** [Makefile:25184: stage1-bubble] Error 2
make[1]: Leaving directory '/home/aryan/.builds/gcc11/src/gcc-build'
make: *** [Makefile:1015: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
```

I have tried copying `gcc/tm.texi` file to `doc/tm.texi`, but it does not help.
`cp ~/.builds/gcc11/src/gcc-build/gcc/tm.texi ~/.builds/gcc11/src/gcc/gcc/doc/tm.texi`   

Seach around how to grant a GFDL license does not help either. Can someone please help me out?

Last edited by Aryanc403 (2023-07-22 22:37:59)

Offline

#2 2023-07-22 11:38:22

loqs
Member
Registered: 2014-03-06
Posts: 18,931

Re: [Solved] Unable to install old gcc due to GFDL license

As I just built gcc11 11.4.0-1 locally in a clean chroot without issue.  I would suggest you try building it the same way.

Last edited by loqs (2023-07-22 11:38:44)

Offline

#3 2023-07-22 22:37:30

Aryanc403
Member
Registered: 2020-06-26
Posts: 2

Re: [Solved] Unable to install old gcc due to GFDL license

Thanks, @loqs
I have built gcc11 using a clean chroot environment.   
Just a heads up to anyone facing the issue, building using chroot took ~8 hrs on my laptop, and such time is normal.     
https://unix.stackexchange.com/question … -gcc-7-3-0

Offline

Board footer

Powered by FluxBB