Bug 203883 - ports-mgmt/pkg: Bad error message
Summary: ports-mgmt/pkg: Bad error message
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-20 04:27 UTC by rkoberman
Modified: 2016-04-20 08:49 UTC (History)
0 users

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


Attachments
Fix error message (351 bytes, patch)
2015-10-20 04:27 UTC, rkoberman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rkoberman 2015-10-20 04:27:21 UTC
Created attachment 162223 [details]
Fix error message

Missing shareable libraries generate a mangled error message:
PORTNAME has require a missing libraries: LIBNAME
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2015-10-20 06:57:24 UTC
It has been already fixed in the git version, will be in pkg 1.6.2
Comment 2 rkoberman 2016-03-26 03:20:11 UTC
Problem still exists in 1.6.4. Looks like something did not get committed.

grep "has require a missing libraries" src/*.c
src/check.c:			pkg_sbuf_printf(out, "%n has require a missing libraries: %S\n",

I believe it should read:
pkg_sbuf_printf(out, "%n requires a missing library:%S\n"
Comment 3 Baptiste Daroussin freebsd_committer freebsd_triage 2016-03-26 11:01:13 UTC
Sorry I closed it here too early

https://github.com/freebsd/pkg/blob/master/src/check.c#L97
 
I thought I had merged it into the release but not...