From owner-freebsd-ports@freebsd.org Tue Apr 20 14:44:18 2021 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 2A0E85D956A for ; Tue, 20 Apr 2021 14:44:18 +0000 (UTC) (envelope-from darcy@druid.net) Received: from mail.vex.net (mail.vex.net [IPv6:2605:2600:1001::44]) by mx1.freebsd.org (Postfix) with ESMTP id 4FPmfT3KRGz4pWC for ; Tue, 20 Apr 2021 14:44:17 +0000 (UTC) (envelope-from darcy@druid.net) Received: from [192.168.0.20] (cpe688f2ec1e973-cm688f2ec1e970.cpe.net.fido.ca [72.136.14.236]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: druid) by mail.vex.net (Postfix) with ESMTPSA id 4116543B68 for ; Tue, 20 Apr 2021 10:44:10 -0400 (EDT) Subject: Re: Can't build a working package for texlive-texmf To: freebsd-ports@freebsd.org References: <07340027-73d4-6e85-12a9-ed7213c490c2@druid.net> <8169f3be-e4bd-6954-a716-a0b638ae1d9f@FreeBSD.org> From: D'Arcy Cain Message-ID: <09e36951-8234-ce81-aa95-bfc6bd943cc7@druid.net> Date: Tue, 20 Apr 2021 10:44:09 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <8169f3be-e4bd-6954-a716-a0b638ae1d9f@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FPmfT3KRGz4pWC X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of darcy@druid.net has no SPF policy when checking 2605:2600:1001::44) smtp.mailfrom=darcy@druid.net X-Spamd-Result: default: False [0.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2605:2600:1001::44:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2605:2600:1001::44:from:127.0.2.255]; DMARC_NA(0.00)[druid.net]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_SPF_NA(0.00)[no SPF record]; 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:19842, ipnet:2605:2600::/32, country:CA]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2021 14:44:18 -0000 On 2021-04-20 9:05 a.m., Mateusz Piotrowski wrote: > On 20/04/2021 14:36, D'Arcy Cain wrote: >> I guess my next step is to install gdb and build pkg with symbols >> unless someone can point me to an easy answer. > > Just a note: you may have a debugger already installed as /usr/bin/lldb. > Also, pkg, in contrast to other binaries, is not stripped, so the > chances are that you are not going to have to rebuild anything. You are correct. I have run it and found that it fails in the function pkg_parse_archive. It calls pkg_parse_manifest and on return it does a comparison and then jumps to a call to __stack_chk_fail. It still smells like a size issue but I am not sure how to fix it. The package installs on the ports server with "make clean package install" and the client machine has more memory than it. The ports server has 2GB and the client has 8GB. One thing I didn't mention is that the ports server is running on a bhyve client. Not sure if that matters. -- D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner. IM: darcy@VybeNetworks.com, VoIP: sip:darcy@druid.net Disclaimer: By sending an email to ANY of my addresses you are agreeing that: 1. I am by definition, "the intended recipient". 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it where I please. 3. I may take the contents as representing the views of your company if I so wish. 4. This overrides any disclaimer or statement of confidentiality that may be included or implied in your message.