nD5Xjz has quit [Ping timeout: 246 seconds]
carlosdagos has joined #nix-darwin
nD5Xjz has joined #nix-darwin
johnw- has joined #nix-darwin
johnw_ has quit [Quit: Textual IRC Client: www.textualapp.com]
johnw has quit [Ping timeout: 252 seconds]
nD5Xjz has quit [Ping timeout: 245 seconds]
nD5Xjz has joined #nix-darwin
philr has joined #nix-darwin
philr has quit [Ping timeout: 252 seconds]
{^_^} has quit [Read error: Connection reset by peer]
nikivi has quit [Quit: ZNC is awesome]
{^_^} has joined #nix-darwin
nikivi has joined #nix-darwin
andreabedini has joined #nix-darwin
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has joined #nix-darwin
Ericson2314 has quit [Ping timeout: 250 seconds]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has joined #nix-darwin
__Sander__ has joined #nix-darwin
copumpkin has quit [Ping timeout: 244 seconds]
contrapumpkin has joined #nix-darwin
__Sander__ has quit [Ping timeout: 240 seconds]
__Sander__ has joined #nix-darwin
philr has quit [Quit: WeeChat 2.2]
jtojnar has quit [Ping timeout: 252 seconds]
jtojnar has joined #nix-darwin
andreabedini has joined #nix-darwin
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
carlosdagos has quit [Quit: Connection closed for inactivity]
contrapumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
copumpkin has joined #nix-darwin
<copumpkin> I figured out what was wrong with the python, but haven't fixed it yet
<copumpkin> was pretty subtle
<LnL> ah nice
<LnL> what was the problem
<copumpkin> it happens if your native python extension links against a different libpython from the one your python is using
<copumpkin> dtruss showed me nothing
<copumpkin> eventualy DYLD_PRINT_LIBRARIES_POST_LAUNCH=1 did
<copumpkin> I could see the bad one loading an extra libpython
<copumpkin> and the good one would just load libxml2
<LnL> oh neat, that's not in the manpage
<copumpkin> it's in some version of the manpage
<LnL> :p
<copumpkin> not sure if it's meaningfully different from DYLD_PRINT_LIBRARIES=1 but I set both just in case
<copumpkin> lots of printing :)
<copumpkin> those dyld variables are pretty handy
<copumpkin> it's also how I figured out the missing CF initializer the other day
<LnL> yes, that prints everything that gets loaded including Libsystem, etc.
<copumpkin> yup
<LnL> but POST_LAUNCH only other stuff (like dlopen calls?)
<copumpkin> that's what I gathered
<LnL> huh, DYLD_FALLBACK_FRAMEWORK_PATH By default, it is set to /Library/Frameworks:/Network/Library/Frameworks:/System/Library/Frameworks
<LnL> I wonder what /Network is doing in there
<copumpkin> yeah, that's annoyed me for a while
<copumpkin> because it'll use stuff we don't want it to use
<copumpkin> not much to do about it though
<copumpkin> no idea about /Network
<LnL> yeah
<copumpkin> perhaps netboot does that?
<LnL> I think this also explains why stuff keeps working if the CoreFoundation rpath entry is wrong
<LnL> got me pretty confused while I was adding that
<copumpkin> yeah, I wish we had a goods solution for it
<copumpkin> in our builds we could set the fallback paths env
__Sander__ has quit [Quit: Konversation terminated!]
nD5Xjz has quit [Ping timeout: 240 seconds]
nD5Xjz has joined #nix-darwin
philr has joined #nix-darwin
<LnL> urgh, is there a launchd log I don't know about?
<copumpkin> doesn't it all flow into the mac logging infrastructure?
<copumpkin> e.g., type "log show"
<copumpkin> and do your thing
Ericson2314 has joined #nix-darwin
<LnL> right, maybe
Ericson2314 has quit [Ping timeout: 240 seconds]
philr has quit [Ping timeout: 245 seconds]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nix-darwin
contrapumpkin has joined #nix-darwin
copumpkin has quit [Ping timeout: 244 seconds]
<LnL> going over hydra failures is so exhausting
<contrapumpkin> oh shit I forgot that was happening
<LnL> btw, let me know if I should rebuild the wip branch
<contrapumpkin> you mean for 18.09?
<contrapumpkin> nah I think Hydra actually woke up
<contrapumpkin> and is making progress now :)
<contrapumpkin> but thanks!
<{^_^}> #45961 (by samueldr, 1 week ago, open): 18.09 Zero Hydra Failures (Darwin)
<contrapumpkin> damn, I'll try to take a look this weekend
<LnL> making progress on CF is more important tho
<contrapumpkin> yeah, gonna try to get that done sooner :)
<contrapumpkin> they're being awfully receptive now btw https://github.com/apple/swift-corelibs-foundation/pull/1690
<{^_^}> apple/swift-corelibs-foundation#1690 (by copumpkin, 52 minutes ago, open): Fix CoreFoundation.h header in standalone CF build
<LnL> and I'm annotating stuff that we should look at afterwards, eg. https://github.com/NixOS/nixpkgs/commit/642d69b5273ebec16747ea5ce87c18f058faeb03
<contrapumpkin> nice!
<LnL> no clue if it's related, but looks very suspicious :)
<contrapumpkin> yup
<LnL> also these https://search.nix.gsc.io/?q=FIXME.*CoreFoundation&i=nope&files=&repos=
<LnL> right now using a weird combination of darwin.apple_sdk.frameworks.CoreFoundation and LDFLAGS can work around certain issues
<LnL> but we probably don't want to keep those