[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1119738: gsmlib: FTBFS: ../gsmlib/gsm_error.h:84:58: error: ISO C++17 does not allow dynamic exception specifications



Package: src:gsmlib
Version: 1.10+20120414.gita5e5ae9a-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:gsmlib, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: couldn't open directory 'm4': No such file or directory
configure.in: warning: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'scripts'.
libtoolize: copying file 'scripts/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'

[... snipped ...]

../gsmlib/gsm_sms_store.h:156:45: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  156 |   class SMSStoreConstIterator : public std::iterator<std::random_access_iterator_tag,
      |                                             ^~~~~~~~
/usr/include/c++/15/bits/stl_iterator_base_types.h:129:34: note: declared here
  129 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
../gsmlib/gsm_sms_store.h:202:60: error: ISO C++17 does not allow dynamic exception specifications
  202 |                    SMSStoreEntry::SMSMemoryStatus &status) throw(GsmException);
      |                                                            ^~~~~
../gsmlib/gsm_sms_store.h:203:54: error: ISO C++17 does not allow dynamic exception specifications
  203 |     void readEntry(int index, CBMessageRef &message) throw(GsmException);
      |                                                      ^~~~~
../gsmlib/gsm_sms_store.h:205:7: error: ISO C++17 does not allow dynamic exception specifications
  205 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_sms_store.h:207:32: error: ISO C++17 does not allow dynamic exception specifications
  207 |     void eraseEntry(int index) throw(GsmException);
      |                                ^~~~~
../gsmlib/gsm_sms_store.h:211:60: error: ISO C++17 does not allow dynamic exception specifications
  211 |     unsigned char send(int index, Ref<SMSMessage> &ackPdu) throw(GsmException);
      |                                                            ^~~~~
../gsmlib/gsm_sms_store.h:215:41: error: ISO C++17 does not allow dynamic exception specifications
  215 |     int doInsert(SMSMessageRef message) throw(GsmException);
      |                                         ^~~~~
../gsmlib/gsm_sms_store.h:218:64: error: ISO C++17 does not allow dynamic exception specifications
  218 |     SMSStore(std::string storeName, Ref<GsmAt> at, MeTa &meTa) throw(GsmException);
      |                                                                ^~~~~
../gsmlib/gsm_sms_store.h:257:22: error: ISO C++17 does not allow dynamic exception specifications
  257 |     int size() const throw(GsmException);
      |                      ^~~~~
../gsmlib/gsm_sms_store.h:260:24: error: ISO C++17 does not allow dynamic exception specifications
  260 |     bool empty() const throw(GsmException) {return size() == 0;}
      |                        ^~~~~
../gsmlib/gsm_sms_store.h:268:7: error: ISO C++17 does not allow dynamic exception specifications
  268 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_sms_store.h:269:45: error: ISO C++17 does not allow dynamic exception specifications
  269 |     iterator insert(const SMSStoreEntry& x) throw(GsmException);
      |                                             ^~~~~
../gsmlib/gsm_sms_store.h:273:7: error: ISO C++17 does not allow dynamic exception specifications
  273 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_sms_store.h:275:7: error: ISO C++17 does not allow dynamic exception specifications
  275 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_sms_store.h:278:39: error: ISO C++17 does not allow dynamic exception specifications
  278 |     iterator erase(iterator position) throw(GsmException);
      |                                       ^~~~~
../gsmlib/gsm_sms_store.h:279:51: error: ISO C++17 does not allow dynamic exception specifications
  279 |     iterator erase(iterator first, iterator last) throw(GsmException);
      |                                                   ^~~~~
../gsmlib/gsm_sms_store.h:280:18: error: ISO C++17 does not allow dynamic exception specifications
  280 |     void clear() throw(GsmException);
      |                  ^~~~~
../gsmlib/gsm_me_ta.h:132:17: error: ISO C++17 does not allow dynamic exception specifications
  132 |     void init() throw(GsmException);
      |                 ^~~~~
../gsmlib/gsm_me_ta.h:136:26: error: ISO C++17 does not allow dynamic exception specifications
  136 |     MeTa(Ref<Port> port) throw(GsmException);
      |                          ^~~~~
../gsmlib/gsm_me_ta.h:143:50: error: ISO C++17 does not allow dynamic exception specifications
  143 |     void setPhonebook(std::string phonebookName) throw(GsmException);
      |                                                  ^~~~~
../gsmlib/gsm_me_ta.h:154:7: error: ISO C++17 does not allow dynamic exception specifications
  154 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_me_ta.h:159:49: error: ISO C++17 does not allow dynamic exception specifications
  159 |                      std::string &receiveStore) throw(GsmException);
      |                                                 ^~~~~
../gsmlib/gsm_me_ta.h:175:37: error: ISO C++17 does not allow dynamic exception specifications
  175 |     void waitEvent(GsmTime timeout) throw(GsmException);
      |                                     ^~~~~
../gsmlib/gsm_me_ta.h:180:24: error: ISO C++17 does not allow dynamic exception specifications
  180 |     MEInfo getMEInfo() throw(GsmException);
      |                        ^~~~~
../gsmlib/gsm_me_ta.h:183:53: error: ISO C++17 does not allow dynamic exception specifications
  183 |     std::vector<std::string> getSupportedCharSets() throw(GsmException);// (+CSCS=?)
      |                                                     ^~~~~
../gsmlib/gsm_me_ta.h:186:37: error: ISO C++17 does not allow dynamic exception specifications
  186 |     std::string getCurrentCharSet() throw(GsmException);// (+CSCS?)
      |                                     ^~~~~
../gsmlib/gsm_me_ta.h:189:46: error: ISO C++17 does not allow dynamic exception specifications
  189 |     void setCharSet(std::string charSetName) throw(GsmException);// (+CSCS=)
      |                                              ^~~~~
../gsmlib/gsm_me_ta.h:194:42: error: ISO C++17 does not allow dynamic exception specifications
  194 |     std::string getExtendedErrorReport() throw(GsmException);// (+CEER)
      |                                          ^~~~~
../gsmlib/gsm_me_ta.h:197:35: error: ISO C++17 does not allow dynamic exception specifications
  197 |     void dial(std::string number) throw(GsmException);// (ATD)
      |                                   ^~~~~
../gsmlib/gsm_me_ta.h:200:19: error: ISO C++17 does not allow dynamic exception specifications
  200 |     void answer() throw(GsmException); // (ATA)
      |                   ^~~~~
../gsmlib/gsm_me_ta.h:203:19: error: ISO C++17 does not allow dynamic exception specifications
  203 |     void hangup() throw(GsmException); // (ATH)
      |                   ^~~~~
../gsmlib/gsm_me_ta.h:206:37: error: ISO C++17 does not allow dynamic exception specifications
  206 |     void setPIN(std::string number) throw(GsmException);// (+CPIN)
      |                                     ^~~~~
../gsmlib/gsm_me_ta.h:209:32: error: ISO C++17 does not allow dynamic exception specifications
  209 |     std::string getPINStatus() throw(GsmException);// (+CPIN?)
      |                                ^~~~~
../gsmlib/gsm_me_ta.h:215:46: error: ISO C++17 does not allow dynamic exception specifications
  215 |     std::vector<OPInfo> getAvailableOPInfo() throw(GsmException); // (+COPS=?)
      |                                              ^~~~~
../gsmlib/gsm_me_ta.h:219:31: error: ISO C++17 does not allow dynamic exception specifications
  219 |     OPInfo getCurrentOPInfo() throw(GsmException);
      |                               ^~~~~
../gsmlib/gsm_me_ta.h:228:54: error: ISO C++17 does not allow dynamic exception specifications
  228 |                           int numericName = NOT_SET) throw(GsmException);
      |                                                      ^~~~~
../gsmlib/gsm_me_ta.h:231:60: error: ISO C++17 does not allow dynamic exception specifications
  231 |     std::vector<std::string> getFacilityLockCapabilities() throw(GsmException);
      |                                                            ^~~~~
../gsmlib/gsm_me_ta.h:235:7: error: ISO C++17 does not allow dynamic exception specifications
  235 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_me_ta.h:239:7: error: ISO C++17 does not allow dynamic exception specifications
  239 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_me_ta.h:243:7: error: ISO C++17 does not allow dynamic exception specifications
  243 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_me_ta.h:247:40: error: ISO C++17 does not allow dynamic exception specifications
  247 |     std::vector<PWInfo> getPasswords() throw(GsmException);// (+CPWD=?)
      |                                        ^~~~~
../gsmlib/gsm_me_ta.h:251:7: error: ISO C++17 does not allow dynamic exception specifications
  251 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_me_ta.h:255:27: error: ISO C++17 does not allow dynamic exception specifications
  255 |     bool getNetworkCLIP() throw(GsmException);// (+CLIP?)
      |                           ^~~~~
../gsmlib/gsm_me_ta.h:259:43: error: ISO C++17 does not allow dynamic exception specifications
  259 |     void setCLIPPresentation(bool enable) throw(GsmException);// (+CLIP=)
      |                                           ^~~~~
../gsmlib/gsm_me_ta.h:262:32: error: ISO C++17 does not allow dynamic exception specifications
  262 |     bool getCLIPPresentation() throw(GsmException);// (+CLIP?)
      |                                ^~~~~
../gsmlib/gsm_me_ta.h:271:7: error: ISO C++17 does not allow dynamic exception specifications
  271 |       throw(GsmException); // (+CCFC=)
      |       ^~~~~
../gsmlib/gsm_me_ta.h:279:7: error: ISO C++17 does not allow dynamic exception specifications
  279 |       throw(GsmException); // (+CCFC=)
      |       ^~~~~
../gsmlib/gsm_me_ta.h:292:33: error: ISO C++17 does not allow dynamic exception specifications
  292 |     int getFunctionalityLevel() throw(GsmException);
      |                                 ^~~~~
../gsmlib/gsm_me_ta.h:293:43: error: ISO C++17 does not allow dynamic exception specifications
  293 |     void setFunctionalityLevel(int level) throw(GsmException);
      |                                           ^~~~~
../gsmlib/gsm_me_ta.h:300:34: error: ISO C++17 does not allow dynamic exception specifications
  300 |     int getBatteryChargeStatus() throw(GsmException);
      |                                  ^~~~~
../gsmlib/gsm_me_ta.h:303:28: error: ISO C++17 does not allow dynamic exception specifications
  303 |     int getBatteryCharge() throw(GsmException);
      |                            ^~~~~
../gsmlib/gsm_me_ta.h:311:29: error: ISO C++17 does not allow dynamic exception specifications
  311 |     int getSignalStrength() throw(GsmException);
      |                             ^~~~~
../gsmlib/gsm_me_ta.h:316:27: error: ISO C++17 does not allow dynamic exception specifications
  316 |     int getBitErrorRate() throw(GsmException);
      |                           ^~~~~
../gsmlib/gsm_me_ta.h:319:52: error: ISO C++17 does not allow dynamic exception specifications
  319 |     std::vector<std::string> getPhoneBookStrings() throw(GsmException);
      |                                                    ^~~~~
../gsmlib/gsm_me_ta.h:323:53: error: ISO C++17 does not allow dynamic exception specifications
  323 |                               bool preload = false) throw(GsmException);
      |                                                     ^~~~~
../gsmlib/gsm_me_ta.h:329:43: error: ISO C++17 does not allow dynamic exception specifications
  329 |     std::string getServiceCentreAddress() throw(GsmException);
      |                                           ^~~~~
../gsmlib/gsm_me_ta.h:332:51: error: ISO C++17 does not allow dynamic exception specifications
  332 |     void setServiceCentreAddress(std::string sca) throw(GsmException);
      |                                                   ^~~~~
../gsmlib/gsm_me_ta.h:335:49: error: ISO C++17 does not allow dynamic exception specifications
  335 |     std::vector<std::string> getSMSStoreNames() throw(GsmException);
      |                                                 ^~~~~
../gsmlib/gsm_me_ta.h:338:52: error: ISO C++17 does not allow dynamic exception specifications
  338 |     SMSStoreRef getSMSStore(std::string storeName) throw(GsmException);
      |                                                    ^~~~~
../gsmlib/gsm_me_ta.h:341:52: error: ISO C++17 does not allow dynamic exception specifications
  341 |     void sendSMS(Ref<SMSSubmitMessage> smsMessage) throw(GsmException);
      |                                                    ^~~~~
../gsmlib/gsm_me_ta.h:353:7: error: ISO C++17 does not allow dynamic exception specifications
  353 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_me_ta.h:357:46: error: ISO C++17 does not allow dynamic exception specifications
  357 |     void setMessageService(int serviceLevel) throw(GsmException);
      |                                              ^~~~~
../gsmlib/gsm_me_ta.h:360:38: error: ISO C++17 does not allow dynamic exception specifications
  360 |     unsigned int getMessageService() throw(GsmException);
      |                                      ^~~~~
../gsmlib/gsm_me_ta.h:366:55: error: ISO C++17 does not allow dynamic exception specifications
  366 |                            bool &statusReportsRouted) throw(GsmException);
      |                                                       ^~~~~
../gsmlib/gsm_me_ta.h:378:7: error: ISO C++17 does not allow dynamic exception specifications
  378 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_me_ta.h:382:7: error: ISO C++17 does not allow dynamic exception specifications
  382 |       throw(GsmException);
      |       ^~~~~
../gsmlib/gsm_me_ta.h:385:45: error: ISO C++17 does not allow dynamic exception specifications
  385 |                                   bool lock)throw(GsmException);
      |                                             ^~~~~
../gsmlib/gsm_me_ta.h:387:43: error: ISO C++17 does not allow dynamic exception specifications
  387 |     void setCLIRPresentation(bool enable) throw(GsmException);
      |                                           ^~~~~
../gsmlib/gsm_me_ta.h:393:31: error: ISO C++17 does not allow dynamic exception specifications
  393 |     int getCLIRPresentation() throw(GsmException);
      |                               ^~~~~
make[3]: *** [Makefile:520: gsm_util.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
gsm_phonebook.cc:31:3: error: ISO C++17 does not allow dynamic exception specifications
   31 |   throw(GsmException) : _cached(true), _myPhonebook(NULL)
      |   ^~~~~
gsm_phonebook.cc:38:3: error: ISO C++17 does not allow dynamic exception specifications
   38 |   throw(GsmException)
      |   ^~~~~
gsm_phonebook.cc:73:42: error: ISO C++17 does not allow dynamic exception specifications
   73 | std::string PhonebookEntry::text() const throw(GsmException)
      |                                          ^~~~~
gsm_phonebook.cc:86:47: error: ISO C++17 does not allow dynamic exception specifications
   86 | std::string PhonebookEntry::telephone() const throw(GsmException)
      |                                               ^~~~~
gsm_phonebook.cc:107:57: error: ISO C++17 does not allow dynamic exception specifications
  107 | PhonebookEntry::PhonebookEntry(const PhonebookEntry &e) throw(GsmException)
      |                                                         ^~~~~
gsm_phonebook.cc:113:3: error: ISO C++17 does not allow dynamic exception specifications
  113 |   throw(GsmException)
      |   ^~~~~
gsm_phonebook.cc:164:3: error: ISO C++17 does not allow dynamic exception specifications
  164 |   throw(GsmException)
      |   ^~~~~
gsm_phonebook.cc:191:3: error: ISO C++17 does not allow dynamic exception specifications
  191 |   throw(GsmException)
      |   ^~~~~
gsm_phonebook.cc:219:3: error: ISO C++17 does not allow dynamic exception specifications
  219 |   throw(GsmException)
      |   ^~~~~
gsm_phonebook.cc:261:3: error: ISO C++17 does not allow dynamic exception specifications
  261 |   throw(GsmException)
      |   ^~~~~
gsm_phonebook.cc:294:36: error: ISO C++17 does not allow dynamic exception specifications
  294 |                      bool preload) throw(GsmException) :
      |                                    ^~~~~
gsm_phonebook.cc:474:29: error: ISO C++17 does not allow dynamic exception specifications
  474 | int Phonebook::size() const throw(GsmException)
      |                             ^~~~~
gsm_phonebook.cc:492:3: error: ISO C++17 does not allow dynamic exception specifications
  492 |   throw(GsmException)
      |   ^~~~~
gsm_phonebook.cc:501:3: error: ISO C++17 does not allow dynamic exception specifications
  501 |   throw(GsmException)
      |   ^~~~~
gsm_phonebook.cc:511:3: error: ISO C++17 does not allow dynamic exception specifications
  511 |   throw(GsmException)
      |   ^~~~~
gsm_phonebook.cc:521:3: error: ISO C++17 does not allow dynamic exception specifications
  521 |   throw(GsmException)
      |   ^~~~~
gsm_phonebook.cc:532:3: error: ISO C++17 does not allow dynamic exception specifications
  532 |   throw(GsmException)
      |   ^~~~~
gsm_phonebook.cc:540:25: error: ISO C++17 does not allow dynamic exception specifications
  540 | void Phonebook::clear() throw(GsmException)
      |                         ^~~~~
gsm_phonebook.cc:546:55: error: ISO C++17 does not allow dynamic exception specifications
  546 | Phonebook::iterator Phonebook::find(std::string text) throw(GsmException)
      |                                                       ^~~~~
make[3]: *** [Makefile:520: gsm_phonebook.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/gsmlib'
make[2]: *** [Makefile:453: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:383: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------


Reply to: