{"action":"created","issue":{"url":"https://api.github.com/repos/Linuxbrew/brew/issues/130","repository_url":"https://api.github.com/repos/Linuxbrew/brew","labels_url":"https://api.github.com/repos/Linuxbrew/brew/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/Linuxbrew/brew/issues/130/comments","events_url":"https://api.github.com/repos/Linuxbrew/brew/issues/130/events","html_url":"https://github.com/Linuxbrew/brew/issues/130","id":182001870,"number":130,"title":"fontconfig fails to build: undefined XML elements","user":{"login":"aktau","id":189413,"avatar_url":"https://avatars.githubusercontent.com/u/189413?v=3","gravatar_id":"","url":"https://api.github.com/users/aktau","html_url":"https://github.com/aktau","followers_url":"https://api.github.com/users/aktau/followers","following_url":"https://api.github.com/users/aktau/following{/other_user}","gists_url":"https://api.github.com/users/aktau/gists{/gist_id}","starred_url":"https://api.github.com/users/aktau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aktau/subscriptions","organizations_url":"https://api.github.com/users/aktau/orgs","repos_url":"https://api.github.com/users/aktau/repos","events_url":"https://api.github.com/users/aktau/events{/privacy}","received_events_url":"https://api.github.com/users/aktau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Linuxbrew/brew/labels/build-error","name":"build-error","color":"b60205"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-10-10T12:24:37Z","updated_at":"2016-10-21T05:55:14Z","closed_at":null,"body":"Running `brew install gnuplot` on Linux (ubuntu 14.04) fails.\r\n\r\n```\r\nBrew doctor: clean\r\n$ brew --version\r\nHomebrew 1.0.6-2-gcdb9b18\r\nHomebrew/homebrew-core (git revision 4457b; last commit 2016-10-09)\r\n```\r\n\r\nOutput (mercifully short):\r\n\r\n```\r\n$ brew install gnuplot\r\n==> Installing dependencies for gnuplot: fontconfig, jpeg, libtiff, webp, gd, homebrew/dupes/ncurses, readline, lua\r\n==> Installing gnuplot dependency: fontconfig\r\nWarning: Building fontconfig from source:\r\n  The bottle needs to be installed into /home/linuxbrew/.linuxbrew.\r\n==> Downloading https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.12.1.tar.bz2\r\nAlready downloaded: /usr/local/google/home/aktau/.cache/Homebrew/fontconfig-2.12.1.tar.bz2\r\n==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/3790bcd/fontconfig/patch-2.12.1-fccache.diff\r\nAlready downloaded: /usr/local/google/home/aktau/.cache/Homebrew/fontconfig--patch-e7c074109a367bf3966578034b20d11f7e0b4a611785a040aef1fd11359af04d.diff\r\n==> Patching\r\n==> Applying patch-2.12.1-fccache.diff\r\npatching file src/fccache.c\r\n==> ./configure --disable-silent-rules --enable-static --with-add-fonts=/System/Library/Fonts,/Library/Fonts,~/Library/Fonts --\r\n==> make install RUN_FC_CACHE_TEST=false\r\nLast 15 lines from /usr/local/google/home/aktau/.cache/Homebrew/Logs/fontconfig/02.make:\r\nnsgmls:/tmp/fontconfig-20161010-26252-1xrarg2/fontconfig-2.12.1/doc/local-fontconfig-user.sgml:532:53:E: element \"LITERAL\" undefined\r\nnsgmls:/tmp/fontconfig-20161010-26252-1xrarg2/fontconfig-2.12.1/doc/local-fontconfig-user.sgml:535:11:E: element \"REFSECT2\" undefined\r\nnsgmls:/tmp/fontconfig-20161010-26252-1xrarg2/fontconfig-2.12.1/doc/local-fontconfig-user.sgml:536:10:E: element \"TITLE\" undefined\r\nnsgmls:/tmp/fontconfig-20161010-26252-1xrarg2/fontconfig-2.12.1/doc/local-fontconfig-user.sgml:536:19:E: element \"LITERAL\" undefined\r\nnsgmls:/tmp/fontconfig-20161010-26252-1xrarg2/fontconfig-2.12.1/doc/local-fontconfig-user.sgml:536:50:E: element \"LITERAL\" undefined\r\nnsgmls:/tmp/fontconfig-20161010-26252-1xrarg2/fontconfig-2.12.1/doc/local-fontconfig-user.sgml:536:85:E: element \"LITERAL\" undefined\r\nnsgmls:/tmp/fontconfig-20161010-26252-1xrarg2/fontconfig-2.12.1/doc/local-fontconfig-user.sgml:536:118:E: element \"LITERAL\" undefined\r\nnsgmls:I: maximum number of errors (200) reached; change with -E option\r\nCan't call method \"value\" on an undefined value at /usr/share/perl5/sgmlspl-specs/docbook2man-spec.pl line 249, <STDIN> line 1.\r\nmake[2]: *** [fonts-conf.5] Error 8\r\nmake[2]: *** Waiting for unfinished jobs....\r\nmake[2]: Leaving directory `/tmp/fontconfig-20161010-26252-1xrarg2/fontconfig-2.12.1/doc'\r\nmake[1]: *** [install] Error 2\r\nmake[1]: Leaving directory `/tmp/fontconfig-20161010-26252-1xrarg2/fontconfig-2.12.1/doc'\r\nmake: *** [install-recursive] Error 1\r\n\r\nREAD THIS: https://github.com/Linuxbrew/brew/blob/master/docs/Troubleshooting.md#troubleshooting\r\nIf reporting this issue please do so at (not Homebrew/brew):\r\n  https://github.com/Linuxbrew/homebrew-core/issues\r\n```\r\n\r\nCould be an out-of-date docbook package? Ref: https://groups.google.com/forum/?hl=en#!msg/comp.text.sgml/Lwiy5mgSnU4/stdIqywv85gJ.\r\n\r\nMine is:\r\n\r\n```\r\n$ apt list 'docbook' 2>/dev/null | awk '{print $2}'\r\n4.5-5.1ubuntu1\r\n```\r\n\r\n`docbook2man-spec.pl`\r\nSeems to be part of docbook-utils on Debian-alikes: https://packages.debian.org/jessie/docbook-utils\r\n\r\nI found similar issues being reported in https://github.com/Linuxbrew/legacy-linuxbrew/issues/164.\r\n\r\nSo, is disabling the docs for fontconfig still the recommended solution (https://github.com/cbeck88/linuxbrew/commit/2355b318955440c1689f552530806fb7997546ef)? If not, how should I go for it?"},"comment":{"url":"https://api.github.com/repos/Linuxbrew/brew/issues/comments/255300045","html_url":"https://github.com/Linuxbrew/brew/issues/130#issuecomment-255300045","issue_url":"https://api.github.com/repos/Linuxbrew/brew/issues/130","id":255300045,"user":{"login":"aktau","id":189413,"avatar_url":"https://avatars.githubusercontent.com/u/189413?v=3","gravatar_id":"","url":"https://api.github.com/users/aktau","html_url":"https://github.com/aktau","followers_url":"https://api.github.com/users/aktau/followers","following_url":"https://api.github.com/users/aktau/following{/other_user}","gists_url":"https://api.github.com/users/aktau/gists{/gist_id}","starred_url":"https://api.github.com/users/aktau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aktau/subscriptions","organizations_url":"https://api.github.com/users/aktau/orgs","repos_url":"https://api.github.com/users/aktau/repos","events_url":"https://api.github.com/users/aktau/events{/privacy}","received_events_url":"https://api.github.com/users/aktau/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T05:55:14Z","updated_at":"2016-10-21T05:55:14Z","body":"Scratch my last comment, those lines are still present, there's no diff after installing those perl libraries."}}
{"actor":{"display_login":"aktau"}}