Bug 262962 - databases/evolution-data-server: Fails to package if VALA=off
Summary: databases/evolution-data-server: Fails to package if VALA=off
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: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-31 19:39 UTC by James TD Smith
Modified: 2022-04-07 03:31 UTC (History)
2 users (show)

See Also:
nc: maintainer-feedback+


Attachments
Patch solving package issue for me... (1.07 KB, patch)
2022-04-06 06:25 UTC, bsd
no flags Details | Diff
Revert some pkg-plist changes (4.42 KB, patch)
2022-04-06 11:02 UTC, James TD Smith
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James TD Smith 2022-03-31 19:39:32 UTC
Build fails at the package stage since the update to 3.44.0, see attached Poudriere log. No issues if the VALA option is on.
Comment 1 bsd 2022-04-06 06:14:21 UTC
I just came around this issue, however, in my case VALA is ON.

===>  Installing for evolution-data-server-3.44.0
===>  Checking if evolution-data-server is already installed
===>   Registering installation for evolution-data-server-3.44.0
pkg-static: Unable to access file /work/build/wrk/usr/ports/databases/evolution-data-server/work/stage/usr/local/lib/evolution-data-server/addressbook-backends/libebookbackendldap.so:No such file or directory
pkg-static: Unable to access file /work/build/wrk/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/evolution-data-server/evolutionperson.schema:No such file or directory
*** Error code 1

This looks like error in pkg-list to me...
Comment 2 bsd 2022-04-06 06:25:10 UTC
Created attachment 232990 [details]
Patch solving package issue for me...

No idea whether those two files are being removed from files created in build process, are they used somewhere else etc. Just simple way to resolve the issue.
Comment 3 bsd 2022-04-06 06:26:15 UTC
Just by the way... I see no Poudriere log attachment from OP, somehow forgotten/lost.
Comment 4 James TD Smith 2022-04-06 09:28:25 UTC
Attachement was too large and was dropped. Full log here:

https://gist.github.com/ahktenzero/a1326f8df4e47d2c2d1fdea151f5c9fe/raw/5c127f9ac6954ae9e5d2680008d968699cddc8a7/evolution-data-server-3.44.0.log

=======================<phase: package        >============================
===>  Building package for evolution-data-server-3.44.0
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/camel-1.2.deps:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/camel-1.2.vapi:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libebackend-1.2.deps:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libebackend-1.2.vapi:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libebook-1.2.deps:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libebook-1.2.vapi:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libebook-contacts-1.2.deps:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libebook-contacts-1.2.vapi:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libecal-2.0.deps:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libecal-2.0.vapi:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libedata-book-1.2.deps:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libedata-book-1.2.vapi:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libedata-cal-2.0.deps:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libedata-cal-2.0.vapi:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libedataserver-1.2.deps:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libedataserver-1.2.vapi:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libedataserverui-1.2.deps:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/evolution-data-server/work/stage/usr/local/share/vala/vapi/libedataserverui-1.2.vapi:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/evolution-data-server
=>> Cleaning up wrkdir
===>  Cleaning for evolution-data-server-3.44.0
build of databases/evolution-data-server | evolution-data-server-3.44.0 ended at Thu Mar 31 19:15:48 BST 2022
build time: 00:09:02
!!! build failure encountered !!!
Comment 5 James TD Smith 2022-04-06 11:02:37 UTC
Created attachment 232994 [details]
Revert some pkg-plist changes

Commit db6f330 removed prefixes for conditional inclusion from pkg-plist, resulting in packaging failures unless all optional components were built. 
This patch reverts those changes and a few others (hardcoding GTK3_VERSION in some filenames). I've tested the port with all combinations of VALA and LDAP and not had any further packaging issues.
Comment 6 Neel Chauhan freebsd_committer freebsd_triage 2022-04-07 03:31:23 UTC
Good catch. Committed!
Comment 7 commit-hook freebsd_committer freebsd_triage 2022-04-07 03:31:40 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=596122677d2d291a90e3487eb18a6e5818481cc9

commit 596122677d2d291a90e3487eb18a6e5818481cc9
Author:     James TD Smith <ahktenzero+freebsd@mohorovi.cc>
AuthorDate: 2022-04-07 03:30:42 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-04-07 03:30:42 +0000

    databases/evolution-data-server: Fix packaging issues when VALA=off

    PR:     262962

 databases/evolution-data-server/pkg-plist | 44 +++++++++++++++----------------
 1 file changed, 22 insertions(+), 22 deletions(-)