Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 211587] editors/codelite: pkg packaging breaks because pkg-list contains pointers to nonexistent files (SpellCheck.so, ...)

4 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
Aug 4, 2016, 6:22:41 PM8/4/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211587

Bug ID: 211587
Summary: editors/codelite: pkg packaging breaks because
pkg-list contains pointers to nonexistent files
(SpellCheck.so, ...)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-p...@FreeBSD.org
Reporter: matt...@petermann-it.de
CC: mok...@gmail.com
Flags: maintainer-feedback?(mok...@gmail.com)
CC: mok...@gmail.com

Created attachment 173301
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173301&action=edit
Patch file to remove nonexistent files from pkg-plist

Hello,

when I build the package of editors/codelite using synth, packaging cannot be
completed because the following files from pkg-plist are missing:

lib/codelite/SpellCheck.so
%%DATADIR%%/dics/en_GB.aff
%%DATADIR%%/dics/en_GB.dic
%%DATADIR%%/dics/en_US.aff
%%DATADIR%%/dics/en_US.dic

The following options are set for my custom build:

# This file is auto-generated by 'make config'.
# Options for codelite-9.2
_OPTIONS_READ=codelite-9.2
_FILE_COMPLETE_OPTIONS_LIST=CSCOPE SFTP CLANG34 CLANG35 CLANG36 CLANG37 CLANG38
OPTIONS_FILE_SET+=CSCOPE
OPTIONS_FILE_SET+=SFTP
OPTIONS_FILE_UNSET+=CLANG34
OPTIONS_FILE_UNSET+=CLANG35
OPTIONS_FILE_UNSET+=CLANG36
OPTIONS_FILE_SET+=CLANG37
OPTIONS_FILE_UNSET+=CLANG38

I am wondering if the missing files would be present when codelite is built
with different options, or if the problem always occurs?

Note: as this files seem to be spell check related: in my textprpoc/enchant
build options the ASPELL option is set.

Temporarely, I was able to fix my build by excluding the questionable files
from the pkg-plist (see patch attached).

Please let me know if I can help debug/test.

Best regards,
Matthias

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-p...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-b...@freebsd.org"

bugzilla...@freebsd.org

unread,
Aug 4, 2016, 10:49:47 PM8/4/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211587

w.schwa...@utanet.at changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |w.schwa...@utanet.at

--- Comment #1 from w.schwa...@utanet.at ---
I doubt this patch is right. I don't work with synth, so I can't test it.
I don't think,it is a pkg-plist error, cause poudriere and the port installs
this files.
Maybe, it caused through the missing of
LIB_DEPENDS= libhunspell-1.3.so:textproc/hunspell
in the Makefile.

bugzilla...@freebsd.org

unread,
Aug 4, 2016, 11:45:28 PM8/4/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211587

--- Comment #2 from w.schwa...@utanet.at ---
ls of stage-dir:

ls /usr/ports/editors/codelite/work/stage/usr/local/share/codelite/dics/en_*
/usr/ports/editors/codelite/work/stage/usr/local/share/codelite/dics/en_GB.aff
/usr/ports/editors/codelite/work/stage/usr/local/share/codelite/dics/en_GB.dic
/usr/ports/editors/codelite/work/stage/usr/local/share/codelite/dics/en_US.aff
/usr/ports/editors/codelite/work/stage/usr/local/share/codelite/dics/en_US.dic

ls /usr/ports/editors/codelite/work/stage/usr/local/lib/codelite/SpellCheck.so
/usr/ports/editors/codelite/work/stage/usr/local/lib/codelite/SpellCheck.so

bugzilla...@freebsd.org

unread,
Aug 5, 2016, 5:08:46 PM8/5/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211587

Mahdi Mokhtari <mok...@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #173301|0 |1
is obsolete| |
Assignee|freebsd-ports-bugs@FreeBSD. |mok...@gmail.com
|org |
Attachment #173340| |maintainer-approval+
Flags| |

--- Comment #3 from Mahdi Mokhtari <mok...@gmail.com> ---
Created attachment 173340
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173340&action=edit
Patch to add missing entries to plist and missing dependency to Makefile

Thanks for points that you stated.
Currently the port has sanity-check problem in poudriere too (if you enable any
of CLANG options it will have orphaned bin/codelite-lldb and
lib/codelite/LLDBDebugger.so)
Also the point that w.schwarzenfeld told is valid point.

It seems fixed for me using this patch.
Matthias, Would you please check if this fixes the problem you encountered with
synth too (in both cases of using CLANG completion and not using it)?
0 new messages