Re: freebsd-libs transition
Any thoughts about this? The new release is getting closer (10.0-RC3 is already overdue by a few days). On 06/11/2013 22:44, Robert Millan wrote: Package: release.debian.org Severity: normal User: release.debian@packages.debian.org Usertags: transition There are a couple of ABI changes coming to freebsd-libs. They're in soon-to-be-released 10.x branch, so it may yet take a while until we get them through upstream release upgrade. However, as they're highly isolated from the codebase, it is trivial to cherry-pick them. I'm sending this request now so that you have more room to select the most appropiate time for the transition. We can even make one transition at a time if you think it's best. title = libusb3; is_affected = .depends ~ /libusb2debian.*/ | .depends ~ /libusb3.*/; is_good = .depends ~ /libusb3.*/; is_bad = .depends ~ /libusb2debian.*/; title = libkvm6; is_affected = .depends ~ /libkvm0.*/ | .depends ~ /libkvm6.*/; is_good = .depends ~ /libkvm6.*/; is_bad = .depends ~ /libkvm0.*/; -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52bace0f.8040...@debian.org
freebsd-libs transition
Package: release.debian.org Severity: normal User: release.debian@packages.debian.org Usertags: transition There are a couple of ABI changes coming to freebsd-libs. They're in soon-to-be-released 10.x branch, so it may yet take a while until we get them through upstream release upgrade. However, as they're highly isolated from the codebase, it is trivial to cherry-pick them. I'm sending this request now so that you have more room to select the most appropiate time for the transition. We can even make one transition at a time if you think it's best. title = libusb3; is_affected = .depends ~ /libusb2debian.*/ | .depends ~ /libusb3.*/; is_good = .depends ~ /libusb3.*/; is_bad = .depends ~ /libusb2debian.*/; title = libkvm6; is_affected = .depends ~ /libkvm0.*/ | .depends ~ /libkvm6.*/; is_good = .depends ~ /libkvm6.*/; is_bad = .depends ~ /libkvm0.*/; -- Robert Millan r253167 | trociny | 2013-07-10 21:44:43 +0200 (dc, 10 jul 2013) | 10 lines In r227839, when removing libkvm dependency on procfs(5), kvm_uread() function, used for reading from /proc/pid/mem, was removed too. But the function declaration remained in kvm.h public header and the soname was not bumped. Remove kvm_uread() from kvm.h and bump the soname. Reported by:rmh Discussed on: arch --- a/lib/libkvm/Makefile +++ b/lib/libkvm/Makefile @@ -3,6 +3,7 @@ LIB= kvm SHLIBDIR?= /lib +SHLIB_MAJOR= 6 CFLAGS+=-DLIBC_SCCS -I${.CURDIR} .if exists(${.CURDIR}/kvm_${MACHINE_ARCH}.c) --- a/lib/libkvm/kvm.h +++ b/lib/libkvm/kvm.h @@ -87,8 +87,6 @@ kvm_t *kvm_openfiles (const char *, const char *, const char *, int, char *); ssize_t kvm_read(kvm_t *, unsigned long, void *, size_t); -ssize_t kvm_uread - (kvm_t *, const struct kinfo_proc *, unsigned long, char *, size_t); ssize_t kvm_write(kvm_t *, unsigned long, const void *, size_t); __END_DECLS --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -712,55 +712,3 @@ { return (kvm_argv(kd, kp, 1, nchr)); } - -/* - * Read from user space. The user context is given by p. - */ -ssize_t -kvm_uread(kvm_t *kd, const struct kinfo_proc *kp, u_long uva, char *buf, - size_t len) -{ - char *cp; - char procfile[MAXPATHLEN]; - ssize_t amount; - int fd; - - if (!ISALIVE(kd)) { - _kvm_err(kd, kd-program, - cannot read user space from dead kernel); - return (0); - } - - sprintf(procfile, /proc/%d/mem, kp-ki_pid); - fd = open(procfile, O_RDONLY, 0); - if (fd 0) { - _kvm_err(kd, kd-program, cannot open %s, procfile); - return (0); - } - - cp = buf; - while (len 0) { - errno = 0; - if (lseek(fd, (off_t)uva, 0) == -1 errno != 0) { - _kvm_err(kd, kd-program, invalid address (%lx) in %s, - uva, procfile); - break; - } - amount = read(fd, cp, len); - if (amount 0) { - _kvm_syserr(kd, kd-program, error reading %s, - procfile); - break; - } - if (amount == 0) { - _kvm_err(kd, kd-program, EOF reading %s, procfile); - break; - } - cp += amount; - uva += amount; - len -= amount; - } - - close(fd); - return ((ssize_t)(cp - buf)); -} r234686 | hselasky | 2012-04-25 23:50:20 +0200 (dc, 25 abr 2012) | 6 lines Bump the libusb major version due to the last commit, which changes the libusb 1.0 API. While at it, correct a manual page symlink. Suggested by: kib @ r234684 | hselasky | 2012-04-25 19:54:26 +0200 (dc, 25 abr 2012) | 7 lines Fix binary compatibility to the official LibUSB 1.0. This is useful for GNU/kFreeBSD and the libusb2debian port. Applications using the asynchronous API of LibUSB 1.0 needs to be recompiled after this update. Found by: lme @ --- a/lib/libusb/Makefile +++ b/lib/libusb/Makefile @@ -5,7 +5,7 @@ # LIB= usb -SHLIB_MAJOR= 2 +SHLIB_MAJOR= 3 SHLIB_MINOR= 0 SRCS= libusb20.c SRCS+= libusb20_desc.c --- a/lib/libusb/libusb.h +++ b/lib/libusb/libusb.h @@ -340,7 +340,7 @@ typedef struct libusb_transfer { libusb_device_handle *dev_handle; uint8_t flags; - uint32_t endpoint; + uint8_t endpoint; uint8_t type; uint32_t timeout; enum libusb_transfer_status status; @@ -349,7 +349,6 @@ libusb_transfer_cb_fn callback; void *user_data; uint8_t *buffer; - void *os_priv; int num_iso_packets; struct libusb_iso_packet_descriptor iso_packet_desc[0]; } libusb_transfer __aligned(sizeof(void *)); --- a/lib/libusb/libusb10.c +++ b/lib/libusb/libusb10.c @@ -1343,7 +1343,7 @@ struct libusb20_transfer *pxfer1; struct libusb_super_transfer *sxfer; struct libusb_device *dev; - uint32_t endpoint; + uint8_t endpoint; int err; if (uxfer == NULL) @@ -1354,9 +1354,6 @@ endpoint = uxfer-endpoint; - if (endpoint 255) - return
Re: freebsd-libs transition
El 14 de febrer de 2012 20:53, Adam D. Barratt a...@adam-barratt.org.uk ha escrit: kfreebsd-*: libsbuf-dev is needed for a build system component, which is not installed in kfreebsd package. So there's no need to binNMU them? No. libsdl1.2: It was built without usb support because configure probe failed, most likely due to breakage in kfreebsd-kernel-headers which isn't present anymore. With up-to-date sid configure probe succeeds but it FTBFS later due to API change (filed as #659615). Fun... There was a small code error; I sent a patch already. I've scheduled binNMUs for the first level of packages on the transition tracker (URL above). Note that in the process I discovered that freebsd-libs no longer builds on Linux architectures, which will need to be resolved as part of the transition; see #659913. As explained the culprit is freebsd-buildutils, not freebsd-libs. I believe freebsd-buildutils 9.0-6 should now build on Linux-based systems, but I still have no feedback from the buildds. I'd appreciate if someone can confirm, as I don't have a GNU/Linux system at hand atm. -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caofdtxpqtbuooucw1mb8j3hptr8vclqjdre9m3zxnksbqia...@mail.gmail.com
Re: freebsd-libs transition
On Wed, 2012-02-15 at 20:45 +, Robert Millan wrote: El 14 de febrer de 2012 20:53, Adam D. Barratt a...@adam-barratt.org.uk ha escrit: I've scheduled binNMUs for the first level of packages on the transition tracker (URL above). Note that in the process I discovered that freebsd-libs no longer builds on Linux architectures, which will need to be resolved as part of the transition; see #659913. As explained the culprit is freebsd-buildutils, not freebsd-libs. I believe freebsd-buildutils 9.0-6 should now build on Linux-based systems, but I still have no feedback from the buildds. You uploaded less than an hour ago, less than five minutes before the start of a dinstall, so it's not even in the archive yet. Be patient... :) Regards, Adam -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1329338824.9773.7.ca...@jacala.jungle.funky-badger.org
Re: freebsd-libs transition
On Sun, 2012-02-12 at 16:23 +, Robert Millan wrote: El 12 de febrer de 2012 12:53, Adam D. Barratt a...@adam-barratt.org.uk ha escrit: Looking at http://release.debian.org/transitions/html/freebsd-libs.html , there are several packages which build-depend on a -dev package produced by freebsd-libs but don't have a run-time dependency; what's the situation with them? [...] kfreebsd-*: libsbuf-dev is needed for a build system component, which is not installed in kfreebsd package. So there's no need to binNMU them? libsdl1.2: It was built without usb support because configure probe failed, most likely due to breakage in kfreebsd-kernel-headers which isn't present anymore. With up-to-date sid configure probe succeeds but it FTBFS later due to API change (filed as #659615). Fun... zfsutils: gratuitous build-dependency (fixed in SVN). totem: gratuitous build-dependency (filed as #659622). etc. Thanks for checking those. I've scheduled binNMUs for the first level of packages on the transition tracker (URL above). Note that in the process I discovered that freebsd-libs no longer builds on Linux architectures, which will need to be resolved as part of the transition; see #659913. Regards, Adam -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1329252828.939.15.ca...@jacala.jungle.funky-badger.org
Re: freebsd-libs transition
On Sat, 2012-02-04 at 20:07 +, Adam D. Barratt wrote: On Sat, 2012-02-04 at 20:00 +, Robert Millan wrote: Anyhow, is there something I can do to help at this point? Just let me know. Being prepared to handle any issues quickly when they come up, mainly. Looking at http://release.debian.org/transitions/html/freebsd-libs.html , there are several packages which build-depend on a -dev package produced by freebsd-libs but don't have a run-time dependency; what's the situation with them? Regards, Adam -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1329051221.27786.33.ca...@jacala.jungle.funky-badger.org
Re: freebsd-libs transition
El 12 de febrer de 2012 12:53, Adam D. Barratt a...@adam-barratt.org.uk ha escrit: Looking at http://release.debian.org/transitions/html/freebsd-libs.html , there are several packages which build-depend on a -dev package produced by freebsd-libs but don't have a run-time dependency; what's the situation with them? argyll: libusbhid is used for a private libray known as libinst, which doesn't seem to be installed anywhere. kfreebsd-*: libsbuf-dev is needed for a build system component, which is not installed in kfreebsd package. libsdl1.2: It was built without usb support because configure probe failed, most likely due to breakage in kfreebsd-kernel-headers which isn't present anymore. With up-to-date sid configure probe succeeds but it FTBFS later due to API change (filed as #659615). zfsutils: gratuitous build-dependency (fixed in SVN). totem: gratuitous build-dependency (filed as #659622). colord: gratuitous build-dependency (filed as #659624). libimobiledevice gratuitous build-dependency (filed as #659625). libisoburn: gratuitous build-dependency (filed as #659621). -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caofdtxpe+zjthof7hssyua3qrjcgnkcah3qfky2br_xqbcs...@mail.gmail.com
Re: freebsd-libs transition
FYI after freebsd-libs 8.3 has migrated to testing, freebsd-libs 9.0 has been uploaded to unstable. -release: Please can you take appropiate measures to begin the transition? El 29 de gener de 2012 14:43, Robert Millan r...@debian.org ha escrit: [ Please CC me, not subscribed! ] Hi! We have an incoming soname bump in freebsd-libs (libusb, libusbhid, libcam and libsbuf). Should we wait until the current transition is over, or upload to unstable with the new sonames as soon as possible? -- Robert Millan -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOfDtXNA3UnXUXaPQsTf1F+iP3RTVDcPXA4+xq3yZ�gzq...@mail.gmail.com
Re: freebsd-libs transition
On Sat, 2012-02-04 at 19:09 +, Robert Millan wrote: FYI after freebsd-libs 8.3 has migrated to testing, freebsd-libs 9.0 has been uploaded to unstable. Out of interest, how did the lack of an ACK or NACK to your question, less than a week ago, of: Should we wait until the current transition is over, or upload to unstable with the new sonames as soon as possible? lead you assume that the latter was the case? I thought it was fairly well established by now that one should wait for a response; I realise they don't always arrive as quickly as one would like, but there's also little point in asking a question if one isn't going to wait for an answer. Regards, Adam -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1328384183.2616.23.ca...@jacala.jungle.funky-badger.org
Re: freebsd-libs transition
Hi Adam, El 4 de febrer de 2012 19:44, Adam D. Barratt a...@adam-barratt.org.uk ha escrit: On Sat, 2012-02-04 at 19:36 +, Adam D. Barratt wrote: On Sat, 2012-02-04 at 19:09 +, Robert Millan wrote: Should we wait until the current transition is over, or upload to unstable with the new sonames as soon as possible? So, re-reading this, I realised that you were only asking whether you should wait for the current freebsd-libs to reach testing first. Indeed. I assumed the NACK answer to my question (that is, not to upload before testing migration). That's somewhat the wrong question. The libraries produced by freebsd-libs are used by other packages, some of which will at various points be involved in other transitions (and indeed may be right now), so the more appropriate thing to do would have been to ask when would be a good time to upload and then wait for a response to that. Sorry about that. That I can recall, this is is the first time I go through this. It didn't occur to me that this situation had the potential to be problematic as well. A quicker reply would have helped too, in putting me out of my ignorance. Anyhow, is there something I can do to help at this point? Just let me know. -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caofdtxopxpfp7gr-uhjerxp_+ogry5kgohp-b42zzcrbata...@mail.gmail.com
Re: freebsd-libs transition
On Sat, 2012-02-04 at 20:00 +, Robert Millan wrote: El 4 de febrer de 2012 19:44, Adam D. Barratt a...@adam-barratt.org.uk ha escrit: The libraries produced by freebsd-libs are used by other packages, some of which will at various points be involved in other transitions (and indeed may be right now), so the more appropriate thing to do would have been to ask when would be a good time to upload and then wait for a response to that. Sorry about that. That I can recall, this is is the first time I go through this. It didn't occur to me that this situation had the potential to be problematic as well. Hopefully it won't be; the reverse-dependencies certainly have the potential to be affected by changes in other packages though. (One of them, gpsd, had its own transition not that long ago in fact.) A quicker reply would have helped too, in putting me out of my ignorance. Yep, I already mentioned that in my first mail. We should be better at at least following up with a we haven't had chance to look in to this; please bear with us type mail. Anyhow, is there something I can do to help at this point? Just let me know. Being prepared to handle any issues quickly when they come up, mainly. Regards, Adam -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1328386076.2616.35.ca...@jacala.jungle.funky-badger.org
freebsd-libs transition
[ Please CC me, not subscribed! ] Hi! We have an incoming soname bump in freebsd-libs (libusb, libusbhid, libcam and libsbuf). Should we wait until the current transition is over, or upload to unstable with the new sonames as soon as possible? -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOfDtXMUmofkpm2m+p4QPDPv0g=qv7apcyk_eb-hn9x+ars...@mail.gmail.com