Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674822 - app-backup/attic-0.16-r1 : attic/crypto.c:838:18: error: field ctx has incomplete type
Summary: app-backup/attic-0.16-r1 : attic/crypto.c:838:18: error: field ctx has incomp...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL: https://github.com/jborg/attic/pull/399
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2019-01-07 20:54 UTC by Toralf Förster
Modified: 2021-01-18 03:49 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.92 KB, text/plain)
2019-01-07 20:54 UTC, Toralf Förster
Details
app-backup:attic-0.16-r1:20190107-202734.log (app-backup:attic-0.16-r1:20190107-202734.log,7.21 KB, text/plain)
2019-01-07 20:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,44.61 KB, text/plain)
2019-01-07 20:54 UTC, Toralf Förster
Details
environment (environment,133.31 KB, text/plain)
2019-01-07 20:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.09 KB, application/x-bzip)
2019-01-07 20:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.43 KB, application/x-bzip)
2019-01-07 20:55 UTC, Toralf Förster
Details
Attic compatibility patch for OpenSSL 1.1 (to be put in FILESDIR) (attic-0.16-openssl-1.1-fix.patch,2.25 KB, patch)
2019-01-18 23:15 UTC, José María Fernández González
Details | Diff
Diff between attic-0.16-r1.ebuild and the one using the patch (attic-0.16-ebuild.diff,474 bytes, patch)
2019-01-18 23:19 UTC, José María Fernández González
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-01-07 20:54:43 UTC
creating /var/tmp/portage/app-backup/attic-0.16-r1/work/attic-0.16-python3_6/temp.linux-x86_64-3.6/attic
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include -I/usr/include/python3.6m -c attic/crypto.c -o /var/tmp/portage/app-backup/attic-0.16-r1/work/attic-0.16-python3_6/temp.linux-x86_64-3.6/attic/crypto.o
attic/crypto.c:838:18: error: field ‘ctx’ has incomplete type
   EVP_CIPHER_CTX ctx;
                  ^~~
/usr/lib64/python3.6/site-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /var/tmp/portage/app-backup/attic-0.16-r1/work/attic-0.16/attic/crypto.pyx

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_20190107-031113

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *




emerge -qpvO app-backup/attic
[ebuild  N    ] app-backup/attic-0.16-r1  USE="-libressl" PYTHON_TARGETS="python3_6 -python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2019-01-07 20:54:46 UTC
Created attachment 560262 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-07 20:54:49 UTC
Created attachment 560264 [details]
app-backup:attic-0.16-r1:20190107-202734.log
Comment 3 Toralf Förster gentoo-dev 2019-01-07 20:54:51 UTC
Created attachment 560266 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-01-07 20:54:54 UTC
Created attachment 560268 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-01-07 20:54:57 UTC
Created attachment 560270 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-01-07 20:55:00 UTC
Created attachment 560272 [details]
temp.tbz2
Comment 7 José María Fernández González 2019-01-18 23:15:51 UTC
Created attachment 562096 [details, diff]
Attic compatibility patch for OpenSSL 1.1 (to be put in FILESDIR)

I have just developed a patch for attic, so it is compatible with OpenSSL 1.1 . But, as I do not encrypt the backups, I cannot test whether it works as it is expected.
Comment 8 José María Fernández González 2019-01-18 23:19:36 UTC
Created attachment 562098 [details, diff]
Diff between attic-0.16-r1.ebuild and the one using the patch
Comment 9 Andreas Sturmlechner gentoo-dev 2019-04-28 21:00:41 UTC
Thanks for also filing this upstream, alas with no response so far.
Comment 10 Anthony Basile gentoo-dev 2019-05-26 23:21:46 UTC
(In reply to Andreas Sturmlechner from comment #9)
> Thanks for also filing this upstream, alas with no response so far.

I'm a bit worried about including this patch without testing.
Comment 11 Pavel Goran 2020-07-10 11:44:37 UTC
I was able to build and run attic with this patch. I have an old attic repository, and I was able to access it (be mounting with SSHFS) just fine. I used "list", "info", and even "create".

So I can affirm that basic operations do work; although I don't know if the operations that I tested actually involve the patched piece of code.
Comment 12 Agostino Sarubbo gentoo-dev 2021-01-17 21:06:26 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 13 Pavel Goran 2021-01-18 03:49:39 UTC
How about applying a patch that fixes the error, instead?