[Help] How to fix type issue on 32bit archs in C++ (Was: Bug#852839: baitfisher: FTBFS (32-bit): mixes ::size_t and faststring::size_t)
control: tags -1 help Hi, I admit I have to poor C++ knowledge to fix this possibly very simple issue. Any help would be welcome. Kind regards Andreas. On Fri, Jan 27, 2017 at 01:23:40PM -0500, Aaron M. Ucko wrote: > Source: baitfisher > Version: 1.0+dfsg-1 > Severity: important > Justification: fails to build from source > > Builds of baitfisher for 32-bit architectures such as i386 have been > failing: > > range_functions.h: In member function 'bool CRangeList::add(faststring)': > range_functions.h:596:31: error: invalid initialization of non-const > reference of type 'faststring::size_t& {aka long unsigned int&}' from an > rvalue of type 'faststring::size_t {aka long unsigned int}' > > The issue appears to be that, for some reason, class faststring has > (https://anonscm.debian.org/cgit/debian-med/baitfisher.git/tree/faststring2.h#n128) > > // Shadow the "global" size_t typedef for this class. > typedef unsigned long size_t; > > but CRangeList::add uses the global size_t typedef, which is formally > unsigned int on 32-bit systems: > > https://anonscm.debian.org/cgit/debian-med/baitfisher.git/tree/range_functions.h#n591 > > size_t pos1=0, pos2, len=str.size(); > > Although the two types are de facto equivalent on 32-bit > architectures, C++ compilers insist on treating them as different. > (This problem doesn't occur on 64-bit architectures, on which both > size_t typedefs are unsigned long.) > > Could you please take a look? > > Thanks! > > -- > Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) > http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu > > ___ > Debian-med-packaging mailing list > debian-med-packag...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging > -- http://fam-tille.de
Re: [Help] How to fix type issue on 32bit archs in C++ (Was: Bug#852839: baitfisher: FTBFS (32-bit): mixes ::size_t and faststring::size_t)
Hi, On 11/12/17 08:57, Andreas Tille wrote: > control: tags -1 help > > Hi, > > I admit I have to poor C++ knowledge to fix this possibly very simple > issue. Any help would be welcome. > > Kind regards > > Andreas. > > On Fri, Jan 27, 2017 at 01:23:40PM -0500, Aaron M. Ucko wrote: >> Source: baitfisher >> Version: 1.0+dfsg-1 >> Severity: important >> Justification: fails to build from source >> >> Builds of baitfisher for 32-bit architectures such as i386 have been >> failing: >> >> range_functions.h: In member function 'bool CRangeList::add(faststring)': >> range_functions.h:596:31: error: invalid initialization of non-const >> reference of type 'faststring::size_t& {aka long unsigned int&}' from an >> rvalue of type 'faststring::size_t {aka long unsigned int}' >> >> The issue appears to be that, for some reason, class faststring has >> (https://anonscm.debian.org/cgit/debian-med/baitfisher.git/tree/faststring2.h#n128) >> >> // Shadow the "global" size_t typedef for this class. >> typedef unsigned long size_t; I think you should ask upstream why they have this horrific typedef instead of defining their own size type or using the normal size_t. Maybe ask them why they decided to reimplement std::string as well... >> but CRangeList::add uses the global size_t typedef, which is formally >> unsigned int on 32-bit systems: >> >> https://anonscm.debian.org/cgit/debian-med/baitfisher.git/tree/range_functions.h#n591 >> >> size_t pos1=0, pos2, len=str.size(); >> >> Although the two types are de facto equivalent on 32-bit >> architectures, C++ compilers insist on treating them as different. >> (This problem doesn't occur on 64-bit architectures, on which both >> size_t typedefs are unsigned long.) >> >> Could you please take a look? You need to make sure you use faststring's version of size_t. As a workaround, I think this will work instead of the line above (untested): faststring::size_t pos1=0, pos2, len=str.size(); It's likely there will be other cases of this though. James signature.asc Description: OpenPGP digital signature
Re: [Help] How to fix type issue on 32bit archs in C++ (Was: Bug#852839: baitfisher: FTBFS (32-bit): mixes ::size_t and faststring::size_t)
Andreas Tille kirjoitti 11.12.2017 klo 10:57: > Hi, > > I admit I have to poor C++ knowledge to fix this possibly very simple > issue. Any help would be welcome. Hi Andreas, This is not related to the FTBFS, but your and James' messages made me take a look at the package. I found its makefile could be improved to accept {CPP,CXX,LD}FLAGS. So if you're also interested in getting hardening to work for baitfisher please check out https://github.com/cmayer/BaitFisher-package/pull/8 Regards, Juhani
Bug#883978: RFS: parcimonie/0.10.3-2
I have not actually looked at the package as I was just curious what it was, but . . On Sat, Dec 9, 2017 at 4:22 PM, Nicolas Braud-Santoni < nico...@braud-santoni.eu> wrote: > Package: sponsorship-requests > Severity: wishlist > Control: block 883975 by -1 > Control: tag 883975 + pending > X-Debbugs-CC: pkg-privacy-maintain...@lists.alioth.debian.org, > j...@debian.org > > Dear mentors, > > I am looking for a sponsor for the package “parcimonie”: > > * Package name: parcimonie >Version : 0.10.3-2 >Upstream Author : intrigeri > * URL : https://gaffer.ptitcanardnoir. > org/intrigeri/code/parcimonie/ > * License : Artistic or GPL-1+ >Section : net > > > The source package can be found on mentors.debian.org: > > https://mentors.debian.net/package/parcimonie > > Alternatively, the packaging repository is available on alioth.d.o: > > https://anonscm.debian.org/git/pkg-privacy/packages/parcimonie.git > > > Changes since the last upload: > > * debian/control > * Remove obsolete dependency (gnupg2) (Closes: #883975). > * Drop repeated `Section: net`. > * Declare compliance with Debian policy v4.1.2.0. > No changes required. > * Use HTTPS URIs for gaffer.ptitcanardnoir.org. > this url is a placeholder. > > > Best, > > nicoo > -- -- Ben Hildred Automation Support Services
Bug#883726: marked as done (RFS: budgie-extras/0.3.0-1 [ITP])
Your message dated Mon, 11 Dec 2017 16:33:40 + with message-id and subject line closing RFS: budgie-extras/0.3.0-1 [ITP] has caused the Debian Bug report #883726, regarding RFS: budgie-extras/0.3.0-1 [ITP] 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.) -- 883726: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883726 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: sponsorship-requests Severity: wishlist Dear mentors, I am looking for a sponsor for my package "budgie-extras" * Package name: budgie-extras Version : 0.3.0-1 Upstream Author : Ubuntu Budgie Developers * URL : https://github.com/ubuntubudgie/budgie-extras * License : GPL-3+ Section : misc It builds those binary packages: budgie-countdown-applet - Applet providing a countdown capability on the Budgie Desktop budgie-hotcorners-applet - Applet providing hotcorners capabilities for the Budgie Desktop budgie-keyboard-autoswitch-applet - Applet adding the ability to set a different keyboard layout per budgie-previews-applet - Applet providing window previews capabilities for the Budgie Desk budgie-quicknote-applet - Applet providing simple notes capability for the Budgie Desktop budgie-showtime-applet - Applet displaying date and time on the Budgie Desktop budgie-window-mover-applet - Applet allows moving windows between workspaces for the Budgie De budgie-workspace-overview-applet - Applet providing quick access to workspaces for the Budgie Deskto budgie-workspace-wallpaper-applet - Applet providing per workspace wallpaper To access further information about this package, please visit the following URL: https://mentors.debian.net/package/budgie-extras Alternatively, one can download the package with dget using this command: dget -x https://mentors.debian.net/debian/pool/main/b/budgie-extras/budgie-extras_0.3.0-1.dsc Notes: Budgie Desktop is the flagship desktop system for Solus. Budgie Desktop can be extended through applets - LibPeas based applications that provide extra capabilities not available through the core product. For this sponsorship request, myself as the project lead of the GNU/Linux distro Ubuntu Budgie have been working with my team to develop a series of additional Budgie Desktop applets that we believe give the end user additional optional capabilities to enhance their user experience. These applets are distro agnostic and we believe would benefit Debian users of the Budgie Desktop. Viability: The Ubuntu Budgie team have a direct interest in developing and maintaining these applets. These are already available to Ubuntu Budgie users via its backports PPA. Maintainership: I maintain all budgie related packages for both Debian and Ubuntu. Packaging: We have made each applet available as individual binary packages - this allows users the flexibility to choose specific applets rather than having to install everything. For this release (and moving forward) I have signed with my 4K based key. The package was verfied through a `uscan -v --force-download` and unpacked & built & uploaded to mentors check-all-the-things has been run on the source and where appropriate we have tidied up both the source and debian packaging. lintian -i -I --pedantic on the built changes file has been run and is lintian free. We include a pep8 based autopkgtest that has been tested on an schroot for both unstable and also Ubuntu's bionic series. The test has passed successfully. The package itself runs with an autotest - the same pep8 test for autopkgtests (see tools/run_pep8) Testing: The minimal XFCE based Debian Buster was upgraded to unstable and budgie-desktop was installed. The package was built and each individual binary package was installed and tested to confirm that they work correctly - this importantly caught all the necessary runtime dependencies that have been captured in debian/control Changes since the last upload: * Initial Release (Closes: #883720) Regards, David Mohammed --- End Message --- --- Begin Message --- Package budgie-extras version 0.3.0-1 is in NEW now, and the package at mentors is not newer (2017-12-06) than the package in NEW (2017-12-06), so there is currently no package to sponsor. https://ftp-master.debian.org/new/budgie-extras_0.3.0-1.html https://mentors.debian.net/package/budgie-extras Please remove the package from mentors or mark it "needs sponsor = no". If for some reason you need to replace the package in NEW, then you can upload an updated package to mentors and
Bug#882392: marked as done (RFS: dmg2img/1.6.7-1 [ITA])
Your message dated Mon, 11 Dec 2017 16:33:38 + with message-id and subject line closing RFS: dmg2img/1.6.7-1 [ITA] has caused the Debian Bug report #882392, regarding RFS: dmg2img/1.6.7-1 [ITA] 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.) -- 882392: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882392 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: sponsorship-requests Severity: normal Dear mentors, I am looking for a sponsor for my package "dmg2img" * Package name: dmg2img Version : 1.6.7-1 Upstream Author : vu1tur * URL : http://vu1tur.eu.org/tools/ * License : GPLv2+ Section : utils It builds those binary packages: dmg2img- Tool for converting compressed dmg files to hfsplus images To access further information about this package, please visit the following URL: https://mentors.debian.net/package/dmg2img Alternatively, one can download the package with dget using this command: dget -x https://mentors.debian.net/debian/pool/main/d/dmg2img/dmg2img_1.6.7-1.dsc More information about dmg2img can be obtained from http://vu1tur.eu.org/tools/ Changes since the last upload: * New upstream version 1.6.6 (Closes: #778827) * New upstream version 1.6.7 * Fix FTCBFS: Let cdbs' makefile.mk pass cross compilers. (Closes: #864511) * Update patches * Update debhelper compatibility level to v10 * Bump standards version to 4.1.1 (No changes required) * Fix homepage URL, remove obsolete URLs * Update debian/copyright file * Fix typo in packet description * New maintainer (Closes: #881838) Regards, Denys Berkovskyy--- End Message --- --- Begin Message --- Package dmg2img has been removed from mentors.--- End Message ---
Re: [Help] How to fix type issue on 32bit archs in C++ (Was: Bug#852839: baitfisher: FTBFS (32-bit): mixes ::size_t and faststring::size_t)
On Mon, Dec 11, 2017 at 03:23:49PM +0200, Juhani Numminen wrote: > This is not related to the FTBFS, but your and James' messages made me > take a look at the package. I found its makefile could be improved to > accept {CPP,CXX,LD}FLAGS. So if you're also interested in getting > hardening to work for baitfisher please check out > https://github.com/cmayer/BaitFisher-package/pull/8 Pushed to Git - thanks for the patch Andreas. -- http://fam-tille.de
Bug#884143: ITA: urbit/0.5-1 -- an operating function
Package: sponsorship-requests Severity: normal Dear mentors, I am looking for a sponsor for my package "urbit": * Package name: urbit Version : 0.5-1 Upstream Author : Raymond Pasco * URL : https://urbit.org * License : MIT Section : net It builds these binary packages: urbit - an operating function To access further information about this package, please visit the following URL: https://github.com/urbit/urbit The .deb can be found here: https://github.com/urbit/urbit/releases/download/v0.5.1/urbit_0.5-1_amd64.deb The files used to generate this package can be found here: https://github.com/urbit/urbit/tree/master/debian The package files themselves are available here: https://bootstrap.urbit.org/urbit_0.5-1_amd64.changes https://bootstrap.urbit.org/urbit_0.5-1_amd64.upload https://bootstrap.urbit.org/urbit_0.5-1.dsc Changes since the last upload: urbit (0.5-1) unstable; urgency=medium * hoon %143; new boot sequence; %jael support -- Ted Blackman Thu, 12 Oct 2017 17:11:53 -0700 This is my first time submitting a package to debian. I've tried to follow the instructions exactly, but I'm not sure I've gotten them all right. I'd appreciate any advice you're willing to give me as I go though this process. Thanks, Ted Blackman Software Engineer Tlon Corporation
Bug#884145: RFS: deepin-gettext-tools/1.0.7-1~bpo9+1
Package: sponsorship-requests Severity: wishlist X-Debbugs-CC: debian-backpo...@lists.debian.org pkg-deepin-de...@lists.alioth.debian.org Dear mentors and backports members, I am looking for a sponsor for my package "deepin-gettext-tools" into stretch-backports. This package is the build-dependency of many Deepin applications. I'd like to push this package as well as other fundamental Deepin libraries into stretch-backports to make it easier for end-users to build/install Deepin applications by themselves. * Package name: deepin-gettext-tools Version : 1.0.7-1~bpo9+1 Upstream Author : Deepin Technology Co., Ltd. * URL : https://github.com/linuxdeepin/deepin-gettext-tools * License : GPL-3+ Section : devel It builds those binary packages: deepin-gettext-tools - Deepin Internationalization utilities To access further information about this package, please visit the following URL: https://mentors.debian.net/package/deepin-gettext-tools Alternatively, one can download the package with dget using this command: dget -x https://mentors.debian.net/debian/pool/main/d/deepin-gettext-tools/deepin-gettext-tools_1.0.7-1~bpo9+1.dsc Git packaging repository: https://anonscm.debian.org/git/pkg-deepin/deepin-gettext-tools.git Changes since the last upload: deepin-gettext-tools (1.0.7-1~bpo9+1) stretch-backports; urgency=medium * No-change rebuild for stretch-backports. Regards, Boyuan Yang signature.asc Description: This is a digitally signed message part.
Bug#883753: closing 883753
close 883753 thanks Package deepin-picker sponsored by jcc@. Regards, Boyuan Yang