pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49343: libpurple with option 'perl' fails during packaging when Purple.bs is empty



>Number:         49343
>Category:       pkg
>Synopsis:       libpurple with option 'perl' fails during packaging when Purple.bs is empty
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 31 05:55:00 +0000 2014
>Originator:     Richard PALO
>Release:        pkgsrc current
>Organization:
>Environment:
SunOS omnis 5.11 illumos-gate-abbb445 i86pc i386 i86pc

>Description:
With the following options (namely 'perl') for chat/libpurple:

>These options are enabled by default:
>	dbus farsight gnome gstreamer
>
>These options are currently enabled:
>	dbus farsight gnome gstreamer perl sasl

The build fails with:
>=> Checking file-check results for libpurple-2.10.9nb3
>ERROR: ************************************************************
>ERROR: The following files are in the PLIST but not in /tmp/pkgsrc/chat/libpurple/work/.destdir/opt/local:
>ERROR:         /tmp/pkgsrc/chat/libpurple/work/.destdir/opt/local/lib/purple-2/perl/auto/Purple/Purple.bs
>*** Error code 1



>How-To-Repeat:

>Fix:
pidgin-2.10.9/libpurple/plugins/perl/common/Makefile has the following 'dynamic' installation snippet:
>$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) >$(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPORT_LIST) $(PERL_ARCHIVE) >$(PERL_ARCHIVE_AFTER) $(INST_DYNAMIC_DEP)
>    $(RM_F) $@
>    $(LD)  $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) -o $@ $(MYEXTLIB) \
>      $(PERL_ARCHIVE) $(LDLOADLIBS) $(PERL_ARCHIVE_AFTER) >$(EXPORT_LIST)    \
>      $(INST_DYNAMIC_FIX)
>    $(CHMOD) $(PERM_RWX) $@
>    $(NOECHO) $(RM_RF) $(BOOTSTRAP)
>    - $(CP_NONEMPTY) $(BOOTSTRAP) $(INST_BOOT) $(PERM_RW)

where CP_NONEMPTY is defined as:
>CP_NONEMPTY = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'cp_nonempty' --

Perhaps adding a variable for PLIST testing for Purple.bs being present is a solution. Currently PLIST uses the following for Purple.bs:
>${PLIST.perl}lib/purple-2/perl/auto/Purple/Purple.bs



Home | Main Index | Thread Index | Old Index