Re: [STUMP] Creating a FreeBSD StumpWM package

Joseph Mingrone <[email protected]> Sun, 13 Aug 2017 23:47:32 -0300
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <[email protected]>
Joseph Mingrone <[email protected]> writes:

> Hello,

> StuwmpWM used to have a FreeBSD package, but it became stale, then
> broken and was eventually removed from the FreeBSD ports tree.  It would
> be nice for FreeBSD users to be able to get stump up and running with a
> simple `pkg install stumpwm`, so I'm attempting to get the port/package
> working again.  I also notice there is no OpenBSD or pkgsrc package, so
> if this package succeeds it might be a helpful template for them.

> This is what works now.  It pulls in all the dependencies, builds and
> installs the executable, installs the lisp source and stumpwm.asd in the
> common lisp central registry.  The problem starts when stump is run.  It
> just starts sbcl and shows the repl with no errors.  Any suggestions for
> debugging?

> Nothing stands out (to me) in the build log.
> http://pkg.awarnach.mathstat.dal.ca/data/11amd64-default/2017-08-13_18h13m27s/logs/stumpwm-20170807.log

> Thanks for any insight,

> Joseph

This main problem has been solved and the package is mostly usable [1].
The executable was being installed with `install -s ...`, which strips
the executable.  Clearly that was doing something wrong because the size
of the stumpwm executable went from 55 MB to 233 KB.

Regards,

Joseph

[1] One issue is that the executable is referring to paths used during
the package building, that are not correct when it's installed on the
user's machine.  Hopefully I'll figure that one out.

_______________________________________________
Stumpwm-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
signature.asc (application/pgp-signature, 962 B)
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEVbCTpybDiFVxIrrVNqQMg7DW754FAlmRD0RfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1
QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUACgkQNqQMg7DW
7540NQ/9FW4mOEa/73FNFXyQ9krUG4LL14UXc1QKa9sA4phwWoLvG7a8s3bUXzqN
yPV4yZ1VxFT+kM560/rsMiErE9xXJAN33HmwxETjihUInMRgOTVDaZlFUqqZWPpT
AHKvFKoLkDqB81mAh9GACJqE2rHZuu3XJ4IqTZ4we1rBZmSaZhx8ib3z0YPKBgXf
pPmS5u6FKzHHodXqz3+H9XaZo+3pXAW8Pr4IH/Q4I2DLKXlNREurWh2wWsisP+IY
Vtvws2Iq2oh/hU+ggC5u3oY5Hn6Z9f7QebKPAMoPFbNlnw75zbwDlhaJVslLofal
LdQ1p17aBOTBT+b6u+XXDuo8yogDmPmB+zhWcuaFM3CaaMqKWYOzFTbYgf/dhaHq
fR4FgMx1zGjA2VOb9NLrISco78r1EHSRkOYrkpudPZcL7Qg2fGtcVP6CFy8kmjdh
x07PNF7WrCbk0A7gScGYjoxh0lIKejPFceZSq6OVDqUOTbgWH1L2nwviYK2oVm7F
NsNnUl8ELTnAr3+CtbTHX/1Uf7IFLNrbioAV8Os1hzMsIYCanHCG6KhE7DJTXE2k
MCiskoqyax37nNv+CFkNbDMfGrwV2iDxRBnlrJPTiJTnB+Lh1Td6kG69subOz+XQ
SRBolSTRKtiEo0bVs7eZVAD/0Gb2KWq+9U132oRzulb20Ozf/2w=
=ORGd
-----END PGP SIGNATURE-----