pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42691 (net/bittorrent fails to build (installs too many files))



The following reply was made to PR pkg/42691; it has been noted by GNATS.

From: Rhialto <rhialto%falu.nl@localhost>
To: Matthias Scheler <tron%NetBSD.org@localhost>
Cc: Rhialto <rhialto%falu.nl@localhost>, NetBSD GNATS 
<gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/42691 (net/bittorrent fails to build (installs too many
 files))
Date: Fri, 29 Jan 2010 16:16:13 +0100

 On Fri 29 Jan 2010 at 14:37:46 +0000, Matthias Scheler wrote:
 > On Fri, Jan 29, 2010 at 02:30:57PM +0000, Matthias Scheler wrote:
 > > > My /scratch/chroot/pkg_comp.amd64-5.0/default/etc/mk.conf contains:
 > > 
 > > Wow, that's a lot. Can you please try building the package with the
 > > original package list via "env MAKECONFIG=/foo install".
 > 
 > That should read: "env MAKECONFIG=/foo make install" of course.
 
 I guessed :) However, it does not seem to make a difference.
 To double-check, I moved aside .../etc/mk.conf, removing all options
 that way. This time, it didn't know any more where my distfiles were.
 So I pruned the file instead, leaving only the options as put there by
 pkg_comp and removing all my own.
 
 Unfortunately... still...
 
 => Checking file-check results for bittorrent-4.4.0nb2
 ERROR: ************************************************************
 ERROR: The following files are in /usr/pkg but not in the PLIST:
 ERROR:         /usr/pkg/share/locale/af/LC_MESSAGES/bittorrent.mo
 ERROR:         /usr/pkg/share/locale/bg/LC_MESSAGES/bittorrent.mo
 ERROR:         /usr/pkg/share/locale/ca/LC_MESSAGES/bittorrent.mo
 ERROR:         /usr/pkg/share/locale/cs/LC_MESSAGES/bittorrent.mo
 ...
 
 Can it be the presence of some other package which triggers this extra
 installation? I have quite many installed.
 
 Out of a sort of despair, I started looking inside setup.py, which
 appears to be the script that determines the installation. It always
 seems to make a list of locale file ('translations') around lines 64-69.
 It checks for their existence though, and they don't exist just after
 extraction
 
 They appears to be generated at the start with "os.system('sh ./makei18n.sh')".
 When I try it "manually", it seems to do that indeed.
 
 The languages appear to be listed in the BitTorrent files, they don't
 seem to come from the Python installation.
 
 So it escapes me what is suddenly different for me (and not for you) :-(
 
 > Matthias Scheler                                  http://zhadum.org.uk/
 Cheers,
 -Olaf.
 -- 
 ___ Olaf 'Rhialto' Seibert    -- You author it, and I'll reader it.
 \X/ rhialto/at/xs4all.nl      -- Cetero censeo "authored" delendum esse.
 


Home | Main Index | Thread Index | Old Index