From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29276 invoked from network); 25 Feb 2022 17:59:40 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 25 Feb 2022 17:59:40 -0000 Received: (qmail 15506 invoked by uid 550); 25 Feb 2022 17:59:38 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 15471 invoked from network); 25 Feb 2022 17:59:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=QjWvfOkW01eSYdcZ5GCJgiXCCno+eBVFCeimLGUEdSI=; b=bxDMR5vATuvGuJ7rIxTi56yUu3WLn6W5LHOY/fel9x35dz8ieAH1B0dddWS8kjmlfS t3BW1fGth+Qc8eWzfPAtOVhH+gVn1q9R2EZV8Z/XKNx1X45X6Ok+/jazbjX2st/qvIrv qBWEXUc5RwAgLeoNdM/xsDZA2UHuEHVfZGNqcIEGYVBbGf73tgC2JwzrcX2RT93K48rU p67xbDtuCvmI797joVA6y9cp4GGTKfQOtCEHH1pSdddwll3bs/mE3y+GxH4+Q+Rwj9mN HFY9I6SjmeJ8ikPsG/r01DBM5GTwwOUopVtr8c3O76ceV7kQTxaH9FC/xg5aJVjDcpYT i3rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QjWvfOkW01eSYdcZ5GCJgiXCCno+eBVFCeimLGUEdSI=; b=HFuauKV9mP/0rbk4UM+2sd16Wp9Fwok19jTh/gNJvqUohl6yFIp1itKPoUbvzwiMCn O0xGjt8OjYwZ1Jcxneh5bECZdkDyBnpq8+WQjGJctkRpUIMdS4hYngGUg5MxIn6J+0c3 xkt4ejux3EymxJEYqx47hGxrufI5wlUok+wU80YTn/u1DIm+5MqDJ/q9bzdvzvPS7lgW rFAjl7UD+4zYI2bF//REIBkStu4JYKOqJSAGL+6Ec/lKObV3PBWjVeV/nCSaF49z0Nl1 +XMApp+0HD/HefyBiHvDQsGaDP1C2H9yeFbMOdXlFzukQW8ph40WZhVXCyR2TjMOp3Ay ucQA== X-Gm-Message-State: AOAM533z9gXo1DzaAR5xFnbj7EBt415vz3zchfQkgXA+zui9rF6UZ0Hu wEV7pvEQSG30GrtMbXLOUASCKTK1PeANO3OvXvNANRHr X-Google-Smtp-Source: ABdhPJzqM0F05puCubx0jTBVMvK6voyShQp7Lp8Qb0tyOOpszlYmWLuq479GwlP43PjVzJBct9VWw349WWKIWOwrzxI= X-Received: by 2002:aa7:cdd3:0:b0:410:8042:4549 with SMTP id h19-20020aa7cdd3000000b0041080424549mr8317215edw.335.1645811966596; Fri, 25 Feb 2022 09:59:26 -0800 (PST) MIME-Version: 1.0 From: naruto canada Date: Fri, 25 Feb 2022 17:59:26 +0000 Message-ID: To: musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Subject: [musl] anyone know how to approach this problem (expect5.x.x hangs) hi I'm in the process of porting all my desktop env. over to musl. I'm about 70% done. I hit a few minor snags but got over them. I had expected a lot more painful experience, but it turned out ok. I could not get xserver to compile but will work around using vnc for now. I am quite happy I got qemu to compile. The last 30% (Browsers !!!), I dare not approach them right now. Anyway, back to my probem, expect5.x.x hangs, no seg fault, so I do not know how to approach this problem. normally I do a simple test: expect -c "spawn ls" # this always succeeds. (I use expect to automate password creation) VNCRP=123456 # need 6 characters # create ~/.vnc/passwd echo '#!/usr/bin/expect set timeout -1 spawn vncpasswd expect "Password:" send "'$VNCRP'\r" expect "Verify:" send "'$VNCRP'\r" expect "Would you like to enter a view-only password (y/n)?" send "n\r" interact' > /tmp/p.ex expect /tmp/p.ex This script works fine under glibc, but hangs under musl. I've already tried the same version of expect and patches from aports-3.15.0/main/expect/*.patch I got the same result. (it hangs) This is not a priority problem for me. I can easily work around it without using expect. Just wondering if anyone know how to approach this problem (when there is no seg fault) Thanks.