Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
  2020-02-17 12:20 ` dante: enable preload support Duncaen
@ 2020-02-17 12:34 ` xtraeme
  2020-02-17 13:51 ` shtayerc
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: xtraeme @ 2020-02-17 12:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-586973605

Comment:
If a sw depends on ldconfig that means it's a big mistake

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
  2020-02-17 12:20 ` dante: enable preload support Duncaen
  2020-02-17 12:34 ` xtraeme
@ 2020-02-17 13:51 ` shtayerc
  2020-02-17 14:30 ` Duncaen
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: shtayerc @ 2020-02-17 13:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-587003393

Comment:
Looks like travis builds passed. Should I still try to fix it with patching configure scripts?

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2020-02-17 13:51 ` shtayerc
@ 2020-02-17 14:30 ` Duncaen
  2020-02-17 14:46 ` shtayerc
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: Duncaen @ 2020-02-17 14:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 395 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-587020444

Comment:
Did you test it? There is an `ldconfig` wrapper in xbps-src which does nothing, its still not building preload.

* https://travis-ci.org/void-linux/void-packages/jobs/651478151#L986
* https://travis-ci.org/void-linux/void-packages/jobs/651478151#L1822

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (3 preceding siblings ...)
  2020-02-17 14:30 ` Duncaen
@ 2020-02-17 14:46 ` shtayerc
  2020-02-17 15:33 ` shtayerc
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: shtayerc @ 2020-02-17 14:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-587027429

Comment:
Weird, I tested on x86_64 locally. Only x86_64 and i686 have set nopreload. On musl it was never disabled https://travis-ci.org/void-linux/void-packages/jobs/648598388#L1694. I will look into patching configure script.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (4 preceding siblings ...)
  2020-02-17 14:46 ` shtayerc
@ 2020-02-17 15:33 ` shtayerc
  2020-02-18  9:38 ` absrd
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: shtayerc @ 2020-02-17 15:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-587047912

Comment:
It should be fixed now.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (5 preceding siblings ...)
  2020-02-17 15:33 ` shtayerc
@ 2020-02-18  9:38 ` absrd
  2020-02-18 10:47 ` shtayerc
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: absrd @ 2020-02-18  9:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

New comment by absrd on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-587367070

Comment:
It compiles and run, but I'm not getting any output on an socksified w3m. It works just fine when using ldconfig.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (6 preceding siblings ...)
  2020-02-18  9:38 ` absrd
@ 2020-02-18 10:47 ` shtayerc
  2020-02-18 13:52 ` shtayerc
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: shtayerc @ 2020-02-18 10:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-587398159

Comment:
> It compiles and run, but I'm not getting any output on an socksified w3m. It works just fine when using ldconfig.

On which arch are you on? Exactly what command are you running?

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (7 preceding siblings ...)
  2020-02-18 10:47 ` shtayerc
@ 2020-02-18 13:52 ` shtayerc
  2020-02-18 14:11 ` Duncaen
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: shtayerc @ 2020-02-18 13:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-587470271

Comment:
Without ldconfig libc must be defined manually. @Duncaen is libc name different on different archs? Maybe there is better way to do this.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (8 preceding siblings ...)
  2020-02-18 13:52 ` shtayerc
@ 2020-02-18 14:11 ` Duncaen
  2020-02-18 14:27 ` xtraeme
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: Duncaen @ 2020-02-18 14:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-587478634

Comment:
Yes the names are different, for glibc it will be different for every arch, for musl I think its always the same for each architecture.
I don't know if there is a good way to get the right name, maybe with help of the compiler or linker.
But `ldconfig` would also not work for cross compiling afaik. 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (9 preceding siblings ...)
  2020-02-18 14:11 ` Duncaen
@ 2020-02-18 14:27 ` xtraeme
  2020-02-19  1:47 ` xtraeme
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: xtraeme @ 2020-02-18 14:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-587486118

Comment:
ok, buddies... wtf is going on with this? let's look at the code to see what's wrong.  Clearly its code has a problem, let's investigate and fix.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (10 preceding siblings ...)
  2020-02-18 14:27 ` xtraeme
@ 2020-02-19  1:47 ` xtraeme
  2020-02-19  1:47 ` xtraeme
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: xtraeme @ 2020-02-19  1:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-587993149

Comment:
For musl you can simple use `libc.so`

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (11 preceding siblings ...)
  2020-02-19  1:47 ` xtraeme
@ 2020-02-19  1:47 ` xtraeme
  2020-02-19  8:50 ` shtayerc
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: xtraeme @ 2020-02-19  1:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-587993149

Comment:
For musl you can simply use `libc.so`

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (12 preceding siblings ...)
  2020-02-19  1:47 ` xtraeme
@ 2020-02-19  8:50 ` shtayerc
  2020-02-25 15:21 ` shtayerc
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: shtayerc @ 2020-02-19  8:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-588105072

Comment:
This should work on glibc. Default is libc.so so on musl it selects right libc. But there is error while running socksify:
`error: symbolfunction(): compile time configuration error?  Failed to find "bindresvport" using RTLD_NEXT: Symbol not found: bindresvport`

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (13 preceding siblings ...)
  2020-02-19  8:50 ` shtayerc
@ 2020-02-25 15:21 ` shtayerc
  2020-04-29 15:30 ` shtayerc
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: shtayerc @ 2020-02-25 15:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-590920211

Comment:
I do not know how to fix error above, so package is not usefull on musl. On glibc it works. It can be merged.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (14 preceding siblings ...)
  2020-02-25 15:21 ` shtayerc
@ 2020-04-29 15:30 ` shtayerc
  2020-04-29 15:35 ` Duncaen
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: shtayerc @ 2020-04-29 15:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-621287376

Comment:
I tried `socksify` on alpine linux. It returns same error as above. I guess that package does not work on musl. @Duncaen is there anything stopping this from merging?

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (15 preceding siblings ...)
  2020-04-29 15:30 ` shtayerc
@ 2020-04-29 15:35 ` Duncaen
  2020-04-29 15:42 ` [PR PATCH] [Updated] " shtayerc
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: Duncaen @ 2020-04-29 15:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-621290380

Comment:
Disabling musl builds because some hacky client feature doesn't work is not good.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (16 preceding siblings ...)
  2020-04-29 15:35 ` Duncaen
@ 2020-04-29 15:42 ` shtayerc
  2020-04-29 15:59 ` shtayerc
  2020-04-29 20:20 ` [PR PATCH] [Merged]: " Duncaen
  19 siblings, 0 replies; 20+ messages in thread
From: shtayerc @ 2020-04-29 15:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]

There is an updated pull request by shtayerc against master on the void-packages repository

https://github.com/shtayerc/void-packages dante
https://github.com/void-linux/void-packages/pull/19232

dante: enable preload support
Configure script does not detect preloading support unless file /etc/ld.so.cache exists.

A patch file from https://github.com/void-linux/void-packages/pull/19232.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dante-19232.patch --]
[-- Type: text/x-diff, Size: 988 bytes --]

From ccafdc00296cbaef8d901c34cec25c38291caedd Mon Sep 17 00:00:00 2001
From: shtayerc <david.murko@mailbox.org>
Date: Sun, 22 Mar 2020 10:24:58 +0100
Subject: [PATCH] dante: enable preload support

---
 srcpkgs/dante/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/dante/template b/srcpkgs/dante/template
index 0d2c48da378..44e08fd6ab1 100644
--- a/srcpkgs/dante/template
+++ b/srcpkgs/dante/template
@@ -1,7 +1,7 @@
 # Template file for 'dante'
 pkgname=dante
 version=1.4.2
-revision=2
+revision=3
 build_style=gnu-configure
 hostmakedepends="tar automake libtool"
 short_desc="SOCKS server and client"
@@ -11,6 +11,10 @@ homepage="http://www.inet.no/dante/index.html"
 distfiles="http://www.inet.no/dante/files/dante-${version}.tar.gz"
 checksum=4c97cff23e5c9b00ca1ec8a95ab22972813921d7fbf60fc453e3e06382fc38a7
 
+if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
+	configure_args="--with-libc=libc.so.6"
+fi
+
 pre_configure() {
 	autoreconf -fi
 }

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (17 preceding siblings ...)
  2020-04-29 15:42 ` [PR PATCH] [Updated] " shtayerc
@ 2020-04-29 15:59 ` shtayerc
  2020-04-29 20:20 ` [PR PATCH] [Merged]: " Duncaen
  19 siblings, 0 replies; 20+ messages in thread
From: shtayerc @ 2020-04-29 15:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

New comment by shtayerc on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-621305378

Comment:
I see. This should do.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Merged]: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
                   ` (18 preceding siblings ...)
  2020-04-29 15:59 ` shtayerc
@ 2020-04-29 20:20 ` Duncaen
  19 siblings, 0 replies; 20+ messages in thread
From: Duncaen @ 2020-04-29 20:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

There's a merged pull request on the void-packages repository

dante: enable preload support
https://github.com/void-linux/void-packages/pull/19232

Description:
Configure script does not detect preloading support unless file /etc/ld.so.cache exists.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dante: enable preload support
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
@ 2020-02-17 12:20 ` Duncaen
  2020-02-17 12:34 ` xtraeme
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 20+ messages in thread
From: Duncaen @ 2020-02-17 12:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/19232#issuecomment-586968889

Comment:
There is no ldconfig for musl, I think the configure script should be patched.

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2020-04-29 20:20 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19232@inbox.vuxu.org>
2020-02-17 12:20 ` dante: enable preload support Duncaen
2020-02-17 12:34 ` xtraeme
2020-02-17 13:51 ` shtayerc
2020-02-17 14:30 ` Duncaen
2020-02-17 14:46 ` shtayerc
2020-02-17 15:33 ` shtayerc
2020-02-18  9:38 ` absrd
2020-02-18 10:47 ` shtayerc
2020-02-18 13:52 ` shtayerc
2020-02-18 14:11 ` Duncaen
2020-02-18 14:27 ` xtraeme
2020-02-19  1:47 ` xtraeme
2020-02-19  1:47 ` xtraeme
2020-02-19  8:50 ` shtayerc
2020-02-25 15:21 ` shtayerc
2020-04-29 15:30 ` shtayerc
2020-04-29 15:35 ` Duncaen
2020-04-29 15:42 ` [PR PATCH] [Updated] " shtayerc
2020-04-29 15:59 ` shtayerc
2020-04-29 20:20 ` [PR PATCH] [Merged]: " Duncaen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).