Can't build a working package for texlive-texmf

D'Arcy Cain darcy at druid.net
Tue Apr 20 14:44:18 UTC 2021


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 at 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 at VybeNetworks.com, VoIP: sip:darcy at 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.


More information about the freebsd-ports mailing list