Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linuxbrew in Termux? [Package Request] [Help Wanted] · Issue #2071 · termux/termux-packages #501

Open
tg-z opened this issue Nov 14, 2019 · 0 comments

Comments

@tg-z
Copy link
Owner

tg-z commented Nov 14, 2019

       Linuxbrew in Termux? \[Package Request\] \[Help Wanted\] · Issue #2071 · termux/termux-packages                                       



Skip to content

![](https://github.githubassets.com/images/search-key-slash.svg)
  • In this repository All GitHub ↵

    Jump to ↵

  • No suggested jump to results

  • In this repository All GitHub ↵

    Jump to ↵

  • In this repository All GitHub ↵

    Jump to ↵

Dashboard Pull requests Issues Trending Explore
tg-z

Sign out

termux / termux-packages

New repository Import repository New gist New organization

This repository

New issue New project

Signed in as tg-z

lost

Edit status

Could not update your status, please try again.

80 remaining

Suggestions:

🌴

On vacation

🤒

Out sick

🏠

Working from home

🎯

Focusing

Busy

When others mention you, assign you, or request your review, GitHub will let them know that you have limited availability.

Clear status

Never

  • Never

    Keep this status until you clear your status or edit your status.

  • in 30 minutes

  • in 1 hour

  • in 4 hours

  • today

  • this week

Set status Clear status

Your profile Your repositories Your projects Your stars Your gists

Marketplace

Feature preview

Help Settings

Sign out

  • Sponsor

    Sponsor termux/termux-packages

    External links

    patreon.com/termux

    https://paypal.me/fornwall

    Learn more about funding links in repositories.

    Report abuse

  •     Watch   
    

    Notifications

    Not watching Be notified only when participating or @mentioned. Watch

    Releases only Be notified of new releases, and when participating or @mentioned. Unwatch releases

    Watching Be notified of all conversations. Unwatch

    Ignoring Never be notified. Stop ignoring

    311

  •   Unstar  [2.7k](/termux/termux-packages/stargazers) 
    
      Star  [2.7k](/termux/termux-packages/stargazers) 
    
  •  Fork
    

    939

termux/termux-packages

Loading status checks…

==========================================================================================================================

Code Issues 335 Pull requests 0

Boards

Reports

Actions Wiki More Compare Dependencies Commits Branches Security Insights

Code Issues 335 Pull requests 0 Wiki Security Pulse Community

New issue

Jump to bottom

Gitpod

Linuxbrew in Termux? [Package Request] [Help Wanted] #2071

Open

ghost opened this issue on Jan 27, 2018 · 28 comments

Open

Linuxbrew in Termux? [Package Request] [Help Wanted] #2071

ghost opened this issue on Jan 27, 2018 · 28 comments

Labels

building packages

Comments


Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/ghost) ghost on Jan 27, 2018

edited by ghost

Edited 1 time


  • ghost edited on Jan 27, 2018 (most recent)

|

Hi there,
I heard Linuxbrew is available for 32-bit ARM.
is it possible to install Linuxbrew in Termux?
I tried their primary installation method, but it shows error.
After installing brew using their alternative installation method, I tried to open brew but it shows CANNOT LINK EXECUTABLE: library "libandroid-support.so" not found
Can anyone help me about it?
Also adding a brew package in the repository would be great.


Thanks.

|

👍 2

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


Grimler91 on Jan 27, 2018

Member

"Alternative installation method" means that you compiled it on device?

You can fix this type of error by export LDFLAGS=" -landroid-support" and the recompile the package.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Member

[

](/Grimler91) Grimler91 on Jan 27, 2018

|

"Alternative installation method" means that you compiled it on device?

You can fix this type of error by export LDFLAGS=" -landroid-support" and the recompile the package.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


Grimler91 added the building packages label on Jan 27, 2018


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


emanresusername on Feb 7, 2018

@Grimler91 i think the alternative install is the sudoless one to the $HOME directory
i'm interested in this one too was casually updating a zsh plugin but it looks like the install script has been updated much more recently, note to self to review that
if other quirks/environment variables/etc come up (and/or you want to add to my sample size of ~1 using that plugin 😅 ) lmk

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/emanresusername) emanresusername on Feb 7, 2018

edited

Edited 1 time


  • emanresusername edited on Feb 9, 2018 (most recent)

|

@Grimler91 i think the alternative install is the sudoless one to the $HOME directory
i'm interested in this one too was casually updating a zsh plugin but it looks like the install script has been updated much more recently, note to self to review that
if other quirks/environment variables/etc come up (and/or you want to add to my sample size of ~1 using that plugin 😅 ) lmk

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


ghost closed this on Feb 8, 2018


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


emanresusername on Feb 8, 2018

@grayalias did you figure out how to make it work? don't denvercoder9 me!!

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/emanresusername) emanresusername on Feb 8, 2018

|

@grayalias did you figure out how to make it work? don't denvercoder9 me!!

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


emanresusername on Feb 8, 2018

DEAR PEOPLE FROM THE FUTURE: here's what i've figured out so far ...

i think the issue is something with the $(brew --prefix)/lib/[ld.so](http://ld.so "Linkify Plus Plus") not being there

symlinking /bin/false to it prevented an earlier error, but then things break later with the following

CANNOT LINK EXECUTABLE /usr/bin/gcc-7: library libandroid-support.so not found
CANNOT LINK EXECUTABLE /usr/bin/clang: library libLLVM-5.0.so not found
Error: hello cannot be built with any available compilers.
Install Clang or brew install gcc

i found some things about how on android it's /system/bin/linker{,64} instead of [ld.so](http://ld.so "Linkify Plus Plus") but symlinking those instead also didn't work 😢

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/emanresusername) emanresusername on Feb 8, 2018

|

DEAR PEOPLE FROM THE FUTURE: here's what i've figured out so far ...

i think the issue is something with the $(brew --prefix)/lib/[ld.so](http://ld.so "Linkify Plus Plus") not being there

symlinking /bin/false to it prevented an earlier error, but then things break later with the following

CANNOT LINK EXECUTABLE /usr/bin/gcc-7: library libandroid-support.so not found
CANNOT LINK EXECUTABLE /usr/bin/clang: library libLLVM-5.0.so not found
Error: hello cannot be built with any available compilers.
Install Clang or brew install gcc

i found some things about how on android it's /system/bin/linker{,64} instead of [ld.so](http://ld.so "Linkify Plus Plus") but symlinking those instead also didn't work 😢

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


ghost reopened this on Feb 9, 2018


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


ghost on Feb 9, 2018

Author

@emanresusername unfortunately no. 🙁

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Author

[

](/ghost) ghost on Feb 9, 2018

|

@emanresusername unfortunately no. 🙁

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


emanresusername referenced this issue on Feb 9, 2018

Cygwin #3880

Closed


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


sjackman on Feb 9, 2018

Hi, all. I maintain Linuxbrew. I don't have an Android system on which to test, but I can chime in with a few observations. These are all completely untested. Let me know if anyone tries this out and gets it working! See also Linuxbrew/brew/wiki/Chromebook-Install-Instructions. I don't have a Chromebook and haven't tested these instructions myself. Feel free to edit the Wiki.

Symlink the dynamic linker

See termux/termux-packages#android-dynamic-linker
and Linuxbrew/brew:Library/Homebrew/cmd/install.rb@ed30aa3#L322

ln -s /system/bin/linker64 $HOME/.linuxbrew/lib/ld.so || ln -s /system/bin/linker $HOME/.linuxbrew/lib/ld.so

Use DT_RUNPATH rather than DT_RPATH

Apparently the dynamic linker does not support DT_RPATH.
See termux/termux-packages#android-dynamic-linker
and android.googlesource.com/platform/bionic/+/nougat-mr1-release/linker/linker.cpp#3910
Note the conspicuous absence of DT_RPATH. Someone who cared enough could add support to the Android dynamic linker for DT_RPATH.
For Linuxbrew, see Linuxbrew/brew#598
and Linuxbrew/brew:Library/Homebrew/shims/linux/super/cc@master#L258
Add the option ld --enable-new-dtags to use DT_RUNPATH rather than the default DT_RPATH.
Alternatively you can use patchelf --shrink-rpath which has the side effect of changing DT_RPATH to DT_RUNPATH.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/sjackman) sjackman on Feb 9, 2018

edited

|

Hi, all. I maintain Linuxbrew. I don't have an Android system on which to test, but I can chime in with a few observations. These are all completely untested. Let me know if anyone tries this out and gets it working! See also Linuxbrew/brew/wiki/Chromebook-Install-Instructions. I don't have a Chromebook and haven't tested these instructions myself. Feel free to edit the Wiki.

Symlink the dynamic linker

See termux/termux-packages#android-dynamic-linker
and Linuxbrew/brew:Library/Homebrew/cmd/install.rb@ed30aa3#L322

ln -s /system/bin/linker64 $HOME/.linuxbrew/lib/ld.so || ln -s /system/bin/linker $HOME/.linuxbrew/lib/ld.so

Use DT_RUNPATH rather than DT_RPATH

Apparently the dynamic linker does not support DT_RPATH.
See termux/termux-packages#android-dynamic-linker
and android.googlesource.com/platform/bionic/+/nougat-mr1-release/linker/linker.cpp#3910
Note the conspicuous absence of DT_RPATH. Someone who cared enough could add support to the Android dynamic linker for DT_RPATH.
For Linuxbrew, see Linuxbrew/brew#598
and Linuxbrew/brew:Library/Homebrew/shims/linux/super/cc@master#L258
Add the option ld --enable-new-dtags to use DT_RUNPATH rather than the default DT_RPATH.
Alternatively you can use patchelf --shrink-rpath which has the side effect of changing DT_RPATH to DT_RUNPATH.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


sjackman referenced this issue on Feb 9, 2018

Android dynamic linker doesn't support DT_RPATH #598

Closed


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


bukzor on Feb 14, 2018

Contributor

@sjackman In my testing (if I remember correctly) Homebrew already creates the necessary linker symlink.
The actual cause of the reported problem is that the brew shell script blanks LD_LIBRARY_PATH which all termux binaries use to find libandroid.so.

Converting termux from leaning on LD_LIBRARY_PATH to using RUNPATH will fix this. The fix is pretty simple. When compiling termux binaries, they need to add the options -Wl,--enable-new-dtags -Wl,-rpath=\\\$ORIGIN/../lib. The $ORIGIN there signifies the final location of the binary, and the value of rpath= should resolve to the location of libandroid.so.

Another nice side-effect is that the resulting userspace is relocatable, which will play quite nicely with termux-chroot.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Contributor

[

](/bukzor) bukzor on Feb 14, 2018

|

@sjackman In my testing (if I remember correctly) Homebrew already creates the necessary linker symlink.
The actual cause of the reported problem is that the brew shell script blanks LD_LIBRARY_PATH which all termux binaries use to find libandroid.so.

Converting termux from leaning on LD_LIBRARY_PATH to using RUNPATH will fix this. The fix is pretty simple. When compiling termux binaries, they need to add the options -Wl,--enable-new-dtags -Wl,-rpath=\\\$ORIGIN/../lib. The $ORIGIN there signifies the final location of the binary, and the value of rpath= should resolve to the location of libandroid.so.

Another nice side-effect is that the resulting userspace is relocatable, which will play quite nicely with termux-chroot.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


sjackman on Feb 14, 2018

Ah, got it. Yes, big thumbs up for using RUNPATH rather than LD_LIBRARY_PATH. An existing installation of termux could be modified using patchelf to test it.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/sjackman) sjackman on Feb 14, 2018

edited

|

Ah, got it. Yes, big thumbs up for using RUNPATH rather than LD_LIBRARY_PATH. An existing installation of termux could be modified using patchelf to test it.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


emanresusername on Feb 14, 2018

is this more of an install script thing/brew thing? or a termux thing?
i'm pretty far out of my depth in either pool 😅 ... but ftr, this did not work :(

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/emanresusername) emanresusername on Feb 14, 2018

|

is this more of an install script thing/brew thing? or a termux thing?
i'm pretty far out of my depth in either pool 😅 ... but ftr, this did not work :(

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


bukzor on Feb 14, 2018

Contributor

@sjackman To be very clear, RPATH is never going to work, since the Android linker doesn't support it. I'm sure this was originally tried, then the current LD_LIBRARY_PATH system was chosen when it didn't work. RUNPATH should work correctly however.

@emanresusername We need a core termux maintainer to change how all termux binaries are built.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Contributor

[

](/bukzor) bukzor on Feb 14, 2018

edited

|

@sjackman To be very clear, RPATH is never going to work, since the Android linker doesn't support it. I'm sure this was originally tried, then the current LD_LIBRARY_PATH system was chosen when it didn't work. RUNPATH should work correctly however.

@emanresusername We need a core termux maintainer to change how all termux binaries are built.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


sjackman on Feb 14, 2018

Note that the Android dynamic linker is open source, and someone who were sufficiently motivated could add support for DT_RPATH to Android. See android.googlesource.com/platform/bionic/+/nougat-mr1-release/linker/linker.cpp#3910
Adding hacktastic support for DT_RPATH that had the same behaviour as DT_RUNPATH should be pretty easy. Possibly as easy as…

-      case DT_RUNPATH:
+      case DT_RUNPATH: case DT_RPATH:

though emulating the GNU dynamic linker behaviour of DT_RPATH would probably be better.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/sjackman) sjackman on Feb 14, 2018

edited

|

Note that the Android dynamic linker is open source, and someone who were sufficiently motivated could add support for DT_RPATH to Android. See android.googlesource.com/platform/bionic/+/nougat-mr1-release/linker/linker.cpp#3910
Adding hacktastic support for DT_RPATH that had the same behaviour as DT_RUNPATH should be pretty easy. Possibly as easy as…

-      case DT_RUNPATH:
+      case DT_RUNPATH: case DT_RPATH:

though emulating the GNU dynamic linker behaviour of DT_RPATH would probably be better.

|

👍 1

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


fornwall on Feb 14, 2018

Member

Note that RUNPATH requires android 7.0 or later, while Termux currently supports Android 5.0 or later. I'm thinking of droppping 5.0 support in the near future, while 6.0 will be supported longer, so we cannot do the LD_LIBRARY_PATH-> RUNPATH transition just yet.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Member

[

](/fornwall) fornwall on Feb 14, 2018

|

Note that RUNPATH requires android 7.0 or later, while Termux currently supports Android 5.0 or later. I'm thinking of droppping 5.0 support in the near future, while 6.0 will be supported longer, so we cannot do the LD_LIBRARY_PATH-> RUNPATH transition just yet.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


sjackman on Feb 14, 2018

You could use RUNPATH if available on Android 7+ and fall back to LD_LIBRARY_PATH for Android <7.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/sjackman) sjackman on Feb 14, 2018

|

You could use RUNPATH if available on Android 7+ and fall back to LD_LIBRARY_PATH for Android <7.

|

👍 2

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀

emanresusername referenced this issue in emanresusername/brew on Feb 14, 2018

`[--enable-new-dtags](/emanresusername/brew/commit/48c763cad5d60397020d96c7280f33ce5483cbdd "--enable-new-dtags

Linuxbrew/brew#598
disclaimer: i have no idea what i'm doing")` …

[48c763c](/emanresusername/brew/commit/48c763cad5d60397020d96c7280f33ce5483cbdd)

Linuxbrew#598
disclaimer: i have no idea what i'm doing


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


bukzor on Mar 17, 2018

Contributor

Fixed (?) here: #2255

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Contributor

[

](/bukzor) bukzor on Mar 17, 2018

|

Fixed (?) here: #2255

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


SDRausty on Mar 17, 2018

droppping 5.0 support in the near future

Why are you thinking about this? What is the motivation?

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/SDRausty) SDRausty on Mar 17, 2018

|

droppping 5.0 support in the near future

Why are you thinking about this? What is the motivation?

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


bukzor referenced this issue on Mar 18, 2018

"droppping 5.0 support in the near future" ? #2256

Closed


fornwall referenced this issue on Mar 18, 2018

ld: set --enable-new-dtags by default #2255

Merged


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


bukzor on Mar 18, 2018

Contributor

We have RUNPATH by default in binutils now (#2255). How do I rebuild clang under this change?

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Contributor

[

](/bukzor) bukzor on Mar 18, 2018

|

We have RUNPATH by default in binutils now (#2255). How do I rebuild clang under this change?

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


bukzor on Mar 21, 2018

Contributor

@fornwall A brief description to help me jumpstart would be very useful.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Contributor

[

](/bukzor) bukzor on Mar 21, 2018

|

@fornwall A brief description to help me jumpstart would be very useful.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


tomty89 on Mar 21, 2018

Contributor

Did you think Termux packages are built with toolchain in Termux? Coz they are not but built with toolchain in the NDK.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Contributor

[

](/tomty89) tomty89 on Mar 21, 2018

|

Did you think Termux packages are built with toolchain in Termux? Coz they are not but built with toolchain in the NDK.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


bukzor on Mar 21, 2018

Contributor

No, I didn't assume such a thing.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Contributor

[

](/bukzor) bukzor on Mar 21, 2018

|

No, I didn't assume such a thing.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


tomty89 on Mar 21, 2018

Contributor

What do you mean by "How do I rebuild clang under this change?" then?

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Contributor

[

](/tomty89) tomty89 on Mar 21, 2018

|

What do you mean by "How do I rebuild clang under this change?" then?

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


bukzor on Mar 21, 2018

Contributor

Ah, okay, yes, I did think this would change how clang would be compiled.
I'll open another, separate ticket for compiling clang with --enable-new-dtags.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Contributor

[

](/bukzor) bukzor on Mar 21, 2018

|

Ah, okay, yes, I did think this would change how clang would be compiled.
I'll open another, separate ticket for compiling clang with --enable-new-dtags.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


SDRausty on Mar 21, 2018

Significant 'git bloat' at 14kb/s:

Press RETURN to continue or any other key to abort
==> Downloading and installing Linuxbrew...

remote: Counting objects: 107017, done.
remote: Compressing objects: 100% (208/208), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Failed during: git fetch origin master:refs/remotes/origin/master --tags --force

Trying again in TermuxArch. Thank you for bringing this project to my attention @grayalias. The catch interrupt is way cool 😎 and I 💘 love the way it refuses to run as root user.


How about you?

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/SDRausty) SDRausty on Mar 21, 2018

edited

|

Significant 'git bloat' at 14kb/s:

Press RETURN to continue or any other key to abort
==> Downloading and installing Linuxbrew...

remote: Counting objects: 107017, done.
remote: Compressing objects: 100% (208/208), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Failed during: git fetch origin master:refs/remotes/origin/master --tags --force

Trying again in TermuxArch. Thank you for bringing this project to my attention @grayalias. The catch interrupt is way cool 😎 and I 💘 love the way it refuses to run as root user.


How about you?

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


bukzor on Mar 21, 2018

Contributor

@SDRausty I have a small number of linuxbrew packages compiling successfully using this method: Linuxbrew/brew/wiki/Android

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Contributor

[

](/bukzor) bukzor on Mar 21, 2018

|

@SDRausty I have a small number of linuxbrew packages compiling successfully using this method: Linuxbrew/brew/wiki/Android

|

🎉 2

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


monoidic referenced this issue on May 15, 2018

Option to build packages with DT_RUNPATH preserved in build-package.sh #2429

Closed


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


ghost on Jul 9, 2018

Author

Also, what about Entware? I don't think of it as a Linuxbrew alternative but it might help avoid building some packages....

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Author

[

](/ghost) ghost on Jul 9, 2018

|

Also, what about Entware? I don't think of it as a Linuxbrew alternative but it might help avoid building some packages....

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


xeffyr on Sep 30, 2018

Member

Also, what about Entware?
it might help avoid building some packages....

Yes, it can help to avoid building of some packages, but only those that don't use config files or external data as paths are hardcoded - this is in case if packages are not rebuilt from source with proper patching/configuration.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

Member

[

](/xeffyr) xeffyr on Sep 30, 2018

edited

|

Also, what about Entware?
it might help avoid building some packages....

Yes, it can help to avoid building of some packages, but only those that don't use config files or external data as paths are hardcoded - this is in case if packages are not rebuilt from source with proper patching/configuration.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


buttaface referenced this issue on Mar 21

[android] Add support for natively building on Android #23208

Merged


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


baguio on Mar 24

I have a small number of linuxbrew packages compiling successfully using this method: Linuxbrew/brew/wiki/Android

Should we still be using this method after the Homebrew 2.0 release and its merge with Linuxbrew, @bukzor ?

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/baguio) baguio on Mar 24

edited

|

I have a small number of linuxbrew packages compiling successfully using this method: Linuxbrew/brew/wiki/Android

Should we still be using this method after the Homebrew 2.0 release and its merge with Linuxbrew, @bukzor ?

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


sjackman on Mar 25

Perhaps relevant, Homebrew on Linux (aka Linuxbrew) now supports AArch 64 (aka 64-bit ARM or armv8) as well as 32-bit ARM (armv6).

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/sjackman) sjackman on Mar 25

|

Perhaps relevant, Homebrew on Linux (aka Linuxbrew) now supports AArch 64 (aka 64-bit ARM or armv8) as well as 32-bit ARM (armv6).

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


This comment has been minimized.

Show comment

Hide comment

Copy link Quote reply

View repo at this time

View repo at this time


tukusejssirs on Apr 22

I’d like to say that I tried to run sudo cmd (sudocomes from here), however, I get this error:

CANNOT LINK EXECUTABLE "cmd": cannot locate symbol "XzUnpacker_Construct" referenced by "/system/lib64/libunwind.so"...

I believe that it is connected with this issue.

Btw, I’d like to run Android apps directly from Termux, this is how I noticed this error.

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply

View repo at this time

[

](/tukusejssirs) tukusejssirs on Apr 22

|

I’d like to say that I tried to run sudo cmd (sudocomes from here), however, I get this error:

CANNOT LINK EXECUTABLE "cmd": cannot locate symbol "XzUnpacker_Construct" referenced by "/system/lib64/libunwind.so"...

I believe that it is connected with this issue.

Btw, I’d like to run Android apps directly from Termux, this is how I noticed this error.

|

Pick your reaction

👍 👎 😄 🎉 😕 ❤️ 🚀 👀


Write Preview

Select a reply ctrl .

There was an error creating your Issue.

Attach files by dragging & dropping, selecting them.
Uploading your files… We don’t support that file type. Try again with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP. Attaching documents requires write permission to this repository. Try again with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP. We don’t support that file type. Try again with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP. Yowza, that’s a big file Try again with a file smaller than 10MB. This file is empty. Try again with a file that’s not empty. This file is hidden. Try again with another file. Something went really wrong, and we can’t process that file. Try again.

Nothing to preview

Comment

building packages

Notifications

Customize

Notification settings

Not subscribed

Only receive notifications from this issue when you have participated or have been @mentioned. Subscribed

Receive all notifications from this issue. Custom

You will only be notified for the events selected from the list below.
If you participate or are @mentioned you will be subscribed.

Closed

Receive a notification when this issue has been closed. Reopened

Receive a notification when this issue has been reopened.

Save Cancel

 Subscribe 

You’re not receiving notifications from this thread.

Mark as unread

10 participants









You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Octotree

termux / termux-packages

master

Settings

GitHub access token

Hotkeys

Open sidebar on hover

Load entire tree at once

Show in non-code pages

Show file-specific icons

Show pull request changes Note: maximum of 300 files

Apply settings

Loving Octotree? You will love Octotree Pro even more. Octotree Pro is loaded with features that bring your productivity to the next level. Learn more

[The ultimate GitHub extension](https://www.octotree.io/?utm_source=lite&utm_medium=extension&utm_content=The ultimate GitHub extension)
termux/termux-packages#2071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant