{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12857","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12857/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12857/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12857/events","html_url":"https://github.com/NixOS/nixpkgs/issues/12857","id":131925651,"number":12857,"title":"closure-size: glfw3 fails to build","user":{"login":"deepfire","id":452652,"avatar_url":"https://avatars.githubusercontent.com/u/452652?v=3","gravatar_id":"","url":"https://api.github.com/users/deepfire","html_url":"https://github.com/deepfire","followers_url":"https://api.github.com/users/deepfire/followers","following_url":"https://api.github.com/users/deepfire/following{/other_user}","gists_url":"https://api.github.com/users/deepfire/gists{/gist_id}","starred_url":"https://api.github.com/users/deepfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepfire/subscriptions","organizations_url":"https://api.github.com/users/deepfire/orgs","repos_url":"https://api.github.com/users/deepfire/repos","events_url":"https://api.github.com/users/deepfire/events{/privacy}","received_events_url":"https://api.github.com/users/deepfire/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/0.kind:%20bug","name":"0.kind: bug","color":"84b6eb"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20closure-size","name":"6.topic: closure-size","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-07T02:35:30Z","updated_at":"2016-04-14T06:15:37Z","closed_at":null,"body":"Context: fresh `closure-size`.\r\n```\r\nthese derivations will be built:\r\n  /nix/store/yp8cx7js23dhgxpmpij95ll9ah7fh080-glfw-3.1.2.drv\r\nbuilding path(s) ‘/nix/store/hvy8w43602hisryrnicwcsv3wsrjia3k-glfw-3.1.2’\r\nunpacking sources\r\nunpacking source archive /nix/store/a747mian6r3k97f234h8416drz7g8qf5-GLFW-3.1.2-src\r\nsource root is GLFW-3.1.2-src\r\npatching sources\r\nconfiguring\r\nfixing cmake files...\r\ncmake flags: -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/nix/store/hvy8w43602hisryrnicwcsv3wsrjia3k-glfw-3.1.2/lib -DCMAKE_INSTALL_PREFIX=/nix/store/hvy8w43602hisryrnicwcsv3wsrjia3k-glfw-3.1.2 -DBUILD_SHARED_LIBS=ON \r\n-- The C compiler identification is GNU 4.9.3\r\n-- Check for working C compiler: /nix/store/sihykq4gh9g13ky34yx6ffdfmlw8j8pn-gcc-wrapper-4.9.3/bin/gcc\r\n-- Check for working C compiler: /nix/store/sihykq4gh9g13ky34yx6ffdfmlw8j8pn-gcc-wrapper-4.9.3/bin/gcc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Found OpenGL: /nix/store/xv82xjjs8aqfqr40kh93gyhhjbwzmiid-mesa-11.1.1/lib/libGL.so  \r\n-- Looking for pthread.h\r\n-- Looking for pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - not found\r\n-- Looking for pthread_create in pthreads\r\n-- Looking for pthread_create in pthreads - not found\r\n-- Looking for pthread_create in pthread\r\n-- Looking for pthread_create in pthread - found\r\n-- Found Threads: TRUE  \r\n-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) \r\n-- Using X11 for window creation\r\n-- Using GLX for context creation\r\n-- Looking for XOpenDisplay in /nix/store/mwbpv2zcdnq9zqvs3sx570axwjsz0w58-libX11-1.6.3/lib/libX11.so;/nix/store/c19nnxy69j2yylm90l0l08c0aqckq3cl-libXext-1.3.3/lib/libXext.so\r\n-- Looking for XOpenDisplay in /nix/store/mwbpv2zcdnq9zqvs3sx570axwjsz0w58-libX11-1.6.3/lib/libX11.so;/nix/store/c19nnxy69j2yylm90l0l08c0aqckq3cl-libXext-1.3.3/lib/libXext.so - found\r\n-- Looking for gethostbyname\r\n-- Looking for gethostbyname - found\r\n-- Looking for connect\r\n-- Looking for connect - found\r\n-- Looking for remove\r\n-- Looking for remove - found\r\n-- Looking for shmat\r\n-- Looking for shmat - found\r\n-- Looking for IceConnectionNumber in ICE\r\n-- Looking for IceConnectionNumber in ICE - found\r\n-- Found X11: /nix/store/mwbpv2zcdnq9zqvs3sx570axwjsz0w58-libX11-1.6.3/lib/libX11.so\r\nCMake Error: The following variables are used in this project, but they are set to NOTFOUND.\r\nPlease set them or make sure they are set and tested correctly in the CMake files:\r\nMATH_LIBRARY (ADVANCED)\r\n    linked by target \"boing\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/examples\r\n    linked by target \"gears\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/examples\r\n    linked by target \"heightmap\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/examples\r\n    linked by target \"particles\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/examples\r\n    linked by target \"wave\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/examples\r\n    linked by target \"simple\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/examples\r\n    linked by target \"splitview\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/examples\r\n    linked by target \"windows\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"sharing\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"tearing\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"events\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"gamma\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"title\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"threads\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"empty\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"msaa\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"glfwinfo\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"iconify\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"monitors\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"cursor\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"joysticks\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"clipboard\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"reopen\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\nRT_LIBRARY (ADVANCED)\r\n    linked by target \"particles\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/examples\r\n    linked by target \"threads\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n    linked by target \"empty\" in directory /tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/tests\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/tmp/nix-build-glfw-3.1.2.drv-0/GLFW-3.1.2-src/build/CMakeFiles/CMakeError.log\".\r\nbuilder for ‘/nix/store/yp8cx7js23dhgxpmpij95ll9ah7fh080-glfw-3.1.2.drv’ failed with exit code 1\r\n```"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/209777825","html_url":"https://github.com/NixOS/nixpkgs/issues/12857#issuecomment-209777825","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12857","id":209777825,"user":{"login":"dezgeg","id":579369,"avatar_url":"https://avatars.githubusercontent.com/u/579369?v=3","gravatar_id":"","url":"https://api.github.com/users/dezgeg","html_url":"https://github.com/dezgeg","followers_url":"https://api.github.com/users/dezgeg/followers","following_url":"https://api.github.com/users/dezgeg/following{/other_user}","gists_url":"https://api.github.com/users/dezgeg/gists{/gist_id}","starred_url":"https://api.github.com/users/dezgeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dezgeg/subscriptions","organizations_url":"https://api.github.com/users/dezgeg/orgs","repos_url":"https://api.github.com/users/dezgeg/repos","events_url":"https://api.github.com/users/dezgeg/events{/privacy}","received_events_url":"https://api.github.com/users/dezgeg/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T06:15:37Z","updated_at":"2016-04-14T06:15:37Z","body":"JFYI, additional discussion in the commit: https://github.com/NixOS/nixpkgs/commit/be90eb047c03c74ccd6ca03703fb69696fc288f8, in particular:\r\n\r\n> #14668 fixes this."}}