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

Bug#972657: marked as done (partitionmanager: FTBFS on hppa - off_t type size)



Your message dated Fri, 21 Jan 2022 15:29:51 +0200
with message-id <6c477458-cc18-4a9c-49ac-000c369e0853@debian.org>
and subject line 
has caused the Debian Bug report #972657,
regarding partitionmanager: FTBFS on hppa - off_t type size
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 owner@bugs.debian.org
immediately.)


-- 
972657: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972657
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: partitionmanager
Version: 4.2.0-1
Severity: normal

Dear Maintainer,

Configuration fails with following error:

/usr/bin/c++ -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_OFFT_IS_64BIT -o CMakeFiles/cmTC_09a8c.dir/src.cxx.o -c /<<PKGBUILDDIR>>/obj-hppa-linux-gnu/CMakeFiles/CMakeTmp/src.cxx
/<<PKGBUILDDIR>>/obj-hppa-linux-gnu/CMakeFiles/CMakeTmp/src.cxx:7:33: warning: left shift count >= width of type [-Wshift-count-overflow]
    7 | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
      |                       ~~~~~~~~~~^~~~~
/<<PKGBUILDDIR>>/obj-hppa-linux-gnu/CMakeFiles/CMakeTmp/src.cxx:8:23: note: in expansion of macro ‘LARGE_OFF_T’
    8 |   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1];
      |                       ^~~~~~~~~~~
/<<PKGBUILDDIR>>/obj-hppa-linux-gnu/CMakeFiles/CMakeTmp/src.cxx:7:57: warning: left shift count >= width of type [-Wshift-count-overflow]
    7 | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
      |                                               ~~~~~~~~~~^~~~~
/<<PKGBUILDDIR>>/obj-hppa-linux-gnu/CMakeFiles/CMakeTmp/src.cxx:8:23: note: in expansion of macro ‘LARGE_OFF_T’
    8 |   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1];
      |                       ^~~~~~~~~~~
/<<PKGBUILDDIR>>/obj-hppa-linux-gnu/CMakeFiles/CMakeTmp/src.cxx:8:89: error: size ‘-1’ of array ‘off_t_is_large’ is negative
    8 |   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1];

By default, off_t is a signed long in glibc.  This is 32 bits on 32-bit hppa.
I believe one needs to define _FILE_OFFSET_BITS=64 to ensure a 64-bit typedef
for off_t.

Regards,
Dave Anglin

-- System Information:
Debian Release: bullseye/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 4.14.202+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages partitionmanager depends on:
pn  kio                   <none>
ii  libc6                 2.31-3
ii  libgcc-s4             10.2.0-15
ii  libkf5auth5           5.74.0-2
ii  libkf5authcore5       5.74.0-2
ii  libkf5codecs5         5.74.0-2
pn  libkf5completion5     <none>
ii  libkf5configcore5     5.74.0-2
ii  libkf5configgui5      5.74.0-2
ii  libkf5configwidgets5  5.74.0-2
ii  libkf5coreaddons5     5.74.0-2
ii  libkf5crash5          5.74.0-2
ii  libkf5dbusaddons5     5.74.0-2
ii  libkf5i18n5           5.74.0-2
ii  libkf5iconthemes5     5.74.0-2
pn  libkf5jobwidgets5     <none>
pn  libkf5kiocore5        <none>
pn  libkf5kiowidgets5     <none>
ii  libkf5service-bin     5.74.0-2
ii  libkf5service5        5.74.0-2
ii  libkf5widgetsaddons5  5.74.0-3
ii  libkf5xmlgui5         5.74.0-2
pn  libkpmcore9           <none>
ii  libqt5concurrent5     5.14.2+dfsg-6
ii  libqt5core5a          5.14.2+dfsg-6
ii  libqt5dbus5           5.14.2+dfsg-6
ii  libqt5gui5            5.14.2+dfsg-6
ii  libqt5network5        5.14.2+dfsg-6
ii  libqt5widgets5        5.14.2+dfsg-6
ii  libqt5xml5            5.14.2+dfsg-6
ii  libstdc++6            10.2.0-15

partitionmanager recommends no packages.

Versions of packages partitionmanager suggests:
pn  btrfs-progs    <none>
ii  dosfstools     4.1-2
pn  hfsplus        <none>
pn  hfsutils       <none>
pn  jfsutils       <none>
ii  ntfs-3g        1:2017.3.23AR.3-3
pn  reiser4progs   <none>
pn  reiserfsprogs  <none>
ii  xfsprogs       5.6.0-1+b1

--- End Message ---
--- Begin Message ---
21.12.1-1 appears to be building fine again on hppa, closing bug...

--- End Message ---

Reply to: