[Bug 1395484] [NEW] mk-build-deps failes when control file is in path containing spaces

V字龍(Vdragon) Vdragon.Taiwan at gmail.com
Sun Nov 23 15:21:46 UTC 2014


*** This bug is a duplicate of bug 881153 ***
    https://bugs.launchpad.net/bugs/881153

Public bug reported:

## Console output
```
~/Workspace/Programming/My_projects/Vubuntu/Patches/安裝與設定各桌面環境/桌面環境通用設定(若可行的話)/鍵盤快捷鍵設定/按下 Windows 鍵開啟選單/KDE/安裝 ksuperkey % LANGUAGE=en mk-build-deps ksuperkey.control
cp: target ‘ksuperkey/equivs.cx3DoH’ is not a directory
Error on copy of the template files: exit status 1
~/Workspace/Programming/My_projects/Vubuntu/Patches/安裝與設定各桌面環境/桌面環境通用設定(若可行的話)/鍵盤快捷鍵設定/按下 Windows 鍵開啟選單/KDE/安裝 ksuperkey %
```

AFAICS the bug is at /usr/bin/equivs-build script that "builddir" string is not properly quoted.
```
system("cp -R /usr/share/equivs/template/* $builddir") == 0 or
   die "Error on copy of the template files: exit status " . ($?>>8) . "\n";
```

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: devscripts 2.14.1
ProcVersionSignature: Ubuntu 3.16.0-24.32-lowlatency 3.16.4
Uname: Linux 3.16.0-24-lowlatency i686
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: i386
CurrentDesktop: KDE
Date: Sun Nov 23 22:54:13 2014
InstallationDate: Installed on 2013-03-08 (624 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
SourcePackage: devscripts
UpgradeStatus: Upgraded to trusty on 2014-04-19 (218 days ago)

** Affects: devscripts (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: equivs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 third-party-packages trusty

** Patch added: "Patch attempt to fix this issue properly."
   https://bugs.launchpad.net/bugs/1395484/+attachment/4266179/+files/_usr_bin_equivs-build%20-%20quote%20entire%20path.patch

** Description changed:

  ## Console output
  ```
- ~/Workspace/Programming/My_projects/Vubuntu/Patches/安裝與設定各桌面環境/桌面環境通用設定(若可行的話)/鍵盤快捷鍵設定/按下 Windows 鍵開啟選單/KDE/安裝 ksuperkey % LANGUAGE=en mk-build-deps ksuperkey.control 
+ ~/Workspace/Programming/My_projects/Vubuntu/Patches/安裝與設定各桌面環境/桌面環境通用設定(若可行的話)/鍵盤快捷鍵設定/按下 Windows 鍵開啟選單/KDE/安裝 ksuperkey % LANGUAGE=en mk-build-deps ksuperkey.control
  cp: target ‘ksuperkey/equivs.cx3DoH’ is not a directory
  Error on copy of the template files: exit status 1
  ~/Workspace/Programming/My_projects/Vubuntu/Patches/安裝與設定各桌面環境/桌面環境通用設定(若可行的話)/鍵盤快捷鍵設定/按下 Windows 鍵開啟選單/KDE/安裝 ksuperkey %
+ ```
+ 
+ AFAICS the bug is at /usr/bin/equivs-build script that "builddir" string is not properly quoted.
+ ```
+ system("cp -R /usr/share/equivs/template/* $builddir") == 0 or
+    die "Error on copy of the template files: exit status " . ($?>>8) . "\n";
  ```
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: devscripts 2.14.1
  ProcVersionSignature: Ubuntu 3.16.0-24.32-lowlatency 3.16.4
  Uname: Linux 3.16.0-24-lowlatency i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.5
  Architecture: i386
  CurrentDesktop: KDE
  Date: Sun Nov 23 22:54:13 2014
  InstallationDate: Installed on 2013-03-08 (624 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
  SourcePackage: devscripts
  UpgradeStatus: Upgraded to trusty on 2014-04-19 (218 days ago)

** Also affects: equivs (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: devscripts (Ubuntu)
       Status: New => Invalid

** This bug has been marked a duplicate of bug 881153
   equiv-build fails with paths with spaces

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to devscripts in Ubuntu.
https://bugs.launchpad.net/bugs/1395484

Title:
  mk-build-deps failes when control file is in path containing spaces

Status in “devscripts” package in Ubuntu:
  Invalid
Status in “equivs” package in Ubuntu:
  New

Bug description:
  ## Console output
  ```
  ~/Workspace/Programming/My_projects/Vubuntu/Patches/安裝與設定各桌面環境/桌面環境通用設定(若可行的話)/鍵盤快捷鍵設定/按下 Windows 鍵開啟選單/KDE/安裝 ksuperkey % LANGUAGE=en mk-build-deps ksuperkey.control
  cp: target ‘ksuperkey/equivs.cx3DoH’ is not a directory
  Error on copy of the template files: exit status 1
  ~/Workspace/Programming/My_projects/Vubuntu/Patches/安裝與設定各桌面環境/桌面環境通用設定(若可行的話)/鍵盤快捷鍵設定/按下 Windows 鍵開啟選單/KDE/安裝 ksuperkey %
  ```

  AFAICS the bug is at /usr/bin/equivs-build script that "builddir" string is not properly quoted.
  ```
  system("cp -R /usr/share/equivs/template/* $builddir") == 0 or
     die "Error on copy of the template files: exit status " . ($?>>8) . "\n";
  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: devscripts 2.14.1
  ProcVersionSignature: Ubuntu 3.16.0-24.32-lowlatency 3.16.4
  Uname: Linux 3.16.0-24-lowlatency i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.5
  Architecture: i386
  CurrentDesktop: KDE
  Date: Sun Nov 23 22:54:13 2014
  InstallationDate: Installed on 2013-03-08 (624 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
  SourcePackage: devscripts
  UpgradeStatus: Upgraded to trusty on 2014-04-19 (218 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/1395484/+subscriptions



More information about the foundations-bugs mailing list