[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Archive rebuild to test potential stdlib.h / sys/types.h changes in glibc 2.23



On Mon, Nov 16, 2015 at 9:37 AM, Andreas Schwab <schwab@suse.de> wrote:
> Here are the first fallouts from the first patch:

Which do you mean by "the first patch"?  This ...

> https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:glibc/gpm/rebuild/x86_64
> prog/display-buttons.c:69:4: error: unknown type name 'fd_set'

... should only be possible as a consequence of the patch numbered 0002-.

> https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:glibc/sysvinit/rebuild/x86_64
> /home/abuild/rpmbuild/BUILD/sysvinit-2.88+dsf/src/mountpoint.c:125: undefined reference to `minor'

Unfortunately, this code is going to break with either patch!  It
includes neither sys/types.h nor sys/sysmacros.h and it expects the
sys/sysmacros.h definition of 'major' and 'minor'.

(Neither of these programs appears to have been written with C library
portability in mind, which is understandable considering they're both
quite Linux-specific in other ways.)

zw


Reply to: