From nobody Sun Sep 19 10:01:56 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3380817DFE25 for ; Sun, 19 Sep 2021 10:02:05 +0000 (UTC) (envelope-from darcy@druid.net) Received: from mail.vex.net (mail.vex.net [98.158.132.68]) by mx1.freebsd.org (Postfix) with ESMTP id 4HC3Bh3SwMz3kkM for ; Sun, 19 Sep 2021 10:02:04 +0000 (UTC) (envelope-from darcy@druid.net) Received: from [192.168.215.109] (unknown [98.158.128.15]) (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: darcy) by mail.vex.net (Postfix) with ESMTPSA id BF00A3AFD7 for ; Sun, 19 Sep 2021 06:01:57 -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> <09e36951-8234-ce81-aa95-bfc6bd943cc7@druid.net> From: D'Arcy Cain Message-ID: Date: Sun, 19 Sep 2021 06:01:56 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 In-Reply-To: <09e36951-8234-ce81-aa95-bfc6bd943cc7@druid.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4HC3Bh3SwMz3kkM 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 98.158.132.68) smtp.mailfrom=darcy@druid.net X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; 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]; DMARC_NA(0.00)[druid.net]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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:98.158.132.0/24, country:CA]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2021-04-20 10:44 a.m., D'Arcy Cain wrote: > 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. Five months later and I still have this issue. This morning I tried installing the package from the FreeBSD repository and I have the same problem with that one. Can anyone suggest anything else that I can try? -- 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@Vex.Net, VoIP: sip:darcy@druid.net