Summary: | sys-fs/ntfs3g-2016.2.22-r1 automagic dependency on libhd from sys-apps/hwinfo | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dmitriy <jagerd.ster> |
Component: | Current packages | Assignee: | Patrick McLean <chutzpah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, floppym, kroemmelbein, pacho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dmitriy
2016-12-11 18:03:59 UTC
From configure: --with-hd[=PFX] use Windows compliant disk geometry, with optional prefix to hd library and headers [default=detect] In my case I hit this seenf mkntfs failing with: [444345.842171] mkntfs[17123]: segfault at 7ffee446d000 ip 00007f25a38a3639 sp 00007ffee446aab0 error 4 in libhd.so.21.23[7f25a3883000+a0000] [444345.842174] Code: 53 48 83 ec 08 85 d2 0f 84 d4 00 00 00 44 8d 6a ff 48 89 cd 4c 8d 3d 15 8e 03 00 31 db 49 83 c5 01 48 85 db 0f 84 d7 00 00 00 <0f> b6 4c 1d 00 be fe ff ff ff 4c 89 e7 31 c0 48 8d 15 ef 8d 03 00 When calling it like mkntfs -Q -v -F -L "4GB-Pendrive" /dev/sdc1 Removing hwinfo completely allows it to work ok (and also mounting works) But in other distributions they are not pulling hwinfo as dependency for that hd.h header... maybe it's a different package the one providing that header for "Windows compliant geometry code requires the hd library". In any case, for me ntfs3g works fine without that header at all :/ The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97a616356b7dccec15d1c5be2c2c861afa160fa commit e97a616356b7dccec15d1c5be2c2c861afa160fa Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2019-03-23 12:58:31 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2019-03-23 12:58:49 +0000 sys-fs/ntfs3g: Support Windows 10, fix automagic dep... - Apply Fedora fixes, this also adds support for windows 10 (#660374) - Prevent it from wrongly linking to hwinfo (#602360) - udev rule is not needed and causes issues (#635080) Closes: https://bugs.gentoo.org/660374 Closes: https://bugs.gentoo.org/635080 Bug: https://bugs.gentoo.org/602360 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos <pacho@gentoo.org> .../files/ntfs3g-2017.3.23-big-sectors.patch | 379 +++++++++++++++++++++ .../files/ntfs3g-2017.3.23-check-mftmirr.patch | 12 + .../files/ntfs3g-2017.3.23-full-clusters.patch | 81 +++++ sys-fs/ntfs3g/ntfs3g-2017.3.23-r2.ebuild | 103 ++++++ 4 files changed, 575 insertions(+) |