Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2018 11:21:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229010] devel/pijul: Unbreak on i386
Message-ID:  <bug-229010-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229010

            Bug ID: 229010
           Summary: devel/pijul: Unbreak on i386
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cs@FreeBSD.org
          Reporter: tobik@freebsd.org
                CC: cs@FreeBSD.org
             Flags: maintainer-feedback?(cs@FreeBSD.org)
          Assignee: cs@FreeBSD.org
 Attachment #194246 maintainer-approval?(cs@FreeBSD.org)
             Flags:
                CC: cs@FreeBSD.org

Created attachment 194246
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194246&action=
=3Dedit
pijul.diff

Pijul currently fails to build on i386 [1,2] with

error[E0308]: mismatched types
 --> line/src/unix.rs:9:27
  |
9 |         if libc::ioctl(1, libc::TIOCGWINSZ as u64, &mut size) =3D=3D 0 {
  |                           ^^^^^^^^^^^^^^^^^^^^^^^ expected u32, found u=
64

line >=3D 0.1.3 fixes this by using libc::c_ulong instead of u64, so to fix=
 the
build we could manually patch this or bump the line crate to the latest
version 0.1.7.

[1]
https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-2018061=
1/805169.html
[2]
https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-2018061=
1/805175.html

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229010-7788>