Received: from libero.it (smtp-36.italiaonline.it [213.209.10.36]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 9990178079D for ; Tue, 20 Sep 2022 20:10:53 +0000 (UTC) Received: from [192.168.1.36] ([151.55.89.43]) by smtp-36.iol.local with ESMTPA id aja0oFG1AQ6Neaja0oCByc; Tue, 20 Sep 2022 22:10:52 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1663704652; bh=ivq/ijK+WBZhqGDIFOOo0cg9p87oOQ0gzG2dJBw5b+I=; h=From; b=hoEryrnnfJ4CzrNzO96IcA1223w1jrQg2yFYpEqv+/Z8RyYhzpqX49pbMz2Ki5ySp hSXjxqwHza8jI/E5nTu9N7vQWFTi3GvKPQngZYNxcgiazqweUNaV6El4kpGuFWImbT GmSoR2SGDC5KXeMKNn6DR8tVu1kPQ5m2YBdUBTKYccblaYK8aPHTVh3w04lCVTrPTh 8vBnewEUjVL0f/2M0BQFPXjCSwDzO1oZOUM2LU7lWpZxGe4L3RrCvw2GwvnRoH0UEh Y+LueFFBnsQ84C8kM60NrJ0hXrT1q9ZYey5B9KlZTQAEA1d/2yhdDfBLTLIQObzgyj X7i0h51Amu32A== X-CNFS-Analysis: v=2.4 cv=B4J8bMhM c=1 sm=1 tr=0 ts=632a1e4c cx=a_exe a=pGfzn5UA5rnG/cBYkY6yUw==:117 a=pGfzn5UA5rnG/cBYkY6yUw==:17 a=IkcTkHD0fZMA:10 a=UggK52VFg7QquQ7t5u8A:9 a=QEXdDO2ut3YA:10 To: alpine-user From: Riccardo Mottola Subject: iconv detection issues Message-ID: <34652592-dd13-dca0-40a1-18eb43101bd9@libero.it> Date: Tue, 20 Sep 2022 22:12:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfDgHTRKItWD7jttOV5avtzOFpR9JKpxdJbwrSmVjmGAP0ChLQmbDL+pp8bk55DVdfnQWVRHDwz0Rcpyc2+APPqxkR/JiXEq//ou0nwcjkKwk8yUoLhHN Nm1+wRjgdAR323cNsl+f/0tgHR+32uUwoK12d8fTwYB5QEo06kPJL5lZ/XXz/sUWwcbajazQOZDlApLkIB7vs1kODO4EcpH4oVw= Hi, I am trying to build GNUstep Base on alpine linux, right now on 3.16. I don't remember if I had issues on previous versions of Alpine Linux, I don't think so, but also GNUstep might have changed since the last time I tried. configure:11518: checking iconv support configure:11538: gcc -o conftest -g -O2  -I/Local/Library/Headers -I/Local/Library/Headers -I/System/Library/Headers   -shared-libgcc -L/Local/Library/Libraries -L/Local/Library/Libraries -L/System/Library/Libraries conftest.c -lffi  -lz -lrt -ldl  -lpthread -lz >&5 conftest.c: In function 'main': conftest.c:235:48: warning: comparison between pointer and integer   235 | { return iconv_open("UTF-8//TRANSLIT","ASCII") == -1 ? 1 : 0; }       |                                                ^~ configure:11538: $? = 0 configure:11538: ./conftest configure:11538: $? = 1 Why does it fail? On a "standard" linux machine I see: configure:11518: checking iconv support configure:11538: gcc -o conftest -g -O2  -I/Local/Library/Headers -I/Local/Library/Headers -I/System/Library/Headers -I/Local/Library/Headers -I/usr/lib64/libffi/include   -shared-libgcc -L/Local/Library/Libraries -L/Local/Library/Libraries -L/System/Library/Libraries -L/Local/Library/Libraries conftest.c -lffi  -lbfd -lz -liberty -lrt -ldl  -lpthread -lz >&5 conftest.c: In function 'main': conftest.c:246:48: warning: comparison between pointer and integer   246 | { return iconv_open("UTF-8//TRANSLIT","ASCII") == -1 ? 1 : 0; }       |                                                ^~ configure:11538: $? = 0 configure:11538: ./conftest configure:11538: $? = 0 configure:11543: result: yes, in libc So I get the same warning...  but different execution. what could be specific to alpine linux here? Riccardo