Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600618 - gnustep-base/gnustep-gui-0.24.0 won't compile with media-libs/giflib-5.1.4
Summary: gnustep-base/gnustep-gui-0.24.0 won't compile with media-libs/giflib-5.1.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: giflib-5
  Show dependency tree
 
Reported: 2016-11-23 20:27 UTC by Jens
Modified: 2017-01-15 22:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2016-11-23 20:27:01 UTC
After portage tree update, giflib-4 has been updated to giflib-5, now gnustep-gui won't compile anymore.

Reproducible: Always

Steps to Reproduce:
1. have gnustep-gui-0.24.0 installed with giflib-4.1.6
2. update portage
3. update giflib to stable 5.1.4
4. emerge @preserved-rebuild to rebuild gnustep-gui, does not compile
Actual Results:  
NSBitmapImageRep+GIF.m: In function ‘+[NSBitmapImageRep(GIFReading) _bitmapIsGIF:]’:
NSActionCell.m: In function ‘-[NSActionCell initWithCoder:]’:
NSBitmapImageRep+GIF.m:164:3: error: too few arguments to function ‘DGifCloseFile’
   DGifCloseFile(file);
   ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
NSBitmapImageRep+GIF.m: In function ‘-[NSBitmapImageRep(GIFReading) _initBitmapFromGIF:errorMessage:]’:
NSBitmapImageRep+GIF.m:183:8: error: too few arguments to function ‘DGifCloseFile’
        DGifCloseFile(file); \
        ^
NSBitmapImageRep+GIF.m:239:7: note: in expansion of macro ‘GIF_CREATE_ERROR’
       GIF_CREATE_ERROR(@"unable to open gif from data");
       ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
NSBitmapImageRep+GIF.m:183:8: error: too few arguments to function ‘DGifCloseFile’
        DGifCloseFile(file); \
        ^
NSBitmapImageRep+GIF.m:250:7: note: in expansion of macro ‘GIF_CREATE_ERROR’
       GIF_CREATE_ERROR(@"could not allocate input buffer");
       ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
NSBitmapImageRep+GIF.m:183:8: error: too few arguments to function ‘DGifCloseFile’
        DGifCloseFile(file); \
        ^
NSBitmapImageRep+GIF.m:198:8: note: in expansion of macro ‘GIF_CREATE_ERROR’
        GIF_CREATE_ERROR(msg);\
        ^
NSBitmapImageRep+GIF.m:264:7: note: in expansion of macro ‘CALL_CHECKED’
       CALL_CHECKED(DGifGetRecordType(file, &recordType), @"GetRecordType");
       ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
NSBitmapImageRep+GIF.m:183:8: error: too few arguments to function ‘DGifCloseFile’
        DGifCloseFile(file); \
        ^
NSBitmapImageRep+GIF.m:198:8: note: in expansion of macro ‘GIF_CREATE_ERROR’
        GIF_CREATE_ERROR(msg);\
        ^
NSBitmapImageRep+GIF.m:269:8: note: in expansion of macro ‘CALL_CHECKED’
        CALL_CHECKED(DGifGetImageDesc(file), @"GetImageDesc");
        ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
NSBitmapImageRep+GIF.m:183:8: error: too few arguments to function ‘DGifCloseFile’
        DGifCloseFile(file); \
        ^
NSBitmapImageRep+GIF.m:279:6: note: in expansion of macro ‘GIF_CREATE_ERROR’
      GIF_CREATE_ERROR(@"image does not fit into screen dimensions");
      ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
NSBitmapImageRep+GIF.m:183:8: error: too few arguments to function ‘DGifCloseFile’
        DGifCloseFile(file); \
        ^
NSBitmapImageRep+GIF.m:198:8: note: in expansion of macro ‘GIF_CREATE_ERROR’
        GIF_CREATE_ERROR(msg);\
        ^
NSBitmapImageRep+GIF.m:291:6: note: in expansion of macro ‘CALL_CHECKED’
      CALL_CHECKED(DGifGetLine(file, imgBufferPos, imgWidth),
      ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
NSBitmapImageRep+GIF.m:183:8: error: too few arguments to function ‘DGifCloseFile’
        DGifCloseFile(file); \
        ^
NSBitmapImageRep+GIF.m:198:8: note: in expansion of macro ‘GIF_CREATE_ERROR’
        GIF_CREATE_ERROR(msg);\
        ^
NSBitmapImageRep+GIF.m:302:9: note: in expansion of macro ‘CALL_CHECKED’
         CALL_CHECKED(DGifGetLine(file, imgBufferPos, imgWidth),
         ^
NSActionCell.m:401:10: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable]
       id dummy;
          ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
NSBitmapImageRep+GIF.m:183:8: error: too few arguments to function ‘DGifCloseFile’
        DGifCloseFile(file); \
        ^
NSBitmapImageRep+GIF.m:198:8: note: in expansion of macro ‘GIF_CREATE_ERROR’
        GIF_CREATE_ERROR(msg);\
        ^
NSBitmapImageRep+GIF.m:313:8: note: in expansion of macro ‘CALL_CHECKED’
        CALL_CHECKED(DGifGetExtension(file, &extCode, &extension), @"GetExtension");
        ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
NSBitmapImageRep+GIF.m:183:8: error: too few arguments to function ‘DGifCloseFile’
        DGifCloseFile(file); \
        ^
NSBitmapImageRep+GIF.m:198:8: note: in expansion of macro ‘GIF_CREATE_ERROR’
        GIF_CREATE_ERROR(msg);\
        ^
NSBitmapImageRep+GIF.m:323:5: note: in expansion of macro ‘CALL_CHECKED’
     CALL_CHECKED(DGifGetExtensionNext(file, &extension), @"GetExtensionNext");
     ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
NSBitmapImageRep+GIF.m:183:8: error: too few arguments to function ‘DGifCloseFile’
        DGifCloseFile(file); \
        ^
NSBitmapImageRep+GIF.m:344:7: note: in expansion of macro ‘GIF_CREATE_ERROR’
       GIF_CREATE_ERROR(@"could not allocate image buffer");
       ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
NSBitmapImageRep+GIF.m:395:3: error: too few arguments to function ‘DGifCloseFile’
   DGifCloseFile(file);
   ^
In file included from NSBitmapImageRep+GIF.m:51:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
/usr/share/GNUstep/Makefiles/rules.make:468: recipe for target 'obj/libgnustep-gui.obj/NSBitmapImageRep+GIF.m.o' failed
make[4]: *** [obj/libgnustep-gui.obj/NSBitmapImageRep+GIF.m.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/share/GNUstep/Makefiles/Instance/library.make:275: recipe for target 'internal-library-all_' failed
make[3]: *** [internal-library-all_] Error 2
/usr/share/GNUstep/Makefiles/Master/rules.make:298: recipe for target 'libgnustep-gui.all.library.variables' failed
make[2]: *** [libgnustep-gui.all.library.variables] Error 2
/usr/share/GNUstep/Makefiles/Master/library.make:37: recipe for target 'internal-all' failed
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory '/var/tmp/portage/gnustep-base/gnustep-gui-0.24.0/work/gnustep-gui-0.24.0/Source'
/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: recipe for target 'internal-all' failed
make: *** [internal-all] Error 2
 * ERROR: gnustep-base/gnustep-gui-0.24.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=gnustep-base/gnustep-gui-0.24.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnustep-base/gnustep-gui-0.24.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-gui-0.24.0/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/gnustep-gui-0.24.0/temp/environment'.
 * Working directory: '/var/tmp/portage/gnustep-base/gnustep-gui-0.24.0/work/gnustep-gui-0.24.0'
 * S: '/var/tmp/portage/gnustep-base/gnustep-gui-0.24.0/work/gnustep-gui-0.24.0'



# emerge --info '=gnustep-base/gnustep-gui-0.24.0::gentoo'
Portage 2.3.0 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.22-r4, 4.7.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.7.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:    32829780 total,  27072064 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 23 Nov 2016 00:45:02 +0000
sh bash 4.3_p48
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

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

rion
    location: /var/lib/layman/rion
    masters: gentoo
    priority: 0

bumblebee
    location: /var/lib/layman/bumblebee
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j20"
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 accessibility ace acl acpi aio alsa amd64 archive aura bash-completion bbswitch berkdb bluetooth bluray bmp boost branding bzip2 bzr cairo cdda cdr clang cli client consolekit corefonts cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fat ffmpeg fftw fingerprint firefox flac fontconfig fortran fuse gdbm gif glamor gphoto2 gpm gtk gzip hddtemp iconv icu ipv6 java jpeg kde kdm kipi lame lcms lha libnotify lm_sensors lzma lzo mad minizip mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ntfs nvidia ogg opengl openmp openssl opus oscar pam pango pcre pdf pdfimport pgo plasma png policykit ppds pulseaudio python qml qt3support qt4 qt5 rar readline samba sdl seccomp semantic-desktop session smbclient spell sse sse2 sse4 sse4_1 ssl ssse3 startup-notification svg system-boost system-cairo system-crontab system-cxx-headers system-ffmpeg system-icu system-jpeg system-libs system-mupdf system-qt system-sqlite tcpd theora threads tiff touchpad truetype udev udisks unicode upower usb v4l vdpau video videos vlc vnc vorbis webm widgets wifi winbind wxwidgets x264 xattr xcb xcomposite xfs xinerama xml xorg xscreensaver xv xvfb xvid zip 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" 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 itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" L10N="en en-GB en-US de eo" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB en_US de de_DE eo" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_4 python2_7" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel modesetting nouveau" 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.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

gnustep-base/gnustep-gui-0.24.0::gentoo was built with the following:
USE="cups gif jpeg png -debug -doc -speech" ABI_X86="64"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
Comment 1 Pacho Ramos gentoo-dev 2016-11-28 16:07:03 UTC
What about gnustep-base/gnustep-gui-0.25.1?
Comment 2 Bernard Cafarelli gentoo-dev 2016-11-29 17:45:27 UTC
I *think* 0.24.1 (stable candidate in #579232) works with giflib-5. But yes, worst case current ~arch version does work with =giflib-5.1.4
Comment 3 Pacho Ramos gentoo-dev 2016-12-21 20:15:02 UTC
is 0.24.1 working or we need to stabilize a newer version?
Comment 4 Bernard Cafarelli gentoo-dev 2017-01-15 22:14:31 UTC
Stable version is now 0.25.0, so everything should be OK now here