[tor-bugs] #32191 [Core Tor/Tor]: when cross-compiling, lzma and zstd will be detected on build system

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 23 13:59:42 UTC 2019


#32191: when cross-compiling, lzma and zstd will be detected on build system
----------------------------------+------------------------------------
 Reporter:  eighthave             |          Owner:  (none)
     Type:  defect                |         Status:  new
 Priority:  Medium                |      Milestone:  Tor: 0.4.3.x-final
Component:  Core Tor/Tor          |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:  Android 042-backport  |  Actual Points:
Parent ID:                        |         Points:
 Reviewer:                        |        Sponsor:
----------------------------------+------------------------------------

Comment (by eighthave):

 On a plain Debian/buster system, running the commands in the issue report
 should reproduce this. None of the `PKG_CONFIG_*` env vars are set.  Seems
 to me that if `./configure` depends on `pkg-config`, it should set those
 env vars when cross-compiling.  Or it would probably be enough to use the
 value set by `--prefix=`.  That's in effect what we are doing in our
 complete Android builds:

 https://gitlab.com/guardianproject/tor-
 android/blob/c7953925/external/Makefile#L255

 It would not be too much work for me to setup a cross-compiling test CI
 job in gitlab-ci if you would use it.  I don't really know how to do that
 in travis, since you can start with a plain base image, AFAIK.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32191#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list