Package: openstack-dashboard Version: 3:24.0.0-2 Affects: src:designate-dashboard Severity: serious Justification: Breaks other packages
Dear maintainer: During an incremental rebuild of all packages in trixie, package "designate-dashboard" failed to build due to a postinst error in openstack-dashboard: -------------------------------------------------------------------------------- [...] 2717 static files copied to '/var/lib/openstack-dashboard/static'. /usr/lib/python3/dist-packages/django/conf/__init__.py:267: RemovedInDjango50Warning: The USE_L10N setting is deprecat ed. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display num bers and dates using the format of the current locale. warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning) /usr/lib/python3/dist-packages/debreach/__init__.py:6: DeprecationWarning: distutils Version classes are deprecated. U se packaging.version instead. version_info = version.StrictVersion(__version__).version CommandError: An error occurred during rendering serial_console.html: Syntax error: Found 'inline-blo' but expected one of ADD, ALPHA_FUNCTION, BANG_IMPORTANT, BAREWORD, COLOR, DOUBLE_QUOTE, FNCT, IF_FUNCTION, INTERP_START, LITERAL_FUNCTION, LPAR, NOT, NUM, SIGN, SINGLE_QUOTE, URL_FUNCTION, VAR Compressing... dpkg: error processing package openstack-dashboard (--configure): installed openstack-dashboard package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of sbuild-build-depends-main-dummy: sbuild-build-depends-main-dummy depends on openstack-dashboard; however: Package openstack-dashboard is not configured yet. dpkg: error processing package sbuild-build-depends-main-dummy (--configure): dependency problems - leaving unconfigured Processing triggers for ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Errors were encountered while processing: openstack-dashboard sbuild-build-depends-main-dummy E: Sub-process /usr/bin/dpkg returned an error code (1) apt-get failed. -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log (for designate-dashboard) is available here: https://people.debian.org/~sanvila/build-logs/202404/ Note also how there is a gazillion of error messages like this:
Found another file with the destination path 'horizon/lib/angular_schema_form/i18n/angular-locale_az-cyrl-az.js'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
That's apparently a django-related issue: https://stackoverflow.com/questions/35571256/found-another-file-with-the-destination-path-where-is-that-other-file which I would hope can be fixed as well (maybe it's part of the problem, maybe not, I don't know). About the archive rebuild: The build was made on virtual machines of type m6a.large from AWS, using sbuild and a reduced chroot with only build-essential packages. I can't provide a "recipe" to reproduce the bug because it happens randomly, but I expect the above error messages and the full build log will help to determine the cause. If required, I could provide ssh access to a virtual machine where this random build failure happens, but I strongly suggest that the build log is analyzed first to determine how it could happen. Thanks.