Source: cl-sql
Version: 6.6.3-1

It failed to build on most architectures:

https://buildd.debian.org/status/package.php?p=cl-sql&suite=sid

Line 74 of db-mysql/Makefile is adding "-m32" to anything that isn't
amd64, I think, while only a few architectures accept that option.
(Interestingly, ppc64el does accept it.)

The same line also contains "-fPIC", although it's linking rather than
compiling at that point, and it contains $(LDFLAGS) twice. And is the
"-lc" really required?

Here's the diff between 6.6.2-1 and 6.6.3-1:

-           ld -shared -soname=$(base) $(object) $(LDFLAGS) -o $(shared_lib)
+           gcc -m32 $(LDFLAGS) -fPIC  -shared -Wl,-soname=$(base) -lc
$(object) $(LDFLAGS) -o $(shared_lib)

Maybe what's wanted is:

gcc -shared -Wl,-soname=$(base) $(object) $(LDFLAGS) -o $(shared_lib)

Reply via email to