tags 669440 + patch
thanks

On 19/04/12 21:11, Lucas Nussbaum wrote:
> Relevant part:
>> cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but 
>> not for C [enabled by default]
>> configure:7888: $? = 0
>> configure:7901: result: no
>> configure:7921: checking for gcc option to produce PIC
>> configure:8193: result: -fPIC -DPIC
>> configure:8205: checking if gcc PIC flag -fPIC -DPIC works
>> configure:8223: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
>> configure:8227: $? = 0
>> configure:8240: result: yes
>> configure:8264: checking if gcc static flag -static works
>> configure:8292: result: yes
>> configure:8307: checking if gcc supports -c -o file.o
>> configure:8328: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
>> configure:8332: $? = 0
>> configure:8354: result: yes
>> configure:8362: checking if gcc supports -c -o file.o
>> configure:8409: result: yes
>> configure:8442: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 
>> supports shared libraries
>> configure:9432: result: yes
>> configure:9469: checking whether -lc should be explicitly linked in
>> configure:9474: gcc -c -g -O2  conftest.c >&5
>> configure:9477: $? = 0
>> configure:9492: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o 
>> conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
>> configure:9495: $? = 0
>> configure:9507: result: no
>> configure:9671: checking dynamic linker characteristics
>> configure:10104: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
>> configure:10104: $? = 0
>> configure:10334: result: GNU/Linux ld.so
>> configure:10436: checking how to hardcode library paths into programs
>> configure:10461: result: immediate
>> configure:10555: checking for shl_load
>> configure:10555: gcc -o conftest -g -O2   conftest.c  >&5
>> /tmp/cc4AktI0.o: In function `main':
>> /«PKGBUILDDIR»/conftest.c:57: undefined reference to `shl_load'
>> collect2: ld returned 1 exit status

Please find attached a patch to fix this FTBFS.

Regards
-- 
Sebastian Ramacher
diff -Nru freecraft-1.20/debian/changelog freecraft-1.20/debian/changelog
--- freecraft-1.20/debian/changelog	2011-03-26 16:16:59.000000000 +0100
+++ freecraft-1.20/debian/changelog	2012-04-30 19:10:11.000000000 +0200
@@ -1,3 +1,11 @@
+freecraft (1:1.20-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/control: Add Build-Dep on pkg-config to fix FTBFS. (Closes:
+    #669440)
+
+ -- Sebastian Ramacher <[email protected]>  Mon, 30 Apr 2012 19:09:45 +0200
+
 freecraft (1:1.20-1) unstable; urgency=high
 
   * Fixing indirect linking error by linking the main program explicitly
diff -Nru freecraft-1.20/debian/control freecraft-1.20/debian/control
--- freecraft-1.20/debian/control	2011-03-26 16:16:18.000000000 +0100
+++ freecraft-1.20/debian/control	2012-04-30 19:03:57.000000000 +0200
@@ -3,7 +3,8 @@
 Priority: optional
 Maintainer: Lincoln de Sousa Primo Clarete <[email protected]>
 Build-Depends: libx11-dev, libxext-dev, libsdl1.2-dev (>> 1.2.2),
- libsdl1.2debian, libpng12-dev, libbz2-dev, debhelper (>= 7.0.50~)
+ libsdl1.2debian, libpng12-dev, libbz2-dev, debhelper (>= 7.0.50~),
+ pkg-config
 Standards-Version: 3.9.1
 Vcs-Browser: http://git.comum.org/gitweb.cgi?p=lincoln/debian/freecraft.git
 Vcs-Git: http://git.comum.org/lincoln/debian/freecraft.git

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to