Your message dated Wed, 20 Jul 2016 07:33:48 +0000
with message-id <[email protected]>
and subject line Bug#828848: fixed in dietlibc 0.34~cvs20160606-2
has caused the Debian Bug report #828848,
regarding dietlibc doesn't provide send() and recv() functions
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 [email protected]
immediately.)
--
828848: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828848
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dielibc
Version: 0.34~cvs20160606
Severity: important
Tags: sid + patch
Justification:
User: [email protected]
Usertags: mips-patch
Hi,
Package tiny-initramfs FTBFS on mips64el with following error:
tiny_initramfs-nfs.o: In function `nfs4_ping':
/«PKGBUILDDIR»/build.standard/../nfs.c:398: undefined reference to `send'
/«PKGBUILDDIR»/build.standard/../nfs.c:401: undefined reference to `send'
/«PKGBUILDDIR»/build.standard/../nfs.c:421: undefined reference to `recv'
/«PKGBUILDDIR»/build.standard/../nfs.c:421: undefined reference to `recv'
build log:
https://buildd.debian.org/status/fetch.php?pkg=tiny-initramfs&arch=mips64el&ver=0.1-2&stamp=1465191375
It seems dietlibc doesn't provide send() and recv() functions for mips64el.
There are no syscalls or implementations for send() and recv() functions for
mips64el.
I found out that for x86_64 there are no syscalls for send() and recv()
functions, but
they are implemented as a wrapper around sendto() and recvfrom() funtions.
I did the same thing for mips64el, patch that contains needed changes is
attached.
Using dietlibc built with mentioned patch I was able to build tiny-initramfs
successfully for mips64el.
Could you please consider including this patch?
Regards,
Daniel
--- /dev/null
+++ dietlibc-0.34~cvs20160606/mips64/recv.c
@@ -0,0 +1,13 @@
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <linuxnet.h>
+
+int __libc_recv(int fd, void * buf, size_t n, int flags);
+ /* shut up gcc warning about missing prototype */
+
+int __libc_recv(int fd, void * buf, size_t n, int flags) {
+ return recvfrom(fd, buf, n, flags, 0, 0);
+}
+
+int recv(int a, void * b, size_t c, int flags)
+ __attribute__ ((weak, alias("__libc_recv")));
--- /dev/null
+++ dietlibc-0.34~cvs20160606/mips64/send.c
@@ -0,0 +1,13 @@
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <linuxnet.h>
+
+int __libc_send(int fd, const void * buf, size_t n, int flags);
+ /* shut up gcc warning about missing prototype */
+
+int __libc_send(int fd, const void * buf, size_t n, int flags) {
+ return sendto(fd, buf, n, flags, NULL, 0);
+}
+
+int send(int a, const void * b, size_t c, int flags)
+ __attribute__ ((weak, alias("__libc_send")));
--- End Message ---
--- Begin Message ---
Source: dietlibc
Source-Version: 0.34~cvs20160606-2
We believe that the bug you reported is fixed in the latest version of
dietlibc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christian Seiler <[email protected]> (supplier of updated dietlibc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 20 Jul 2016 08:43:37 +0200
Source: dietlibc
Binary: dietlibc-dev dietlibc-doc
Architecture: source
Version: 0.34~cvs20160606-2
Distribution: unstable
Urgency: high
Maintainer: Hector Oron <[email protected]>
Changed-By: Christian Seiler <[email protected]>
Description:
dietlibc-dev - diet libc - a libc optimized for small size
dietlibc-doc - diet libc documentation - a libc optimized for small size
Closes: 828848
Changes:
dietlibc (0.34~cvs20160606-2) unstable; urgency=high
.
* Add missing socket-related syscalls on various architectures
(Closes: #828848)
* debian/unittests: add test for pselect()
* debian/rules: dh_auto_install --max-parallel=1 (fixes incomplete
packages, and FTBR due to non-determinism)
* Security: fix insecure default PATH.
Thanks to Thorsten Glaser <[email protected]> for discovering this
Checksums-Sha1:
c1d5b273abe35f89fe52abb6b95e180504d20881 2337 dietlibc_0.34~cvs20160606-2.dsc
4c96db848a825dbfd7438c420d80c1ca8adfd9b5 32184
dietlibc_0.34~cvs20160606-2.debian.tar.xz
Checksums-Sha256:
f9eecea4100f3a0f67fb5626d5d53e8ccf1861b59511151d44839fdd6e8723c5 2337
dietlibc_0.34~cvs20160606-2.dsc
1271c0ffae30d4af683550c2a8bf357ec63fa688c87a84a7e42ba61ecec0d8cf 32184
dietlibc_0.34~cvs20160606-2.debian.tar.xz
Files:
3f5a42844010da388996df1894f6137f 2337 devel optional
dietlibc_0.34~cvs20160606-2.dsc
c9eb1d1524f974a68e75b971c9f6de43 32184 devel optional
dietlibc_0.34~cvs20160606-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJXjyWdAAoJEGMjNFnNz6AYOUUP/iaVbV+hC9+6clutiXX7ihfk
BqIsxMnjMb8BYEszwthiKYa6sqiePqq6B99tsvY2PYL4TdkhqGIgUzxOvBCDT4hB
g8REDa7kcpb1O3bolUrlOjHL9hR1VQMLJRsZUY5coRH6U1nen+Qr927KkmKjToG3
CZbb57bLN2ahn8+pu9l2UDm0HEndhQZerQ/9xrlYPjeErbq0XAdLGqvyGVyaYsn6
ReFdcRjpZ7JpoYLj1RofXCrQQHDP1nmcYbX7QQjjEjkKnpGzSZrhSLsldLt72K3m
J7nr7hxbaHmH03WCO+NBiCDrnBHNIQWw6OfYIo+igBgbuuQmKDmtcGNrDmops0eW
LLFjOZvmv50BxUBxmNd8979dAwivPDyqi7of5au2h7G68/pqsKYtLplU6FxooyYq
UMq7Nrq/c9bj71yCAVvAHBrAjw6RpSy2Q/d4PNpAv/5nSnA6HHgPEtBwLy41h7eY
7D1U2FVCALBHHTWw4Wf/JULecfERXe3YpIKnpt62/I8Ec+EgWgkn2SoXFuqlzgu4
IjoOg63ppz27r0BTwEFJJxdwBYBRXcemnKxtH11r69r642nNAhpQRx2tle7mf/9Q
cAH1CBdxBAzxPCTdnxyLfu40FSgz+Z8UQkE8mvK4M1x9T6+HmsjdDCWj0rwpbNQp
SnqrlYDWOM3/g4gbmCMp
=PSgI
-----END PGP SIGNATURE-----
--- End Message ---