Opened 6 years ago

Closed 6 years ago

#14450 closed bug (fixed)

[x86_64] hrev52309 - Terminal/shell missing libiconv

Reported by: ahwayakchih Owned by: jackburton
Priority: normal Milestone: R1/beta1
Component: Applications/Terminal Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86-64

Description

After booting to desktop from Anyboot CD in VirtualBox, and trying to launch Terminal, i got message about missing libiconv.so.2 instead of bash (see attached screenshot).

It works fin on old install updated to hrev52309. Just not when booting to desktop from Anyboot CD.

Attachments (3)

VirtualBox_Haiku-hrev52309_05_09_2018_08_07_34.png (21.7 KB ) - added by ahwayakchih 6 years ago.
Terminal broken - missing libiconv.so.2
Haiku-hrev52309-live-cd-desktop.webm (2.6 MB ) - added by ahwayakchih 6 years ago.
Live CD desktop problem on hrev52309-x86_64
launch_daemon-153-debug-07-09-2018-12-30-21.report (10.9 KB ) - added by ahwayakchih 6 years ago.
Live CD desktop crash right after boot

Change History (14)

by ahwayakchih, 6 years ago

Terminal broken - missing libiconv.so.2

comment:1 by ahwayakchih, 6 years ago

hrev52302 seems to work ok.

can this be related to #14449?

comment:2 by diver, 6 years ago

Looks like Terminal can't start bash due to a missing lib. I wonder how it could happen as haiku package should (in)directly depend on libiconv. It shouldn't even boot, I think?

objdump -x /system/apps/Terminal | grep NEEDED
  NEEDED               libbe.so
  NEEDED               libtracker.so
  NEEDED               libtextencoding.so
  NEEDED               libstdc++.so.6
  NEEDED               libroot.so
  NEEDED               libgcc_s.so.1

objdump -x /bin/bash | grep NEEDED
  NEEDED               libreadline.so.7
  NEEDED               libhistory.so.7
  NEEDED               libncurses.so.6
  NEEDED               libintl.so.8
  NEEDED               libroot.so

objdump -x /system/lib/libintl.so.8 | grep NEEDED
  NEEDED               libiconv.so.2
  NEEDED               libroot.so

comment:3 by waddlesplash, 6 years ago

This sounds like something has a dependency misdeclared.

comment:4 by korli, 6 years ago

Keywords: libiconv.so.2 anyboot x86_64 removed
Platform: Allx86-64

Please add the list of installed packages.

by ahwayakchih, 6 years ago

Live CD desktop problem on hrev52309-x86_64

by ahwayakchih, 6 years ago

Live CD desktop crash right after boot

comment:5 by ahwayakchih, 6 years ago

korli: nothing added or removed. it was booted "live" from CD, so the list of packages is the same as the one on the CD. I can't list packages quickly because Terminal does not work. I can see libiconv-1.15.4-x86_64.hpkg in /boot/system/packages, but when i try to open it, HaikuDepot window shows up instead of package window. I can open other packages just fine, so i'm guessing something is wrong with libiconv package. I got lucky and got some crash on start, but it's not always the case (sometimes there is a crash, and sometimes it just boots to desktop like everything's fine, only things do not work like they should).

See attached video and crash report.

What's more, when i selected different language in installation window, before clicking on "boot to desktop" button, Terminal did not even show up libiconv error - it just remained "clean" instead (no text output at all).

Update: i mounted that CD into the working installation of Haiku and checked libiconv package:

/Haiku1/system/packages> package info libiconv-1.15-4-x86_64.hpkg 
Error: Failed to read package file "libiconv-1.15-4-x86_64.hpkg": Data read partially
/Haiku1/system/packages> package list libiconv-1.15-4-x86_64.hpkg 
_ReadBuffer(0x7fbc371b2540, 80) failed to read data: Data read partially
Version 1, edited 6 years ago by ahwayakchih (previous) (next) (diff)

comment:6 by korli, 6 years ago

I see that https://eu.hpkg.haiku-os.org/haikuports/master/build-packages is 404, so the build package repository is likely broken.

Last edited 6 years ago by korli (previous) (diff)

comment:7 by korli, 6 years ago

Component: Applications/TerminalSys-Admin
Owner: changed from jackburton to haiku-web

comment:8 by kallisti5, 6 years ago

Component: Sys-AdminApplications/Terminal
Owner: changed from haiku-web to jackburton
Status: newassigned

There was an outage this morning that our monitoring didn't catch. It should be resolved.

https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/

(also note the trailing /, that's important if you want the index)

comment:9 by waddlesplash, 6 years ago

The iconv in the packages directory there looks fine:

libiconv-1.15-4-x86_64.hpkg                        08-Mar-2018 01:17              704559

So, not sure what's going on here. Can you try a more recent nightly? This may be a fluke.

comment:10 by ahwayakchih, 6 years ago

I can confirm that anyboot images seem to be fixed now. Both hrev52312 and hrev52316 work fine. Tested:

  • Boot to desktop and install from there
  • Install directly without booting to desktop

Must have been a problem with either CDN or build server(s).

hrev52309 is still broken, so maybe it should either be rebuilt/reuploaded or removed from the downloads list?

comment:11 by waddlesplash, 6 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.