Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639010 - =media-gfx/geeqie-1.2.2-r2 FTBFS with sys-devel/gcc-6.4.0: left operand of shift expression ‘(-1 << 8)’ is negative
Summary: =media-gfx/geeqie-1.2.2-r2 FTBFS with sys-devel/gcc-6.4.0: left operand of sh...
Status: RESOLVED DUPLICATE of bug 626422
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-27 20:44 UTC by Petr Pisar
Modified: 2017-11-28 10:05 UTC (History)
0 users

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 Petr Pisar 2017-11-27 20:44:15 UTC
Since sys-devel/gcc-6.4.0 has been stabilized on amd64, =media-gfx/geeqie-1.2.2-r2, latest stable ebuild, fails to build with this error:

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..    -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2        -I.. -I.. -march=nocona -O2 -pipe -c -o exiv2.o exiv2.cc
In file included from main.h:113:0,
                 from exiv2.cc:59:
typedefs.h:163:40: error: left operand of shift expression ‘(-1 << 8)’ is negative [-fpermissive]
  CHANGE_ERROR_MASK              = (~0) << 8, /* the values below are fatal errors */
                                   ~~~~~^~~~
typedefs.h:163:43: error: enumerator value for ‘CHANGE_ERROR_MASK’ is not an integer constant
  CHANGE_ERROR_MASK              = (~0) << 8, /* the values below are fatal errors */

This was reported to upstream <https://github.com/BestImageViewer/geeqie/issues/230> and fixed with commit <https://github.com/BestImageViewer/geeqie/commit/b5fef3db36186993d711878b5ae687138747c732>. Since then upstream released geeqie-1.3.

Please apply the upstream fix or stabilize 1.3 version that contains the fix.
Comment 1 Bernard Cafarelli gentoo-dev 2017-11-28 10:05:57 UTC
Thanks for the report, sorry stabilization in bug #626422 took some time (but was done yesterday)

*** This bug has been marked as a duplicate of bug 626422 ***