Bug with socat package, no pty support?

Aaron Lewis the.warl0ck.1989 at gmail.com
Mon Jan 2 16:42:32 CET 2017


1. Hmm, there's no `make check` ..
2. The new package does not work,

    I've downloaded the new package and extracted it somewhere,

    root at sol10 /mnt/hgfs/shm # ./123/CSWsocat/root/opt/csw/bin/socat
openssl-connect:172.16.177.200:1237,verify=0
exec:bash,pty,stderr,setsid

2017/01/02 23:40:57 socat[16166] E parseopts(): unknown option "pty"

3. What are your build steps? Mine is like this:

    Download socat from
http://www.dest-unreach.org/socat/download/socat-1.7.3.1.tar.gz
    Then compile it as following:

    CFLAGS="-I/opt/csw/include/ -L/opt/csw/lib/" ./configure -q
    make

    Launch socat like this,

    export LD_LIBRARY_PATH=/opt/csw/lib
    ./socat openssl-connect:172.16.177.200:1237,verify=0
exec:bash,pty,stderr,setsid

    And `pty` works for me


On Mon, Jan 2, 2017 at 7:31 PM, Dagobert Michelsen <dam at opencsw.org> wrote:
> Hi Aaron,
>
>> Am 02.01.2017 um 12:05 schrieb Aaron Lewis <the.warl0ck.1989 at gmail.com>:
>>
>> No problem, I'll test the new package when it's out.
>>
>> By when I send the previous email, I've already tested socat-1.7.3.1.
>> The standard compilation steps works for me, no fancy `./configure` flags :-P
>
> Sure, I was referring to „make check“.
> BTW, the package is ready now.
>
>
> Best regards
>
>   — Dago
>
>>
>> On Mon, Jan 2, 2017 at 6:22 PM, Dagobert Michelsen <dam at opencsw.org> wrote:
>>> Hi Aaron,
>>>
>>> Am 30.12.2016 um 16:56 schrieb Aaron Lewis <the.warl0ck.1989 at gmail.com>:
>>>> Sorry, I've double checked it again, there's no patch needed.
>>>>
>>>> I think socat-1.7.3.1 has resolved this problem already (opencsw ships
>>>> with `socat version 1.7.2.4 on Apr  6 2014 11:28:22`)
>>>>
>>>> Can you try to update this package?
>>>
>>> New packages will show up here soon:
>>>  http://buildfarm.opencsw.org/experimental.html#socat
>>> Please give them a try and let me know if they work acceptable.
>>> Apart from that there are a number of tests failing on Solaris,
>>> if you can give the compilation a try and work with upstream towards
>>> a more working testsuite that would be great.
>>>
>>>
>>> Best regards
>>>
>>>  — Dago
>>>
>>>
>>>>
>>>>
>>>>
>>>> On Fri, Dec 30, 2016 at 11:39 PM, Dagobert Michelsen <dam at opencsw.org> wrote:
>>>>> Hi Aaron,
>>>>>
>>>>>> Am 30.12.2016 um 03:19 schrieb Aaron Lewis via users <users at lists.opencsw.org>:
>>>>>>
>>>>>> Never mind, the configure script of socat is buggy.
>>>>>> It should be looking for termios.h instead, will report to upstream.
>>>>>
>>>>> Last time I didn’t have much luck with socat upstream.
>>>>> If you have a patch please let me know and I’ll reroll
>>>>> the package.
>>>>>
>>>>>
>>>>> Best regards
>>>>>
>>>>> — Dago
>>>>>
>>>>>>
>>>>>> On Wed, Dec 28, 2016 at 11:38 AM, Aaron Lewis
>>>>>> <the.warl0ck.1989 at gmail.com> wrote:
>>>>>>> The socat package in the repository seems a little buggy,
>>>>>>> It seems like pty support is disabled, I got an error:
>>>>>>>
>>>>>>> E parseopts(): unknown option "pty"
>>>>>>>
>>>>>>> Any ideas ...
>>>>>>>
>>>>>>> --
>>>>>>> Best Regards,
>>>>>>> Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
>>>>>>> Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best Regards,
>>>>>> Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
>>>>>> Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
>>>> Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33
>>>
>>> --
>>> "You don't become great by trying to be great, you become great by wanting to do something,
>>> and then doing it so hard that you become great in the process." - xkcd #896
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
>> Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33
>
> --
> "You don't become great by trying to be great, you become great by wanting to do something,
> and then doing it so hard that you become great in the process." - xkcd #896
>



-- 
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33


More information about the users mailing list