Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674168 - sys-fs/dmg2img-1.6.7 with >dev-libs/openssl-1.1 - vfdecrypt.c:215:18: error: storage size of 'ctx' isn't known
Summary: sys-fs/dmg2img-1.6.7 with >dev-libs/openssl-1.1 - vfdecrypt.c:215:18: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2018-12-31 11:51 UTC by milan hodoscek
Modified: 2018-12-31 12:22 UTC (History)
0 users

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


Attachments
fix to compile with a new openssl (dmg2img-opessl-1.1-fix.patch,6.91 KB, patch)
2018-12-31 11:51 UTC, milan hodoscek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description milan hodoscek 2018-12-31 11:51:24 UTC
Created attachment 559126 [details, diff]
fix to compile with a new openssl

- sys-fs/dmg2img-1.6.7 does not compile with the newer openssl-1.1

- fix provided in attachment from upstream

- the compile errors are more like the following one:

vfdecrypt.c:215:18: error: storage size of 'ctx' isn't known


- bellow is my emerge --info

Portage 2.3.53 (python 3.6.6-final-0, default/linux/amd64/17.1/systemd, gcc-8.2.0, glibc-2.28-r4, 4.20.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.20.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.6
KiB Mem:     8073876 total,   2527960 free
KiB Swap:   39069692 total,  39069172 free
Timestamp of repository gentoo: Mon, 31 Dec 2018 11:00:01 +0000
Head commit of repository gentoo: 0a92fb187c44a67ddfe04bb078338889ac923b2e
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/cmake:           3.13.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.14::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r3::gentoo
sys-devel/gcc:            7.3.0-r6::gentoo, 8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://ala.cmm.ki.si/portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

local
    location: /usr/local/portage
    masters: gentoo

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=corei7"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=corei7"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j 8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl alsa amarok amd64 amr ansi apache2 apng applet audacious audiofile autoipd avahi bash-completion berkdb bitmapfonts bittorrent branding bzip2 cairo canna cdparanoia cdr cjk cli clucene crypt css cups curl cxx daap dbus dcraw declarative device-mapper dga dri dv dvd dvdr dvdread emacs emovix exif extensions extras f77 faac faad fastcgi ffmpeg flac fltk fontconfig foomaticdb fortran gallium gd gdbm gdu gif gimp gimpprint gkrellm glamor glib gnome gnuplot gphoto2 gsf gstreamer gtk gtk3 gudev gzip iconv icu imagemagick introspection ipod ipv6 java javascript jbig jpeg jpeg2k kde kdrive lapack lcms legacy-systray libtirpc math matplotlib matroska mbox mdnsresponder-compat minizip mjpeg mng mozilla mp3 mpm-itk multilib multiuser musepack musicbrainz mysql mysqli ncurses network nls nptl nsplugin ogg oggvorbis openbabel openmp pam pcntl pcre pcre16 pdf perl png pnm policykit posix preview-latex printsupport pulseaudio python python3 qml qt5 readline rle rtc scanner script sdl seccomp semantic-desktop smp sndfile sockets socks5 sox spamassassin spell sql sqlite ssl static-libs svg systemd tagwriting tcl tcltk tcpd tetex tga theora threads tiff tk tracker truetype udev udisks unicode usb vcd vdr vhosts vim vim-pager vorbis webkit widgets wmf wxgtk1 x264 xattr xft xkb xml xmp xvfb xvid yv12 zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="us" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-fs/dmg2img-1.6.7::gentoo was built with the following:
USE="" ABI_X86="(64)"
Comment 1 Larry the Git Cow gentoo-dev 2018-12-31 12:22:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f4591df05a0748eadbefb847a5d362803b7edb

commit 35f4591df05a0748eadbefb847a5d362803b7edb
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-12-31 12:22:23 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-12-31 12:22:40 +0000

    sys-fs/dmg2img: Revbump to fix build against openssl-1.1
    
    bumped to EAPI-6.
    
    Closes: https://bugs.gentoo.org/674168
    Package-Manager: Portage-2.3.53, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-fs/dmg2img/dmg2img-1.6.7-r1.ebuild             |  39 ++++
 sys-fs/dmg2img/files/dmg2img-1.6.7-openssl11.patch | 202 +++++++++++++++++++++
 2 files changed, 241 insertions(+)