make-sqldeveloper-package failed to build: chmod: missing operand after `755'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sqldeveloper-package (Debian) |
Fix Released
|
Unknown
|
|||
sqldeveloper-package (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu precise (development branch)
Release: 12.04
sqldeveloper-
Installed: 0.2.3+nmu1
Candidate: 0.2.3+nmu1
Version table:
*** 0.2.3+nmu1 0
500 http://
100 /var/lib/
I downloaded the "Other OS" .zip from Oracle and tried to build the .deb, but I encountered the following problems:
* (suggestion) the package depended on debhelper, which had to be installed separately (probably should be a dependency!)
* when trying to build the package, I received only the error "chmod: missing operand after `755'"
I determined the problem line was this:
# Set executable bit
${FIND} "${OPTDIR}" ! \( -type d -o -name "*.jar" \) |${XARGS} ${XARGS_OPTS} ${FILE} ${FILE_OPTS} |${GREP} ${GREP_OPTS} "shell script text executable " |${CUT} ${CUT_OPTS_
I figured nothing was getting passed to that last "xargs chmod 755", so either cut wasn't returning anything, or grep wasn't finding anything with that description.
With my version of file (file-5.09 magic file from /etc/magic:
"foo.sh: POSIX shell script, ASCII text executable", which is not 'shell script text executable'
When I edited make-sqldevelop
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: sqldeveloper-
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu3
Architecture: amd64
Date: Thu Apr 19 14:21:50 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
PackageArchitec
ProcEnviron:
TERM=rxvt-unicode
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: sqldeveloper-
UpgradeStatus: Upgraded to precise on 2012-04-09 (10 days ago)
Related branches
Changed in sqldeveloper-package (Debian): | |
status: | Unknown → New |
Changed in sqldeveloper-package (Debian): | |
status: | New → Fix Released |
Changed in sqldeveloper-package (Ubuntu): | |
assignee: | nobody → diyan (di60smail) |
assignee: | diyan (di60smail) → nobody |
Status changed to 'Confirmed' because the bug affects multiple users.