Bug#882263: libc6-dev-mips64el-cross breaks linking executables

2017-11-30 Thread Aurelien Jarno
On 2017-11-20 21:42, Helmut Grohne wrote:
> Package: libc6-dev-mips64el-cross
> Version: 20
> Severity: serious
> User: helm...@debian.org
> Usertags: rebootstrap
> 
> I was trying to use gcc-mips64el-linux-gnuabi64 to link a trivial
> executable:
> 
> $ echo 'int main(){return 0;}' | mips64el-linux-gnuabi64-gcc -x c - -o 
> /dev/null
> 
> With libc6-dev:mips64el installed, this just works. As soon as I install
> libc6-dev-mips64el-cross, it fails though:
> 
> /usr/lib/gcc-cross/mips64el-linux-gnuabi64/7/../../../../mips64el-linux-gnuabi64/bin/ld:
>  cannot find /usr/mips64el-linux-gnuabi64/lib/ld.so.1
> collect2: error: ld returned 1 exit status
> 
> This renders libc6-dev-mips64el-cross pretty much useless.

This is due to the following change, introduced in
cross-toolchain-base-20:

diff -Nru cross-toolchain-base-19/debian/dpkg-cross 
cross-toolchain-base-20/debian/dpkg-cross
--- cross-toolchain-base-19/debian/dpkg-cross   2016-01-21 08:48:01.0 
+
+++ cross-toolchain-base-20/debian/dpkg-cross   2017-11-19 22:01:44.0 
+
@@ -1026,6 +1026,11 @@
# Skip links that are going to point to themselves
next if ($lv eq $_);
 
+   # skip /usr/$(multiarch)/lib/ld.so.1 for mips n32 and 64.
+   # their ld.so.1 should be in lib32 and lib64.
+   next if ($multiarch =~ m/^mips[n32,64]/ && $_ =~ 
m/lib\/ld.so.1$/);
+
+   # m/lib\/ld.so.1$/);
# skip links to private modules and plugins that are not
# useful or packaged in the -cross package, basically anything
# in a directory beneath /usr/lib/. See #499292

I don't really see the point of this change, and why it would be
different the s390x cross-libc for example, which has ld64.so.1 in
/usr/s390x-linux-gnu/lib/ while the rtld directory is /lib64. Removing
this file has the same effect:

| $ echo 'int main(){return 0;}' | s390x-linux-gnu-gcc  -x c - -o /dev/null 
| $ sudo rm /usr/s390x-linux-gnu/lib/ld64.so.1  
| $ echo 'int main(){return 0;}' | s390x-linux-gnu-gcc  -x c - -o /dev/null 
| /usr/lib/gcc-cross/s390x-linux-gnu/7/../../../../s390x-linux-gnu/bin/ld: 
cannot find /usr/s390x-linux-gnu/lib/ld64.so.1
| collect2: error: ld returned 1 exit status

It therefore looks like to me that this hunk has to be reverted.

Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



[glibc] branch sid updated (e5b70f4 -> 2ab9aac)

2017-11-30 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a change to branch sid
in repository glibc.

  from  e5b70f4   libc0.3.symbols.hurd-i386: Update against newer hurd 
definitions.
   new  034d2d1   debian/patches/any/local-dlfptr.diff: remove, it's not 
used anymore by HPPA and causes issues on IA64.  Closes: #882874.
   new  2ab9aac   debian/control.in/libc, debian/control.in/main, 
debian/rules.d/control.mk: Add support for IA64.  Closes: #883012.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog  |  6 
 debian/control| 50 +++
 debian/control.in/libc|  2 +-
 debian/control.in/main|  4 +--
 debian/patches/any/local-dlfptr.diff  | 50 ---
 debian/patches/series |  1 -
 debian/rules.d/control.mk |  2 +-
 debian/sysdeps/{powerpcspe.mk => ia64.mk} |  3 +-
 8 files changed, 36 insertions(+), 82 deletions(-)
 delete mode 100644 debian/patches/any/local-dlfptr.diff
 copy debian/sysdeps/{powerpcspe.mk => ia64.mk} (52%)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



Processed: Bug#882874 marked as pending

2017-11-30 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tag 882874 pending
Bug #882874 [src:glibc] glibc 2.25 FTBFS on ia64
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
882874: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882874
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: Bug#883012 marked as pending

2017-11-30 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tag 883012 pending
Bug #883012 [src:glibc] glibc: add/fix ia64 support
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
883012: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883012
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



[glibc] 02/02: debian/control.in/libc, debian/control.in/main, debian/rules.d/control.mk: Add support for IA64. Closes: #883012.

2017-11-30 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch sid
in repository glibc.

commit 2ab9aac37ad9b390eff7b1406492005bda0fb6a8
Author: Aurelien Jarno 
Date:   Thu Nov 30 22:07:48 2017 +0100

debian/control.in/libc, debian/control.in/main, debian/rules.d/control.mk: 
Add support for IA64.  Closes: #883012.
---
 debian/changelog  |  4 
 debian/control| 50 +++
 debian/control.in/libc|  2 +-
 debian/control.in/main|  4 ++--
 debian/rules.d/control.mk |  2 +-
 debian/sysdeps/ia64.mk|  2 ++
 6 files changed, 35 insertions(+), 29 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9ff4608..c46e191 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,10 @@ glibc (2.25-3) UNRELEASED; urgency=medium
   * libc0.3.symbols.hurd-i386: Update against newer hurd definitions.
   * control: Bump dependency accordingly.
 
+  [ Jason Duerstock ]
+  * debian/control.in/libc, debian/control.in/main, debian/rules.d/control.mk:
+Add support for IA64.  Closes: #883012.
+
  -- Aurelien Jarno   Wed, 22 Nov 2017 00:21:54 +0100
 
 glibc (2.25-2) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index bc2db36..94fc0d9 100644
--- a/debian/control
+++ b/debian/control
@@ -143,8 +143,8 @@ Architecture: any
 Section: oldlibs
 Multi-Arch: foreign
 Depends: ${misc:Depends},
-libc6 (>= 2.3.6-2) [!any-i386 !alpha !armhf !hurd-any !kfreebsd-any],
- libc6.1 (>= 2.3.6-2) [alpha],
+ libc6 (>= 2.3.6-2) [!any-i386 !alpha !armhf !hurd-any !ia64 
!kfreebsd-any],
+ libc6.1 (>= 2.3.6-2) [alpha ia64],
  libc0.3 (>= 2.3.6-2) [!linux-any !kfreebsd-any !hurd-i386],
  libc0.1 (>= 2.3.6-2) [!linux-any !hurd-any !kfreebsd-i386],
  libc6 (>= 2.13-5) [armhf i386],
@@ -158,7 +158,7 @@ Description: Transitional package to ensure multiarch 
compatibility
  be removed once nothing on the system depends on it.
 
 Package: libc6
-Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 
mipsn32el mips64 mips64el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 
s390x sh3 sh4 x32
+Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 
mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 
mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 s390x sh3 sh4 
x32
 Section: libs
 Priority: required
 Multi-Arch: same
@@ -189,14 +189,14 @@ Description: GNU C Library: Shared libraries
  and the standard math library, as well as many others.
 
 Package: libc6-dev
-Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 
mipsn32el mips64 mips64el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 
s390x sh3 sh4 x32
+Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 
mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 
mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 s390x sh3 sh4 
x32
 Section: libdevel
 Priority: optional
 Multi-Arch: same
 Depends: libc6 (= ${binary:Version}), libc-dev-bin (= ${binary:Version}), 
${misc:Depends}, ${libc-dev:Depends}, kfreebsd-kernel-headers (>= 0.11) 
[kfreebsd-any], gnumach-dev [hurd-i386], hurd-dev (>= 20080607-3) [hurd-i386] | 
hurd-headers-dev [hurd-i386]
 Replaces: hurd-dev (<< 20120408-3) [hurd-i386], kfreebsd-kernel-headers (<< 
10.3~4) [kfreebsd-amd64 kfreebsd-i386]
 Suggests: glibc-doc, manpages-dev
-Provides: libc-dev, libc6-dev [alpha hurd-i386 kfreebsd-i386 kfreebsd-amd64]
+Provides: libc-dev, libc6-dev [alpha ia64 hurd-i386 kfreebsd-i386 
kfreebsd-amd64]
 Breaks: binutils (<< 2.26), binutils-gold (<< 2.20.1-11), cmake (<< 
2.8.4+dfsg.1-5), gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2), gcc-4.6 (<< 
4.6.0-12), make (<< 3.81-8.1), pkg-config (<< 0.26-1), libjna-java (<< 
3.2.7-4), liblouis-dev (<< 2.3.0-2), liblouisxml-dev (<< 2.4.0-2), libhwloc-dev 
(<< 1.2-3), check (<< 0.9.10-6.1+b1) [s390x], kfreebsd-kernel-headers (<< 
10.3~4) [kfreebsd-amd64 kfreebsd-i386]
 Conflicts: libc6.1-dev, libc0.1-dev, libc0.3-dev,
 Description: GNU C Library: Development Libraries and Header Files
@@ -204,7 +204,7 @@ Description: GNU C Library: Development Libraries and 
Header Files
  and link programs which use the standard C library.
 
 Package: libc6-dbg
-Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 
mipsn32el mips64 mips64el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 
s390x sh3 sh4 x32
+Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 
mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 
mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 s390x sh3 sh4 
x32
 Section: debug
 Priority: optional
 Multi-Arch: same
@@ -216,7 +216,7 @@ Description: GNU C Library: detached debugging symbols
  library.
 
 Package: libc6-pic
-Architecture: 

[glibc] 01/02: debian/patches/any/local-dlfptr.diff: remove, it's not used anymore by HPPA and causes issues on IA64. Closes: #882874.

2017-11-30 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch sid
in repository glibc.

commit 034d2d104f96a76657c8c70e65e23db7d79585cb
Author: Aurelien Jarno 
Date:   Thu Nov 30 22:07:48 2017 +0100

debian/patches/any/local-dlfptr.diff: remove, it's not used anymore by HPPA 
and causes issues on IA64.  Closes: #882874.
---
 debian/changelog |  2 ++
 debian/patches/any/local-dlfptr.diff | 50 
 debian/patches/series|  1 -
 3 files changed, 2 insertions(+), 51 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8c7d0d7..9ff4608 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ glibc (2.25-3) UNRELEASED; urgency=medium
 - Fix assertion failure in posix_spawn().  Closes: #882794.
 - Fix missing posix_fadvise64 from static mips64el build. Closes:
   #883186.
+  * debian/patches/any/local-dlfptr.diff: remove, it's not used anymore by
+HPPA and causes issues on IA64.  Closes: #882874.
 
   [ Samuel Thibault ]
   * libc0.3.symbols.hurd-i386: Update against newer hurd definitions.
diff --git a/debian/patches/any/local-dlfptr.diff 
b/debian/patches/any/local-dlfptr.diff
deleted file mode 100644
index 31ef633..000
--- a/debian/patches/any/local-dlfptr.diff
+++ /dev/null
@@ -1,50 +0,0 @@

- elf/dl-fptr.c |   18 +-
- sysdeps/generic/dl-fptr.h |3 +++
- 2 files changed, 20 insertions(+), 1 deletion(-)
-
 a/elf/dl-fptr.c
-+++ b/elf/dl-fptr.c
-@@ -55,7 +55,12 @@
-   }
- local =
-   {
-+#ifndef SHARED
- .root = _table,
-+#else
-+/* Address of .boot_table is not known until runtime.  */
-+.root = 0,
-+#endif
- .npages = 2,
- .boot_table =
-   {
-@@ -92,6 +97,17 @@
-   return new_table;
- }
- 
-+/* Must call _dl_fptr_init before using any other function.  */
-+void
-+_dl_fptr_init (void)
-+{
-+  struct local *l;
-+
-+  ELF_MACHINE_LOAD_ADDRESS (l, local);
-+  /* Initialize root once.  */
-+  if (__builtin_expect (l->root == 0, 0))
-+l->root = >boot_table;
-+}
- 
- static ElfW(Addr)
- make_fdesc (ElfW(Addr) ip, ElfW(Addr) gp)
 a/sysdeps/generic/dl-fptr.h
-+++ b/sysdeps/generic/dl-fptr.h
-@@ -39,6 +39,9 @@
- 
- extern ElfW(Addr) _dl_boot_fptr_table [];
- 
-+/* Must be called before any other function.  */
-+extern void _dl_fptr_init (void);
-+
- extern ElfW(Addr) _dl_make_fptr (struct link_map *, const ElfW(Sym) *,
-ElfW(Addr));
- 
diff --git a/debian/patches/series b/debian/patches/series
index 8ffaf3d..f027c37 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -193,7 +193,6 @@ any/local-nss-overflow.diff
 any/submitted-missing-etc-hosts.diff
 any/submitted-bits-fcntl_h-at.diff
 any/submitted-nptl-invalid-td.patch
-any/local-dlfptr.diff
 any/submitted-string2-strcmp.diff
 any/local-ldconfig-multiarch.diff
 any/local-tst-writev.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



Processed: [bts-link] source package glibc

2017-11-30 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> #
> # bts-link upstream status pull for source package glibc
> # see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
> #
> user bts-link-upstr...@lists.alioth.debian.org
Setting user to bts-link-upstr...@lists.alioth.debian.org (was 
bts-link-de...@lists.alioth.debian.org).
> # remote status report for #844420 (http://bugs.debian.org/844420)
> # Bug title: FTBFS: tests fail on hosts without network access
> #  * http://sourceware.org/bugzilla/show_bug.cgi?id=20826
> #  * remote status changed: ASSIGNED -> RESOLVED
> #  * remote resolution changed: (?) -> FIXED
> #  * closed upstream
> tags 844420 + fixed-upstream
Bug #844420 [glibc] FTBFS: tests fail on hosts without network access
Added tag(s) fixed-upstream.
> usertags 844420 - status-ASSIGNED
Usertags were: status-ASSIGNED.
Usertags are now: .
> usertags 844420 + status-RESOLVED resolution-FIXED
There were no usertags set.
Usertags are now: resolution-FIXED status-RESOLVED.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
844420: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844420
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



[glibc] branch sid updated (72c8c59 -> e5b70f4)

2017-11-30 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a change to branch sid
in repository glibc.

  from  72c8c59   Fix missing posix_fadvise64 from static mips64el build. 
Closes: #883186.
   new  e5b70f4   libc0.3.symbols.hurd-i386: Update against newer hurd 
definitions.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 4 
 debian/control   | 4 ++--
 debian/control.in/main   | 4 ++--
 debian/libc0.3.symbols.hurd-i386 | 8 
 4 files changed, 12 insertions(+), 8 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] branch sid updated (0a94d5f -> 72c8c59)

2017-11-30 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a change to branch sid
in repository glibc.

  from  0a94d5f   debian/patches/git-updates.diff: update from upstream 
stable branch:
   new  72c8c59   Fix missing posix_fadvise64 from static mips64el build. 
Closes: #883186.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog|  2 ++
 debian/patches/git-updates.diff | 22 --
 2 files changed, 22 insertions(+), 2 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



[glibc] 01/01: libc0.3.symbols.hurd-i386: Update against newer hurd definitions.

2017-11-30 Thread Samuel Thibault
This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch sid
in repository glibc.

commit e5b70f41b07db6996ee94fdcda130f8444971b45
Author: Samuel Thibault 
Date:   Thu Nov 30 14:22:49 2017 +0100

libc0.3.symbols.hurd-i386: Update against newer hurd definitions.

control: Bump dependency accordingly.
---
 debian/changelog | 4 
 debian/control   | 4 ++--
 debian/control.in/main   | 4 ++--
 debian/libc0.3.symbols.hurd-i386 | 8 
 4 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bbe817a..8c7d0d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,10 @@ glibc (2.25-3) UNRELEASED; urgency=medium
 - Fix missing posix_fadvise64 from static mips64el build. Closes:
   #883186.
 
+  [ Samuel Thibault ]
+  * libc0.3.symbols.hurd-i386: Update against newer hurd definitions.
+  * control: Bump dependency accordingly.
+
  -- Aurelien Jarno   Wed, 22 Nov 2017 00:21:54 +0100
 
 glibc (2.25-2) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index d0f207d..bc2db36 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,8 @@ Build-Depends: gettext, dpkg (>= 1.18.7), dpkg-dev (>= 
1.17.14), xz-utils, file,
  linux-libc-dev (>= 3.9) [linux-any],
  libaudit-dev [linux-any], libcap-dev [linux-any], libselinux-dev [linux-any],
  mig (>= 1.5-3) [hurd-i386], gnumach-dev (>= 2:1.8+git20170102-1~) [hurd-i386],
- hurd-dev (>= 1:0.5.git20140320~) [hurd-i386] | hurd-headers-dev [hurd-i386],
- hurd-dev (>= 1:0.5.git20140320~) [hurd-i386]  | libihash-dev 
[hurd-i386] ,
+ hurd-dev (>= 1:0.9.git20171119~) [hurd-i386] | hurd-headers-dev [hurd-i386],
+ hurd-dev (>= 1:0.9.git20171119~) [hurd-i386]  | libihash-dev 
[hurd-i386] ,
  kfreebsd-kernel-headers [kfreebsd-any],
  binutils (>= 2.21),
  g++-6, g++-6-multilib [amd64 i386 kfreebsd-amd64 mips mipsel mipsn32 
mipsn32el mips64 mips64el powerpc ppc64 s390x sparc sparc64 x32],
diff --git a/debian/control.in/main b/debian/control.in/main
index c007645..c42fc7c 100644
--- a/debian/control.in/main
+++ b/debian/control.in/main
@@ -6,8 +6,8 @@ Build-Depends: gettext, dpkg (>= 1.18.7), dpkg-dev (>= 
1.17.14), xz-utils, file,
  linux-libc-dev (>= 3.9) [linux-any],
  libaudit-dev [linux-any], libcap-dev [linux-any], libselinux-dev [linux-any],
  mig (>= 1.5-3) [hurd-i386], gnumach-dev (>= 2:1.8+git20170102-1~) [hurd-i386],
- hurd-dev (>= 1:0.5.git20140320~) [hurd-i386] | hurd-headers-dev [hurd-i386],
- hurd-dev (>= 1:0.5.git20140320~) [hurd-i386]  | libihash-dev 
[hurd-i386] ,
+ hurd-dev (>= 1:0.9.git20171119~) [hurd-i386] | hurd-headers-dev [hurd-i386],
+ hurd-dev (>= 1:0.9.git20171119~) [hurd-i386]  | libihash-dev 
[hurd-i386] ,
  kfreebsd-kernel-headers [kfreebsd-any],
  binutils (>= 2.21),
  g++-6, g++-6-multilib [amd64 i386 kfreebsd-amd64 mips mipsel mipsn32 
mipsn32el mips64 mips64el powerpc ppc64 s390x sparc sparc64 x32],
diff --git a/debian/libc0.3.symbols.hurd-i386 b/debian/libc0.3.symbols.hurd-i386
index 7e1e0da..26cccf6 100644
--- a/debian/libc0.3.symbols.hurd-i386
+++ b/debian/libc0.3.symbols.hurd-i386
@@ -95,9 +95,7 @@ libhurduser.so.0.3 #PACKAGE# #MINVER#
  __file_chown@Base 2.11
  __file_exec@Base 2.11
  __file_exec_file_name@Base 2.13-33~
- __file_get_children@Base 2.18-5
  __file_get_fs_options@Base 2.11
- __file_get_source@Base 2.18-5
  __file_get_storage_info@Base 2.11
  __file_get_translator@Base 2.11
  __file_get_translator_cntl@Base 2.11
@@ -115,7 +113,9 @@ libhurduser.so.0.3 #PACKAGE# #MINVER#
  __file_syncfs@Base 2.11
  __file_utimes@Base 2.11
  __fsys_forward@Base 2.11
+ __fsys_get_children@Base 2.25-3
  __fsys_get_options@Base 2.11
+ __fsys_get_source@Base 2.25-3
  __fsys_getfile@Base 2.11
  __fsys_getpriv@Base 2.11
  __fsys_getroot@Base 2.11
@@ -462,9 +462,7 @@ libhurduser.so.0.3 #PACKAGE# #MINVER#
  file_chown@Base 2.11
  file_exec@Base 2.11
  file_exec_file_name@Base 2.13-33~
- file_get_children@Base 2.18-5
  file_get_fs_options@Base 2.11
- file_get_source@Base 2.18-5
  file_get_storage_info@Base 2.11
  file_get_translator@Base 2.11
  file_get_translator_cntl@Base 2.11
@@ -482,7 +480,9 @@ libhurduser.so.0.3 #PACKAGE# #MINVER#
  file_syncfs@Base 2.11
  file_utimes@Base 2.11
  fsys_forward@Base 2.11
+ fsys_get_children@Base 2.25-3
  fsys_get_options@Base 2.11
+ fsys_get_source@Base 2.25-3
  fsys_getfile@Base 2.11
  fsys_getpriv@Base 2.11
  fsys_getroot@Base 2.11

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



Processed: Bug#883186 marked as pending

2017-11-30 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tag 883186 pending
Bug #883186 [libc6-dev] libc6-dev: posix_fadvise64 missing from static mips64el 
build
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
883186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883186
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



[glibc] 01/01: Fix missing posix_fadvise64 from static mips64el build. Closes: #883186.

2017-11-30 Thread Aurelien Jarno
This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch sid
in repository glibc.

commit 72c8c592e031dafa2aa91deeb9b45382abd49acf
Author: Aurelien Jarno 
Date:   Thu Nov 30 14:08:45 2017 +0100

Fix missing posix_fadvise64 from static mips64el build. Closes: #883186.
---
 debian/changelog|  2 ++
 debian/patches/git-updates.diff | 22 --
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3f530fd..bbe817a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ glibc (2.25-3) UNRELEASED; urgency=medium
   [ Aurelien Jarno ]
   * debian/patches/git-updates.diff: update from upstream stable branch:
 - Fix assertion failure in posix_spawn().  Closes: #882794.
+- Fix missing posix_fadvise64 from static mips64el build. Closes:
+  #883186.
 
  -- Aurelien Jarno   Wed, 22 Nov 2017 00:21:54 +0100
 
diff --git a/debian/patches/git-updates.diff b/debian/patches/git-updates.diff
index 8676cb5..93e71d6 100644
--- a/debian/patches/git-updates.diff
+++ b/debian/patches/git-updates.diff
@@ -1,10 +1,16 @@
 GIT update of git://sourceware.org/git/glibc.git/release/2.25/master from 
glibc-2.25
 
 diff --git a/ChangeLog b/ChangeLog
-index f140ee67de..c1df219b61 100644
+index f140ee67de..ad563057d3 100644
 --- a/ChangeLog
 +++ b/ChangeLog
-@@ -1,3 +1,609 @@
+@@ -1,3 +1,615 @@
++2017-03-14  Adhemerval Zanella  
++
++  [BZ #21232]
++  * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
++  posix_fadvise64 weak_alias for static build.
++
 +2017-10-23  Adhemerval Zanella  
 +
 +  * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
@@ -9861,6 +9867,18 @@ index 2c2584956d..8ea4333846 100644
  # The main malloc is interposed into the dynamic linker, for
  # allocations after the initial link (when dlopen is used).
  ld.so: malloc + REL R_386_GLOB_DAT
+diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c 
b/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
+index 9776ee96e5..5a6379613b 100644
+--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
 b/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
+@@ -29,5 +29,7 @@
+ _strong_alias (__posix_fadvise64_l64, __posix_fadvise64_l32);
+ compat_symbol (libc, __posix_fadvise64_l32, posix_fadvise64, GLIBC_2_2);
+ versioned_symbol (libc, __posix_fadvise64_l64, posix_fadvise64, GLIBC_2_3_3);
++#else
++_weak_alias (posix_fadvise, posix_fadvise64);
+ #endif
+ _strong_alias (__posix_fadvise64_l64, posix_fadvise);
 diff --git a/sysdeps/unix/sysv/linux/s390/pt-longjmp.c 
b/sysdeps/unix/sysv/linux/s390/pt-longjmp.c
 index d324237edd..0221ac2cf5 100644
 --- a/sysdeps/unix/sysv/linux/s390/pt-longjmp.c

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-glibc/glibc.git



Processed: Re: Bug#883186: e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64'

2017-11-30 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 libc6-dev 2.25-1
Bug #883186 [libc6] e2fsprogs FTBFS on mips64el: undefined reference to 
`posix_fadvise64'
Bug reassigned from package 'libc6' to 'libc6-dev'.
Ignoring request to alter found versions of bug #883186 to the same values 
previously set
Ignoring request to alter fixed versions of bug #883186 to the same values 
previously set
Bug #883186 [libc6-dev] e2fsprogs FTBFS on mips64el: undefined reference to 
`posix_fadvise64'
Marked as found in versions glibc/2.25-1.
> retitle -1 libc6-dev: posix_fadvise64 missing from static mips64el build
Bug #883186 [libc6-dev] e2fsprogs FTBFS on mips64el: undefined reference to 
`posix_fadvise64'
Changed Bug title to 'libc6-dev: posix_fadvise64 missing from static mips64el 
build' from 'e2fsprogs FTBFS on mips64el: undefined reference to 
`posix_fadvise64''.
> tags -1 fixed-upstream
Bug #883186 [libc6-dev] libc6-dev: posix_fadvise64 missing from static mips64el 
build
Ignoring request to alter tags of bug #883186 to the same tags previously set
> forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=21232
Bug #883186 [libc6-dev] libc6-dev: posix_fadvise64 missing from static mips64el 
build
Ignoring request to change the forwarded-to-address of bug#883186 to the same 
value
> affects -1 src:e2fsprogs
Bug #883186 [libc6-dev] libc6-dev: posix_fadvise64 missing from static mips64el 
build
Added indication that 883186 affects src:e2fsprogs

-- 
883186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883186
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Re: Bug#883186: e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64'

2017-11-30 Thread James Cowgill
Control: reassign -1 libc6-dev 2.25-1
Control: retitle -1 libc6-dev: posix_fadvise64 missing from static mips64el 
build
Control: tags -1 fixed-upstream
Control: forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=21232
Control: affects -1 src:e2fsprogs

Hi,

On 30/11/17 12:22, Helmut Grohne wrote:
> Source: e2fsprogs
> Version: 1.43.7-1
> Severity: serious
> Justification: FTBFS
> User: helm...@debian.org
> Usertags: rebootstrap
> 
> I was investigating a bootstrap failure for mips64el
> (https://jenkins.debian.net/job/rebootstrap_mips64el_gcc7_nobiarch/51)
> and wondered whether this was a native issue. Indeed a native build of
> e2fsprogs fails on mips64el and the build log ends as follows:
> 
> | /usr/bin/make -C /home/helmutg/e2fsprogs-1.43.7/debian/BUILD-STD/e2fsck V=1 
> e2fsck.static
> | make[1]: Entering directory 
> '/home/helmutg/e2fsprogs-1.43.7/debian/BUILD-STD/e2fsck'
> | gcc -Wl,-z,relro -Wl,-z,now -static -o e2fsck.static unix.o e2fsck.o 
> super.o pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o journal.o 
> badblocks.o util.o dirinfo.o dx_dirinfo.o ehandler.o problem.o message.o 
> quota.o recovery.o region.o revoke.o ea_refcount.o rehash.o logfile.o 
> sigcatcher.o  readahead.o extents.o   ../lib/libsupport.a ../lib/libext2fs.a 
> ../lib/libcom_err.a -lpthread -lblkid -luuid -luuid  -luuid   ../lib/libe2p.a 
> -ldl -lblkid  
> | logfile.o: In function `expand_percent_expression':
> | ./debian/BUILD-STD/e2fsck/../../../e2fsck/logfile.c:141: warning: Using 
> 'getpwuid_r' in statically linked applications requires at runtime the shared 
> libraries from the glibc version used for linking
> | ../lib/libext2fs.a(unix_io.o): In function `unix_cache_readahead':
> | ./debian/BUILD-STD/lib/ext2fs/../../../../lib/ext2fs/unix_io.c:969: 
> undefined reference to `posix_fadvise64'
> | ./debian/BUILD-STD/lib/ext2fs/../../../../lib/ext2fs/unix_io.c:969: 
> undefined reference to `posix_fadvise64'

It appears that libc.a from glibc 2.25 does not contain a
posix_fadvise64 symbol on mips64el

# nm /usr/lib/mips64el-linux-gnuabi64/libc.a 2>/dev/null | grep posix_fadvise
posix_fadvise.o:
posix_fadvise64.o:
 T __posix_fadvise64_l64
 T posix_fadvise

I found an upstream bug about it and it has already been fixed in glibc
2.26:
https://sourceware.org/bugzilla/show_bug.cgi?id=21232

Thanks,
James



signature.asc
Description: OpenPGP digital signature


Processed: Re: Bug#883186: e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64'

2017-11-30 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 libc6
Bug #883186 [src:e2fsprogs] e2fsprogs FTBFS on mips64el: undefined reference to 
`posix_fadvise64'
Bug reassigned from package 'src:e2fsprogs' to 'libc6'.
No longer marked as found in versions e2fsprogs/1.43.7-1.
Ignoring request to alter fixed versions of bug #883186 to the same values 
previously set
> tag -1 + fixed-upstream
Bug #883186 [libc6] e2fsprogs FTBFS on mips64el: undefined reference to 
`posix_fadvise64'
Added tag(s) fixed-upstream.
> forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=21232
Bug #883186 [libc6] e2fsprogs FTBFS on mips64el: undefined reference to 
`posix_fadvise64'
Set Bug forwarded-to-address to 
'https://sourceware.org/bugzilla/show_bug.cgi?id=21232'.

-- 
883186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883186
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#883186: e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64'

2017-11-30 Thread Helmut Grohne
Source: e2fsprogs
Version: 1.43.7-1
Severity: serious
Justification: FTBFS
User: helm...@debian.org
Usertags: rebootstrap

I was investigating a bootstrap failure for mips64el
(https://jenkins.debian.net/job/rebootstrap_mips64el_gcc7_nobiarch/51)
and wondered whether this was a native issue. Indeed a native build of
e2fsprogs fails on mips64el and the build log ends as follows:

| /usr/bin/make -C /home/helmutg/e2fsprogs-1.43.7/debian/BUILD-STD/e2fsck V=1 
e2fsck.static
| make[1]: Entering directory 
'/home/helmutg/e2fsprogs-1.43.7/debian/BUILD-STD/e2fsck'
| gcc -Wl,-z,relro -Wl,-z,now -static -o e2fsck.static unix.o e2fsck.o super.o 
pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o journal.o badblocks.o util.o 
dirinfo.o dx_dirinfo.o ehandler.o problem.o message.o quota.o recovery.o 
region.o revoke.o ea_refcount.o rehash.o logfile.o sigcatcher.o  readahead.o 
extents.o   ../lib/libsupport.a ../lib/libext2fs.a ../lib/libcom_err.a 
-lpthread -lblkid -luuid -luuid  -luuid   ../lib/libe2p.a -ldl -lblkid  
| logfile.o: In function `expand_percent_expression':
| ./debian/BUILD-STD/e2fsck/../../../e2fsck/logfile.c:141: warning: Using 
'getpwuid_r' in statically linked applications requires at runtime the shared 
libraries from the glibc version used for linking
| ../lib/libext2fs.a(unix_io.o): In function `unix_cache_readahead':
| ./debian/BUILD-STD/lib/ext2fs/../../../../lib/ext2fs/unix_io.c:969: undefined 
reference to `posix_fadvise64'
| ./debian/BUILD-STD/lib/ext2fs/../../../../lib/ext2fs/unix_io.c:969: undefined 
reference to `posix_fadvise64'
| collect2: error: ld returned 1 exit status
| Makefile:428: recipe for target 'e2fsck.static' failed
| make[1]: *** [e2fsck.static] Error 1
| make[1]: Leaving directory 
'/home/helmutg/e2fsprogs-1.43.7/debian/BUILD-STD/e2fsck'
| debian/rules:262: recipe for target 'debian/stampdir/build-std-stamp' failed
| make: *** [debian/stampdir/build-std-stamp] Error 2
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

Since this could either be a mips issue or a glibc issue, I put both
lists into X-Debbugs-Cc and hope that someone will sort this out.

Helmut