Opened 14 years ago
Closed 14 years ago
#7226 closed bug (fixed)
build failure - r40502 onwards
Reported by: | vooshy | Owned by: | zooey |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Locale Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
the sv catalog from hrev40502 fails to build.
LinkApplicationCatalog1 /home/vooshy/haiku/haiku/generated.x86gcc2/objects/catalogs/apps/installer/sv.catalog export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/vooshy/haiku/haiku/generated.x86gcc2/objects/linux/lib /home/vooshy/haiku/haiku/generated.x86gcc2/objects/linux/x86/release/tools/locale/linkcatkeys "/home/vooshy/haiku/haiku/data/catalogs/apps/installer/sv.catkeys" -l sv \ -s x-vnd.Haiku-Installer -o "/home/vooshy/haiku/haiku/generated.x86gcc2/objects/catalogs/apps/installer/sv.catalog" ...failed LinkApplicationCatalog1 /home/vooshy/haiku/haiku/generated.x86gcc2/objects/catalogs/apps/installer/sv.catalog ... ...skipped <HaikuImage>haiku.image-copy-files-dummy-system/data/locale/catalogs/x-vnd.Haiku-Installer for lack of <src!apps!installer>sv.catalog... ...skipped haiku-nightly.image for lack of <HaikuImage>haiku.image-copy-files... ...failed updating 1 target(s)... ...skipped 2 target(s)... ...updated 663 target(s)...
Attachments (1)
Change History (7)
by , 14 years ago
Attachment: | 0001-Return-on-an-empty-string-instead-of-trying-to-write.patch added |
---|
comment:1 by , 14 years ago
patch: | 0 → 1 |
---|
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 14 years ago
Status: | assigned → in-progress |
---|
comment:5 by , 14 years ago
Component: | Build System → Kits/Locale Kit |
---|---|
Version: | R1/alpha2 → R1/Development |
comment:6 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Sometimes, behind a tiny problem there's a bigger one, desperately looking for a way to get out ... actually, this caused by a problem in the build-version of BString.
Additionally, when looking for the cause, I stumbled over a couple of problems in HashMapCatalog's parseQuotedChars()
Should be fixed in hrev40527.
Note:
See TracTickets
for help on using tickets.
Added a patch which seems to fix the issue. The problem seems to lie in parseQuotedString in HashMapCatalog.cpp For this particular map, the function is called with an empty string, and then the line "*out = '\0'" segfaults. Patch causes the function to simply return for empty strings instead.