FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 06-13-2011, 08:05 AM
Atsuhito Kohda
 
Default pbuilder problem?

Hi all,

I guess this is already well-know but if I packaged with
pbuilder, which should be normal way, an upload to Debian
archives was rejected by failing to "dpkg-source -x".

And in fact when I do manually "dpkg-source -x" it failed.
What am I doing wrong?

Best regards, 2011-6-13(Mon)

--
Debian Developer - much more I18N of Debian
Atsuhito Kohda <kohda AT debian.org>
Department of Math., Univ. of Tokushima


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110613.170503.413955680.kohda@pm.tokushima-u.ac.jp">http://lists.debian.org/20110613.170503.413955680.kohda@pm.tokushima-u.ac.jp
 
Old 06-14-2011, 05:21 PM
Ian Jackson
 
Default pbuilder problem?

Atsuhito Kohda writes ("pbuilder problem?"):
> I guess this is already well-know but if I packaged with
> pbuilder, which should be normal way, an upload to Debian
> archives was rejected by failing to "dpkg-source -x".
>
> And in fact when I do manually "dpkg-source -x" it failed.
> What am I doing wrong?

http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

It is very disappointing to have to refer a fellow DD to that
document.

Ian.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 19959.39087.327918.41850@chiark.greenend.org.uk">h ttp://lists.debian.org/19959.39087.327918.41850@chiark.greenend.org.uk
 
Old 06-15-2011, 01:38 AM
Atsuhito Kohda
 
Default pbuilder problem?

On Tue, 14 Jun 2011 18:21:51 +0100, Ian Jackson wrote:

> http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
>
> It is very disappointing to have to refer a fellow DD to that
> document.

Sorry. I got following when I manually did "dpkg-source -x"
for a package built with pbuilder.

$ dpkg-source -x texworks_0.5~svn843-1.dsc
dpkg-source: warning: extracting unsigned source package (texworks_0.5~svn843-1.dsc)
dpkg-source: info: extracting texworks in texworks-0.5~svn843
dpkg-source: info: unpacking texworks_0.5~svn843.orig.tar.gz
dpkg-source: info: applying texworks_0.5~svn843-1.diff.gz
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- texworks-0.5~svn843.orig/debian/README.Debian
|+++ texworks-0.5~svn843/debian/README.Debian
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
...
...

and texworks_0.5~svn843-1.diff.gz looked as follows.

--- texworks-0.5~svn843.orig/debian/README.Debian
+++ texworks-0.5~svn843/debian/README.Debian
@@ -1,9 +1,16 @@
-dpkg: error: unknown option --print-foreign-architectures
+texworks for Debian
+-------------------

-Type dpkg --help for help about installing and deinstalling packages[*];
-Use `dselect' or `aptitude' for user-friendly package management;
-Type dpkg -Dhelp for a list of dpkg debug flag values;
-Type dpkg --force-help for a list of forcing options;
-Type dpkg-deb --help for help about manipulating *.deb files;
...
...

Aparently it was corrupted. I don't modified /etc/pbuilderrc,
don't have ~/.pbuilderrc. And pbuilder used to work fine with
me until recently.

There is no problem if I built a package outside pbuilder.

Best regards, 2011-6-15(Wed)

--
Debian Developer - much more I18N of Debian
Atsuhito Kohda <kohda AT debian.org>
Department of Math., Univ. of Tokushima


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110615.103843.219537498.kohda@pm.tokushima-u.ac.jp">http://lists.debian.org/20110615.103843.219537498.kohda@pm.tokushima-u.ac.jp
 
Old 06-15-2011, 06:05 AM
Raphael Hertzog
 
Default pbuilder problem?

Hi,

On Wed, 15 Jun 2011, Atsuhito Kohda wrote:
> --- texworks-0.5~svn843.orig/debian/README.Debian
> +++ texworks-0.5~svn843/debian/README.Debian
> @@ -1,9 +1,16 @@
> -dpkg: error: unknown option --print-foreign-architectures
> +texworks for Debian
> +-------------------

This looks fishy, it would mean that:
1/ debian/README.Debian is in orig.tar.gz
2/ it contains an error message of dpkg

May I suggest that you retry starting again with clean redownloaded files?

Does your pbuilder fail in the same way for all packages?

Cheers,
--
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110615060523.GF17709@rivendell.home.ouaza.com">h ttp://lists.debian.org/20110615060523.GF17709@rivendell.home.ouaza.com
 
Old 06-16-2011, 03:26 AM
Atsuhito Kohda
 
Default pbuilder problem?

Hi all,

On Wed, 15 Jun 2011 08:05:23 +0200, Raphael Hertzog wrote:

> This looks fishy, it would mean that:
> 1/ debian/README.Debian is in orig.tar.gz
> 2/ it contains an error message of dpkg

It apparently contains an error message of dpkg but I can't
believe orig.tar.gz contains debian/ direcory.

> May I suggest that you retry starting again with clean redownloaded files?
>
> Does your pbuilder fail in the same way for all packages?

Yes (all packages mean all packages I tried).

Anyway, it is certain now that this is my system specific
problem so I purged pbuilder and re-install it.

I failed to pdebuild at first (#563728 ?) with the message
"sudo: sorry, you are not allowed to preserve the environment"

This is strange because under the same sudoers file I've not
encounterd this problem before re-installing pbuilder.

So I modified a bit sudoers and then the problem seemed
to be fixed.

I can't now investigate what was wrong with my old system
precisely but I suspect it might be sudoes file.

Thanks.

Best regards, 2011-6-16(Thu)

--
Debian Developer - much more I18N of Debian
Atsuhito Kohda <kohda AT debian.org>
Department of Math., Univ. of Tokushima


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110616.122652.04334541.kohda@pm.tokushima-u.ac.jp">http://lists.debian.org/20110616.122652.04334541.kohda@pm.tokushima-u.ac.jp
 

Thread Tools




All times are GMT. The time now is 09:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org