« first day (4021 days earlier)      last day (912 days later) » 
00:00 - 23:0023:00 - 00:00

11:04 PM
dammit... I can't get SO chat right
What does this error mean when building PHP:
```
bleh
how do you format a block of code in SO chat?
 
Four spaces in front of each line
 
Undefined symbols for architecture x86_64:
  "_res_9_dn_expand", referenced from:
      _php_parserr in dns.o
      _zif_dns_get_mx in dns.o
  "_res_9_dn_skipname", referenced from:
      _zif_dns_get_record in dns.o
      _zif_dns_get_mx in dns.o
  "_res_9_init", referenced from:
      _zif_dns_check_record in dns.o
      _zif_dns_get_record in dns.o
      _zif_dns_get_mx in dns.o
  "_res_9_search", referenced from:
      _zif_dns_check_record in dns.o
      _zif_dns_get_record in dns.o
      _zif_dns_get_mx in dns.o
I saw the "fixed font" button pop up :-)
 
That works too :)
Ctrl+k is another but it's been iffy for me in the past.
Somehow I've managed to memorize the markdown variations of SO, Discord and Slack
And some bit of Rocket Chat probably still hanging around somewhere
 
@ramsey you need to do a clean build. For whatever reason, the functions are compiled to have HAVE_DN_SKIPNAME defined, but then it's not available in the linking step. Which can happen when build object files are cached across very different builds.
 
hmm... I thought I was doing a clean build, but I wasn't running make distclean, so I've just done that
@Danack Thanks! That's all it was
 
11:15 PM
cool.... though I have no idea what distclean is. make clean is the more usual cleaning step for make
I guess distclean includes clean and then does other stuff.
 
I run running make clean and then rebuilding and kept getting those errors
I did distclean and then ./buildconf --force, and it's working now
 
11:32 PM
I'm back to those undefined symbols errors again, and I can't get them go away this time. :-)
 
#define symbols
yw
 
:-P
 
@ramsey did you run configure again?
 
LOL
@Danack Yes
 
11:35 PM
don't ask #11 tech questions at european beer time #protip
 
@ramsey and a make clean after that?
@DaveRandom at? or past?
 
I'm on to wine so I guess the latter?
ftr I'm off work til wed :-P
 
beer time?
@DaveRandom You heading up to Alba?
 
unfortunately no, tail end of a stag do that didn't happen because covid
 
@Danack I was running make clean before configure, but I'll try it again this time running after configure.
Nope... same undefined symbols error
 
11:38 PM
don't mind it tho, had a nice couple days of and also got hammered with the stag yesterday so it counts :-P
 
@DaveRandom I'm both apprehensive and excited :-/
 
@Derick I'm deliberately avoiding this conversation for at least 48hrs :-P
 
@ramsey how fast is your machine? That is quite a quick rebuild.
 
I'm using -j12, and I also have --disable-all
 
derick@gargleblaster:~$ nproc
48
;-)
 
11:40 PM
I only have 12 :-(
 
@ramsey @Derick those 2 msgs in isolation....
imagine that was all that survived of humanity
the fun people would have decoding that
 
luckily, that's not the case!
I'm going to get mi-self some snooze.
 
you don't know that :-P
I am also going to sleep, inhabit y'all x
 
g'nite gents
 
@ramsey What system are you building on?
@MarkR nn
 
11:45 PM
@Danack I've narrowed down the problem to code I've changed. I'm trying to build against ICU 70.1, so I made a few changes like this:
#if U_ICU_VERSION_MAJOR_NUM >= 70
		virtual bool operator==(const BreakIterator& that) const;
#else
		virtual UBool operator==(const BreakIterator& that) const;
#endif
When building with ICU 69, it works fine. When building with ICU 70, I get the undefined symbols errors
 
That's not related.....The symbol _res_9_dn_expand means that it's looking for a function called 'dn_expand' in a library (no idea what the prefix means), and failing to find it. I thought it was a configure problem (because it sounds like a configure problem), but if you've done a make clean and that doesn't fix it, it's got to be something else.
 
I wouldn't assume it's related, but I can consistently reproduce this when I try building with ICU 70
 
Was building working for you before on the same environment, and what system are you building on?
 
Yeah... it's been working. It's macOS
 
> _zif_dns_get_mx
That means the error is coming from the PHP function dns_get_mx.... zif means "zend something function".
 
11:48 PM
ah
 
oh 'res' looks like the name of the library, as there are ifdefs that look for flags set by configure as to whether you have that library or not: heap.space/xref/PHP-8.1/ext/standard/dns.c?r=e836143a#1106-1111
3 mins ago, by Danack
Was building working for you before on the same environment, and what system are you building on?
 
Yes, I've been able to build on the same environment. It's macOS (Big Sur).
 
Something something "env LIBS="-lresolv" ./configure"
5
Q: Errors linking libresolv when building PHP 5.2.10 from source on OS X

Quinn TaylorTo begin with, I would normally opt to use a pre-compiled binary of PHP, but am required to build from source for a specific business need. (I'm not the type that compiles open-source apps just for kicks.) I'm building on OS X 10.6 and am running into the following error when I try to make PHP 5...

 
I can give that a try
 
This sounds like it might need something tweaking in an m4 file somewhere.....so I'll bow out:
Nov 23 '20 at 20:44, by Danack
It's a trick. They're trying to get you to look at m4 files. Get an axe.
 
11:55 PM
:-)
 
@bwoebi might have a clue about this ^^
 
Thanks for the help
 
@ramsey I've been seeing such issues after OS upgrades, without re-running buildconf first
 
I've been running buildconf
and I haven't done an OS upgrade recently
I can build successfully, as long as I don't pass PKG_CONFIG_PATH with the path to an alternate ICU pkgconfig, which probably isn't related, but that appears to make a difference
 
00:00 - 23:0023:00 - 00:00

« first day (4021 days earlier)      last day (912 days later) »