Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618172 - media-libs/vigra-1.11.0 with sys-devel/gcc-7 - imagecontainer.hxx: ?
Summary: media-libs/vigra-1.11.0 with sys-devel/gcc-7 - imagecontainer.hxx: ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PATCH
: 646086 (view as bug list)
Depends on:
Blocks: gcc-7
  Show dependency tree
 
Reported: 2017-05-11 08:00 UTC by milan hodoscek
Modified: 2018-06-06 22:04 UTC (History)
7 users (show)

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


Attachments
fix for gcc-7 in imagecontainer.hxx (gcc7_fix.patch,546 bytes, patch)
2017-05-11 08:02 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 2017-05-11 08:00:50 UTC
gcc-7.1 does not ignore changing the cons parameter, so a fix is provided for imagecontainer.hxx from upstream development
Comment 1 milan hodoscek 2017-05-11 08:02:04 UTC
Created attachment 472314 [details, diff]
fix for gcc-7 in imagecontainer.hxx

fix from upstream
Comment 2 milan hodoscek 2017-05-11 08:05:14 UTC
Portage 2.3.5 (python 3.5.3-final-0, default/linux/amd64/13.0/systemd, gcc-7.1.0, glibc-2.24-r1, 4.11.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.11.0-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E31245_@_3.30GHz-with-gentoo-2.3
KiB Mem:    16325540 total,  10538028 free
KiB Swap:    3940672 total,   3939904 free
Timestamp of repository gentoo: Thu, 11 May 2017 06:00:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo
dev-util/cmake:           3.8.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.25::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            4.8.5::gentoo, 5.4.0-r3::gentoo, 6.3.0::gentoo, 7.1.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://s6/portage
    priority: -1000

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

flatpak-overlay
    location: /var/lib/layman/flatpak-overlay
    masters: gentoo
    priority: 50

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

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

Installed sets: @kde-apps-next, @kde-frameworks-live, @kde-plasma-live, @mykde
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/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /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"
EMERGE_DEFAULT_OPTS="--quiet-build=n --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=corei7"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
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 aacplus aalib acl alac alsa amd64 amr ansi apache2 apng applet assistant audacious audiofile autoipd avahi berkdb bitmapfonts bittorrent boost branding btrfs bzip2 cairo canna cdda cdio cdr cjk clang cli clozurecl clucene cracklib crossdev crypt css curl cxx daap dbus dconf dcraw declarative demosaic device-mapper dga dirac dri dv dvd dvdr dvdread eds egl emacs emovix encode eps exif extensions extra extras f77 faac faad fastcgi fdk ffmpeg flac fltk fontconfig foomaticdb fortran fortran2003 fortran95 frei0r g3dvl gcj gd gdbm gdu gif gimp gimpprint gkrellm glamor gles2 glib gnuplot gphoto2 gsf gstreamer gtk gtk3 gudev gzip hdri hwdb hwinfo iconv icu imagemagick infinality introspection ipv6 java javascript jbig jpeg jpeg2k kde kdenlive kdepim kdrive lapack latex lcms ldap legacy-systray libinput libkms libxml2 lxc mad matplotlib matroska mbox mdnsresponder-compat melt minizip mjpeg mng modemmanager modules mozilla mp3 mp4 mpm-itk multilib multiuser musepack musicbrainz mysql native-exceptions ncurses network networkmanager nftables nls nptl nsplugin nss numpy objc offensive ogg oggvorbis openbabel openexr opengl openmp opus pam pcntl pcre pcre16 pdf perl plasma plotutils png pnm policykit posix postscript preview-latex printsupport private-headers pstricks pulseaudio python python3 qml qt3support qt5 rar readline rendering rle romio rtc sasl schroedinger scipy script scripttools sdl seccomp semantic-desktop session smp smpeg sna sndfile sockets socks5 sox speex spell sql sqlite ssl staging static-libs svc svg systemd tagwriting tbb tcl tcltk tcpd tetex tga theora threads tiff tk tracker truetype udev udisks unicode upcall usb uvm vaapi vala vcd vdr vhosts vim vim-pager vorbis vpx wav wavpack webm webp widgets winbind wmf wxgtk1 x264 xattr xcb xetex xft xinerama xkb xml xmp xorg xvfb xvid xvmc yv12 zlib" ABI_X86="64 32" 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="krita 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" CURL_SSL="nss" 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" GRUB_PLATFORMS="efi-64" 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" LINGUAS="us" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby24" 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"
USE_PYTHON="2.7 3.5 3.6"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

media-libs/vigra-1.11.0::gentoo was built with the following:
USE="fftw hdf5 jpeg openexr png python tiff -doc -mpi -test -valgrind" ABI_X86="64" PYTHON_TARGETS="python2_7"
Comment 3 Matthias Maier gentoo-dev 2017-09-14 19:29:43 UTC
Fixed in vigra-1.11.0.
Comment 4 Thomas Bettler 2018-02-01 06:42:37 UTC
I can confirm this patch is applied correctly and compiles fine with gcc-7.3
Therefore I propose --> RESOLVED
Comment 5 Peter Levine 2018-03-26 04:57:12 UTC
The patch is correct and the changes accepted upstream at https://github.com/ukoethe/vigra/commit/18675a51fca27b324eb4e4b49593bcee9bc4535e#diff-866a4373ca70b43a75be42e0f9660d8c.

It builds fine with gcc-7.3.0-r1.  This bug can be closed.
Comment 6 Pacho Ramos gentoo-dev 2018-04-03 10:27:01 UTC
*** Bug 646086 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2018-06-06 22:04:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6200a622d868d134deaa27d0de9a6e5b20e007c7

commit 6200a622d868d134deaa27d0de9a6e5b20e007c7
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-06-06 22:04:25 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-06-06 22:04:40 +0000

    media-libs/vigra: Remove old
    
    Bug: https://bugs.gentoo.org/618172
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/vigra/Manifest                          |  1 -
 .../vigra/files/vigra-1.9.0-automagicness.patch    | 74 ----------------
 media-libs/vigra/vigra-1.9.0.ebuild                | 98 ----------------------
 3 files changed, 173 deletions(-)