From owner-freebsd-ports@freebsd.org Thu Apr 23 16:54:20 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 392312BCE63 for ; Thu, 23 Apr 2020 16:54:20 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from aragorn.amdh.fr (aragorn.groumpf.org [176.31.180.205]) by mx1.freebsd.org (Postfix) with ESMTP id 497Ngb1QYMz42WB for ; Thu, 23 Apr 2020 16:54:18 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from numenor.groumpf.org (unknown [78.251.129.10]) by aragorn.amdh.fr (Postfix) with ESMTP id 5E60E101088 for ; Thu, 23 Apr 2020 18:54:17 +0200 (CEST) Received: from numenor.groumpf.org (localhost [127.0.0.1]) by numenor.groumpf.org (Postfix) with ESMTP id 3799F20436 for ; Thu, 23 Apr 2020 18:54:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at groumpf.org Received: from numenor.groumpf.org ([127.0.0.1]) by numenor.groumpf.org (ns3.groumpf.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EbW7MRFLC9mL for ; Thu, 23 Apr 2020 18:54:07 +0200 (CEST) Received: from [192.168.0.16] (unknown [88.122.81.46]) by numenor.groumpf.org (Postfix) with ESMTPSA id 846C5204D6 for ; Thu, 23 Apr 2020 18:54:07 +0200 (CEST) To: FreeBSD Ports ML From: Xavier Humbert Subject: net/librsync does not build Message-ID: Date: Thu, 23 Apr 2020 18:54:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 497Ngb1QYMz42WB X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of xavier@groumpf.org has no SPF policy when checking 176.31.180.205) smtp.mailfrom=xavier@groumpf.org X-Spamd-Result: default: False [-1.91 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.995,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[groumpf.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.92)[ip: (-8.14), ipnet: 176.31.0.0/16(1.53), asn: 16276(2.01), country: FR(0.00)]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[205.180.31.176.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[46.81.122.88.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11, 10.129.251.78.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2020 16:54:20 -0000 Hi, net/librsync apparently can't find libpopt : > [root@numenor librsync]# MAKE_JOBS_UNSAFE=yes make > ===>  Building for librsync-2.3.0 > [1/1] : && /usr/bin/cc -O2 -pipe -g -march=core2 -fstack-protector-strong >   -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -g -march=core2 >   -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong >   CMakeFiles/rdiff.dir/src/rdiff.c.o CMakeFiles/rdiff.dir/src/isprefix.c.o >   -o rdiff  -Wl,-rpath,/usr/ports/net/librsync/work/.build: >   librsync.so.2.3.0  -lpopt && : > FAILED: rdiff > : && /usr/bin/cc -O2 -pipe -g -march=core2  -fstack-protector-strong >   -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -g -march=core2 >   -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong >   CMakeFiles/rdiff.dir/src/rdiff.c.o CMakeFiles/rdiff.dir/src/isprefix.c.o >   -o rdiff  -Wl,-rpath,/usr/ports/net/librsync/work/.build: >   librsync.so.2.3.0  -lpopt && : > ld: error: unable to find library -lpopt > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > ninja: build stopped: subcommand failed. > *** Error code 1 > > Stop. > make: stopped in /usr/ports/net/librsync > However : > [root@numenor librsync]# ll /usr/local/lib/libpopt.* > -rw-r--r--  1 root  wheel  73960 Apr 19 02:58 /usr/local/lib/libpopt.a > lrwxr-xr-x  1 root  wheel     16 Apr 19 02:58 > /usr/local/lib/libpopt.so@ -> libpopt.so.0.0.0 > lrwxr-xr-x  1 root  wheel     16 Apr 19 02:58 > /usr/local/lib/libpopt.so.0@ -> libpopt.so.0.0.0 > -rwxr-xr-x  1 root  wheel  56832 Apr 19 02:58 > /usr/local/lib/libpopt.so.0.0.0* What is the problem ? Thxs Regards Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer