[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:42:01 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 teor):

 Replying to [comment:2 nickm]:
 > (These are libraries that we detect with pkg-config; an appropriate
 solution would probably depend on how pkg-config expects people to handle
 this.)

 You can tell pkg-config to look in your cross-compile root using
 $PKG_CONFIG_PATH, $PKG_CONFIG_LIBDIR, and $PKG_CONFIG_SYSROOT_DIR:
 https://linux.die.net/man/1/pkg-config

 But I'm not even sure how you got to this stage.

 lzma is not enabled by default:
 https://gitweb.torproject.org/tor.git/tree/configure.ac#n1077

 So how did it get enabled with that configure command line?
 Did you edit configure, or change env vars?

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


More information about the tor-bugs mailing list