Bug 255280 - net-im/libpurple: build error in package phase
Summary: net-im/libpurple: build error in package phase
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: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-20 19:31 UTC by Felix Palmen
Modified: 2021-04-21 12:34 UTC (History)
0 users

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


Attachments
fix building with dbus (533 bytes, patch)
2021-04-21 06:31 UTC, Felix Palmen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Palmen 2021-04-20 19:31:55 UTC
Build fails in poudriere.

---Begin OPTIONS List---
===> The following configuration options are available for libpurple-2.14.3_1:
     DBUS=on: D-Bus IPC system support
     GSTREAMER=on: Use GStreamer for playing sounds
     IDN=on: International Domain Names support
     PERL=off: Perl scripting language support
     SASL=on: Cyrus SASL support (for jabberd)
     TCLTK=off: Tcl/Tk GUI toolkit support
     VV=on: Video and voice support
====> Options available for the group PROTOCOLS
     BONJOUR=on: mDNS support and Bonjour protocol
     GG=on: The Gadu-Gadu chat protocol
     SAMETIME=off: The Lotus Sametime chat protocol
     SILC=off: The Secure Internet Live Conferencing protocol
     IRC=on: The Internet Relay Chat protocol
     JABBER=on: The Jabber/XMPP/Google Talk protocol
     NOVELL=on: The Novell GroupWise chat protocol
     QQ=on: The Tercent QQ chat protocol
     SIMPLE=on: The SIMPLE chat protocol
     ZEPHYR=on: The Zephyr chat protocol
====> Secure network connection support via TLS: you can only select none or one of them
     NSS=on: Use Mozilla NSS for encryption support
     GNUTLS=off: Use GNUTLS for encryption support
===> Use 'make config' to modify these settings
---End OPTIONS List---

[...]

=======================<phase: package        >============================
===>  Building package for libpurple-2.14.3_1
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/bin/purple-client-example:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/bin/purple-remote:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/bin/purple-send:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/bin/purple-send-async:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/bin/purple-url-handler:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/include/libpurple/dbus-bindings.h:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/include/libpurple/dbus-define-api.h:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/include/libpurple/dbus-purple.h:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/include/libpurple/dbus-server.h:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/include/libpurple/dbus-types.h:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/include/libpurple/dbus-useful.h:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/lib/purple-2/dbus-example.a:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/lib/purple-2/dbus-example.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/lib/libpurple-client.a:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/lib/libpurple-client.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/lib/libpurple-client.so.0:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libpurple/work/stage/usr/local/lib/libpurple-client.so.0.14.3:No such file or directory
*** Error code 1
Comment 1 Joe Marcus Clarke freebsd_committer 2021-04-20 21:00:13 UTC
It packages fine for me.  It seems something prevented your build from finding D-Bus.  But without full logs, I cannot say for certain why this is happening.
Comment 2 Felix Palmen 2021-04-21 06:17:05 UTC
Ok, configure seems to disable dbus because it's missing python 3:

checking for dbus-1 >= 0.60 dbus-glib-1 >= 0.60... yes
checking for python3... no
configure: WARNING: python3 interpreter not found in your path
Building without D-Bus support

Here's the full log:
http://home.palmen-it.de/builder/data/def-default/2021-04-20_21h13m53s/logs/errors/libpurple-2.14.3_1.log

The same seems to happen on official builders, although this is still an older version:
http://beefy15.nyi.freebsd.org/data/130i386-default/338d8ba0f777/logs/errors/libpurple-2.14.3.log
Comment 3 Felix Palmen 2021-04-21 06:31:30 UTC
Created attachment 224320 [details]
fix building with dbus

Having a closer look: the ./configure argument for python changed. Attached patch fixes the build for me.
Comment 4 commit-hook freebsd_committer 2021-04-21 12:34:33 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1cf4c751968e4a05db44565f7db87c232ff8e9c3

commit 1cf4c751968e4a05db44565f7db87c232ff8e9c3
Author:     Joe Marcus Clarke <marcus@FreeBSD.org>
AuthorDate: 2021-04-21 12:31:50 +0000
Commit:     Joe Marcus Clarke <marcus@FreeBSD.org>
CommitDate: 2021-04-21 12:31:50 +0000

    net-im/libpurple: Bump Python version.

    Pidgin now wants Python 3 so be explicit about that.  It also changed
    the argument to find the Python command.
    PR:             255280

 net-im/libpurple/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 5 Joe Marcus Clarke freebsd_committer 2021-04-21 12:34:51 UTC
Yep, seems Python 3 is explicitly needed now.  This has been fixed in PORTREVISION 2.