Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-13096

createdb.sh fails during dev setup with DateTime::Locale version mismatch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Normal Normal
    • None
    • None
    • Database setup
    • None

      I'm following the instructions at https://github.com/metabrainz/musicbrainz-docker#local-development-of-musicbrainz-server to try to set up a local development environment.

      When I ran "docker-compose run --rm musicbrainz createdb.sh -sample -fetch", it failed with exit code 1 (after running for a long time) with the following output:

      ...
      ==> Found dependencies: Hook::LexWrap
      --> Working on Hook::LexWrap
      Fetching http://backpan.perl.org/authors/id/E/ET/ETHER/Hook-LexWrap-0.26.tar.gz ... OK
      Configuring Hook-LexWrap-0.26 ... OK
      Building Hook-LexWrap-0.26 ... OK
      Successfully installed Hook-LexWrap-0.26
      Building LWP-UserAgent-Mockable-1.18 ... OK
      Successfully installed LWP-UserAgent-Mockable-1.18
      --> Working on Catalyst::Plugin::Cache::HTTP
      Fetching http://backpan.perl.org/authors/id/G/GR/GRAF/Catalyst-Plugin-Cache-HTTP-0.001000.tar.gz ... OK
      Configuring Catalyst-Plugin-Cache-HTTP-0.001000 ... OK
      Building Catalyst-Plugin-Cache-HTTP-0.001000 ... OK
      Successfully installed Catalyst-Plugin-Cache-HTTP-0.001000
      ! Installing the dependencies failed: Installed version (1.38) of DateTime::Locale is not in range '== 1.37'
      ! Bailing out the installation for ..
      373 distributions installed
      

      Here's what I see when I search back in the output for DateTime::Locale:

      --> Working on DateTime::Locale
      Fetching http://backpan.perl.org/authors/id/D/DR/DROLSKY/DateTime-Locale-1.37.tar.gz ... OK
      Configuring DateTime-Locale-1.37 ... OK
      Building DateTime-Locale-1.37 ... OK
      Successfully installed DateTime-Locale-1.37
      Building DateTime-1.59 ... OK
      Successfully installed DateTime-1.59
      --> Working on DateTime::Locale::Base
      Fetching http://backpan.perl.org/authors/id/D/DR/DROLSKY/DateTime-Locale-1.38.tar.gz ... OK
      Configuring DateTime-Locale-1.38 ... OK
      Building DateTime-Locale-1.38 ... OK
      Successfully installed DateTime-Locale-1.38 (upgraded from 1.37)
      

      My system's disk isn't full and I haven't tried running the command again. And I haven't used Perl in about 20 years.

      (Sorry, not sure if this is the right component.)

            yvanzo yvanzo
            derat derat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package