[MacPorts] #41213: jigdo: use of undelared identifier 'setenv' in compat.hh
#41213: jigdo: use of undelared identifier 'setenv' in compat.hh ------------------------+-------------------------------- Reporter: whcordis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: mavericks | Port: jigdo ------------------------+-------------------------------- Got the below error when attempting to compile the current version of jigdo on OS 10.9 with Xcode 5.0.1 {{{ :info:build /usr/bin/clang++ $cxx -c mktemplate.cc -o mktemplate.o :info:build In file included from compat.cc:16: :info:build In file included from cachefile.cc:17: :info:build ./compat.hh:47:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] :info:build ./compat.hh:47:25: warning: implicit conversion changes signedness: 'uint64' (aka 'unsigned long') to 'off_t' (aka 'long long') [-Wsign-conversion] :info:build return truncate(path, length); :info:build ~~~~~~~~ ^~~~~~ :info:build return truncate(path, length); :info:build ~~~~~~~~ ^~~~~~ :info:build ./compat.hh:84:11: ./compat.hh:84:11: error: use of undeclared identifier 'setenv' :info:build return (setenv(name, value, 1) == 0) ? SUCCESS : FAILURE; :info:build ^ :info:build error: use of undeclared identifier 'setenv' :info:build return (setenv(name, value, 1) == 0) ? SUCCESS : FAILURE; :info:build ^ :info:build 1 warning and 1 error generated. :info:build make[1]: *** [cachefile.o] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build 1 warning and 1 error generated. :info:build make[1]: *** [compat.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/41213> MacPorts <http://www.macports.org/> Ports system for OS X
#41213: jigdo: use of undelared identifier 'setenv' in compat.hh -------------------------+-------------------------- Reporter: whcordis@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: jigdo | -------------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <https://trac.macports.org/ticket/41213#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41213: jigdo: use of undelared identifier 'setenv' in compat.hh -------------------------+-------------------------- Reporter: whcordis@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: mavericks Port: jigdo | -------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r113020 -- Ticket URL: <https://trac.macports.org/ticket/41213#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts