Your message dated Sat, 12 Aug 2017 09:24:46 -0400
with message-id 
<cal+cuut4le_8scf7nu_7jtwx93xgsiq4hu8dbvxl4jr5-ff...@mail.gmail.com>
and subject line 
has caused the Debian Bug report #860241,
regarding libbson FTBFS on mips/mipsel:  undefined reference to 
`__sync_add_and_fetch_8'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
860241: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860241
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libbson
Version: 1.6.1-1
Severity: important
Tags: sid
Justification: FTBFS
User: debian-m...@lists.debian.org
Usertags: mips-patch

Hello,

Package libbson_1.6.1-1 FTBFS on mips and mipsel with following error:

> /bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -O2 
> -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat 
> -Werror=format-security -O2 -g  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o 
> test-libbson tests/test_libbson-TestSuite.o tests/test_libbson-test-libbson.o 
> tests/test_libbson-test-atomic.o tests/test_libbson-test-bson.o 
> tests/test_libbson-test-endian.o tests/test_libbson-test-clock.o 
> tests/test_libbson-test-decimal128.o tests/test_libbson-test-error.o 
> tests/test_libbson-test-iso8601.o tests/test_libbson-test-iter.o 
> tests/test_libbson-test-json.o tests/test_libbson-test-oid.o 
> tests/test_libbson-test-reader.o tests/test_libbson-test-string.o 
> tests/test_libbson-test-type.o tests/test_libbson-test-utf8.o 
> tests/test_libbson-test-value.o tests/test_libbson-test-version.o 
> tests/test_libbson-test-writer.o tests/test_libbson-test-bcon-basic.o 
> tests/test_libbson-test-bcon-extract.o tests/test_libbson-json-test.o  
> libbson-1.0.la libbson.la -latomic 
> libtool: link: gcc -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. 
> -fstack-protector-strong -Wformat -Werror=format-security -O2 -g -Wl,-z 
> -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o .libs/test-libbson 
> tests/test_libbson-TestSuite.o tests/test_libbson-test-libbson.o 
> tests/test_libbson-test-atomic.o tests/test_libbson-test-bson.o 
> tests/test_libbson-test-endian.o tests/test_libbson-test-clock.o 
> tests/test_libbson-test-decimal128.o tests/test_libbson-test-error.o 
> tests/test_libbson-test-iso8601.o tests/test_libbson-test-iter.o 
> tests/test_libbson-test-json.o tests/test_libbson-test-oid.o 
> tests/test_libbson-test-reader.o tests/test_libbson-test-string.o 
> tests/test_libbson-test-type.o tests/test_libbson-test-utf8.o 
> tests/test_libbson-test-value.o tests/test_libbson-test-version.o 
> tests/test_libbson-test-writer.o tests/test_libbson-test-bcon-basic.o 
> tests/test_libbson-test-bcon-extract.o tests/test_libbson-json-test.o  
> ./.libs/libbson-1.0.so ./.libs/libbson.a -latomic -pthread
> tests/test_libbson-test-atomic.o: In function `test2':
> ./tests/test-atomic.c:38: undefined reference to `__sync_add_and_fetch_8'
> ./tests/test-atomic.c:38: undefined reference to `__sync_add_and_fetch_8'
> collect2: error: ld returned 1 exit status
> Makefile:1238: recipe for target 'test-libbson' failed
> make[2]: *** [test-libbson] Error 1
> make[2]: Leaving directory '/«PKGBUILDDIR»'
> dh_auto_build: make -j1 returned exit code 2
> debian/rules:30: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 2


I suggested '0002_use_libatomic.patch' patch for bug #832747 to resolve symbols 
mismatching.
>From version 1.5.4-1, symbols file was removed and there is no need for this 
>patch.

When patch 0002_use_libatomic.patch is removed, build successfully passes for 
mips and mipsel.


Regards,
Radovan

--- End Message ---
--- Begin Message ---
Fixed upstream in libbson 1.7.0, which has now been released and uploaded
to Debian.

--- End Message ---

Reply via email to