Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612102 - sys-fs/udev-233 does not compile on alpha
Summary: sys-fs/udev-233 does not compile on alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-09 08:38 UTC by Tobias Klausmann (RETIRED)
Modified: 2017-07-02 16:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (sys-fs:udev-233:20170309-082827.log,272.95 KB, text/plain)
2017-03-09 15:03 UTC, Tobias Klausmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2017-03-09 08:38:20 UTC
In file included from /space/portage-tmp/portage/sys-fs/udev-233/work/systemd-233/src/basic/missing.h:1188:0,
                 from /space/portage-tmp/portage/sys-fs/udev-233/work/systemd-233/src/basic/util.h:46,
                 from /space/portage-tmp/portage/sys-fs/udev-233/work/systemd-233/src/basic/hashmap.h:29,
                 from /space/portage-tmp/portage/sys-fs/udev-233/work/systemd-233/src/libsystemd/sd-bus/bus-match.h:24,
                 from /space/portage-tmp/portage/sys-fs/udev-233/work/systemd-233/src/libsystemd/sd-bus/bus-internal.h:29,
                 from /space/portage-tmp/portage/sys-fs/udev-233/work/systemd-233/src/libsystemd/sd-bus/bus-message.c:28:
/space/portage-tmp/portage/sys-fs/udev-233/work/systemd-233/src/basic/missing_syscall.h:287:8: warning: #warning "__NR_copy_file_range not defined for your architecture" [-Wcpp]
 #      warning "__NR_copy_file_range not defined for your architecture"
        ^
cc1: some warnings being treated as errors
make: *** [Makefile:15979: src/libsystemd/sd-bus/bus-kernel.lo] Error 1
 * ERROR: sys-fs/udev-233::gentoo failed (compile phase):
 *   emake failed

I'll mask -233 on alpha for now.
Comment 1 Matt Turner gentoo-dev 2017-03-09 09:04:13 UTC
Damn. This is really on me. Need more syscalls.
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2017-03-09 15:03:38 UTC
Created attachment 466392 [details]
build log
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2017-03-09 15:05:53 UTC
(In reply to Matt Turner from comment #1)
> Damn. This is really on me. Need more syscalls.

Not a missing syscall, but rather:

/space/portage-tmp/portage/sys-fs/udev-233/work/systemd-233/src/libsystemd/sd-bus/bus-kernel.c:807:35: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 7 has type ‘__u64 {aka long unsigned int}’ [-Werror=format=]

Serves me right for not taking a closer look.
Comment 4 Mike Gilbert gentoo-dev 2017-03-09 15:08:08 UTC
(In reply to Tobias Klausmann from comment #3)
> (In reply to Matt Turner from comment #1)
> > Damn. This is really on me. Need more syscalls.
> 
> Not a missing syscall, but rather:

To be fair, the syscall is still missing. It just triggers a warning though, and the wrapper function is hard-coded to return -ENOSYS.
Comment 5 Mike Gilbert gentoo-dev 2017-03-09 15:24:05 UTC
Reported upstream.
Comment 6 Mike Gilbert gentoo-dev 2017-07-02 16:11:26 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=247ffd39f221d14cf084a5119a5675b626837c1b

commit 247ffd39f221d14cf084a5119a5675b626837c1b
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Jul 2 12:10:50 2017 -0400

    sys-fs/udev: fix build failure on alpha/ia64
    
    Bug: https://bugs.gentoo.org/612102
    Package-Manager: Portage-2.3.6_p9, Repoman-2.3.2_p77

 .../udev}/files/233-format-warnings.patch              |  0
 sys-fs/udev/udev-233.ebuild                            | 18 +++++-------------
 2 files changed, 5 insertions(+), 13 deletions(-)