#788 closed defect (fixed)

make build quieter by default

Reported by: arch_o_median Owned by: nobody
Priority: minor Milestone: undecided
Component: packaging Version: 1.5.0
Keywords: install usability error Cc:
Launchpad Bug:

Description (last modified by exarkun)

The following error is not critical to the install process.

Running pycryptopp-0.5.15/setup.py -q bdist_egg --dist-dir /tmp/easy_install-p2hE68/pycryptopp-0.5.15/egg-dist-tmp-8gF_HB

darcs failed:  Not a repository: . (./_darcs/inventory: openBinaryFile: does not exist (No such file or directory))
setup.py darcsver: Failure from attempt to find version tags with 'darcs changes', and pycryptopp/_version.py already exists, so leaving it alone.
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1

Change History (11)

comment:1 Changed at 2009-08-16T23:40:17Z by zooko

  • Description modified (diff)

edited initial comment text to fix wiki formatting

comment:2 Changed at 2009-08-16T23:40:53Z by zooko

  • Resolution set to fixed
  • Status changed from new to closed

fixed by 69f0d306e75b9bdb. Thanks for the bug report!

comment:3 Changed at 2009-09-27T19:41:44Z by zooko

Oops, darcsver v1.3.1 and v1.4.0 still emits messages that darcs wrote to stderr. (It just captures messages that darcs wrote to stdout and show those messages only if the --loud option was passed to darcsver.)

Re-opening this ticket. It will be closed when there is a version of darcsver that also hides stderr unless --loud, and that version of darcsver is bundled with Tahoe-LAFS.

comment:4 Changed at 2009-09-28T04:37:38Z by zooko

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:5 Changed at 2009-09-28T04:37:44Z by zooko

  • Owner changed from nobody to zooko
  • Status changed from reopened to new

comment:6 Changed at 2009-09-28T04:37:51Z by zooko

  • Status changed from new to assigned

comment:7 Changed at 2009-10-05T01:16:42Z by warner

  • Component changed from unknown to packaging

comment:8 Changed at 2009-10-27T05:13:28Z by zooko

  • Summary changed from python setup.py install: darcsver produces erroneous error to make build quieter by default

Hm, okay darcsver 1.5.0 (http://pypi.python.org/pypi/darcsver/1.5.0 ) now correctly uses the standard python distutils logging features. However, the standard python distutils logging feature will print out messages that are logged with log.info(), unless you add --quiet, as in python setup.py --quiet darcsver. In other words, the default setting for distutils logging is one level louder than the setting that Brian and Josh and I would probably prefer.

By the way, we've already removed the bundled copy of darcsver from the Tahoe-LAFS source code in 69f0d306e75b9bdb, so now whatever version of darcsver the user already has which is >= 1.2.0 (see setup.py) will be used.

I'm renaming this ticket: in order to avoid these noises when building -- not just darcsver noises but also other noises -- we should figure out how to pass --quiet to the setup.py invocation, possibly by adding --quiet before some of the commands which are aliased in setup.cfg.

comment:9 Changed at 2009-10-27T05:13:40Z by zooko

  • Owner changed from zooko to nobody
  • Status changed from assigned to new

comment:10 Changed at 2010-01-16T01:26:04Z by davidsarah

  • Keywords install usability error added

comment:11 Changed at 2020-01-16T19:51:12Z by exarkun

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

neither darcs nor pycryptopp is involved anymore.

Note: See TracTickets for help on using tickets.