Yup, down that rabbit hole. Thanks for the inspiration, I hope this is it!
(Now, as to why this started happening now, when I've been building against 10.7 for 7+ months, is an investigation for another day.) Adam Wolf On Mon, Apr 27, 2015 at 11:15 AM, Garth Corral <gcor...@abode.com> wrote: > Okay, just very quickly, and again, probably can’t get back to this today, > but in boost/libs/filesystem/src/operations.cpp, there’s this bit of code: > > # if defined(AT_FDCWD) && defined(AT_SYMLINK_NOFOLLOW) \ > && !(defined(__SUNPRO_CC) || defined(sun)) \ > && !(defined(linux) || defined(__linux) || defined(__linux__)) > if (::fchmodat(AT_FDCWD, p.c_str(), mode_cast(prms), > !(prms & symlink_perms) ? 0 : AT_SYMLINK_NOFOLLOW)) > # else // fallback if fchmodat() not supported > if (::chmod(p.c_str(), mode_cast(prms))) > # endif > > On a 10.10 system with a deployment target of 10.10, this will compile in > the fchmodat call. Subsequently linking kicad with the 10.7 deployment > target would likely give the errors you’re seeing. The deployment target > for boost needs to match kicad. > > Garth > > > On Apr 27, 2015, at 8:56 AM, Garth Corral <gcor...@abode.com> wrote: > > Hi, Adam. Sorry I hadn’t looked at this previously, I’ve not seen this > issue. > > I likely won’t have a chance to look at this until late today at the > earliest, but just a quick glance makes me suspect a deployment target > issue. I don’t have a system on which to verify at the moment, but I don’t > think fchmodat was supported prior to 10.10. > > > Garth > > > On Apr 27, 2015, at 7:56 AM, Adam Wolf <adamw...@feelslikeburning.com> > wrote: > > Hmm. This is starting to concern me. > > When I checked out KiCad from source, and ran an appropriate cmake/make > against it, this happened again. > > When I reran cmake/make in my existing source/build directory pair, this > did not happen. I checked bzr status to see if I had any modifications, > and I did not. > > I then copied my existing source/build directory pair, and deleted > everything that is listed in .bzrignore. This happened again. > > I have a line in my build scripts that I thought deleted/reverted anything > not from bzr in the bzr directories, but I guess it ignores what is in > bzrignore! > > Anyway, long story short, I don't know if I can make any new builds right > now. The nightlies will still come out, due to caching in something in > bzrignore, (boost perhaps?). > > Anyway, I'll continue debugging this but if anyone has any insight, please > let me know. > > Adam Wolf > Cofounder and Engineer > W&L > > On Sat, Apr 25, 2015 at 9:27 PM, Adam Wolf <adamw...@feelslikeburning.com> > wrote: > >> Hi folks, >> >> Anyone ever see this before? >> >> clang: warning: argument unused during compilation: '-XLinker,-cref' >> clang: warning: argument unused during compilation: >> '-XLinker,-Map=_pcbnew.kiface.map' >> Undefined symbols for architecture x86_64: >> "_fchmodat", referenced from: >> boost::filesystem::detail::permissions(boost::filesystem::path >> const&, boost::filesystem::perms, boost::system::error_code*) in >> libboost_filesystem.a(operations.o) >> ld: symbol(s) not found for architecture x86_64 >> clang: error: linker command failed with exit code 1 (use -v to see >> invocation) >> make[2]: *** [kicad/kicad.app/Contents/PlugIns/_pcbnew.kiface] Error 1 >> make[1]: *** [pcbnew/CMakeFiles/pcbnew_kiface.dir/all] Error 2 >> >> Stack Overflow says that I should be linking against >> libboost_filesystem.dylib. I'll take a look, but wondering if anyone has >> seen this before. >> >> Adam Wolf >> Cofounder and Engineer >> W&L >> > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > > >
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp