Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 923891

Summary: net-mail/cyrus-imapd-3.8.1: version bump
Product: Gentoo Linux Reporter: J. Roeleveld <joost>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal CC: erhard_f, eschwartz, joost
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for cyrus-imapd 3.8.1
cyrus-imapd-3.8.1-r1.ebuild
Manifest
cyr_info patch
build.log (ppc64, 3.8.1)

Description J. Roeleveld 2024-02-06 08:40:46 UTC
The current in-tree version ( 3.4.5-r1 ) is over 3 years old and 3.8.1 is the current latest version.

Reproducible: Always

Steps to Reproduce:
To get the latest version to compile, I renamed the ebuild and removed the 2 patches referenced.
Actual Results:  
Compile and installation using my USE flags was succesful.


Can someone please check the attached ebuild and, if necessary, assist me in getting the ebuild to the proper standard.

I do not understand the 2 patches in the 3.4.5 ebuild and if these are still needed, I would definitely need help here.
Comment 1 J. Roeleveld 2024-02-06 08:42:51 UTC
Created attachment 884326 [details]
ebuild for cyrus-imapd 3.8.1

I only changed the version in the filename and disabled the PATCHES section.
This was sufficient to get it to compile on my system.
Comment 2 J. Roeleveld 2024-02-07 07:49:16 UTC
If being added, please mask it.
I had to rollback due to issues which I am going to take up with upstream to see what is causing it.
Comment 3 Eli Schwartz gentoo-dev 2024-02-09 01:05:14 UTC
It has not been added yet, so no need to mask it.

Please tell us when you're ready. :)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-09 05:27:48 UTC
https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-3.4.5 isn't as old as that btw but yes ofc we should update it
Comment 5 J. Roeleveld 2024-02-14 07:01:06 UTC
Created attachment 884889 [details]
cyrus-imapd-3.8.1-r1.ebuild
Comment 6 J. Roeleveld 2024-02-14 07:01:38 UTC
Created attachment 884890 [details]
Manifest

Added the Manifest file for completeness
Comment 7 J. Roeleveld 2024-02-14 07:03:22 UTC
Created attachment 884891 [details, diff]
cyr_info patch

This patch fixes a core-dump in the 'cyr_info' tool.
Patch was taken from the upstream git-repository and will be included when 3.8.2 is released
Comment 8 J. Roeleveld 2024-02-14 07:04:19 UTC
(In reply to Eli Schwartz from comment #3)
> It has not been added yet, so no need to mask it.
> 
> Please tell us when you're ready. :)

The attached ebuild works on my system and I am running it succesfully.
Comment 9 ernsteiswuerfel archtester 2024-02-15 21:47:53 UTC
Created attachment 885087 [details]
build.log (ppc64, 3.8.1)

Does not build for me unfortunately.
Comment 10 Eli Schwartz gentoo-dev 2024-02-28 02:29:54 UTC
The sqlite errors appear to be underlinking.

I get a different error:

In file included from imap/squatter.c:87:
imap/itip_support.h:49:10: fatal error: libical/ical.h: No such file or directory
   49 | #include <libical/ical.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:5509: imap/squatter.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from imap/jmap_util.c:55:
imap/caldav_util.h:47:10: fatal error: libical/ical.h: No such file or directory
   47 | #include <libical/ical.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:5665: imap/libcyrus_imap_la-jmap_util.lo] Error 1
In file included from imap/dav_db.c:58:
imap/caldav_alarm.h:51:10: fatal error: libical/ical.h: No such file or directory
   51 | #include <libical/ical.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:5602: imap/libcyrus_imap_la-dav_db.lo] Error 1


Built with default use flags, libical isn't a dependency. It seems that now it should be?