{"action":"closed","issue":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/554","repository_url":"https://api.github.com/repos/jcupitt/libvips","labels_url":"https://api.github.com/repos/jcupitt/libvips/issues/554/labels{/name}","comments_url":"https://api.github.com/repos/jcupitt/libvips/issues/554/comments","events_url":"https://api.github.com/repos/jcupitt/libvips/issues/554/events","html_url":"https://github.com/jcupitt/libvips/issues/554","id":188506043,"number":554,"title":"8.4.2 version doesn't compile on Centos 6","user":{"login":"raimondasv","id":8155846,"avatar_url":"https://avatars.githubusercontent.com/u/8155846?v=3","gravatar_id":"","url":"https://api.github.com/users/raimondasv","html_url":"https://github.com/raimondasv","followers_url":"https://api.github.com/users/raimondasv/followers","following_url":"https://api.github.com/users/raimondasv/following{/other_user}","gists_url":"https://api.github.com/users/raimondasv/gists{/gist_id}","starred_url":"https://api.github.com/users/raimondasv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raimondasv/subscriptions","organizations_url":"https://api.github.com/users/raimondasv/orgs","repos_url":"https://api.github.com/users/raimondasv/repos","events_url":"https://api.github.com/users/raimondasv/events{/privacy}","received_events_url":"https://api.github.com/users/raimondasv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-10T13:18:15Z","updated_at":"2016-11-10T14:36:36Z","closed_at":"2016-11-10T14:36:36Z","body":"8.4.1 works fine. Also, 8.4.2 compiles on CentOs 7 (gcc version 4.8)\r\n\r\nReproduced on vagrant's centos box (centos 6, gcc version 4.4),\r\n\r\n```\r\nyum groupinstall -y \"Development Tools\"\r\n./configure\r\nmake\r\n```\r\nProduces error below:\r\n\r\n```\r\nMaking all in iofuncs\r\nmake[3]: Entering directory `/home/vagrant/vips-8.4.2/libvips/iofuncs'\r\nglib-mkenums --template enumtemplate \\\r\n\t\t../../libvips/include/vips/resample.h ../../libvips/include/vips/memory.h ../../libvips/include/vips/create.h ../../libvips/include/vips/foreign.h ../../libvips/include/vips/conversion.h ../../libvips/include/vips/arithmetic.h ../../libvips/include/vips/util.h ../../libvips/include/vips/image.h ../../libvips/include/vips/colour.h ../../libvips/include/vips/operation.h ../../libvips/include/vips/convolution.h ../../libvips/include/vips/morphology.h ../../libvips/include/vips/draw.h ../../libvips/include/vips/basic.h ../../libvips/include/vips/object.h > xgen-getc && \\\r\n\t( cmp -s xgen-getc enumtypes.c || cp xgen-getc enumtypes.c ) && \\\r\n\trm -f xgen-getc\r\nperl: warning: Setting locale failed.\r\nperl: warning: Please check that your locale settings:\r\n\tLANGUAGE = (unset),\r\n\tLC_ALL = (unset),\r\n\tLC_CTYPE = \"UTF-8\",\r\n\tLANG = \"en_US.UTF-8\"\r\n    are supported and installed on your system.\r\nperl: warning: Falling back to the standard locale (\"C\").\r\ndepbase=`echo threadpool.lo | sed 's|[^/]*$|.deps/&|;s|\\.lo$||'`;\\\r\n\t/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -I../../libvips/include -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libpng12 -I/usr/include/glib-2.0        -g -O2 -MT threadpool.lo -MD -MP -MF $depbase.Tpo -c -o threadpool.lo threadpool.c &&\\\r\n\tmv -f $depbase.Tpo $depbase.Plo\r\nlibtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../libvips/include -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -g -O2 -MT threadpool.lo -MD -MP -MF .deps/threadpool.Tpo -c threadpool.c  -fPIC -DPIC -o .libs/threadpool.o\r\n../../libtool: line 1765: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory\r\nthreadpool.c: In function 'vips_thread_run':\r\nthreadpool.c:189: error: lvalue required as left operand of assignment\r\nmake[3]: *** [threadpool.lo] Error 1\r\nmake[3]: Leaving directory `/home/vagrant/vips-8.4.2/libvips/iofuncs'\r\nmake[2]: *** [all-recursive] Error 1\r\nmake[2]: Leaving directory `/home/vagrant/vips-8.4.2/libvips'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/home/vagrant/vips-8.4.2'\r\nmake: *** [all] Error 2\r\n```"}}
{"actor":{"display_login":"jcupitt"}}