[Debian-med-packaging] Bug#957206: EXTERNAL: Re: Bug#957206: New upstream version available (Was: Bug#957206: fis-gtm: ftbfs with GCC-10)

Shah, Amul Amul.Shah at fisglobal.com
Tue Dec 1 18:48:47 GMT 2020


Hi Andreas,
Thanks for sending that part of the build log. The issue is that the gtminstall script wants to be run as root hence the message "Non-root installations not currently supported". On my machine, I ran git-buildpackage as root (ick!) and forgot that I did that. In the past, this configuration requirement (the root user) worked. The root user requirement was something we did for expedience back in 2016. The install script requires root so that it can set the permissions on a setuid root program, gtmsecshr, that GT.M uses to facility inter-process communication between separate users, e.g. sending a SIGCONT or updating DB headers when the active user has read-only access.

I'm currently reading through the following:
https://www.debian.org/doc/debian-policy/ch-files.html
https://www.debian.org/doc/manuals/debmake-doc/index.en.html

Please let me know if you know what one must do to make a process setuid root the Debian way.

Thanks,
Amul

-----Original Message-----
From: Andreas Tille <andreas at fam-tille.de>
Sent: Tuesday, December 01, 2020 1:11 AM
To: Shah, Amul <Amul.Shah at fisglobal.com>
Cc: 957206-maintonly at bugs.debian.org
Subject: Re: EXTERNAL: Re: Bug#957206: New upstream version available (Was: Bug#957206: fis-gtm: ftbfs with GCC-10)

Hi Amul,

thanks for the quick response.  Unfortunately the package does not build
successfully yet:

make[2]: Leaving directory '/build/fis-gtm-6.3-014/obj-x86_64-linux-gnu'
cd debian/fis-gtm-6.3-007-stage1/usr/lib/x86_64-linux-gnu/fis-gtm/V6.3-014_x86_64 && \
        gtm_destdir=/build/fis-gtm-6.3-014/debian/fis-gtm-6.3-007 \
        gtmcompile="-embed_source" \
        ./gtminstall --utf8 default --user root --group root --verbose \
                --noprompt-for-sys-cfg --distrib . \
                --installdir /build/fis-gtm-6.3-014/debian/fis-gtm-6.3-007/usr/lib/x86_64-linux-gnu/fis-gtm/V6.3-014_x86_64
Processed command line
gtm_buildtype  :  pro
gtm_distrib  :  .
gtm_dryrun  :  N
gtm_group  :  root
gtm_group_already  :  N
gtm_group_restriction  :  N
gtm_icu_version  :  default
gtm_installdir  :  /build/fis-gtm-6.3-014/debian/fis-gtm-6.3-007/usr/lib/x86_64-linux-gnu/fis-gtm/V6.3-014_x86_64
gtm_keep_obj  :  N
gtm_lcase_utils  :  Y
gtm_overwrite_existing  :  N
gtm_prompt_for_group  :  N
gtm_prompt_for_sys_reconfig  :  N
gtm_user  :  root
gtm_verbose  :  Y
timestamp  :  20201201060722
Determined architecture, OS and GT.M version
gtm_arch  :  x8664
gtm_buildtype  :  pro
gtm_dist  :  .
gtm_distrib  :  .
gtm_dryrun  :  N
gtm_flavor  :  x8664
gtm_ftp_dirname  :  linux_x8664
gtm_group  :  root
gtm_group_already  :  N
gtm_group_restriction  :  N
gtm_hostos  :  linux
gtm_icu_version  :  default
gtm_install_flavor  :  x86_64
gtm_installdir  :  /build/fis-gtm-6.3-014/debian/fis-gtm-6.3-007/usr/lib/x86_64-linux-gnu/fis-gtm/V6.3-014_x86_64
gtm_keep_obj  :  N
gtm_lcase_utils  :  Y
gtm_overwrite_existing  :  N
gtm_prompt_for_group  :  N
gtm_prompt_for_sys_reconfig  :  N
gtm_sf_dirname  :  GT.M-amd64-Linux
gtm_user  :  root
gtm_verbose  :  Y
gtm_version  :  V6.3-014
gtmroutines  :  /tmp/gtminstall_20201201060722(.)
timestamp  :  20201201060722
Downloaded and unpacked GT.M distribution
gtm_arch  :  x8664
gtm_buildtype  :  pro
gtm_dist  :  .
gtm_distrib  :  .
gtm_dryrun  :  N
gtm_flavor  :  x8664
gtm_ftp_dirname  :  linux_x8664
gtm_group  :  root
gtm_group_already  :  N
gtm_group_restriction  :  N
gtm_hostos  :  linux
gtm_icu_version  :  default
gtm_install_flavor  :  x86_64
gtm_installdir  :  /build/fis-gtm-6.3-014/debian/fis-gtm-6.3-007/usr/lib/x86_64-linux-gnu/fis-gtm/V6.3-014_x86_64
gtm_keep_obj  :  N
gtm_lcase_utils  :  Y
gtm_overwrite_existing  :  N
gtm_prompt_for_group  :  N
gtm_prompt_for_sys_reconfig  :  N
gtm_sf_dirname  :  GT.M-amd64-Linux
gtm_tmp  :  .
gtm_user  :  root
gtm_verbose  :  Y
gtm_version  :  V6.3-014
gtmroutines  :  /tmp/gtminstall_20201201060722(.)
timestamp  :  20201201060722
Non-root installations not currently supported
gtminstall [option] ... [version]
Options are:
--build-type buildtype - * type of GT.M build, default is pro
--copyenv dirname - copy gtmprofile and gtmcshrc files to dirname; incompatible with linkenv
--copyexec dirname - copy gtm script to dirname; incompatible with linkexec
--debug - * turn on debugging with set -x
--distrib dirname or URL - source directory for GT.M distribution tarball, local or remote
--filename filename - name of GT.M distribution tarball
--dry-run - do everything short of installing GT.M, including downloading the distribution
--group group - group that should own the GT.M installation
--group-restriction - limit execution to a group; defaults to unlimited if not specified
--help - print this usage information
--installdir dirname - directory where GT.M is to be installed; defaults to /usr/lib/fis-gtm/version_platform
--keep-obj - keep .o files of M routines (normally deleted on platforms with GT.M support for routines in shared libraries)
--linkenv dirname - create link in dirname to gtmprofile and gtmcshrc files; incompatible with copyenv
--linkexec dirname - create link in dirname to gtm script; incompatible with copyexec
--noprompt-for-sys-cfg - do not prompt to adjust OS configuration files
--overwrite-existing - install into an existing directory, overwriting contents; defaults to requiring new directory
--prompt-for-group - * GT.M installation script will prompt for group; default is yes for production releases V5.4-002 or later, no for all others
--ucaseonly-utils -- install only upper case utility program names; defaults to both if not specified
--user username - user who should own GT.M installation; default is root
--utf8 ICU_version - install UTF-8 support using specified  major.minor ICU version; specify default to use default version
--verbose - * output diagnostic information as the script executes; default is to run quietly
options that take a value (e.g, --group) can be specified as either --option=value or --option value
options marked with * are likely to be of interest primarily to GT.M developers
version is defaulted from mumps file if one exists in the same directory as the installer
This version must run as root.
make[1]: *** [debian/rules:30: override_dh_auto_install] Error 1
make[1]: Leaving directory '/build/fis-gtm-6.3-014'
make: *** [debian/rules:21: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I: copying local configuration


Any clue what to do next?

Kind regards

      Andreas.
On Tue, Dec 01, 2020 at 02:47:25AM +0000, Shah, Amul wrote:
> Hi Andreas,
> The latest GT.M version, V6.3-014, has a number of GCC-10 fixes in it. debian/rules needed some changes to handle executables that are no longer in the build. I made the necessary changes and tested the build (GCC-10) on my Debian unstable machine. I pushed the changes. Please let me know if there is more work to do. I have free time.
>
> Thanks,
> Amul
>
> -----Original Message-----
> From: Andreas Tille <andreas at an3as.eu>
> Sent: Monday, November 30, 2020 3:40 PM
> To: 957206-maintonly at bugs.debian.org; Shah, Amul <Amul.Shah at fisglobal.com>
> Subject: EXTERNAL: Re: Bug#957206: New upstream version available (Was: Bug#957206: fis-gtm: ftbfs with GCC-10)
>
> CAUTION: This email originated from outside of the company. Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
>
>
> Hi again Amul,
>
> I updated Git to the next upstream version.  It also does not build
> successfully.  We *really* should fix this *right* now.  Otherwise
> fis-gtm will be not released with the next stable release.
>
> Kind regards
>
>       Andreas.
>
> On Thu, Oct 01, 2020 at 03:52:01PM +0200, Andreas Tille wrote:
> > Hi again
> >
> > On Fri, 7 Aug 2020 14:55:21 +0000, Shah, Amul wrote:
> > > Thanks for the ping. We have a fix, just not enough time in a day. :(
> >
> > I think we should upload that fix in the near future.
> >
> > Kind regards
> >
> >      Andreas.
>
> The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
>

--
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffam-tille.de%2F&data=04%7C01%7Camul.shah%40fisglobal.com%7C4602c6281f1a42a97ad408d895bfe96b%7Ce3ff91d834c84b15a0b418910a6ac575%7C0%7C0%7C637423998768750868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=bi56iR0Ru3v9fKysEJ61Ud0xAdeU2n%2F%2FxQQb%2BqyQrbc%3D&reserved=0
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.



More information about the Debian-med-packaging mailing list