Debian Bug report logs - #795237
hard codes dependency on library package libosl1

version graph

Package: gpsshogi; Maintainer for gpsshogi is Yann Dirson <dirson@debian.org>; Source for gpsshogi is src:gpsshogi (PTS, buildd, popcon).

Reported by: Martin Pitt <mpitt@debian.org>

Date: Wed, 12 Aug 2015 07:09:01 UTC

Severity: serious

Tags: patch, sid

Merged with 848345

Found in versions gpsshogi/0.7.0-1, 0.7.0, gpsshogi/0.6.0-3+nmu1

Fixed in versions gpsshogi/0.6.0-3+nmu2, gpsshogi/0.7.0-1.1

Done: Mattia Rizzolo <mattia@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Daigo Moriwaki <daigo@debian.org>:
Bug#795237; Package gpsshogi. (Wed, 12 Aug 2015 07:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Pitt <mpitt@debian.org>:
New Bug report received and forwarded. Copy sent to Daigo Moriwaki <daigo@debian.org>. (Wed, 12 Aug 2015 07:09:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Martin Pitt <mpitt@debian.org>
To: Debian BTS Submit <submit@bugs.debian.org>
Subject: gpsshogi FTBFS: "undefined reference to `osl::OslConfig::openingBook" and others
Date: Wed, 12 Aug 2015 09:07:41 +0200
[Message part 1 (text/plain, inline)]
Package: gpsshogi
Severity: serious
Version: 0.6.0-3+nmu1

gpsshogi FTBFS in current sid:

| gpsusi.cc:906:48: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
|     freopen(error_log_file.c_str(), "w", stderr);
|                                                 ^
| g++ -Wl,--as-needed `dpkg-buildflags --get LDFLAGS`  gpsshogi.o -lboost_thread -lboost_program_options -lpthread -losl -lboost_date_time -lboost_filesystem -lboost_serialization -lboost_iostreams -lboost_system -ltcmalloc_minimal -o gpssho
| gi
| /usr/bin/ld: warning: libboost_program_options.so.1.55.0, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosl.so, may conflict with libboost_program_options.so.1.58.0
| /usr/bin/ld: warning: libboost_filesystem.so.1.55.0, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosl.so, may conflict with libboost_filesystem.so.1.58.0
| /usr/bin/ld: warning: libboost_serialization.so.1.55.0, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosl.so, may conflict with libboost_serialization.so.1.58.0
| /usr/bin/ld: warning: libboost_iostreams.so.1.55.0, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosl.so, may conflict with libboost_iostreams.so.1.58.0
| /usr/bin/ld: warning: libboost_system.so.1.55.0, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosl.so, may conflict with libboost_system.so.1.58.0
| gpsshogi.o: In function `makeWeightedBook()':
| /«PKGBUILDDIR»/bin/gpsshogi.cc:53: undefined reference to `osl::OslConfig::openingBook(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
| gpsshogi.o: In function `benchmark(osl::game_playing::SearchPlayer&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
| /«PKGBUILDDIR»/bin/benchmark.h:37: undefined reference to `osl::record::csa::CsaFile::CsaFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
| /«PKGBUILDDIR»/bin/benchmark.h:47: undefined reference to `osl::record::csa::show[abi:cxx11](osl::Move)'
| /«PKGBUILDDIR»/bin/benchmark.h:58: undefined reference to `osl::record::csa::show[abi:cxx11](osl::Move)'
| gpsshogi.o: In function `play(int, char**)':
| /«PKGBUILDDIR»/bin/gpsshogi.cc:153: undefined reference to `osl::OslConfig::configuration[abi:cxx11]()'
| /«PKGBUILDDIR»/bin/gpsshogi.cc:266: undefined reference to `osl::record::csa::CsaFile::CsaFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
| gpsshogi.o: In function `makeWeightedBook()':
| /«PKGBUILDDIR»/bin/gpsshogi.cc:53: undefined reference to `osl::OslConfig::openingBook(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
| /«PKGBUILDDIR»/bin/gpsshogi.cc:53: undefined reference to `osl::OslConfig::openingBook(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
| /«PKGBUILDDIR»/bin/gpsshogi.cc:53: undefined reference to `osl::OslConfig::openingBook(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
| /«PKGBUILDDIR»/bin/gpsshogi.cc:53: undefined reference to `osl::OslConfig::openingBook(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
| gpsshogi.o: In function `OpeningOptions::OpeningOptions()':
| /«PKGBUILDDIR»/bin/options.h:141: undefined reference to `osl::OslConfig::home(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
| /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libosl.so: undefined reference to `boost::gregorian::greg_month::get_month_map_ptr()'
| collect2: error: ld returned 1 exit status

Full build log attached for convenience.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
[gpsshogi_0.6.0-3+nmu1_amd64-20150812-0859.build.gz (application/gzip, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) sid. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Thu, 13 Aug 2015 01:48:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Daigo Moriwaki <daigo@debian.org>:
Bug#795237; Package gpsshogi. (Thu, 13 Aug 2015 17:54:19 GMT) (full text, mbox, link).


Acknowledgement sent to Steve Langasek <steve.langasek@canonical.com>:
Extra info received and forwarded to list. Copy sent to Daigo Moriwaki <daigo@debian.org>. (Thu, 13 Aug 2015 17:54:19 GMT) (full text, mbox, link).


Message #12 received at 795237@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <steve.langasek@canonical.com>
To: Debian Bug Tracking System <795237@bugs.debian.org>
Subject: Re: gpsshogi FTBFS: "undefined reference to `osl::OslConfig::openingBook" and others
Date: Thu, 13 Aug 2015 10:53:36 -0700
[Message part 1 (text/plain, inline)]
Package: gpsshogi
Version: 0.6.0-3+nmu1
Followup-For: Bug #795237
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch

The build failure here is not a bug in gpsshogi; this is that libosl needs
to be rebuilt with g++5 before gpsshogi is buildable.

However, what is a bug in gpsshogi is that it hard-codes a dependency on
libosl1.  libosl has an ABI-breaking change with g++5, and since it has
reverse-dependencies (gpsshogi), it should undergo a package name
transition.  There is currently no transition bug filed for libosl (probably
because libosl failed to build in the rebuild test), but once this is done
gpsshogi will be broken because of this hard-coded dependency.

Please do not hard-code dependencies on shared libraries.  If the shlibs
declarations for a library you depend on are incorrect, please fix them in
the library.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org
[gpsshogi_0.6.0-3+nmu1ubuntu1.debdiff (text/x-diff, attachment)]

Reply sent to Sebastian Ramacher <sramacher@debian.org>:
You have taken responsibility. (Mon, 04 Jan 2016 17:12:34 GMT) (full text, mbox, link).


Notification sent to Martin Pitt <mpitt@debian.org>:
Bug acknowledged by developer. (Mon, 04 Jan 2016 17:12:34 GMT) (full text, mbox, link).


Message #17 received at 795237-close@bugs.debian.org (full text, mbox, reply):

From: Sebastian Ramacher <sramacher@debian.org>
To: 795237-close@bugs.debian.org
Subject: Bug#795237: fixed in gpsshogi 0.6.0-3+nmu2
Date: Mon, 04 Jan 2016 17:08:34 +0000
Source: gpsshogi
Source-Version: 0.6.0-3+nmu2

We believe that the bug you reported is fixed in the latest version of
gpsshogi, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 795237@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated gpsshogi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 02 Jan 2016 17:16:11 +0100
Source: gpsshogi
Binary: gpsshogi gpsshogi-data gpsshogi-dbg
Architecture: source all
Version: 0.6.0-3+nmu2
Distribution: unstable
Urgency: medium
Maintainer: Daigo Moriwaki <daigo@debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Description:
 gpsshogi   - Shogi playing program based on OpenShogiLib
 gpsshogi-data - data files for gpsshogi
 gpsshogi-dbg - Shogi playing program based on OpenShogiLib
Closes: 795237 807204
Changes:
 gpsshogi (0.6.0-3+nmu2) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Steve Langasek ]
   * Remove hard-coded dependency on libosl1. (Closes: #795237)
 .
   [ Bas Couwenberg ]
   * Update build dependencies for GSL 2, change libgsl0-dev to libgsl-dev.
     (Closes: #807204)
Checksums-Sha1:
 d2359aecc16bb45895142b40d48d7fd8aceb1ca0 2203 gpsshogi_0.6.0-3+nmu2.dsc
 35756144d681214318c45d5ab54dc6811aeb63c7 9744 gpsshogi_0.6.0-3+nmu2.debian.tar.xz
 cbccf8dbb865269dc7a9b2c3b85a055bc92ef7b7 6901348 gpsshogi-data_0.6.0-3+nmu2_all.deb
Checksums-Sha256:
 2a34f5d3a1e49874b3b203563dc8125af3c26035b29ac5c2c3d4431659ed4873 2203 gpsshogi_0.6.0-3+nmu2.dsc
 2ef8d7ef520f21eabf7cca49e67c92707107cb4716eee3ab3506ae410a906898 9744 gpsshogi_0.6.0-3+nmu2.debian.tar.xz
 f7abaf0f592de6074c8cd92692112dc39fb2f71d2e65c0845b15eedf1c0e81e9 6901348 gpsshogi-data_0.6.0-3+nmu2_all.deb
Files:
 baf94c5d59a6246d8c3feced3adb44e8 2203 games optional gpsshogi_0.6.0-3+nmu2.dsc
 428955a2bd95282c97e361bf85aa4ec6 9744 games optional gpsshogi_0.6.0-3+nmu2.debian.tar.xz
 aab780e766016acca6c0610324b38d0f 6901348 games optional gpsshogi-data_0.6.0-3+nmu2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWh/nxAAoJEGny/FFupxmTa4AQAIGRz23rSaHwQ3wDUCP9hDh/
rf9EfgXh2okRSP80SnT2eOMhBkVD+f5MI+OGwMmiNDsNx/1DiPw1Bf39EGygh2nN
SmZUud590nX5ZU3OzNb8A8YXVGsikLvU39k0gBP4Z2GD4+GOD3wpYW0E9niLp40H
yhVz4Nlp97RFe9oqBALqasWkRsKA1yElLWZ8Y1iWRL1hgUPjF+HYAJus0sghGlFu
D+FDm0FMmZcyGg/R1RNM9MQmGKhx7uwnsn+OueysN1dvQnkYEWXRx07Yczx8y4OV
wgX0uKzT+yMifBDP33n4AhcluigbT97qFb2GfU5hzAujsGBs7RN49/tapB8Km2NA
+kx/XdDNVYAC+QY4fE7R3h+t5WlsgEL6LyY7KtXz1bnNT33BNN9GUMKk0gv00NR6
Oo/XsP08hydkw5hHC6Q91v8cvKKbZGB/Hq8hQN1WqojgR9hNiNK2TR6Lobwy3BNd
+Q76eSzt84pQExw7q1J1aULoeLZLQ3r//CTpS7E7DDFmVg5xGepkUc7uUWuwoKD+
av7kQpV0nO7scS+sE0Tdy/eDQ3D4wf3RocOeTARId2K1JYDkOyHC1UUid0KV6A1v
PP+aK9LbWf54C8FmkM+XBElqRwU+n7msJ46dieRekffsUuiAehPm+rGur5g5UaPf
lpebPou3hPvBb6nwbDSQ
=B+3t
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 02 Feb 2016 07:29:50 GMT) (full text, mbox, link).


Bug unarchived. Request was from Mattia Rizzolo <mattia@debian.org> to control@bugs.debian.org. (Thu, 30 Mar 2017 22:51:04 GMT) (full text, mbox, link).


Marked as found in versions gpsshogi/0.7.0-1. Request was from Mattia Rizzolo <mattia@debian.org> to control@bugs.debian.org. (Thu, 30 Mar 2017 22:51:05 GMT) (full text, mbox, link).


Merged 795237 848345 Request was from Mattia Rizzolo <mattia@debian.org> to control@bugs.debian.org. (Thu, 30 Mar 2017 22:51:08 GMT) (full text, mbox, link).


Bug reopened Request was from Mattia Rizzolo <mattia@debian.org> to control@bugs.debian.org. (Thu, 30 Mar 2017 22:51:09 GMT) (full text, mbox, link).


No longer marked as fixed in versions gpsshogi/0.6.0-3+nmu2. Request was from Mattia Rizzolo <mattia@debian.org> to control@bugs.debian.org. (Thu, 30 Mar 2017 22:51:10 GMT) (full text, mbox, link).


Marked as fixed in versions gpsshogi/0.6.0-3+nmu2. Request was from Mattia Rizzolo <mattia@debian.org> to control@bugs.debian.org. (Thu, 30 Mar 2017 22:51:11 GMT) (full text, mbox, link).


Marked as found in versions 0.7.0. Request was from Mattia Rizzolo <mattia@debian.org> to control@bugs.debian.org. (Thu, 30 Mar 2017 22:51:12 GMT) (full text, mbox, link).


Changed Bug title to 'hard codes dependency on library package libosl1' from 'gpsshogi FTBFS: "undefined reference to `osl::OslConfig::openingBook" and others'. Request was from Mattia Rizzolo <mattia@debian.org> to control@bugs.debian.org. (Thu, 30 Mar 2017 22:51:13 GMT) (full text, mbox, link).


Added tag(s) patch. Request was from Mattia Rizzolo <mattia@debian.org> to 848345-submit@bugs.debian.org. (Thu, 30 Mar 2017 23:21:09 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Mattia Rizzolo <mattia@debian.org> to 848345-submit@bugs.debian.org. (Thu, 30 Mar 2017 23:21:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Daigo Moriwaki <daigo@debian.org>:
Bug#795237; Package gpsshogi. (Fri, 31 Mar 2017 19:57:02 GMT) (full text, mbox, link).


Acknowledgement sent to webmaster@fail.1xit.ru:
Extra info received and forwarded to list. Copy sent to Daigo Moriwaki <daigo@debian.org>. (Fri, 31 Mar 2017 19:57:02 GMT) (full text, mbox, link).


Message #44 received at 795237@bugs.debian.org (full text, mbox, reply):

From: webmaster@fail.1xit.ru
To: 795237@bugs.debian.org
Subject: New status of your UPS delivery (code: 007108251)
Date: Fri, 31 Mar 2017 22:53:17 +0300
[Message part 1 (text/plain, inline)]
Dear Customer,

We can not deliver your parcel arrived at March 29.

You can find more details in this e-mail attachment!

Warm regards,
Bryan Kirby,
UPS Support Agent.

[UPS-Delivery-007108251.zip (application/zip, attachment)]

Message #45 received at 848345-close@bugs.debian.org (full text, mbox, reply):

From: Mattia Rizzolo <mattia@debian.org>
To: 848345-close@bugs.debian.org
Subject: Bug#848345: fixed in gpsshogi 0.7.0-1.1
Date: Sat, 01 Apr 2017 23:38:56 +0000
Source: gpsshogi
Source-Version: 0.7.0-1.1

We believe that the bug you reported is fixed in the latest version of
gpsshogi, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 848345@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattia Rizzolo <mattia@debian.org> (supplier of updated gpsshogi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 31 Mar 2017 00:57:08 +0200
Source: gpsshogi
Binary: gpsshogi gpsshogi-data
Architecture: source
Version: 0.7.0-1.1
Distribution: unstable
Urgency: medium
Maintainer: Daigo Moriwaki <daigo@debian.org>
Changed-By: Mattia Rizzolo <mattia@debian.org>
Description:
 gpsshogi   - Shogi playing program based on OpenShogiLib
 gpsshogi-data - data files for gpsshogi
Closes: 848345
Changes:
 gpsshogi (0.7.0-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Import back again un-incorporated NMU  0.6.0-3+nmu2.  Closes: 848345
   * Use HTTPS in Vcs-* headers.
   * Apply change in git reposiotry from Daigo Moriwaki: specify QT_SELECT=qt5
     and add a patch to build with qt5.
Checksums-Sha1:
 62eee395239cdf1643c5fb43cf30007b829844bf 2177 gpsshogi_0.7.0-1.1.dsc
 d22a5381cc6cb5e505d419fe7d4f42ea7fd37b1f 11488 gpsshogi_0.7.0-1.1.debian.tar.xz
Checksums-Sha256:
 d8394219b52eca5de47396807312225d2c7b756d51748570a843c3054daa2175 2177 gpsshogi_0.7.0-1.1.dsc
 5c51ffa6f55770da9b0d3b7ff38e2ceb55177919dbf5d734075e00522164cc4a 11488 gpsshogi_0.7.0-1.1.debian.tar.xz
Files:
 3b0208c330a6f2cb6f72c98cc6a4b023 2177 games optional gpsshogi_0.7.0-1.1.dsc
 6696a46f78decd8c62c87aff8bde5123 11488 games optional gpsshogi_0.7.0-1.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAljdkUAACgkQCBa54Yx2
K62qUhAAtR1BsbThna9diYhdOFwdYYCKNqRqPW45lMb2lFsIhrtNYPD1TZroXcEe
RiV2UivSsO6jyslJD55ixN7YSFILVRuWKCBW9Xrr5GTJTrGqt5ftLrUjxSGFPo4C
ZlQNvwOcScdwwY2HLmBqv/VTioGiBiZn7KF1di1bk8N4ZKp9MTpmC0jAbw/M0CnW
TxhWVQWAHli/CvjsQzLyu2TvJclkPbZkI/VKRazotkUVyHeznwSHnXJrxX3/pEVx
QWToV/qm4aFau8H3vG8dxjpBmxbOV+2um7Hz6khbGpekk0pNQze4fkUCpiQYakEP
Iq7L4Z8U4VaDfmS4A5HWcJvqrvveHn36PPUOSUmW7WygWb38OwEj6MB+ZqjnWxAp
zCaaxWIKReKBcREGgA86gdV7Z5ypKccofzvu21FZgMjcYCPctMnYr2+Ir6Ei9XXt
HfFFx/+rH/4RaQyqcXk68pTL9lpPlCDXAn9JOC+Ul8Wlh5TrGLwpQ8tlMUt2aVCf
RAYj//w7SVk/c0lm8un8w7Ii5pU5E01zZeSp90CaofN8brx39kA8EhHscPm4D0Zp
pEBl6ONtS1PQ/Ucom5t16x69YcIwSooRzht0w3467AQcJULZ5FOZf+JOqJpMiXOK
7GNlsgKljChDv+QFMIV0feZgzdY4fLSyaVKb4CbuPQU20Km4IYQ=
=JaKH
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 30 Apr 2017 07:26:46 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 15:27:37 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.