Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46155 - [prelink] cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0])) failed

Attached to Project: Community Packages
Opened by Eric Wang (enihcam) - Monday, 31 August 2015, 00:08 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 04 October 2015, 17:04 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:

$ sudo prelink -amfR
prelink: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Sunday, 04 October 2015, 17:04 GMT
Reason for closing:  Fixed
Comment by LucaS (luca020400) - Monday, 07 September 2015, 11:47 GMT
Same error while building android
flex-2.5.39: loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
Comment by Alexander F. Rødseth (xyproto) - Saturday, 12 September 2015, 09:11 GMT
Thanks for reporting. I'll look into this.
Comment by Alexander F. Rødseth (xyproto) - Saturday, 12 September 2015, 12:40 GMT
The package does not build anymore (tests fail). Fedora has dropped it (http://pkgs.fedoraproject.org/cgit/prelink.git/commit/?id=eb43100a8331d91c801ee3dcdb0a0bb9babfdc1f). Will try the Gentoo patches used at https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/prelink/prelink-20130503.ebuild?view=markup. If that doesn't work out, I'll move it to AUR.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 13 September 2015, 11:19 GMT
"make check" fails also after applying the gentoo patches.

Since the package does not build, does not work and upstream seems to have abandoned it (no update for two years), I'll move it to AUR. It can be moved back to [community] in the future if development picks up.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 13 September 2015, 11:23 GMT
Dang, wine needs prelink to build. Will try to find a solution somehow.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 13 September 2015, 17:29 GMT
Wine builds without prelink, but there may be issues with wine when it's not using prelink. The maintainers of the wine package are on it.
Comment by Alexander F. Rødseth (xyproto) - Monday, 21 September 2015, 08:28 GMT Comment by Kamil Maciąg (Dragonk) - Wednesday, 23 September 2015, 00:00 GMT
With some packages stopped in older version prelink work pretty well:
binutils 2.25-5
gcc 5.1.0-5
gcc-libs 5.1.0-5
glibc 2.21-4

In discusion in another forum (no Arch) I seen someone suggest problem in glibc. Some other applications shows the same error, for example pandoc.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 27 September 2015, 23:13 GMT
Thanks, Dragonk.

Perhaps this package would be have a better home in AUR, in order to make use of older versions of gcc, glibc and/or binutils.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 04 October 2015, 16:15 GMT
Got a suggestion to build prelink with "LC_ALL=C". The self-tests during "make check" still fails, but the error message does not appear.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 04 October 2015, 17:04 GMT
Wrapped prelink with LC_ALL=C.

The bug, as reported here, is gone. (But prelink is still a problematic package, since "make check" fails and it is unmaintained).

Loading...