it don't see 822-date on amd64

Bug #250431 reported by yngd
8
Affects Status Importance Assigned to Milestone
Deb Creator
Fix Committed
Undecided
Unassigned

Bug Description

ubuntu 8.04 amd64.
tried 3.9.4
installed dpkg-dev for sure

it just fails saying "cannot find 822-date"

(debcreator:7022): Gtk-WARNING **: Attempting to read the recently used resources file at `/home/yngd/.recently-used.xbel', but the parser failed: Error reading file '/home/yngd/.recently-used.xbel': Is a directory.

(debcreator:7022): GLib-CRITICAL **: g_bookmark_file_get_size: assertion `bookmark != NULL' failed
cut: fields and positions are numbered from 1
Try `cut --help' for more information.
Unable to find 822-date program!

Revision history for this message
Jon Arnold (jonarnoldsemail) wrote :

I'm getting this error too...

jon$ 822-date
822-date: warning: This program is deprecated. Please use 'date -R' instead.
Sun, 03 Aug 2008 12:28:07 -0400
jon$ date -R
Sun, 03 Aug 2008 12:28:18 -0400

Revision history for this message
Araz (araz-alipour) wrote :

you should make little changes in /usr/bin/debcreator_dhmake
script is written badly in these lines:
our $UTIL_BZIP2=`whereis -b bzip2 | cut -d" " -f2`;
our $UTIL_GZIP=`whereis -b gzip | cut -d" " -f2`;
our $UTIL_DATE=`whereis -b 822-date | cut -d" " -f2,`;

space is needed between -d, " " and f, 2 and you can use date -R instead of 822-date
replacing those lines with these would solve your problem:

our $UTIL_BZIP2=`whereis -b bzip2 | cut -d " " -f 2`;
our $UTIL_GZIP=`whereis -b gzip | cut -d " " -f 2`;
our $UTIL_DATE=`whereis -b date -R | cut -d " " -f 2,`;

Revision history for this message
Araz (araz-alipour) wrote :

another thing needs change:
remove that comma in the end of this line:
our $UTIL_DATE=`whereis -b date -R | cut -d " " -f 2,`;

=> our $UTIL_DATE=`whereis -b date -R | cut -d " " -f 2`;

file updated

Revision history for this message
Araz (araz-alipour) wrote :

it still isn't fixed. I'll remove the file and try to see if I can fix it.

Revision history for this message
Araz (araz-alipour) wrote :

seems like this one solved the problem...
our $UTIL_DATE=`whereis -b date | cut -d " " -f 2`.` -R`
but it still fails with no more error... is there anyway to see something like debug info?

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Hi,

I've fixed it in my branch: https://code.launchpad.net/~vperetokin/debcreator/dc+

If you're proficient with compiling, give it a try and let me now how it works out. Make sure to install the "atool" and "dh-make" packages though.

Changed in debcreator:
assignee: nobody → vperetokin
status: New → Fix Committed
Changed in debcreator:
assignee: Vadim Peretokin (vperetokin) → nobody
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.