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 07-09-2012, 09:17 AM
Mathias Behrle
 
Default Bug#680817: tryton-proteus: FTBFS: ImportError: No module named dateutil.relativedelta

* Betr.: " Bug#680817: tryton-proteus: FTBFS: ImportError: No module named
dateutil.relativedelta" (Sun, 8 Jul 2012 18:49:30 +0200):

Hello,

I want to ask according to Debian policy [1] about a Pre-Depends with respect to
the following build problem of proteus.

To know the proteus version, setup.py imports __init__.py from subfolder
proteus, which itself imports classes depending on python modules not yet
installed.
The problem is already known [2], the upstream bug report is at [3].

[1] http://www.debian.org/doc/debian-policy/ch-relationships.html
[2] http://www.tryton.org/~irclog/2012-06-28.log.html
[3] https://bugs.tryton.org/issue2705

Should I workaround the problem for wheezy by setting python-dateutils in
Pre-Depends instead of Depends or should I rather wait for the upstream patch,
for which I don't know if and when there will be a solution.

Regards,
Mathias



> Source: tryton-proteus
> Version: 2.2.2-2
> Severity: serious
> Tags: wheezy sid
> User: debian-qa@lists.debian.org
> Usertags: qa-ftbfs-20120708 qa-ftbfs
> Justification: FTBFS on amd64
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
>
> Relevant part:
> > make[1]: Entering directory `/«PKGBUILDDIR»'
> > dh_auto_clean
> > Traceback (most recent call last):
> > File "setup.py", line 7, in <module>
> > import proteus
> > File "/«PKGBUILDDIR»/proteus/__init__.py", line 13, in <module>
> > from proteus.pyson import PYSONDecoder
> > File "/«PKGBUILDDIR»/proteus/pyson.py", line 11, in <module>
> > from dateutil.relativedelta import relativedelta
> > ImportError: No module named dateutil.relativedelta
> > dh_auto_clean: python setup.py clean -a returned exit code 1
> > make[1]: *** [override_dh_auto_clean] Error 2
>
> The full build log is available from:
> http://people.debian.org/~lucas/logs/2012/07/08/tryton-proteus_2.2.2-2_unstable.log
>
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
>
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
>
>
>



--

Mathias Behrle
MBSolutions
Gilgenmatten 10 A
D-79114 Freiburg

Tel: +49(761)471023
Fax: +49(761)4770816
http://m9s.biz
UStIdNr: DE 142009020
PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6
 
Old 07-09-2012, 10:49 AM
Jakub Wilk
 
Default Bug#680817: tryton-proteus: FTBFS: ImportError: No module named dateutil.relativedelta

* Mathias Behrle <mathiasb@m9s.biz>, 2012-07-09, 11:17:
I want to ask according to Debian policy [1] about a Pre-Depends with
respect to the following build problem of proteus.


To know the proteus version, setup.py imports __init__.py from
subfolder proteus, which itself imports classes depending on python
modules not yet installed.

The problem is already known [2], the upstream bug report is at [3].

[1] http://www.debian.org/doc/debian-policy/ch-relationships.html
[2] http://www.tryton.org/~irclog/2012-06-28.log.html
[3] https://bugs.tryton.org/issue2705

Should I workaround the problem for wheezy by setting python-dateutils
in Pre-Depends instead of Depends or should I rather wait for the
upstream patch, for which I don't know if and when there will be a solution.


No. If a package is needed at built time, then you put it in
Build-Depends. Pre-Depends has nothing to do with your problem.


--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120709104915.GA3213@jwilk.net">http://lists.debian.org/20120709104915.GA3213@jwilk.net
 
Old 07-11-2012, 10:13 AM
Mathias Behrle
 
Default Bug#680817: tryton-proteus: FTBFS: ImportError: No module named dateutil.relativedelta

* Betr.: " Re: Bug#680817: tryton-proteus: FTBFS: ImportError: No module named
dateutil.relativedelta" (Mon, 9 Jul 2012 12:49:15 +0200):

> * Mathias Behrle <mathiasb@m9s.biz>, 2012-07-09, 11:17:
> >I want to ask according to Debian policy [1] about a Pre-Depends with
> >respect to the following build problem of proteus.
> >
> >To know the proteus version, setup.py imports __init__.py from
> >subfolder proteus, which itself imports classes depending on python
> >modules not yet installed.
> >The problem is already known [2], the upstream bug report is at [3].
> >
> >[1] http://www.debian.org/doc/debian-policy/ch-relationships.html
> >[2] http://www.tryton.org/~irclog/2012-06-28.log.html
> >[3] https://bugs.tryton.org/issue2705
> >
> >Should I workaround the problem for wheezy by setting python-dateutils
> >in Pre-Depends instead of Depends or should I rather wait for the
> >upstream patch, for which I don't know if and when there will be a solution.
>
> No. If a package is needed at built time, then you put it in
> Build-Depends. Pre-Depends has nothing to do with your problem.

Thanks, Lucas, I just uploaded a corrected package.
 

Thread Tools




All times are GMT. The time now is 08:42 AM.

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