Bug 193995 - [PATCH] ports-mgmt/pkg: floating point exception when packaging weird elf files
Summary: [PATCH] ports-mgmt/pkg: floating point exception when packaging weird elf files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-28 13:15 UTC by wjenkner
Modified: 2017-11-21 15:37 UTC (History)
2 users (show)

See Also:
wjenkner: maintainer-feedback? (pkg)


Attachments
Check that shdr.sh_entsize is nonzero (880 bytes, patch)
2014-09-28 13:15 UTC, wjenkner
no flags Details | Diff
unmaintained port of guile2 master branch (41.05 KB, text/plain)
2014-10-21 16:35 UTC, wjenkner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description wjenkner 2014-09-28 13:15:00 UTC
Created attachment 147750 [details]
Check that shdr.sh_entsize is nonzero

I have a private port (derived from lang/guile2) for the master branch of guile.
Contrary to the latest release (on which lang/guile2 is based), the guile compiler stores byte-code in elf format files.  With those, `make package` triggers a floating point exception in pkg-static.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-28 13:15:00 UTC
Auto-assigned to maintainer portmgr@FreeBSD.org
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2014-09-28 20:26:27 UTC
C
Comment 3 Baptiste Daroussin freebsd_committer freebsd_triage 2014-10-18 22:11:48 UTC
Can you provide the said port so I can test?
Comment 4 wjenkner 2014-10-21 16:35:29 UTC
Created attachment 148540 [details]
unmaintained port of guile2 master branch
Comment 5 wjenkner 2014-10-21 16:42:29 UTC
(In reply to Baptiste Daroussin from comment #3)
> Can you provide the said port so I can test?

Sure (attached), but I generate the distfile from a git checkout.  I added a comment to the port Makefile to explain how this can be done.
Comment 6 Baptiste Daroussin freebsd_committer freebsd_triage 2015-04-05 21:09:40 UTC
Hu I completely forgot this bug!

I will check it as soon as possible
Comment 7 Steve Wills freebsd_committer freebsd_triage 2017-11-21 15:37:53 UTC
This patch was committed:

https://github.com/freebsd/pkg/commit/42ff428aa88cfcd42538f6a5b4911428a01f443b

Closing PR, thanks for the patch, sorry it took so long to merge.