Active Topics

 


Reply
Thread Tools
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#11
Interesting:

tar cvf foo.tar conffiles control md5sums postinst postrm

gives me 20480 byte file.

even adding all those sizes (rounded up to 512 bytes) 7168 (and
if rounded to 1024, max 10240 bytes)

Still (gnu) tar wants to build 20480 byte file.

I'll have to figure this out... Thanks for the report.

EDIT: OK, there needs to be 1024-aligned page with zeroes, and then size multiple if 10240... Oh my, why is that tar so picky ;/

Last edited by too; 2010-06-23 at 15:12.
 
direx's Avatar
Posts: 102 | Thanked: 153 times | Joined on Feb 2010
#12
I guess this really is a MADDE bug. I've created a debian source package with "mad dpkg-buildpackage -sa -S" and uploaded it to the autobuilder.
The package created by the autobuilder (containing the postrm script) installed fine - the same package created directly by "mad buildpackage" failed to install.

I've filed a bug about this.
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#13
I've committed fix to our repository. Will be in gitorius next week.

Anyone adventurous may want to help me testing this:

go download

http://www.iki.fi/too/sw/tarlisted/tarlisted-3.0.tar.gz

extract and compile and then run

Code:
madbin_dir=`mad query install-dir`/madbin
echo $madbin_dir
mv "$madbin_dir/tarlisted" "$madbin_dir/tarlisted.old" 
mv tarlisted "$madbin_dir"
and then try rebuilding problematic package with MADDE.
 

The Following 2 Users Say Thank You to too For This Useful Post:
Posts: 1 | Thanked: 0 times | Joined on Jul 2010
#14
I'm using the Windows version of new Nokia Qt SDK.
So can you give me advices because this download
http://www.iki.fi/too/sw/tarlisted/tarlisted-3.0.tar.gz
is for linux users.
Thanks.
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#15
Originally Posted by QuangBui View Post
I'm using the Windows version of new Nokia Qt SDK.
So can you give me advices because this download
http://www.iki.fi/too/sw/tarlisted/tarlisted-3.0.tar.gz
is for linux users.
Thanks.
Nice that you asked...

I just build windows binary for someone who privately asked:

In windows, first start 'MADDE Terminal'

In case of Nokia Qt SDK, launch command

C:\NokiaQtSDK\Maemo\4.6.2\madde.bat

(either via command line or via file browser)

then enter

Code:
$ mad curl -o tarlisted.exe http://www.guru-group.fi/too/sw/tarlisted/tarlisted30.exe
$ mv /madbin/tarlisted.exe /madbin/tarlisted.exe.old
$ mv tarlisted.exe /madbin
command lines start with '$'. concatenate yourself if splitted.
 
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#16
Just an idea:
Check whether the file uses UNIX line endings.

I once had a similar script which had an issue because I saved it with Windows line endings.
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#17
Windows line endings are problematic, but not cause here.
 
Posts: 4 | Thanked: 0 times | Joined on Jul 2010 @ Porvoo
#18
Thanks, that worked for me on similar case.
 
benlau's Avatar
Posts: 135 | Thanked: 375 times | Joined on Mar 2010 @ Hong Kong
#19
Originally Posted by too View Post
I've committed fix to our repository. Will be in gitorius next week.

Anyone adventurous may want to help me testing this:

go download

http://www.iki.fi/too/sw/tarlisted/tarlisted-3.0.tar.gz

extract and compile and then run

Code:
madbin_dir=`mad query install-dir`/madbin
echo $madbin_dir
mv "$madbin_dir/tarlisted" "$madbin_dir/tarlisted.old" 
mv tarlisted "$madbin_dir"
and then try rebuilding problematic package with MADDE.
Thanks for the solution!

I got the same problem , but I didn't make any script like postrm , I just added few more images to the package. Anyway, it has solved my problem.
__________________
Qt Ambassador | Nokia Certified Qt Specialist
PenPen SketchBook |
FrontView - 0.2 is released! | DQuest
Status: Now working on GTD software
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:16.