FTBFS in Karmic because of python2.6

Bug #392390 reported by Fabrice Coutadeur
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
hk-classes (Debian)
Fix Released
Unknown
hk-classes (Ubuntu)
Fix Released
Low
Andrea Gasparini

Bug Description

Hi,

hk-classes FTBFS in karmic:
dh_install: python-hk-classes missing files (usr/lib/python*), aborting
make: *** [binary-install/python-hk-classes] Error 1
dpkg-buildpackage: failure: /usr/bin/fakeroot debian/rules binary gave error exit status 2

It's because setup.py has to be called with the --install-layout parameter.

Related branches

Changed in hk-classes (Ubuntu):
assignee: nobody → fabrice_sp (fabricesp)
status: New → In Progress
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :
Changed in hk-classes (Ubuntu):
assignee: fabrice_sp (fabricesp) → nobody
status: In Progress → Confirmed
Andrea Gasparini (gaspa)
Changed in hk-classes (Ubuntu):
assignee: nobody → Andrea Gasparini (gaspa)
importance: Undecided → Low
status: Confirmed → In Progress
Revision history for this message
Andrea Gasparini (gaspa) wrote :

Changes seems fine to me, just take care of:
- Maintainer field needs to be "Ubuntu Developer <ubuntu-devel-discuss@..."
- python-dev version needs to be bumped for to support --install-layout

 I'm test-building right now, in order to get it uploaded.

Anyway: please report this to Debian as well. It's a pity having a merge to maintain for this couple of line.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hk-classes - 0.8.3-5ubuntu1

---------------
hk-classes (0.8.3-5ubuntu1) karmic; urgency=low

  [ Fabrice Coutadeur ]
  * debian/patches/python2.6.patch: patch python/Makefile.in to add parameter
    --install-layout=deb to setup.py install call (LP: #392390)

  [ Andrea Gasparini ]
  * debian/control: bumped python-dev version to 2.5.4-1~.

 -- Fabrice Coutadeur <email address hidden> Fri, 26 Jun 2009 04:05:09 +0000

Changed in hk-classes (Ubuntu):
status: In Progress → Fix Released
Changed in hk-classes (Debian):
status: Unknown → New
Revision history for this message
robert leleu (robert-jean-leleu) wrote :

I guess that it's this bug I encountered with Knoda......which could'nt find hk_this, and suggested that hk_classes-python was not installed....

I found a turnaround uninstalling ppython-hk-classes_0.8.3-5_i386.deb and installing python-hk-classes_0.8.3-4_i386.deb

So I don't understand why this bug is reported as fixed.....

Revision history for this message
robert leleu (robert-jean-leleu) wrote :

Again, I received advice to-day that a new version was available, and in the details about it, it claimed that the version had been corrected.

However it installed again the 8.3.5.....which caused the same failure in Knoda, so I had to reverse to 8.3.4

perhaps it's just au automated behaviour of the update system who, seing an outdated package claims that a new one is available.

So I hope that the present bug will be considered as non fixed.

thanks

Revision history for this message
Andrea Gasparini (gaspa) wrote :

Can you please be more complete, and provide a log of the error you saw, and how can we repeat it? thanks.

Revision history for this message
Andrea Gasparini (gaspa) wrote :

uhm, and why knoda doesn't depends on python-hk-classes?

$ apt-cache show knoda | grep python-hk
$

Revision history for this message
robert leleu (robert-jean-leleu) wrote :

$ apt-cache show knoda | grep python-hk
returns an empty line

the error received through Knoda when I launch it without python-hk-classes or with the 0.8.3.5 is:

error while loading hk_this: hk_this=currentform()
C'est du à une erreur d'installation. Si vous avez installé hk_classes à partir d'un paquet .rpm ou .deb, vous devriez vérifier si le paquet hk_classes-python est installé,

and if Knoda is launched from a terminal it complains that hk_classes isn't installed

My application under Knoda opens Autoform, whose first instruction in the on_open script is
ds=hk_this.datasource()

I didn't see any differences in the details windows when installing one or other version of python-hk-classes

Let me know if you need further detail, but in case of terminal command line, please give it in clear, since I'm not accustomed to.

Thanks

Revision history for this message
robert leleu (robert-jean-leleu) wrote :

To-day update installed again 0.8.3.5 (I forgot to check before to let it be installed).....with the same result as previously.
I remian at your disposal for further experiments if requested.

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

Can you please provide the output of the following command:
apt-cache policy python-hk-classes
apt-cache policy knoda

Thanks,
Fabrice

Revision history for this message
robert leleu (robert-jean-leleu) wrote : Re: [Bug 392390] Re: FTBFS in Karmic because of python2.6

 fabrice_sp skribis (esperanto estas la unua internacia lingvo):
> Hi,
>
> Can you please provide the output of the following command:
> apt-cache policy python-hk-classes
> apt-cache policy knoda
>
> Thanks,
> Fabrice

here they are:

tux@tux-laptop:~$ apt-cache policy python-hk-classes
python-hk-classes:
  Installé : 0.8.3-4
  Candidat : 0.8.3-5ubuntu1
 Table de version :
     0.8.3-5ubuntu1 0
        500 http://fr.archive.ubuntu.com karmic/universe Packages
 *** 0.8.3-4 0
        100 /var/lib/dpkg/status
tux@tux-laptop:~$ apt-cache policy knoda
knoda:
  Installé : 0.8.3-3ubuntu1
  Candidat : 0.8.3-3ubuntu1
 Table de version :
 *** 0.8.3-3ubuntu1 0
        500 http://fr.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status
tux@tux-laptop:~$

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

I'm not able to reproduce your problem in a karmic chroot, even without having python-hk-classes installed.

Can you send the result of:
type knoda

Thanks,
Fabrice

Revision history for this message
robert leleu (robert-jean-leleu) wrote :

tux@tux-laptop:~$ type knoda
knoda est /usr/bin/knoda
tux@tux-laptop:~$

here it is...

Revision history for this message
robert leleu (robert-jean-leleu) wrote :

I just had to reinstall Ubuntu 9.10, and experienced the same bug.

Changed in hk-classes (Debian):
status: New → Fix Released
Revision history for this message
robert leleu (robert-jean-leleu) wrote :

So may we hope that Knoda be again available in the 11.10 release, waiting for Kexi to be operatiqnal !

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.