pkgsrc-Bugs archive

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

pkg/29468: Buildink problem while building python programms



>Number:         29468
>Category:       pkg
>Synopsis:       Buildlink problem while building python programms
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 20 17:06:00 +0000 2005
>Originator:     Bernd Ernesti
>Release:        NetBSD 2.99.16, pkgsrc as of 2004-02-20
>Organization:
        
>Environment:
System: NetBSD 2.99.15
Architecture: i386
Machine: i386
>Description:
        A make fails if you try to build a python package, which depends
        on a few other python packages.

make: 
"../../lang/python/../../lang/python/../../lang/python/../../lang/python/pyversion.mk"
 line 137: Unassociated shell command "error: no valid Python version"
make: 
"../../lang/python/../../lang/python/../../lang/python/../../lang/python/pyversion.mk"
 line 149: Could not find /buildlink3.mk
make: Fatal errors encountered -- cannot continue

>How-To-Repeat:
        Uninstall devel/py-cursespanel (py24-cursespanel), devel/py-curses 
(py24-curses)
        and net/bittornado (BitTornado).
        Then try to build net/bittornado-gui (BitTornado-gui):

pkgsrc/net/bittornado-gui> make
=> Checksum OK for BitTornado-0.3.10.tar.gz.
===> Extracting for BitTornado-gui-0.3.10
===> Required package BitTornado>=0.3.10: NOT found
===> Verifying reinstall for ../../net/bittornado
=> Checksum OK for BitTornado-0.3.10.tar.gz.
===> Extracting for BitTornado-0.3.10
===> Required installed package python24>=2.4: python24-2.4nb5 found
===> Required package py24-cursespanel-[0-9]*: NOT found
===> Verifying reinstall for ../../devel/py-cursespanel
make: 
"../../lang/python/../../lang/python/../../lang/python/../../lang/python/pyversion.mk"
 line 137: Unassociated shell command "error: no valid Python version"
make: 
"../../lang/python/../../lang/python/../../lang/python/../../lang/python/pyversion.mk"
 line 149: Could not find /buildlink3.mk
make: Fatal errors encountered -- cannot continue

make: stopped in /home/source/pkgsrc/devel/py-cursespanel
*** Error code 1

        IMHO it doesn't matter if you try to build it with python 2.3 or 2.4.

        And the same problem exits for net/bittorrent-gui.
>Fix:
        Building net/bittornado (BitTornado) before net/bittornado-gui 
(BitTornado-gui)
        made the error go away.




Home | Main Index | Thread Index | Old Index