Opened 22 months ago
Last modified 22 months ago
#66836 new defect
gcc12 @12.2.0_2 does not install (register) its texinfo files in dir file
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | gcc12 |
Description
sh-3.2# pushd /opt/local/share/info ; for INFO in *.info ; do INFO="`echo $INFO | awk -F. '{ print $1 }'`"; printf "»» $INFO: "; if [ `grep "\($INFO\)" dir | wc -l` -gt 0 ] ; then echo OK ; else echo "** missing **" ; fi; done
reports
»» cpp-mp-12: ** missing ** »» cppinternals-mp-12: ** missing ** »» gcc-mp-12: ** missing ** »» gccinstall-mp-12: ** missing ** »» gccint-mp-12: ** missing ** »» gfortran-mp-12: ** missing ** »» libgccjit-mp-12: ** missing ** »» libgomp-mp-12: ** missing ** »» libitm-mp-12: ** missing ** »» libquadmath-mp-12: ** missing **
All INFO files of GCC 12
are missing in dir
file.
for INFO in gcc-mp-12.info gccinstall-mp-12.info cpp-mp-12.info cppinternals-mp-12.info gccint-mp-12.info gfortran-mp-12.info libgccjit-mp-12.info libgomp-mp-12.info libitm-mp-12.info libquadmath-mp-12.info ; do install-info $INFO dir done
would do the job.
Note: See
TracTickets for help on using
tickets.
Actually this does not work completely. The cause is that the INFO files are renamed according to a scheme <original name>-<additional install information>.info. So sections à la this one in
gcc-mp-12.info
cannot work:The string
(gcc)
should be changed to(gcc-mp-12)
for this INFO file and also accordingly in the other INFO files. Otherwise theinfo
utility would be linked to a filegcc.info
which does not exist under this name.