Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 10:44:09 -0400
From:      D'Arcy Cain <darcy@druid.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Can't build a working package for texlive-texmf
Message-ID:  <09e36951-8234-ce81-aa95-bfc6bd943cc7@druid.net>
In-Reply-To: <8169f3be-e4bd-6954-a716-a0b638ae1d9f@FreeBSD.org>
References:  <07340027-73d4-6e85-12a9-ed7213c490c2@druid.net> <8169f3be-e4bd-6954-a716-a0b638ae1d9f@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <darcy@druid.net>         |  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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09e36951-8234-ce81-aa95-bfc6bd943cc7>