Opened 15 months ago

Last modified 15 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.

Change History (1)

comment:1 Changed 15 months ago by ballapete (Peter "Pete" Dyballa)

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:

   22 INFO-DIR-SECTION Software development
   23 START-INFO-DIR-ENTRY
   24 * gcc: (gcc).                  The GNU Compiler Collection.
   25 * g++: (gcc).                  The GNU C++ compiler.
   26 * gcov: (gcc) Gcov.            ‘gcov’—a test coverage program.
   27 * gcov-tool: (gcc) Gcov-tool.  ‘gcov-tool’—an offline gcda profile processing program.
   28 * gcov-dump: (gcc) Gcov-dump.  ‘gcov-dump’—an offline gcda and gcno profile dump tool.
   29 * lto-dump: (gcc) lto-dump.    ‘lto-dump’—Tool for
   30 dumping LTO object files.
   31 END-INFO-DIR-ENTRY

The string (gcc) should be changed to (gcc-mp-12) for this INFO file and also accordingly in the other INFO files. Otherwise the info utility would be linked to a file gcc.info which does not exist under this name.

Note: See TracTickets for help on using tickets.