[DRE-maint] Bug#839056: ruby-ffi: FTBFS on hppa architecture

John David Anglin dave.anglin at bell.net
Mon Aug 12 23:55:38 BST 2019


I generated the types.conf file for hppa-linux per the instructions in bug #654531.
With this file, ruby-ffi now builds on hppa.

There is one little problem though.  The file is put in ffi/platform/hppa64-linux.
Somehow we need to change CPU and put file in ffi/platform/hppa-linux when building
on hppa-unknown-linux-gnu (32-bit runtime).

Regards,
Dave Anglin
-- 
John David Anglin  dave.anglin at bell.net
-------------- next part --------------
rbx.platform.typedef.__u_char = uchar
rbx.platform.typedef.__u_short = ushort
rbx.platform.typedef.__u_int = uint
rbx.platform.typedef.__u_long = ulong
rbx.platform.typedef.__int8_t = char
rbx.platform.typedef.__uint8_t = uchar
rbx.platform.typedef.__int16_t = short
rbx.platform.typedef.__uint16_t = ushort
rbx.platform.typedef.__int32_t = int
rbx.platform.typedef.__uint32_t = uint
rbx.platform.typedef.__int64_t = long_long
rbx.platform.typedef.__uint64_t = ulong_long
rbx.platform.typedef.__int_least8_t = char
rbx.platform.typedef.__uint_least8_t = uchar
rbx.platform.typedef.__int_least16_t = short
rbx.platform.typedef.__uint_least16_t = ushort
rbx.platform.typedef.__int_least32_t = int
rbx.platform.typedef.__uint_least32_t = uint
rbx.platform.typedef.__int_least64_t = long_long
rbx.platform.typedef.__uint_least64_t = ulong_long
rbx.platform.typedef.__quad_t = long_long
rbx.platform.typedef.__u_quad_t = ulong_long
rbx.platform.typedef.__intmax_t = long_long
rbx.platform.typedef.__uintmax_t = ulong_long
rbx.platform.typedef.__dev_t = ulong_long
rbx.platform.typedef.__uid_t = uint
rbx.platform.typedef.__gid_t = uint
rbx.platform.typedef.__ino_t = ulong
rbx.platform.typedef.__ino64_t = ulong_long
rbx.platform.typedef.__mode_t = uint
rbx.platform.typedef.__nlink_t = uint
rbx.platform.typedef.__off_t = long
rbx.platform.typedef.__off64_t = long_long
rbx.platform.typedef.__pid_t = int
rbx.platform.typedef.__clock_t = long
rbx.platform.typedef.__rlim_t = ulong
rbx.platform.typedef.__rlim64_t = ulong_long
rbx.platform.typedef.__id_t = uint
rbx.platform.typedef.__time_t = long
rbx.platform.typedef.__useconds_t = uint
rbx.platform.typedef.__suseconds_t = long
rbx.platform.typedef.__daddr_t = int
rbx.platform.typedef.__key_t = int
rbx.platform.typedef.__clockid_t = int
rbx.platform.typedef.__timer_t = pointer
rbx.platform.typedef.__blksize_t = long
rbx.platform.typedef.__blkcnt_t = long
rbx.platform.typedef.__blkcnt64_t = long_long
rbx.platform.typedef.__fsblkcnt_t = ulong
rbx.platform.typedef.__fsblkcnt64_t = ulong_long
rbx.platform.typedef.__fsfilcnt_t = ulong
rbx.platform.typedef.__fsfilcnt64_t = ulong_long
rbx.platform.typedef.__fsword_t = int
rbx.platform.typedef.__ssize_t = int
rbx.platform.typedef.__syscall_slong_t = long
rbx.platform.typedef.__syscall_ulong_t = ulong
rbx.platform.typedef.__loff_t = long_long
rbx.platform.typedef.*__caddr_t = char
rbx.platform.typedef.__intptr_t = int
rbx.platform.typedef.__socklen_t = uint
rbx.platform.typedef.__sig_atomic_t = int
rbx.platform.typedef.u_char = uchar
rbx.platform.typedef.u_short = ushort
rbx.platform.typedef.u_int = uint
rbx.platform.typedef.u_long = ulong
rbx.platform.typedef.quad_t = long_long
rbx.platform.typedef.u_quad_t = ulong_long
rbx.platform.typedef.loff_t = long_long
rbx.platform.typedef.ino_t = ulong_long
rbx.platform.typedef.dev_t = ulong_long
rbx.platform.typedef.gid_t = uint
rbx.platform.typedef.mode_t = uint
rbx.platform.typedef.nlink_t = uint
rbx.platform.typedef.uid_t = uint
rbx.platform.typedef.off_t = long_long
rbx.platform.typedef.pid_t = int
rbx.platform.typedef.id_t = uint
rbx.platform.typedef.ssize_t = int
rbx.platform.typedef.daddr_t = int
rbx.platform.typedef.key_t = int
rbx.platform.typedef.clock_t = long
rbx.platform.typedef.clockid_t = int
rbx.platform.typedef.time_t = long
rbx.platform.typedef.timer_t = pointer
rbx.platform.typedef.size_t = uint
rbx.platform.typedef.ulong = ulong
rbx.platform.typedef.ushort = ushort
rbx.platform.typedef.uint = uint
rbx.platform.typedef.int8_t = char
rbx.platform.typedef.int16_t = short
rbx.platform.typedef.int32_t = int
rbx.platform.typedef.int64_t = long_long
rbx.platform.typedef.u_int8_t = uchar
rbx.platform.typedef.u_int16_t = ushort
rbx.platform.typedef.u_int32_t = uint
rbx.platform.typedef.u_int64_t = ulong_long
rbx.platform.typedef.register_t = long
rbx.platform.typedef.suseconds_t = long
rbx.platform.typedef.__fd_mask = long
rbx.platform.typedef.fd_mask = long
rbx.platform.typedef.blksize_t = long
rbx.platform.typedef.blkcnt_t = long_long
rbx.platform.typedef.fsblkcnt_t = ulong_long
rbx.platform.typedef.fsfilcnt_t = ulong_long
rbx.platform.typedef.pthread_t = ulong
rbx.platform.typedef.pthread_key_t = uint
rbx.platform.typedef.pthread_once_t = int
rbx.platform.typedef.socklen_t = uint
rbx.platform.typedef.sa_family_t = ushort
rbx.platform.typedef.__kernel_key_t = int
rbx.platform.typedef.__kernel_mqd_t = int
rbx.platform.typedef.__kernel_mode_t = ushort
rbx.platform.typedef.__kernel_ipc_pid_t = ushort
rbx.platform.typedef.__kernel_off64_t = long_long
rbx.platform.typedef.__kernel_ino64_t = ulong_long
rbx.platform.typedef.__kernel_long_t = long
rbx.platform.typedef.__kernel_ulong_t = ulong
rbx.platform.typedef.__kernel_ino_t = ulong
rbx.platform.typedef.__kernel_pid_t = int
rbx.platform.typedef.__kernel_uid_t = uint
rbx.platform.typedef.__kernel_gid_t = uint
rbx.platform.typedef.__kernel_suseconds_t = long
rbx.platform.typedef.__kernel_daddr_t = int
rbx.platform.typedef.__kernel_uid32_t = uint
rbx.platform.typedef.__kernel_gid32_t = uint
rbx.platform.typedef.__kernel_old_uid_t = uint
rbx.platform.typedef.__kernel_old_gid_t = uint
rbx.platform.typedef.__kernel_old_dev_t = uint
rbx.platform.typedef.__kernel_size_t = uint
rbx.platform.typedef.__kernel_ssize_t = int
rbx.platform.typedef.__kernel_ptrdiff_t = int
rbx.platform.typedef.__kernel_off_t = long
rbx.platform.typedef.__kernel_loff_t = long_long
rbx.platform.typedef.__kernel_time_t = long
rbx.platform.typedef.__kernel_time64_t = long_long
rbx.platform.typedef.__kernel_clock_t = long
rbx.platform.typedef.__kernel_timer_t = int
rbx.platform.typedef.__kernel_clockid_t = int
rbx.platform.typedef.__kernel_caddr_t = string
rbx.platform.typedef.__kernel_uid16_t = ushort
rbx.platform.typedef.__kernel_gid16_t = ushort
rbx.platform.typedef.rlim_t = ulong_long
rbx.platform.typedef.__rlimit_resource_t = int
rbx.platform.typedef.__rusage_who_t = int
rbx.platform.typedef.__priority_which_t = int


More information about the Pkg-ruby-extras-maintainers mailing list