On 17/04/08 at 11:32 +0100, Matthew Johnson wrote:
> Hi, Lucas, thanks as always for your QA work.
> 
> The build log you posted is a little odd. Compare it to the buildd
> log[0], which was successful, and you see the failing call to ld
> differs:
> 
> your line: ld  -o libcgi-java.so cgi-java.o
> buildd line: ld -fpic -shared -lc  -o libcgi-java.so cgi-java.o
> 
> The relevant bits of the Makefile are:
> 
> ifeq ($(LDVER),GNU)
>    LDFLAGS?=-fpic -shared -lc
> else
>    LDFLAGS?=-lc
> endif
> 
> lib%.so: %.o
>    $(LD) $(LDFLAGS) -o $@ $<
> 
> Are you setting LDFLAGS in your build? If so, what is the correct way to
> solve this? (I'm upstream as well)
> 
>    - remove the ? in the makefile
>    - set LDFLAGS in debian/rules
>    - move -lc or all of the flags to a different variable name.
>    - ignore it and close the bug because it's the fault of whoever set
>    LDFLAGS.

dpkg-buildpackage now sets LDFLAGS to an empty value by default. See
d-d-a.

-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |

Attachment: signature.asc
Description: Digital signature

Reply via email to