{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/51093","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/51093/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/51093/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/51093/events","html_url":"https://github.com/NixOS/nixpkgs/issues/51093","id":384614324,"node_id":"MDU6SXNzdWUzODQ2MTQzMjQ=","number":51093,"title":"postgresql parallel builds fail on Darwin","user":{"login":"endgame","id":231483,"node_id":"MDQ6VXNlcjIzMTQ4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/231483?v=4","gravatar_id":"","url":"https://api.github.com/users/endgame","html_url":"https://github.com/endgame","followers_url":"https://api.github.com/users/endgame/followers","following_url":"https://api.github.com/users/endgame/following{/other_user}","gists_url":"https://api.github.com/users/endgame/gists{/gist_id}","starred_url":"https://api.github.com/users/endgame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endgame/subscriptions","organizations_url":"https://api.github.com/users/endgame/orgs","repos_url":"https://api.github.com/users/endgame/repos","events_url":"https://api.github.com/users/endgame/events{/privacy}","received_events_url":"https://api.github.com/users/endgame/received_events","type":"User","site_admin":false},"labels":[{"id":90308187,"node_id":"MDU6TGFiZWw5MDMwODE4Nw==","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20darwin","name":"6.topic: darwin","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-27T04:14:18Z","updated_at":"2018-11-27T20:30:17Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Issue description\r\n\r\nWhile trying to fix #50902 I was unable to build `postgresql`. The important lines from the build log ([full log](https://github.com/NixOS/nixpkgs/files/2617687/build.log)) seem to be:\r\n\r\n```\r\nar crs libpgtypes.a numeric.o datetime.o common.o dt_common.o timestamp.o interval.o pgstrcasecmp.o\r\necho 'Libs: -L/nix/store/7l8df1na81psj9cx56yjs4m9084nrayr-postgresql-9.6.10-lib/lib -lecpg_compat' >>libecpg_compat.pc\r\nerror: /nix/store/p1zg3dnaaglqm34pq12ynfa2pc3r2lq8-cctools-port-895/bin/ranlib: can't open file: libpgtypes.a (No such file or directory)\r\nar: internal ranlib command failed\r\nmake[5]: *** [../../../../src/Makefile.shlib:306: libpgtypes.a] Error 1\r\n```\r\n\r\nThe build succeeds with `nix-build --cores 1 --max-jobs 1 -E 'let nixpkgs = import (builtins.fetchTarball { url = \"https://github.com/endgame/nixpkgs/archive/bc565bba2762edf12a40fb0c153d676e66e28faa.tar.gz\"; sha256 = \"1hdcg4b84c0mw959d6x9pxal95j58ks82fpfsy5sbazs6s40hdhy\"; }) {}; in nixpkgs.haskellPackages.postgresql-libpq'`\r\n\r\n### Steps to reproduce\r\n\r\nThis build may fail:\r\n```\r\nnix-build -E 'let nixpkgs = import (builtins.fetchTarball { url = \"https://github.com/endgame/nixpkgs/archive/bc565bba2762edf12a40fb0c153d676e66e28faa.tar.gz\"; sha256 = \"1hdcg4b84c0mw959d6x9pxal95j58ks82fpfsy5sbazs6s40hdhy\"; }) {}; in nixpkgs.haskellPackages.postgresql-libpq'\r\n```\r\n\r\n(While it points to a commit in my fork of nixpkgs, this fork does not change the `postgresql` package. It updates something that depends on `postgresql` which I still haven't got building on Darwin.)\r\n\r\n## Technical details\r\n\r\n`nix-info -m`:\r\n```\r\n - system: `\"x86_64-darwin\"`\r\n - host os: `Darwin 17.7.0, macOS 10.13.6`\r\n - multi-user?: `no`\r\n - sandbox: `no`\r\n - version: `nix-env (Nix) 2.1.3`\r\n - channels(che347): `\"nixpkgs-19.03pre159614.f52b7f5c345, nixpkgs-18.09-darwin-18.09pre152973.012b9e6c219\"`\r\n - nixpkgs: `/Users/che347/.nix-defexpr/channels/nixpkgs`\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/442205927","html_url":"https://github.com/NixOS/nixpkgs/issues/51093#issuecomment-442205927","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/51093","id":442205927,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjIwNTkyNw==","user":{"login":"alyssais","id":2768870,"node_id":"MDQ6VXNlcjI3Njg4NzA=","avatar_url":"https://avatars3.githubusercontent.com/u/2768870?v=4","gravatar_id":"","url":"https://api.github.com/users/alyssais","html_url":"https://github.com/alyssais","followers_url":"https://api.github.com/users/alyssais/followers","following_url":"https://api.github.com/users/alyssais/following{/other_user}","gists_url":"https://api.github.com/users/alyssais/gists{/gist_id}","starred_url":"https://api.github.com/users/alyssais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alyssais/subscriptions","organizations_url":"https://api.github.com/users/alyssais/orgs","repos_url":"https://api.github.com/users/alyssais/repos","events_url":"https://api.github.com/users/alyssais/events{/privacy}","received_events_url":"https://api.github.com/users/alyssais/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T20:30:17Z","updated_at":"2018-11-27T20:30:17Z","author_association":"CONTRIBUTOR","body":"Do we know if that failure in the IRC logs you linked was on Darwin? We could disable parallel building on Darwin, but if this affects Linux too we'd be better doing both."}}
{"actor":{"display_login":"alyssais"}}