http://bugs.winehq.org/show_bug.cgi?id=24074
Summary: configure: printf: Argument list too long Product: Wine Version: unspecified Platform: x86 OS/Version: FreeBSD Status: NEW Keywords: download, source Severity: trivial Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
I only see this on FreeBSD (PC-BSD 7.1)
Running with sh -x configure, I found a bit more info: + printf %s\n ALL_MAKEFILE_DEPENDS='# Makefile dependencies Make.rules: Make.rules.in config.status Maketest.rules: Maketest.rules.in Make.rules config.status dlls/Makedll.rules: dlls/Makedll.rules.in Make.rules config.status dlls/Makeimplib.rules: dlls/Makeimplib.rules.in Make.rules config.status programs/Makeprog.rules: programs/Makeprog.rules.in Make.rules config.status Makefile: Makefile.in Make.rules config.status ... ... tools/wmc/Makefile tools/wmc/__depend__: tools/wmc/Makefile.in config.status Make.rules $(MAKEDEP) @./config.status --file tools/wmc/Makefile && cd tools/wmc && $(MAKE) depend tools/wrc/__clean__ tools/wrc/__install__ tools/wrc/__install-dev__ tools/wrc/__install-lib__ tools/wrc/__uninstall__ tools/wrc: tools/wrc/Makefile tools/wrc/Makefile tools/wrc/__depend__: tools/wrc/Makefile.in config.status Make.rules $(MAKEDEP) @./config.status --file tools/wrc/Makefile && cd tools/wrc && $(MAKE) depend' configure: printf: Argument list too long
seems printf doesn't like that big list, may need to break it up.
http://bugs.winehq.org/show_bug.cgi?id=24074
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2010-08-21 16:07:18 --- I don't see why it would get printed. Please attach the full log.
http://bugs.winehq.org/show_bug.cgi?id=24074
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.1
http://bugs.winehq.org/show_bug.cgi?id=24074
--- Comment #2 from Austin English austinenglish@gmail.com 2010-08-22 02:18:06 --- Created an attachment (id=30284) --> (http://bugs.winehq.org/attachment.cgi?id=30284) last 10k lines
Here's the last 10k. If you want the full log, it's 205 MB uncompressed, 6.6 if bzip2 -9'ed.
http://bugs.winehq.org/show_bug.cgi?id=24074
--- Comment #3 from Austin English austinenglish@gmail.com 2010-08-22 02:18:49 --- Created an attachment (id=30285) --> (http://bugs.winehq.org/attachment.cgi?id=30285) config.log
http://bugs.winehq.org/show_bug.cgi?id=24074
--- Comment #4 from Austin English austinenglish@gmail.com 2010-08-22 02:19:28 --- Created an attachment (id=30286) --> (http://bugs.winehq.org/attachment.cgi?id=30286) ./configure's output
And stdout/stderr from ./configure itself (wasn't sure which log you wanted).
http://bugs.winehq.org/show_bug.cgi?id=24074
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2010-08-22 14:26:46 --- I'm guessing it's because it's not a shell builtin. Does it work if you run configure explicitly with bash?
http://bugs.winehq.org/show_bug.cgi?id=24074
--- Comment #6 from Austin English austinenglish@gmail.com 2010-08-22 15:10:39 --- (In reply to comment #5)
I'm guessing it's because it's not a shell builtin. Does it work if you run configure explicitly with bash?
Yeah.
http://bugs.winehq.org/show_bug.cgi?id=24074
aaron.hamid@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aaron.hamid@gmail.com
--- Comment #7 from aaron.hamid@gmail.com 2011-05-20 00:25:24 CDT --- It seems like bash is a reasonable prereq. Does this need fixing?
http://bugs.winehq.org/show_bug.cgi?id=24074
--- Comment #8 from Austin English austinenglish@gmail.com 2011-05-20 11:01:45 CDT --- (In reply to comment #7)
It seems like bash is a reasonable prereq. Does this need fixing?
Considering that wine aims to be portable, I don't think requiring bash is a reasonable requirement.
http://bugs.winehq.org/show_bug.cgi?id=24074
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #9 from Dan Kegel dank@kegel.com 2011-05-20 14:30:08 CDT --- Please turn this into a simple test case and file the appropriate bug with freebsd. It might be a kernel bug, or it could be a bug in the shell and printf, or both.
http://bugs.winehq.org/show_bug.cgi?id=24074
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2011-05-20 17:05:07 CDT --- (In reply to comment #9)
Please turn this into a simple test case and file the appropriate bug with freebsd. It might be a kernel bug, or it could be a bug in the shell and printf, or both.
None of the above. It's just that printf is not a builtin so there's a limit on the command line size.
http://bugs.winehq.org/show_bug.cgi?id=24074
--- Comment #11 from Dan Kegel dank@kegel.com 2011-05-20 17:33:49 CDT --- http://www.in-ulm.de/~mascheck/various/argmax/ has an awesome summary of the limit on commandline length on various unixes. In Linux-2.6.33 and later, the limit was raised significantly (to "1/4 of the stack space"). (This patch came from Google (Hi Ollie!).)
It's possible that on modern linux, you wouldn't run into this problem even without builtin printf. If that's the case, then IMHO it's still worth filing an enhancement request with FreeBSD.
http://bugs.winehq.org/show_bug.cgi?id=24074
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2011-05-22 05:38:44 CDT --- Actually it should no longer be using printf on that variable. Has anybody retested this recently?
http://bugs.winehq.org/show_bug.cgi?id=24074
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #13 from Austin English austinenglish@gmail.com 2011-05-22 17:27:34 CDT --- No, doesn't appear anymore for me.
http://bugs.winehq.org/show_bug.cgi?id=24074
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2011-05-27 13:36:30 CDT --- Closing bugs fixed in 1.3.21.