Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-6527

rebuild perl modules after upgrading Perl

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None

      In my case, I found this issue during the 1.3 to 1.4 beta upgrade during the configure stage of sys-apps/help2man, which looks for the Locale::gettext perl module.

      >>> Emerging (13 of 404) sys-apps/help2man-1.47.10::core-kit
       * help2man-1.47.10.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                [ ok ]
      >>> Unpacking source...
      >>> Unpacking help2man-1.47.10.tar.xz to /var/tmp/portage/sys-apps/help2man-1.47.10/work
      >>> Source unpacked in /var/tmp/portage/sys-apps/help2man-1.47.10/work
      >>> Preparing source in /var/tmp/portage/sys-apps/help2man-1.47.10/work/help2man-1.47.10 ...
       * Applying help2man-1.46.1-linguas.patch ...                                                                                         [ ok ]
      >>> Source prepared.
      >>> Configuring source in /var/tmp/portage/sys-apps/help2man-1.47.10/work/help2man-1.47.10 ...
      ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/help2man-1.47.10 --htmldir=/usr/share/doc/help2man-1.47.10/html --libdir=/usr/lib64 ac_cv_path_MSGFMT=/bin/false --enable-nls
      checking for perl... perl
      checking for module Locale::gettext... no
      checking for msgfmt... (cached) /bin/false
      checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
      checking whether the C compiler works... yes
      checking for C compiler default output file name... a.out
      checking for suffix of executables... 
      checking whether we are cross compiling... no
      checking for suffix of object files... o
      checking whether we are using the GNU C compiler... yes
      checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
      checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
      checking for library containing dlsym... -ldl
      checking for library containing bindtextdomain... none required
      configure: error: perl module Locale::gettext required
      !!! Please attach the following file when seeking support:
      !!! /var/tmp/portage/sys-apps/help2man-1.47.10/work/help2man-1.47.10/config.log
       * ERROR: sys-apps/help2man-1.47.10::core-kit failed (configure phase):

      The reason Locale::gettext was not found was because the 5.26 version was installed.

      kyle@perkins ~ $ equery files dev-perl/Locale-gettext
       * Searching for Locale-gettext in dev-perl ...
       * Contents of dev-perl/Locale-gettext-1.70.0:

      So, I performed a one-off emerge rebuild of dev-perl/Locale-gettext, and continued on my upgrade to Funtoo 1.4 beta.

            drobbins drobbins
            klipkyle klipkyle
            0 Vote for this issue
            3 Start watching this issue