Apache OpenOffice (AOO) Bugzilla – Issue 113632
DEV300_m86, unxlngx: getopt -s unknown option - breaks the build with --html
Last modified: 2010-10-17 16:59:29 UTC
Hi, DEV300_m86 on unxlngx in libegg and vcl: Making: libeggtraylx.so getopt: invalid option -- s Checking DLL ../unxlngx6.pro/lib/check_libeggtraylx.so ...: ok The problem comes from this probably: .IF "$(OS)$(CPU)" == "LINUXX" EXTRALIBPATHS+=-L$(LIBRARY_PATH) .ENDIF # "$(OS)$(CPU)" == "LINUXX"
The LIBRARY_PATH variable is empty on my system (x86_64, Fedora Rawhide), so there is "-L -- -s" on checkdll.sh's command line, which causes the error message.
Created attachment 70980 [details] test if LIBRARY_PATH is not empty before using it
@dtargon: I would prefer: .IF "$(OS)$(CPU)" == "LINUXX" && "$(LIBRARY_PATH)" != "" condition
Created attachment 70985 [details] updated patch
*** Issue 113773 has been marked as a duplicate of this issue. ***
PING m87 still with the bug :-( I now get it as well on the buildbot, as apparently build.pl was modified or some modification in the botmaster causes it, don't know. build alone doesn't trigger it (it prints the error, but doesn't fail to build, exit status of build is 0), but when using build --html [--dontgraboutput] it fails That difference in behaviour alone is worth a P1
Change that makes it fail now is the "use verbose in html mode", thus build -- verbose=true (or if you prefer VERBOSE=1 build) will also trigger the build breaker (exit status 1) http://pumbaa.ooodev.org:59145/source/diff/solenv/bin/build.pl? r2=/solenv/bin/build.pl%40271452:cdf2145997d7&r1=/solenv/bin/build.pl%40271450:2 5c50c0a524e (vgbugs10)
fix will be in the next milestone
seen in m88...
set to fixed
closed