{"action":"created","issue":{"url":"https://api.github.com/repos/zcash/zcash/issues/3310","repository_url":"https://api.github.com/repos/zcash/zcash","labels_url":"https://api.github.com/repos/zcash/zcash/issues/3310/labels{/name}","comments_url":"https://api.github.com/repos/zcash/zcash/issues/3310/comments","events_url":"https://api.github.com/repos/zcash/zcash/issues/3310/events","html_url":"https://github.com/zcash/zcash/pull/3310","id":327936473,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNjA4OTQx","number":3310,"title":"Don't add the FORTIFY defines when using --enable-debug","user":{"login":"LarryRuane","id":8321330,"node_id":"MDQ6VXNlcjgzMjEzMzA=","avatar_url":"https://avatars2.githubusercontent.com/u/8321330?v=4","gravatar_id":"","url":"https://api.github.com/users/LarryRuane","html_url":"https://github.com/LarryRuane","followers_url":"https://api.github.com/users/LarryRuane/followers","following_url":"https://api.github.com/users/LarryRuane/following{/other_user}","gists_url":"https://api.github.com/users/LarryRuane/gists{/gist_id}","starred_url":"https://api.github.com/users/LarryRuane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarryRuane/subscriptions","organizations_url":"https://api.github.com/users/LarryRuane/orgs","repos_url":"https://api.github.com/users/LarryRuane/repos","events_url":"https://api.github.com/users/LarryRuane/events{/privacy}","received_events_url":"https://api.github.com/users/LarryRuane/received_events","type":"User","site_admin":false},"labels":[{"id":164396549,"node_id":"MDU6TGFiZWwxNjQzOTY1NDk=","url":"https://api.github.com/repos/zcash/zcash/labels/build","name":"build","color":"536666","default":false}],"state":"open","locked":false,"assignee":{"login":"LarryRuane","id":8321330,"node_id":"MDQ6VXNlcjgzMjEzMzA=","avatar_url":"https://avatars2.githubusercontent.com/u/8321330?v=4","gravatar_id":"","url":"https://api.github.com/users/LarryRuane","html_url":"https://github.com/LarryRuane","followers_url":"https://api.github.com/users/LarryRuane/followers","following_url":"https://api.github.com/users/LarryRuane/following{/other_user}","gists_url":"https://api.github.com/users/LarryRuane/gists{/gist_id}","starred_url":"https://api.github.com/users/LarryRuane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarryRuane/subscriptions","organizations_url":"https://api.github.com/users/LarryRuane/orgs","repos_url":"https://api.github.com/users/LarryRuane/repos","events_url":"https://api.github.com/users/LarryRuane/events{/privacy}","received_events_url":"https://api.github.com/users/LarryRuane/received_events","type":"User","site_admin":false},"assignees":[{"login":"LarryRuane","id":8321330,"node_id":"MDQ6VXNlcjgzMjEzMzA=","avatar_url":"https://avatars2.githubusercontent.com/u/8321330?v=4","gravatar_id":"","url":"https://api.github.com/users/LarryRuane","html_url":"https://github.com/LarryRuane","followers_url":"https://api.github.com/users/LarryRuane/followers","following_url":"https://api.github.com/users/LarryRuane/following{/other_user}","gists_url":"https://api.github.com/users/LarryRuane/gists{/gist_id}","starred_url":"https://api.github.com/users/LarryRuane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarryRuane/subscriptions","organizations_url":"https://api.github.com/users/LarryRuane/orgs","repos_url":"https://api.github.com/users/LarryRuane/repos","events_url":"https://api.github.com/users/LarryRuane/events{/privacy}","received_events_url":"https://api.github.com/users/LarryRuane/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-05-30T23:39:47Z","updated_at":"2018-08-07T18:05:52Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/zcash/zcash/pulls/3310","html_url":"https://github.com/zcash/zcash/pull/3310","diff_url":"https://github.com/zcash/zcash/pull/3310.diff","patch_url":"https://github.com/zcash/zcash/pull/3310.patch"},"body":"Fixes the following warning:\r\n\r\n```sh\r\n$ CONFIGURE_FLAGS='--enable-debug' zcutil/build.sh\r\n...\r\n/usr/include/features.h:376:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]\r\n #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)\r\n    ^~~~~~~\r\ncc1plus: all warnings being treated as errors\r\n```"},"comment":{"url":"https://api.github.com/repos/zcash/zcash/issues/comments/411148881","html_url":"https://github.com/zcash/zcash/pull/3310#issuecomment-411148881","issue_url":"https://api.github.com/repos/zcash/zcash/issues/3310","id":411148881,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTE0ODg4MQ==","user":{"login":"LarryRuane","id":8321330,"node_id":"MDQ6VXNlcjgzMjEzMzA=","avatar_url":"https://avatars2.githubusercontent.com/u/8321330?v=4","gravatar_id":"","url":"https://api.github.com/users/LarryRuane","html_url":"https://github.com/LarryRuane","followers_url":"https://api.github.com/users/LarryRuane/followers","following_url":"https://api.github.com/users/LarryRuane/following{/other_user}","gists_url":"https://api.github.com/users/LarryRuane/gists{/gist_id}","starred_url":"https://api.github.com/users/LarryRuane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarryRuane/subscriptions","organizations_url":"https://api.github.com/users/LarryRuane/orgs","repos_url":"https://api.github.com/users/LarryRuane/repos","events_url":"https://api.github.com/users/LarryRuane/events{/privacy}","received_events_url":"https://api.github.com/users/LarryRuane/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T18:05:52Z","updated_at":"2018-08-07T18:05:52Z","author_association":"CONTRIBUTOR","body":"Update: I built zcashd within docker using the following Dockerfile from @ianamunoz except (as you can see below) I added `CONFIGURE_FLAGS='--enable-debug'` to the `build.sh` command line, and the build fails in exactly the same way as on my native system. (`centos` is a type of `fedora`.) So this problem is not specific to my build environment.\r\n```\r\nFROM centos:latest\r\n\r\nRUN yum update -y\r\n\r\nRUN yum group install -y \"Development Tools\"\r\n\r\nRUN yum install -y epel-release \\\r\nopenssl-devel \\\r\ngtest-devel \\\r\nunzip git python \\\r\nwget curl \\\r\nglibc-static \\\r\nlibstdc++-static pwgen\r\n\r\n\r\nENV ZCASH_URL=https://github.com/zcash/zcash.git\r\n\r\nWORKDIR /src\r\n\r\nRUN git clone ${ZCASH_URL}\r\n\r\nWORKDIR /src/zcash\r\n\r\nENV ZCASH_VERSION=v1.1.0 \\\r\n    ZCASH_CONF=/home/zcash/.zcash/zcash.conf\r\n\r\nRUN git checkout ${ZCASH_VERSION}\r\n\r\nRUN CONFIGURE_FLAGS='--enable-debug' ./zcutil/build.sh -j$(nproc)\r\n\r\nWORKDIR /src/zcash/src\r\n\r\nRUN /usr/bin/install -c zcash-tx zcashd zcash-cli zcash-gtest -t /usr/local/bin/ && \\\r\n    adduser --uid 1000 --system zcash && \\\r\n    mkdir -p /home/zcash/.zcash/ && \\\r\n    chown -R zcash /home/zcash && \\\r\n    echo \"Success\"\r\n\r\nUSER zcash\r\nRUN echo \"rpcuser=zcash\" > ${ZCASH_CONF} && \\\r\n        echo \"rpcpassword=`pwgen 20 1`\" >> ${ZCASH_CONF} && \\\r\n        echo \"addnode=mainnet.z.cash\" >> ${ZCASH_CONF} && \\\r\n        echo \"Success\"\r\n\r\nVOLUME [\"/home/zcash/.zcash\"]\r\n```"}}
{"actor":{"display_login":"LarryRuane"}}