• Bug#265923: pyopengl: FTBFS: Missing dependencies?

    From Kurt Roeckx@1:229/2 to All on Sun Aug 15 21:30:11 2004
    From: [email protected]

    Package: pyopengl
    Version: 2.0.1.08-2
    Severity: serious

    The package it failing to build with this error:
    xvfb-run python setup.py clean --all
    Traceback (most recent call last):
    File "setup.py", line 44, in ?
    from setup.togl_setup import install, build_togl
    File "/usr/src/pyopengl-2.0.1.08/setup/togl_setup.py", line 27,
    in ?
    tk = Tkinter.Tk()
    File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1564, in
    __init__
    self.tk = _tkinter.create(screenName, baseName, className) _tkinter.TclError: this isn't a Tk applicationcouldn't connect to
    display ":99"
    /usr/bin/xvfb-run: line 134: kill: (1718) - No such process


    Kurt



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Jamie Wilkinson@1:229/2 to Kurt Roeckx on Mon Aug 16 00:30:11 2004
    From: [email protected]

    This one time, at band camp, Kurt Roeckx wrote:
    Package: pyopengl
    Version: 2.0.1.08-2
    Severity: serious

    The package it failing to build with this error:
    xvfb-run python setup.py clean --all
    Traceback (most recent call last):
    File "setup.py", line 44, in ?
    from setup.togl_setup import install, build_togl
    File "/usr/src/pyopengl-2.0.1.08/setup/togl_setup.py", line 27,
    in ?
    tk = Tkinter.Tk()
    File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1564, in
    __init__
    self.tk = _tkinter.create(screenName, baseName, className)
    _tkinter.TclError: this isn't a Tk applicationcouldn't connect to
    display ":99"
    /usr/bin/xvfb-run: line 134: kill: (1718) - No such process

    Yes, thanks very much. Do you have any idea *what* dependencies these are?

    --
    [email protected] http://people.debian.org/~jaq


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Kurt Roeckx@1:229/2 to Kurt Roeckx on Mon Aug 16 01:00:11 2004
    From: [email protected]

    On Mon, Aug 16, 2004 at 12:38:18AM +0200, Kurt Roeckx wrote:
    On Mon, Aug 16, 2004 at 08:10:47AM +1000, Jamie Wilkinson wrote:
    This one time, at band camp, Kurt Roeckx wrote:

    The package it failing to build with this error:
    xvfb-run python setup.py clean --all
    Traceback (most recent call last):
    File "setup.py", line 44, in ?
    from setup.togl_setup import install, build_togl
    File "/usr/src/pyopengl-2.0.1.08/setup/togl_setup.py", line 27,
    in ?
    tk = Tkinter.Tk()
    File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1564, in
    __init__
    self.tk = _tkinter.create(screenName, baseName, className)
    _tkinter.TclError: this isn't a Tk applicationcouldn't connect to
    display ":99"
    /usr/bin/xvfb-run: line 134: kill: (1718) - No such process

    Yes, thanks very much. Do you have any idea *what* dependencies these are?

    From the /usr/bin/xvfb-run file:
    # If anyone is using this to build a Debian package, make sure the
    # package Build-Depends on xvfb, xbase-clients, and xfonts-base.

    The xfonts-base are missing.


    After installing that it build up to this point:
    touch build-stamp-2.2
    dh_testdir
    xvfb-run python2.1 setup.py build
    Traceback (most recent call last):
    File "setup.py", line 44, in ?
    from setup.togl_setup import install, build_togl
    File "setup/togl_setup.py", line 27, in ?
    tk = Tkinter.Tk()
    File "/usr/lib/python2.1/lib-tk/Tkinter.py", line 1523, in
    __init__
    self.tk = _tkinter.create(screenName, baseName, className)
    TclError: this isn't a Tk applicationcouldn't connect to display
    ":99"
    /usr/bin/xvfb-run: line 134: kill: (9368) - No such process

    Which looks very much like the first except that it's calling
    python2.1 now.


    Kurt



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Kurt Roeckx@1:229/2 to Jamie Wilkinson on Mon Aug 16 01:00:11 2004
    From: [email protected]

    On Mon, Aug 16, 2004 at 08:10:47AM +1000, Jamie Wilkinson wrote:
    This one time, at band camp, Kurt Roeckx wrote:
    Package: pyopengl
    Version: 2.0.1.08-2
    Severity: serious

    The package it failing to build with this error:
    xvfb-run python setup.py clean --all
    Traceback (most recent call last):
    File "setup.py", line 44, in ?
    from setup.togl_setup import install, build_togl
    File "/usr/src/pyopengl-2.0.1.08/setup/togl_setup.py", line 27,
    in ?
    tk = Tkinter.Tk()
    File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1564, in
    __init__
    self.tk = _tkinter.create(screenName, baseName, className)
    _tkinter.TclError: this isn't a Tk applicationcouldn't connect to
    display ":99"
    /usr/bin/xvfb-run: line 134: kill: (1718) - No such process

    Yes, thanks very much. Do you have any idea *what* dependencies these are?

    From the /usr/bin/xvfb-run file:
    # If anyone is using this to build a Debian package, make sure the
    # package Build-Depends on xvfb, xbase-clients, and xfonts-base.

    The xfonts-base are missing.


    Kurt



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Jamie Wilkinson@1:229/2 to Kurt Roeckx on Mon Aug 16 01:20:06 2004
    From: [email protected]

    This one time, at band camp, Kurt Roeckx wrote:
    On Mon, Aug 16, 2004 at 12:38:18AM +0200, Kurt Roeckx wrote:
    On Mon, Aug 16, 2004 at 08:10:47AM +1000, Jamie Wilkinson wrote:
    This one time, at band camp, Kurt Roeckx wrote:

    The package it failing to build with this error:
    xvfb-run python setup.py clean --all
    Traceback (most recent call last):
    File "setup.py", line 44, in ?
    from setup.togl_setup import install, build_togl
    File "/usr/src/pyopengl-2.0.1.08/setup/togl_setup.py", line 27,
    in ?
    tk = Tkinter.Tk()
    File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1564, in
    __init__
    self.tk = _tkinter.create(screenName, baseName, className)
    _tkinter.TclError: this isn't a Tk applicationcouldn't connect to
    display ":99"
    /usr/bin/xvfb-run: line 134: kill: (1718) - No such process

    Yes, thanks very much. Do you have any idea *what* dependencies these are?

    From the /usr/bin/xvfb-run file:
    # If anyone is using this to build a Debian package, make sure the
    # package Build-Depends on xvfb, xbase-clients, and xfonts-base.

    The xfonts-base are missing.


    After installing that it build up to this point:
    touch build-stamp-2.2
    dh_testdir
    xvfb-run python2.1 setup.py build
    Traceback (most recent call last):
    File "setup.py", line 44, in ?
    from setup.togl_setup import install, build_togl
    File "setup/togl_setup.py", line 27, in ?
    tk = Tkinter.Tk()
    File "/usr/lib/python2.1/lib-tk/Tkinter.py", line 1523, in
    __init__
    self.tk = _tkinter.create(screenName, baseName, className)
    TclError: this isn't a Tk applicationcouldn't connect to display
    ":99"
    /usr/bin/xvfb-run: line 134: kill: (9368) - No such process

    Which looks very much like the first except that it's calling
    python2.1 now.

    This second pass seems to be a race condition caused by the 3 second sleep
    in xvfb-run. I saw this also but on the second attempt at building it got
    past this point.

    --
    [email protected] http://people.debian.org/~jaq


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Kurt Roeckx@1:229/2 to Jamie Wilkinson on Mon Aug 16 01:30:07 2004
    From: [email protected]

    On Mon, Aug 16, 2004 at 08:48:23AM +1000, Jamie Wilkinson wrote:
    This one time, at band camp, Kurt Roeckx wrote:
    Which looks very much like the first except that it's calling
    python2.1 now.

    This second pass seems to be a race condition caused by the 3 second sleep
    in xvfb-run. I saw this also but on the second attempt at building it got past this point.

    I now always get it on the python2.2 call now. I've "fixed" it
    by adding an extra sleep after the kill in the xvfb-run script.
    I assume it's trying to start the server again before the other
    clean up.

    Maybe you should add a sleep somewhere in the rules file
    instead like just before the touch $@ of build-stamp-%?


    Kurt



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)