Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678606 - net-mail/uw-imap-2007f-r1 - removal / osdep.c:509:49: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’
Summary: net-mail/uw-imap-2007f-r1 - removal / osdep.c:509:49: error: dereferencing po...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2019-04-20
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2019-02-22 21:37 UTC by Marco Clocchiatti
Modified: 2019-04-20 08:01 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,10.03 KB, text/plain)
2019-02-22 21:37 UTC, Marco Clocchiatti
Details
build log (build.log,11.38 KB, text/plain)
2019-02-22 21:38 UTC, Marco Clocchiatti
Details
environment (environment,93.45 KB, text/plain)
2019-02-22 21:38 UTC, Marco Clocchiatti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2019-02-22 21:37:47 UTC
Created attachment 566132 [details]
emerge --info

net-mail/uw-imap fails to build.
Comment 1 Marco Clocchiatti 2019-02-22 21:38:18 UTC
Created attachment 566134 [details]
build log
Comment 2 Marco Clocchiatti 2019-02-22 21:38:51 UTC
Created attachment 566136 [details]
environment
Comment 3 Peter Gantner (a.k.a. nephros) 2019-02-26 10:49:51 UTC
I can't really debug the error at hand, but if you're still using the UW mail stuff, I recommend trying the version from Eduardo Chappa here:

https://repo.or.cz/alpine.git

The imap/ folder has the sources from uw-imap and uw-mailutils, and include bugfixes and improvements (such as openssl 1.1.1 support) for them.

You can more or less use the uw-imap ebuild and change $SRC_URI and $S accordingly.

I have an ebuild and patches for this if anyone is interested.
Comment 4 Marco Clocchiatti 2019-02-26 23:24:17 UTC
(In reply to Peter Gantner (a.k.a. nephros) from comment #3)
> I can't really debug the error at hand, but if you're still using the UW
> mail stuff, I recommend trying the version from Eduardo Chappa here:
> 
> https://repo.or.cz/alpine.git
> 
> The imap/ folder has the sources from uw-imap and uw-mailutils, and include
> bugfixes and improvements (such as openssl 1.1.1 support) for them.
> 
> You can more or less use the uw-imap ebuild and change $SRC_URI and $S
> accordingly.
> 
> I have an ebuild and patches for this if anyone is interested.

pay attention:
net-mail/uw-imap is needed to build dev-lang/php with imap use flag.

if net-mail/uw-imap is not supported in gentoo, also dev-lang/php imap use flag should be removed.
Comment 5 Peter Gantner (a.k.a. nephros) 2019-02-27 15:17:26 UTC
(In reply to Marco Clocchiatti from comment #4)

> if net-mail/uw-imap is not supported in gentoo, also dev-lang/php imap use
> flag should be removed.

php compiles fine with those sources (I haven't tested it as I do not have any php apps which use imap support).
You'll have to adjust virtual/imap-c-client to include the new atom/ebuild (if you created/renamed one).
Comment 6 Marco Clocchiatti 2019-03-01 12:00:29 UTC
(In reply to Peter Gantner (a.k.a. nephros) from comment #5)
> (In reply to Marco Clocchiatti from comment #4)
> 
> > if net-mail/uw-imap is not supported in gentoo, also dev-lang/php imap use
> > flag should be removed.
> 
> php compiles fine with those sources (I haven't tested it as I do not have
> any php apps which use imap support).
> You'll have to adjust virtual/imap-c-client to include the new atom/ebuild
> (if you created/renamed one).

you are wright. I had a use-flag problem in my system.
Now I've substituted net-mail/uw-imap with net-libs/c-client and I have no more problems with dev-lang/php.

anyway: net-mail/uw-imap does not compile against openssl 1.1.1
Comment 7 Larry the Git Cow gentoo-dev 2019-03-21 14:05:56 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e255e654afce3ab7c48fb66bd10c0fdb098ec46

commit 9e255e654afce3ab7c48fb66bd10c0fdb098ec46
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-03-21 14:04:05 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-03-21 14:04:08 +0000

    package.mask: Next batch of openssl-1.1+ cleanup
    
    Bug: https://bugs.gentoo.org/674892
    Bug: https://bugs.gentoo.org/674896
    Bug: https://bugs.gentoo.org/674234
    Bug: https://bugs.gentoo.org/678606
    Bug: https://bugs.gentoo.org/674174
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 10 ++++++++++
 1 file changed, 10 insertions(+)
Comment 8 Peter Gantner (a.k.a. nephros) 2019-03-22 08:47:23 UTC
Just a note for users hitting this bug and for some reason tied to the classic UW mail tools:

The code available from https://repo.or.cz/alpine.git is actively maintained by Eduardo Chappa can be used to regain/replace:

  net-mail/uw-imap
  net-mail/uw-mailutils
  mail-client/alpine
  net-libs/c-client

While I have not yet tried it, this should include fixes for openssl-1.1.1 support, among other improvements.
Comment 9 Larry the Git Cow gentoo-dev 2019-04-20 08:01:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b4c9212b3da530b9fd24ef128e516002b72d6b7

commit 6b4c9212b3da530b9fd24ef128e516002b72d6b7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-04-20 07:57:35 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-04-20 07:57:35 +0000

    net-mail/uw-imap: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/678606
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-mail/uw-imap/Manifest                          |   1 -
 .../uw-imap/files/uw-imap-2004c-amd64-so-fix.patch |  13 --
 net-mail/uw-imap/files/uw-imap-ldflags.patch       |  52 -------
 net-mail/uw-imap/files/uw-imap.xinetd              |  14 --
 net-mail/uw-imap/files/uw-imaps.xinetd             |  15 --
 net-mail/uw-imap/files/uw-ipop2.xinetd             |  15 --
 net-mail/uw-imap/files/uw-ipop3.xinetd             |  14 --
 net-mail/uw-imap/files/uw-ipop3s.xinetd            |  14 --
 net-mail/uw-imap/metadata.xml                      |   8 -
 net-mail/uw-imap/uw-imap-2007f-r1.ebuild           | 161 ---------------------
 net-mail/uw-imap/uw-imap-2007f.ebuild              | 157 --------------------
 profiles/package.mask                              |   2 -
 12 files changed, 466 deletions(-)