ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] I: glibc 2.30
  @ 2019-11-11 17:43 ` Gleb Fotengauer-Malinovskiy
  2019-11-11 20:46   ` Alexey V. Vissarionov
  0 siblings, 1 reply; 6+ messages in thread
From: Gleb Fotengauer-Malinovskiy @ 2019-11-11 17:43 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 5198 bytes --]

Hi,

В связи с ...

On Mon, Nov 11, 2019 at 12:15:40AM +0000, Girar Builder pender robot wrote:
> http://git.altlinux.org/tasks/archive/done/_234/240143/logs/events.14.1.log
> 
> 2019-Nov-10 23:54:32 :: task #240143 for sisyphus resumed by root_ldv:
> #40 build 2.30-alt1 from /people/glebfm/packages/glibc.git fetched at 2019-Nov-05 14:20:04

... некоторое количество пакетов перестало собираться:

On Mon, Nov 11, 2019 at 07:25:15AM +0000, ALT beekeeper wrote:
> MAKEDEV-3.3.1-alt21
> drbd-utils-8.9.6-alt1
> dump-0.4b44-alt1.1
> dvd+rw-tools-7.1-alt2
> e4rat-0.2.3-alt4.1
> eject-2.1.5-alt3.qa1
> fdutils-5.5.20081027-alt2
> fsarchiver-1:0.8.1-alt1
> jfsutils-1.1.15-alt2
> libdispatch-objc2-1.2-alt5.git20140226
> libdsk-1.2.1-alt2.qa2
> libudev0-181-alt7
> logfsprogs-1.1-alt0.2
> mt-st-1.1-alt1.qa1
> mtd-utils-1.5.2-alt1
> owfs-3.2p1-alt1.4
> parted-3.2-alt5
> psmisc-22.20-alt1
> riscvemu-20170806-alt1.1
> sg3_utils-1.42-alt1
> spacefm-1.0.6-alt2
> sysvinit-2.88-alt5
> tcplay-2.0-alt1.1
> tvtime-1.0.11-alt1
> usbmon-6-alt1
> vzmigrate-7.0.124-alt5
> vztt-7.0.67-alt1
> wdm-1.28-alt19
> wmhdplop-0.9.9-alt5.1

* The macros 'major', 'minor', and 'makedev' are now only available from
  the header <sys/sysmacros.h>; not from <sys/types.h> or various other
  headers that happen to include <sys/types.h>.  These macros are rarely
  used, not part of POSIX nor XSI, and their names frequently collide with
  user code; see https://sourceware.org/bugzilla/show_bug.cgi?id=19239 for
  further explanation.


> bazel-0.23.2-alt1
> fio-3.13-alt1
> intel-gpu-tools-1.22-alt1
> jitterdebugger-0.3.0.53.g3a24505-alt2
> megasync-4.0.2.0-alt1
> python3-module-grpcio-1.22.0-alt1

* On Linux, the getdents64, gettid, and tgkill functions have been added.


> atanks-6.5-alt1
> ballz-1.0.4-alt1_1
> duel3-0.1-alt3_0.25.20060225
> fakenes-0.5.9-alt0.5.beta3
> headoverheels-1.0.1-alt1.1
> magicmaze-1.0.2-alt2_21
> perl-Crypt-Curve25519-0.06-alt3.1
> scorchwentbonkers-1.3-alt1_8

* <math.h> functions that round their results to a narrower type are added
  from TS 18661-1:2014 and TS 18661-3:2015:

  - fadd, faddl, daddl and corresponding fMaddfN, fMaddfNx, fMxaddfN and
    fMxaddfNx functions.

  - fsub, fsubl, dsubl and corresponding fMsubfN, fMsubfNx, fMxsubfN and
    fMxsubfNx functions.

  - fmul, fmull, dmull and corresponding fMmulfN, fMmulfNx, fMxmulfN and
    fMxmulfNx functions.

  - fdiv, fdivl, ddivl and corresponding fMdivfN, fMdivfNx, fMxdivfN and
    fMxdivfNx functions.


> cdp-1:0.33-alt3.qa1
> gcc4.9-4.9.2-alt7
> gcc5-5.3.1-alt7
> gcc6-6.3.1-alt5
> partclone-0.3.6-alt0.4.git96f986f

* The obsolete function ustat is no longer available to newly linked
  binaries; the headers <ustat.h> and <sys/ustat.h> have been removed.  This
  function has been deprecated in favor of fstatfs and statfs.


> eresi-0.83-alt2.1
> gsl0.17-1.16-alt2.git20150121
> rpm-build-4.0.4-alt134

* The nonstandard header files <libio.h> and <_G_config.h> are no longer
  installed.  Software that was using either header should be updated to
  use standard <stdio.h> interfaces instead.


> dc3dd-7.2.646-alt1_3
> lbzip2-2.5-alt1
> oath-toolkit-2.6.2-alt4

http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=4af4a4a71827c0bc5e0ec67af23edef4f15cee8e
http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=74d9d6a293d7462dea8f83e7fc5ac792e956a0ad


> casync-2.0.101.git8595b4d-alt1.1

* The renameat2 function has been added, a variant of the renameat function
  which has a flags argument.  If the flags are zero, the renameat2 function
  acts like renameat.  If the flag is not zero and there is no kernel
  support for renameat2, the function will fail with an errno value of
  EINVAL.  This is different from the existing gnulib function renameatu,
  which performs a plain rename operation in case of a RENAME_NOREPLACE
  flags and a non-existing destination (and therefore has a race condition
  that can clobber the destination inadvertently).


> cjdns-20.3-alt2
> powershell-6.0.0-alt6

* The Linux-specific <sys/sysctl.h> header and the sysctl function have been
  deprecated and will be removed from a future version of glibc.
  Application should directly access /proc instead.  For obtaining random
  bits, the getentropy function can be used.


> cloop-3.14.1.2-alt1
> reiserfsprogs-3.6.24-alt3

[14553] libc: Namespace pollution loff_t in sys/types.h
https://sourceware.org/bugzilla/show_bug.cgi?id=14553


> sendmail-8.16.0.41-alt2

* Support for the "inet6" option in /etc/resolv.conf and the RES_USE_INET6
  resolver flag (deprecated in glibc 2.25) have been removed.


> lmbench-3.0-alt2.qa1

* The obsolete function name llseek is no longer available to newly linked
  binaries.  This function was specific to systems using the Linux kernel
  and was not declared in a header.  Programs should use the lseek64 name
  for this function instead.


> rr-project-5.2.0-alt1

https://github.com/mozilla/rr/commit/68fcc59c52b0add07b7db94f192bdcfc854b1db4

-- 
glebfm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] I: glibc 2.30
  2019-11-11 17:43 ` [devel] I: glibc 2.30 Gleb Fotengauer-Malinovskiy
@ 2019-11-11 20:46   ` Alexey V. Vissarionov
  2019-11-11 21:00     ` [devel] sys/sysmacros.h Dmitry V. Levin
  2019-11-11 22:16     ` [devel] I: glibc 2.30 Sergey Y. Afonin
  0 siblings, 2 replies; 6+ messages in thread
From: Alexey V. Vissarionov @ 2019-11-11 20:46 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 914 bytes --]

On 2019-11-11 20:43:01 +0300, Gleb Fotengauer-Malinovskiy wrote:

 > В связи с ...
 >> #40 build 2.30-alt1 from /people/glebfm/packages/glibc.git
 > ... некоторое количество пакетов перестало собираться:
 >> sysvinit-2.88-alt5

Этого поправил (240584 eperm).

 > * The macros 'major', 'minor', and 'makedev' are now only
 > available from the header <sys/sysmacros.h>; not from
 > <sys/types.h>

Собственно, само исправление выглядит просто и незатейливо:

#if __GLIBC_PREREQ(2,30)
#include <sys/sysmacros.h>
#endif

 >> sendmail-8.16.0.41-alt2
 > * Support for the "inet6" option in /etc/resolv.conf and the
 > RES_USE_INET6 resolver flag (deprecated in glibc 2.25) have
 > been removed.

А это предлагаю наконец-то закопать.


-- 
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] sys/sysmacros.h
  2019-11-11 20:46   ` Alexey V. Vissarionov
@ 2019-11-11 21:00     ` Dmitry V. Levin
  2019-11-11 21:08       ` Dmitry V. Levin
  2019-11-11 21:10       ` Alexey V. Vissarionov
  2019-11-11 22:16     ` [devel] I: glibc 2.30 Sergey Y. Afonin
  1 sibling, 2 replies; 6+ messages in thread
From: Dmitry V. Levin @ 2019-11-11 21:00 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

On Mon, Nov 11, 2019 at 11:46:01PM +0300, Alexey V. Vissarionov wrote:
> On 2019-11-11 20:43:01 +0300, Gleb Fotengauer-Malinovskiy wrote:
> 
>  > В связи с ...
>  >> #40 build 2.30-alt1 from /people/glebfm/packages/glibc.git
>  > ... некоторое количество пакетов перестало собираться:
>  >> sysvinit-2.88-alt5
> 
> Этого поправил (240584 eperm).
> 
>  > * The macros 'major', 'minor', and 'makedev' are now only
>  > available from the header <sys/sysmacros.h>; not from
>  > <sys/types.h>
> 
> Собственно, само исправление выглядит просто и незатейливо:
> 
> #if __GLIBC_PREREQ(2,30)
> #include <sys/sysmacros.h>
> #endif

Нет, если вы используете __GLIBC_PREREQ, значит, вы рассчитываете на то,
что у вас glibc.  А если у вас glibc, значит, <sys/sysmacros.h> доступен,
начиная с версии 2.25, и его неиспользование в такой ситуации до версии
2.28 порождает предупреждение, а начиная с 2.28 - ошибку.

Спасибо, конечно, за помощь, но это сейчас не самый нуждающийся пакет.


-- 
ldv

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] sys/sysmacros.h
  2019-11-11 21:00     ` [devel] sys/sysmacros.h Dmitry V. Levin
@ 2019-11-11 21:08       ` Dmitry V. Levin
  2019-11-11 21:10       ` Alexey V. Vissarionov
  1 sibling, 0 replies; 6+ messages in thread
From: Dmitry V. Levin @ 2019-11-11 21:08 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]

On Tue, Nov 12, 2019 at 12:00:23AM +0300, Dmitry V. Levin wrote:
> On Mon, Nov 11, 2019 at 11:46:01PM +0300, Alexey V. Vissarionov wrote:
> > On 2019-11-11 20:43:01 +0300, Gleb Fotengauer-Malinovskiy wrote:
> > 
> >  > В связи с ...
> >  >> #40 build 2.30-alt1 from /people/glebfm/packages/glibc.git
> >  > ... некоторое количество пакетов перестало собираться:
> >  >> sysvinit-2.88-alt5
> > 
> > Этого поправил (240584 eperm).
> > 
> >  > * The macros 'major', 'minor', and 'makedev' are now only
> >  > available from the header <sys/sysmacros.h>; not from
> >  > <sys/types.h>
> > 
> > Собственно, само исправление выглядит просто и незатейливо:
> > 
> > #if __GLIBC_PREREQ(2,30)
> > #include <sys/sysmacros.h>
> > #endif
> 
> Нет, если вы используете __GLIBC_PREREQ, значит, вы рассчитываете на то,
> что у вас glibc.  А если у вас glibc, значит, <sys/sysmacros.h> доступен,
> начиная с версии 2.25, и его неиспользование в такой ситуации до версии
> 2.28 порождает предупреждение, а начиная с 2.28 - ошибку.

Извините, конечно же, <sys/sysmacros.h> доступен гораздо раньше,
начиная с glibc 2.0.111.


-- 
ldv

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] sys/sysmacros.h
  2019-11-11 21:00     ` [devel] sys/sysmacros.h Dmitry V. Levin
  2019-11-11 21:08       ` Dmitry V. Levin
@ 2019-11-11 21:10       ` Alexey V. Vissarionov
  1 sibling, 0 replies; 6+ messages in thread
From: Alexey V. Vissarionov @ 2019-11-11 21:10 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]

On 2019-11-12 00:00:23 +0300, Dmitry V. Levin wrote:

 >>> В связи с ...
 >>>> #40 build 2.30-alt1 from /people/glebfm/packages/glibc.git
 >>> ... некоторое количество пакетов перестало собираться:
 >>>> sysvinit-2.88-alt5
 >> Этого поправил (240584 eperm).
 >>> * The macros 'major', 'minor', and 'makedev' are now only
 >>> available from the header <sys/sysmacros.h>; not from
 >>> <sys/types.h>
 >> Собственно, само исправление выглядит просто и незатейливо:
 >> #if __GLIBC_PREREQ(2,30)
 >> #include <sys/sysmacros.h>
 >> #endif
 > Нет, если вы используете __GLIBC_PREREQ, значит, вы рассчитываете
 > на то, что у вас glibc.

Можно удариться в формальности и проверять сначала #ifdef __GLIBC__,
потом #if (__GLIBC__ == 2), и только потом __GLIBC_PREREQ... только
смысла в этом не сильно много. Выбор-то невелик: либо glibc, либо
хрен пойми какая экзотика.

 > А если у вас glibc, значит, <sys/sysmacros.h> доступен, начиная
 > с версии 2.25, и его неиспользование в такой ситуации до версии
 > 2.28 порождает предупреждение, а начиная с 2.28 - ошибку.

Значит, #if __GLIBC_PREREQ(2,25)

 > Спасибо, конечно, за помощь, но это сейчас не самый нуждающийся
 > пакет.

В приведенном списке он был единственным реально важным.


-- 
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] I: glibc 2.30
  2019-11-11 20:46   ` Alexey V. Vissarionov
  2019-11-11 21:00     ` [devel] sys/sysmacros.h Dmitry V. Levin
@ 2019-11-11 22:16     ` Sergey Y. Afonin
  1 sibling, 0 replies; 6+ messages in thread
From: Sergey Y. Afonin @ 2019-11-11 22:16 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Tuesday 12 November 2019, Alexey V. Vissarionov wrote:

>  >> sendmail-8.16.0.41-alt2

>  > * Support for the "inet6" option in /etc/resolv.conf and the
>  > RES_USE_INET6 resolver flag (deprecated in glibc 2.25) have
>  > been removed.
> 
> А это предлагаю наконец-то закопать.
 
А чем заменить? У нас кто умеет в smmapd у Cyrus-IMAP? Кто у нас полностью
поддерживает milter? Postfix дописывать что ли? Если менять, то только на 
MeTA1. Но у меня руки не доходят (не в репозитории, а в нашем продакшене). :-)

-- 
С уважением, Сергей Афонин


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-11 22:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11 17:43 ` [devel] I: glibc 2.30 Gleb Fotengauer-Malinovskiy
2019-11-11 20:46   ` Alexey V. Vissarionov
2019-11-11 21:00     ` [devel] sys/sysmacros.h Dmitry V. Levin
2019-11-11 21:08       ` Dmitry V. Levin
2019-11-11 21:10       ` Alexey V. Vissarionov
2019-11-11 22:16     ` [devel] I: glibc 2.30 Sergey Y. Afonin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git