Summary: | [NEW PORT] japanese/dams: Geocoder that converts address strings into latitude and longitude | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Tomohiro Hosaka <bokutin> | ||||||||||
Component: | Individual Port(s) | Assignee: | Matthias Andree <mandree> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | CC: | diizzy, mandree | ||||||||||
Priority: | --- | Keywords: | feature | ||||||||||
Version: | Latest | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Description
Tomohiro Hosaka
2020-01-03 11:48:24 UTC
Created attachment 210413 [details]
svn diff
Created attachment 210439 [details]
shar
-USE_GCC
Hi, "make stage-qa" complains about libtool being used but not defined, can you please address that? https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/uses-libtool.html Best regards, Daniel Created attachment 213967 [details]
shar
Hi, Thanks for pointing out. I confirmed the problem and fixed it. pkg-plist doesn't match installed files, you most likely don't want to install lib/libdams.la ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: lib/libdams.la ===> Error: Plist issues found. *** Error code 1 Stop. make: stopped in /usr/ports/japanese/dams =>> Error: check-plist failures detected build of japanese/dams | ja-dams-4.3.4 ended at Sat May 2 19:24:34 CEST 2020 build time: 00:01:46 !!! build failure encountered !!! [00:02:08] Error: Build failed in phase: check-plist Best regards, Daniel Created attachment 214061 [details]
shar
Thank you for your advice.
I forgot to update the pkg-plist file.
Hi, Thanks for updating! Testport using Poudriere on 12.1-RELEASE (AMD64) now completes successfully. Best regard, Daniel Thank you for your contribution! Next time, please package the directories into the shar as well as the files, that helps with shar extraction. Also, USE_LDCONFIG=yes was needed because this port installs .so files. A commit references this bug: Author: mandree Date: Mon May 4 11:29:20 UTC 2020 New revision: 533921 URL: https://svnweb.freebsd.org/changeset/ports/533921 Log: japanese/dams: Geocoder that converts address strings into latitude and longitude Geocoder DAMS (Distributed Address Matching System) is software that provides a "geocoding" function that converts address strings into latitude and longitude. WWW: http://newspat.csis.u-tokyo.ac.jp/geocode/ PR: 243054 Submitted by: Tomohiro Hosaka <bokutin@bokut.in> Changes: head/japanese/Makefile head/japanese/dams/ head/japanese/dams/Makefile head/japanese/dams/distinfo head/japanese/dams/files/ head/japanese/dams/files/patch-Makefile.in head/japanese/dams/files/patch-lib_openfile.cpp head/japanese/dams/pkg-descr head/japanese/dams/pkg-plist I understood. I will not forget. Thank you. Hello Tomohiro, do you happen to know if there is also an English WWW: that we could use? I have not found one, and there may not be one (which would be fine in my book, for a port under japanese/). Thank you again! Hello Matthias, I searched a bit, but I couldn't find any English documentation. Very simple demo site https://bokut.in/geo-coder-dams-demo/?q=%E7%A7%8B%E8%91%89%E5%8E%9F Python binding https://github.com/hottolink/pydams Perl binding https://metacpan.org/pod/Geo::Coder::DAMS { "score": "3", "tail": "", "candidates": [ [ { "level": "1", "name": "東京都", "x": "139.691635131836", "y": "35.6894989013672" }, <- tokyo-to { "level": "3", "name": "台東区", "x": "139.779769897461", "y": "35.7124481201172" }, <- taito-ku { "level": "5", "name": "秋葉原", "x": "139.774475097656", "y": "35.702205657959" } <- akihabara ] ] } |