Failes to create package when started from directory with spaces

Bug #537384 reported by Mark Rogers on 2010-03-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
googleearth-package (Ubuntu)

Bug Description

Binary package hint: googleearth-package

Doesn't work when started in a directory whose name contains spaces. Doesn't detect the error and completes with "Success" but no package created.

Steps to reproduce below:

$cd ~
$mkdir "test dir"
$cd "test dir"

--2010-03-11 14:04:47--
Resolving,,, ...
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25989559 (25M) [application/octet-stream]
Saving to: `GoogleEarthLinux.bin'

2010-03-11 14:06:24 (264 KB/s) - `GoogleEarthLinux.bin' saved [25989559/25989559]

Google Earth for GNU/Linux 5.1.3533.1731
Supported Google Earth version: 5.1.3533.1731
tar: dir/googleearth-tmp: Not found in archive
tar: Exiting with failure status due to previous errors
tar: /home/mark/test dir/googleearth-tmp/googleearth-linux-x86.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: /home/mark/test dir/googleearth-tmp/googleearth-data.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
mv: cannot stat `': No such file or directory
mv: cannot stat `': No such file or directory
cp: cannot stat `/home/mark/test dir/googleearth-tmp/googleearth.xpm': No such file or directory
cp: cannot stat `/home/mark/test dir/googleearth-tmp/README*': No such file or directory
Package: googleearth
Version: 5.1.3533.1731+0.5.6-1
Section: non-free/science
Priority: optional
Maintainer: <mark@mark-desktop>
Architecture: i386
Depends: ttf-dejavu | ttf-bitstream-vera | msttcorefonts,
Description: Google Earth, a 3D map/planet viewer
 Package built with googleearth-package.
chmod: cannot access `usr/lib/googleearth/googleearth-bin': No such file or directory
dpkg-deb: parse error, in file '/home/mark/test dir/googleearth-deb/DEBIAN/control' near line 7 package 'googleearth':
 `Depends' field, missing package name, or garbage where package name expected
You can now install the package with e.g. sudo dpkg -i <package>.deb

ProblemType: Bug
Architecture: i386
Date: Thu Mar 11 14:00:30 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: ksplice_s4o65fmq_vmlinux_new ksplice_s4o65fmq ksplice_9m7efmmd_vmlinux_new ksplice_9m7efmmd ksplice_im9hmdfu_vmlinux_new ksplice_im9hmdfu ksplice_e9k5oneu_vmlinux_new ksplice_e9k5oneu ksplice_a2fy1ye7_vmlinux_new ksplice_a2fy1ye7 nvidia
Package: googleearth-package 0.5.6ubuntu2
PackageArchitecture: all
 PATH=(custom, user)
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: googleearth-package
Uname: Linux 2.6.31-19-generic i686

Mark Rogers (mark-web) wrote :
Daniel Hahler (blueyed) wrote :

The problem is the current line failing:
  sh "$OPT_FILE" --tar -xvf -C "$tmpdir" >&2

A workaround might be to create a tmpdir outside the current directory, e.g. in /tmp.

Apart from that, it looks like GoogleEarthLinux.bin needs to get fixed.

Changed in googleearth-package (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Adnan Hodzic (fooctrl) wrote :

Please try 0.6.1 version of this package which I backported to work on Ubuntu 10.04 and up, Google Earth 6.0 is also supported:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers