requires old style dos2unix

Bug #626272 reported by Jeremy Pastin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sqldeveloper-package (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: sqldeveloper-package

# lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

# apt-cache policy sqldeveloper-package
sqldeveloper-package:
  Installed: 0.2.3
  Candidate: 0.2.3
  Version table:
 *** 0.2.3 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Packages
        100 /var/lib/dpkg/status

When trying to run make-sqldeveloper-package, it throws the following error:

# make-sqldeveloper-package sqldeveloper-2.1.1.64.45-no-jre.zip
/usr/bin/make-sqldeveloper-package: 1050: dos2unix: not found

This appears to be due to the package tofrodos changing the utility from dos2unix to fromdos. If I symlink them

# ln -s /usr/bin/fromdos /usr/bin/dos2unix

Then the package is created correctly. The Script just needs to be updated to include the correct utilities.

I propose the following patch:

--- /usr/bin/make-sqldeveloper-package 2009-04-05 15:00:15.000000000 -0500
+++ make-sqldeveloper-package 2010-08-29 08:33:04.000000000 -0500
@@ -43,7 +43,7 @@
 DATE="date"
 DEBUILD="debuild"
 DIRNAME="dirname"
-DOS2UNIX="dos2unix"
+DOS2UNIX="fromdos"
 DPKG="dpkg"
 FAKEROOT="fakeroot"
 FILE="file"

This seems to work on my system.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: sqldeveloper-package 0.2.3
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Aug 29 08:26:16 2010
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: sqldeveloper-package

Revision history for this message
Jeremy Pastin (jpastin) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sqldeveloper-package - 0.2.4

---------------
sqldeveloper-package (0.2.4) unstable; urgency=high

  * Addressed bugs for inclusion in Wheezy's freeze:
    - Replaced dos2unix with tofrodos (LP: #560803,#626272) (Closes: #568982)
      (Reported by Seth Rosenblum)
    - Split grep for shell script (LP: #985810,#998610) (Closes: #692534)
      (Reported by Bruno Medeiros and patch by Brad Powell)
    - Download links updated (Closes: #618650)
      (Reported by Sergio Fernandez)
  * Fixed JDK dependencies for pre and post SQL Developer v2
  * Updated documentation regarding above changes
  * Updated OTN license information to current version
  * Tested against v2.x and v3.x release families of SQL Developer
  * Bumped version to reflect functionality

 -- Lazarus Long <email address hidden> Wed, 14 Nov 2012 11:05:12 +0000

Changed in sqldeveloper-package (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.