Bug#881580: googleearth-package: Generated package is uninstallable, and application unrunnable

2018-02-06 Thread Arturo Borrero Gonzalez
On Sun, 12 Nov 2017 22:18:54 -0800 Dima Kogan  wrote:
> Package: googleearth-package
> Version: 1.2.2dima1
> Severity: grave
>
> Hi. I'm installing googleearth on a recent Debian/sid on amd64. Clearly
> I need to have the i386 foreign arch enabled. It'd be nice if the
> install explicitly told unsuspecting users this, but whatever.
>

I was able to use native amd64 by just replacing all the Depends with
the matching amd64 package.

> The generated package Depends:lbs-core even though this package is no
> longer a part of Debian. Removing this, I can make a googleearth package
> that I can install.
>

Probably 'lsb-compat' should be used.

> At that point I can't run the application though. To make it work, I
> needed to
>
> 1. install libqtcore4:i386 libqtgui4:i386 libqt4-network:i386 
> libqtwebkit4:i386 libglu1-mesa:i386
>This list is likely incomplete; it's just what I was missing
>
> 2. The i386 linker the application requires is /lib/ld-lsb.so.3. This
>presumably lived in lsb-core at one point, but it no longer does. I
>can fake it with
>
>  sudo ln -fs /lib/ld-linux.so.2 /lib/ld-lsb.so.3
>

Apart of that (or perhaps same kind of issue):

% googleearth
/usr/lib/googleearth/googleearth-bin: error while loading shared
libraries: libfontconfig.so.1: cannot open shared object file: No such
file or directory


% /usr/lib/googleearth/googleearth-bin
/usr/lib/googleearth/googleearth-bin: error while loading shared
libraries: libgoogleearth_free.so: cannot open shared object file: No
such file or directory

More link problems. Not sure if they could be related to the hack I
did to install into amd64 without the foreign arch enabled.



Bug#881580: googleearth-package: Generated package is uninstallable, and application unrunnable

2017-11-12 Thread Dima Kogan
Package: googleearth-package
Version: 1.2.2dima1
Severity: grave

Hi. I'm installing googleearth on a recent Debian/sid on amd64. Clearly
I need to have the i386 foreign arch enabled. It'd be nice if the
install explicitly told unsuspecting users this, but whatever.

The generated package Depends:lbs-core even though this package is no
longer a part of Debian. Removing this, I can make a googleearth package
that I can install.

At that point I can't run the application though. To make it work, I
needed to

1. install libqtcore4:i386 libqtgui4:i386 libqt4-network:i386 libqtwebkit4:i386 
libglu1-mesa:i386
   This list is likely incomplete; it's just what I was missing

2. The i386 linker the application requires is /lib/ld-lsb.so.3. This
   presumably lived in lsb-core at one point, but it no longer does. I
   can fake it with

 sudo ln -fs /lib/ld-linux.so.2 /lib/ld-lsb.so.3

Then I can run googleearth. I'm not sure what the best way is to provide
the linker. Is this worth fixing? Is there some other googleearth build
that we should be using instead?