9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "ron minnich" <rminnich@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] python and mercurial
Date: Fri, 13 Apr 2007 22:11:10 -0700	[thread overview]
Message-ID: <13426df10704132211l5493f6cah7e25948537b8ac5a@mail.gmail.com> (raw)

here is the status of building mercurial

cpu% python setup.py install
running install
HERE we are in init_plan9!
running build
running build_py
running build_ext
building 'mercurial.mpatch' extension
arg 0 is rc
arg 1 is -c
arg 2 is /bin/date
Fri Apr 13 22:04:03 PDT 2007

CMD ['8c', '-p', ' -T', '-I/sys/lib/python2.4/include', '-c', '-o',
'build/temp.unknown-2.4/mpatch.8', 'mercurial/mpatch.c']

cpp: mercurial/mpatch.c:45 Could not find include file <arpa/inet.h>
cpp: mercurial/mpatch.c:46 Could not find include file <inttypes.h>
arg 0 is rc
arg 1 is -c
arg 2 is 8c -p  -T -I/sys/lib/python2.4/include -c -o
build/temp.unknown-2.4/mpatch.8 mercurial/mpatch.c
/usr/bootes/src/mercurial-0.9.3/mercurial/mpatch.c:236[mercurial/mpatch.c:8936]
syntax error, last name: uint32_t
/usr/bootes/src/mercurial-0.9.3/mercurial/mpatch.c:237[mercurial/mpatch.c:8937]
syntax error, last name: uint32_t
/usr/bootes/src/mercurial-0.9.3/mercurial/mpatch.c:238[mercurial/mpatch.c:8938]
syntax error, last name: uint32_t
/usr/bootes/src/mercurial-0.9.3/mercurial/mpatch.c:380[mercurial/mpatch.c:9080]
syntax error, last name: uint32_t
/usr/bootes/src/mercurial-0.9.3/mercurial/mpatch.c:381[mercurial/mpatch.c:9081]
syntax error, last name: uint32_t
/usr/bootes/src/mercurial-0.9.3/mercurial/mpatch.c:382[mercurial/mpatch.c:9082]
syntax error, last name: uint32_t

arg 0 is rc
arg 1 is -c
arg 2 is /bin/date
Fri Apr 13 22:04:05 PDT 2007

CMD ['8l', '-u', '-o', 'build/lib.unknown-2.4/mercurial/mpatch.d',
'build/temp.unknown-2.4/mpatch.8']

arg 0 is rc
arg 1 is -c
arg 2 is 8l -u -o build/lib.unknown-2.4/mercurial/mpatch.d
build/temp.unknown-2.4/mpatch.8
??none??: cannot open file: build/temp.unknown-2.4/mpatch.8

building 'mercurial.bdiff' extension
arg 0 is rc
arg 1 is -c
arg 2 is /bin/date
Fri Apr 13 22:04:06 PDT 2007

CMD ['8c', '-p', ' -T', '-I/sys/lib/python2.4/include', '-c', '-o',
'build/temp.unknown-2.4/bdiff.8', 'mercurial/bdiff.c']

cpp: mercurial/bdiff.c:36 Could not find include file <arpa/inet.h>
cpp: mercurial/bdiff.c:37 Could not find include file <inttypes.h>
arg 0 is rc
arg 1 is -c
arg 2 is 8c -p  -T -I/sys/lib/python2.4/include -c -o
build/temp.unknown-2.4/bdiff.8 mercurial/bdiff.c
/usr/bootes/src/mercurial-0.9.3/mercurial/bdiff.c:55[mercurial/bdiff.c:8769]
not a function
/usr/bootes/src/mercurial-0.9.3/mercurial/bdiff.c:55[mercurial/bdiff.c:8769]
syntax error, last name: rol32

arg 0 is rc
arg 1 is -c
arg 2 is /bin/date
Fri Apr 13 22:04:06 PDT 2007

CMD ['8l', '-u', '-o', 'build/lib.unknown-2.4/mercurial/bdiff.d',
'build/temp.unknown-2.4/bdiff.8']

arg 0 is rc
arg 1 is -c
arg 2 is 8l -u -o build/lib.unknown-2.4/mercurial/bdiff.d
build/temp.unknown-2.4/bdiff.8
??none??: cannot open file: build/temp.unknown-2.4/bdiff.8

building 'mercurial.base85' extension
arg 0 is rc
arg 1 is -c
arg 2 is /bin/date
Fri Apr 13 22:04:06 PDT 2007

CMD ['8c', '-p', ' -T', '-I/sys/lib/python2.4/include', '-c', '-o',
'build/temp.unknown-2.4/base85.8', 'mercurial/base85.c']

arg 0 is rc
arg 1 is -c
arg 2 is 8c -p  -T -I/sys/lib/python2.4/include -c -o
build/temp.unknown-2.4/base85.8 mercurial/base85.c

arg 0 is rc
arg 1 is -c
arg 2 is /bin/date
Fri Apr 13 22:04:07 PDT 2007

CMD ['8l', '-u', '-o', 'build/lib.unknown-2.4/mercurial/base85.d',
'build/temp.unknown-2.4/base85.8']

arg 0 is rc
arg 1 is -c
arg 2 is 8l -u -o build/lib.unknown-2.4/mercurial/base85.d
build/temp.unknown-2.4/base85.8

running build_scripts
creating build/scripts-2.4
copying and adjusting hg -> build/scripts-2.4
Traceback (most recent call last):
  File "setup.py", line 102, in ?
    welcome='contrib/macosx/Welcome.html')),
  File "/sys/lib/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/sys/lib/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/sys/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/sys/lib/python2.4/distutils/command/install.py", line 513, in run
    self.run_command('build')
  File "/sys/lib/python2.4/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/sys/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/sys/lib/python2.4/distutils/command/build.py", line 112, in run
    self.run_command(cmd_name)
  File "/sys/lib/python2.4/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/sys/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/sys/lib/python2.4/distutils/command/build_scripts.py", line 53, in run
    self.copy_scripts()
  File "/sys/lib/python2.4/distutils/command/build_scripts.py", line
107, in copy_scripts
    "python" + sysconfig.get_config_var("EXE")),
TypeError: cannot concatenate 'str' and 'NoneType' objects
'/env/PYTHONINSPECT' file does not exist

Those files trying to include the arpa/inet.h and inttype.h are doing this:
#else
/* not windows */
# include <sys/types.h>
# include <arpa/inet.h>
# include <inttypes.h>
#endif

i.e. you ain't windows, you must be something that has this stuff.

Silliness ...

This is mercurial-0.9.3.

I will beat on this for a few minutes, would be interesting if it
actually worked ...

ron
p.s. but we sure could use ssh2, hint hint.


             reply	other threads:[~2007-04-14  5:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-14  5:11 ron minnich [this message]
2007-04-14  5:52 ` Federico Benavento
2007-04-14 14:21   ` Russ Cox
2007-04-14 14:38     ` ron minnich
2007-04-14 14:50     ` W B Hacker
2007-04-14 15:38     ` Federico Benavento
2007-04-14 21:24       ` ron minnich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13426df10704132211l5493f6cah7e25948537b8ac5a@mail.gmail.com \
    --to=rminnich@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).