gnupic: Thread: Re: [gnupic] Debian Template/Patches for C30 v3.10 i386


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Re: [gnupic] Debian Template/Patches for C30 v3.10 i386
From: dennis_amonics ####@####.####
Date: 19 Jun 2008 08:18:00 -0000
Message-Id: <17999640.post@talk.nabble.com>

Hi Xiaofan and Hiep,

I am trying to make the .deb files using your modified patches. However,
I've found the following problems:

1) When I build the package pic30-binutils_3.10-1_i386.deb, using the
download source mplabalc30_v3_10.tar.gz, an unpacking error was generated.
It turns out there is a missing underscore in the "rule" file:
binutils=mplabalc30v3_10. After changing the filename as mplabalc30_v3_10,
the problem is solved.

2) Then I continue to build the package pic30-gcc_3.10-1_i386.deb, using the
download source mplabc30_v3_10.tar.gz, an unpacking error was generated.
This time, I cannot determine where the problem is. The error message is as
follows:

####@####.####
dpkg-buildpackage -rfakeroot -b
dpkg-buildpackage: source package is pic30-gcc
dpkg-buildpackage: source version is 3.10-1
dpkg-buildpackage: source changed by BQV ####@####.####
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 3.10-1
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -rf /home/Dennis/module/mplab_3_10/pic30-3.10/pic30-gcc-3.10/build_dir
*-stamp
dh_clean
 debian/rules build
dh_testdir
mkdir -p
/home/Dennis/module/mplab_3_10/pic30-3.10/pic30-gcc-3.10/build_dir/src
# unpack upstream tarballs
unpacking mplabc30_v3_10
 *** Error: Failed to unpack mplabc30_v3_10
make: *** [unpack-stamp] Error 1

I wonder if you guys can help.

Cheers.
Dennis





Xiaofan Chen wrote:
> 
> ---------- Forwarded message ----------
> From: Hiep DOAN <mail AT falleaf.net>
> Date: Thu, May 29, 2008 at 7:40 PM
> Subject: Template for C30 v3.10 i386
> To: Xiaofan Chen <xiaofanc AT gmail.com>, bqviet AT gmail.com
> 
> This is the template for C30 v3.10.
> 
> This is modified from John's workart by Mr. Quang Viet BUI (bqviet AT
> gmail.com) from www.dientuvietnam.net - VIETNAM
> 
> --
> DOAN Hiep
> 
> Vice Director
> R&P Trading and Forwarding Co. Ltd.
> 58/48 Nguyen Minh Hoang - Ward 12 - District Tan Binh
> Hochiminh city - 70000 - VIETNAM
> Office VN: +84 8 8119870 - Mobile KR: +82 10 2079 1635 - Mobile VN:
> +84 936 316 326
> www.rpc.vn - www.falleaf.net
> 
>  
>  
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 

-- 
View this message in context: http://www.nabble.com/Debian-Template-Patches-for-C30-v3.10-i386-tp17534084p17999640.html
Sent from the MicroControllers - GNUPIC mailing list archive at Nabble.com.

Subject: Re: [gnupic] Debian Template/Patches for C30 v3.10 i386
From: "Xiaofan Chen" ####@####.####
Date: 1 Aug 2008 13:29:07 -0000
Message-Id: <a276da400808010628p5b00d15ere561b681d1833f70@mail.gmail.com>

On Thu, Jun 19, 2008 at 4:17 PM, dennis_amonics ####@####.#### wrote:
>
> Hi Xiaofan and Hiep,

Sorry for the late reply. I only tested this today.

> I am trying to make the .deb files using your modified patches. However,
> I've found the following problems:
>
> 1) When I build the package pic30-binutils_3.10-1_i386.deb, using the
> download source mplabalc30_v3_10.tar.gz, an unpacking error was generated.
> It turns out there is a missing underscore in the "rule" file:
> binutils=mplabalc30v3_10. After changing the filename as mplabalc30_v3_10,
> the problem is solved.



Same here. And the resultant debian package did not work. It caused
seg-fault.

> 2) Then I continue to build the package pic30-gcc_3.10-1_i386.deb, using the
> download source mplabc30_v3_10.tar.gz, an unpacking error was generated.
> This time, I cannot determine where the problem is. The error message is as
> follows:

Same error here under Ubuntu 6.06.

I've also received debian package from Hiep Doan. Both caused seg-fault
under Ubuntu 8.04.

Xiaofan
Subject: Re: [gnupic] Debian Template/Patches for C30 v3.10 i386
From: "Hiep DOAN" ####@####.####
Date: 29 Sep 2008 06:55:02 -0000
Message-Id: <13c6c0150809282354j4e1e8f09wd7464bd7aa16326@mail.gmail.com>

There are an seg-fault in strcpy().

There are 6 places in the sourcecode they use this function without checking
the string length of the source and destination. We can correct it, but we
should notice Microchip officially before announce to the community.

Thanks.

2008/8/1 Xiaofan Chen ####@####.####

> On Thu, Jun 19, 2008 at 4:17 PM, dennis_amonics ####@####.####
> wrote:
> >
> > Hi Xiaofan and Hiep,
>
> Sorry for the late reply. I only tested this today.
>
> > I am trying to make the .deb files using your modified patches. However,
> > I've found the following problems:
> >
> > 1) When I build the package pic30-binutils_3.10-1_i386.deb, using the
> > download source mplabalc30_v3_10.tar.gz, an unpacking error was
> generated.
> > It turns out there is a missing underscore in the "rule" file:
> > binutils=mplabalc30v3_10. After changing the filename as
> mplabalc30_v3_10,
> > the problem is solved.
>
>
>
> Same here. And the resultant debian package did not work. It caused
> seg-fault.
>
> > 2) Then I continue to build the package pic30-gcc_3.10-1_i386.deb, using
> the
> > download source mplabc30_v3_10.tar.gz, an unpacking error was generated.
> > This time, I cannot determine where the problem is. The error message is
> as
> > follows:
>
> Same error here under Ubuntu 6.06.
>
> I've also received debian package from Hiep Doan. Both caused seg-fault
> under Ubuntu 8.04.
>
> Xiaofan
>



-- 
DOAN Hiep

Vice Director
R&P Trading and Forwarding Co. Ltd.
58/48 Nguyen Minh Hoang - Ward 12 - District Tan Binh
Hochiminh city - 70000 - VIETNAM
Office VN: +84 8 8119870 - Mobile KR: +82 10 2079 1635 - Mobile VN: +84 936
316 326
www.rpc.vn - www.falleaf.net
Subject: RE: [gnupic] Debian Template/Patches for C30 v3.10 i386
From: ####@####.####
Date: 29 Sep 2008 07:22:19 -0000
Message-Id: <F92E0D9C183AAB4BBC22DB8B1716ABE403BA4E34@CHN-CL-MAIL01.mchp-main.com>

I have passed this on to the C30 team.

Joseph Julicher
Applications Manager
Microchip Technology, Inc.

-----Original Message-----
From: Hiep DOAN ####@####.#### 
Sent: Sunday, September 28, 2008 11:55 PM
To: Xiaofan Chen
Cc: ####@####.####
Subject: Re: [gnupic] Debian Template/Patches for C30 v3.10 i386

There are an seg-fault in strcpy().

There are 6 places in the sourcecode they use this function without
checking
the string length of the source and destination. We can correct it, but
we
should notice Microchip officially before announce to the community.

Thanks.

2008/8/1 Xiaofan Chen ####@####.####

> On Thu, Jun 19, 2008 at 4:17 PM, dennis_amonics ####@####.####
> wrote:
> >
> > Hi Xiaofan and Hiep,
>
> Sorry for the late reply. I only tested this today.
>
> > I am trying to make the .deb files using your modified patches.
However,
> > I've found the following problems:
> >
> > 1) When I build the package pic30-binutils_3.10-1_i386.deb, using
the
> > download source mplabalc30_v3_10.tar.gz, an unpacking error was
> generated.
> > It turns out there is a missing underscore in the "rule" file:
> > binutils=mplabalc30v3_10. After changing the filename as
> mplabalc30_v3_10,
> > the problem is solved.
>
>
>
> Same here. And the resultant debian package did not work. It caused
> seg-fault.
>
> > 2) Then I continue to build the package pic30-gcc_3.10-1_i386.deb,
using
> the
> > download source mplabc30_v3_10.tar.gz, an unpacking error was
generated.
> > This time, I cannot determine where the problem is. The error
message is
> as
> > follows:
>
> Same error here under Ubuntu 6.06.
>
> I've also received debian package from Hiep Doan. Both caused
seg-fault
> under Ubuntu 8.04.
>
> Xiaofan
>



-- 
DOAN Hiep

Vice Director
R&P Trading and Forwarding Co. Ltd.
58/48 Nguyen Minh Hoang - Ward 12 - District Tan Binh
Hochiminh city - 70000 - VIETNAM
Office VN: +84 8 8119870 - Mobile KR: +82 10 2079 1635 - Mobile VN: +84
936
316 326
www.rpc.vn - www.falleaf.net
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.