Skip to content

Instantly share code, notes, and snippets.

@gilligan
Created August 5, 2016 08:44
Show Gist options
  • Select an option

  • Save gilligan/ce346f7fa763748408a6bdb3971d09b8 to your computer and use it in GitHub Desktop.

Select an option

Save gilligan/ce346f7fa763748408a6bdb3971d09b8 to your computer and use it in GitHub Desktop.
Running Mkbootstrap for WWW::Curl ()
chmod 644 "Curl.bs"
"/nix/store/mbqh1c89k81ayk0vj8gydibb2n33b6ir-perl-5.22.2/bin/perl" "-Iinc" "/nix/store/mbqh1c89k81ayk0vj8gydibb2n33b6ir-perl-5.22.2/lib/perl5/5.22.2/ExtUtils/xsubpp" -typemap "/nix/store/mbqh1c89k81ayk0vj8gydibb2n33b6ir-perl-5.22.2/lib/perl5/5.22.2/ExtUtils/typemap" -typemap "typemap" Curl.xs > Curl.xsc && mv Curl.xsc Curl.c
cc -c -I/nix/store/b61scv9cqakq6ibcn92gs4li9napy3na-curl-7.50.1-dev/include -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -I/no-such-path/include -DPERL_USE_SAFE_PUTENV -O3 -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" "-I/nix/store/mbqh1c89k81ayk0vj8gydibb2n33b6ir-perl-5.22.2/lib/perl5/5.22.2/darwin-2level/CORE" Curl.c
In file included from Curl.xs:574:
./curlopt-constants.c:19:58: error: non-void function 'constant' should return a value [-Wreturn-type]
if (strEQ(name, "DID_MEMORY_FUNC_TYPEDEFS")) return CURL_DID_MEMORY_FUNC_TYPEDEFS;
^
./curlopt-constants.c:1935:44: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551599 to -17 [-Wconstant-conversion]
if (strEQ(name, "ANY")) return CURLAUTH_ANY;
~~~~~~ ^~~~~~~~~~~~
/nix/store/b61scv9cqakq6ibcn92gs4li9napy3na-curl-7.50.1-dev/include/curl/curl.h:674:32: note: expanded from macro 'CURLAUTH_ANY'
#define CURLAUTH_ANY (~CURLAUTH_DIGEST_IE)
^~~~~~~~~~~~~~~~~~~
In file included from Curl.xs:574:
./curlopt-constants.c:1936:48: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551598 to -18 [-Wconstant-conversion]
if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE;
~~~~~~ ^~~~~~~~~~~~~~~~
/nix/store/b61scv9cqakq6ibcn92gs4li9napy3na-curl-7.50.1-dev/include/curl/curl.h:675:32: note: expanded from macro 'CURLAUTH_ANYSAFE'
#define CURLAUTH_ANYSAFE (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings and 1 error generated.
make: *** [Makefile:357: Curl.o] Error 1
builder for ‘/nix/store/cnhg2avbbq6b8q31gb55wiv9ipbsa4sj-perl-WWW-Curl-4.17.drv’ failed with exit code 2
error: build of ‘/nix/store/cnhg2avbbq6b8q31gb55wiv9ipbsa4sj-perl-WWW-Curl-4.17.drv’ failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment