[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #15053 [Tor]: Improve out-of-tree builds
#15053: Improve out-of-tree builds
-----------------------------+--------------------------------
Reporter: cypherpunks | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.7.x-final
Component: Tor | Version: Tor: unspecified
Resolution: | Keywords: build 026-backport
Actual Points: | Parent ID:
Points: |
-----------------------------+--------------------------------
Comment (by cypherpunks):
Replying to [comment:2 nickm]:
> >Is it necessary for the updateVersions script to be run on every
configure?
>
> Hrm, maybe not. Is this the only issue here?
>
> We *do* use out-of-tree builds as a part of our build process; make
distcheck usually complains if there's undeleted stuff. What files are
you seeing?
This whole endeavor started with the command line argument test failing
(removed now in #14806) because of a hash mismatch (maybe an argument for
keeping `--digests` as discussed in #14742?). Turns out i did an in-tree
compilation before doing `make distclean` and going out-of-tree. This left
`src/or/or_sha1.i` in the source tree while also being created in the out-
of-tree. However, the source tree has preference over out-of-tree during
compilation resulting in the inclusion of the file with the old hashes.
Another file is `micro-revision.tmp` which is created when a `make` is
executed more than once. This is caused by an error in the make rule for
`micro-revision.i`. The temporary file is not removed with `make
distclean`.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15053#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs