Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560358 - <sys-fs/xfsdump-3.1.5: build fails w/xfsprogs-4.2.0: drive_minrmt.c:1972:2: error: unknown type name '__psint_t'
Summary: <sys-fs/xfsdump-3.1.5: build fails w/xfsprogs-4.2.0: drive_minrmt.c:1972:2: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 378027
  Show dependency tree
 
Reported: 2015-09-13 17:57 UTC by Leonid Kopylov
Modified: 2015-10-26 04:16 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,261.65 KB, text/plain)
2015-09-13 17:57 UTC, Leonid Kopylov
Details
[JANKYFIX-000 #1 of 3] xfsdump-3.1.4-to-3.1.4-r1.ebuild.patch (xfsdump-3.1.4-to-3.1.4-r1.patch,727 bytes, patch)
2015-09-26 08:59 UTC, Greg Turner
Details | Diff
[JANKYFIX-000 #1 of 3] (rev1) xfsdump-3.1.4-to-3.1.4-r1.ebuild (xfsdump-3.1.4-to-3.1.4-r1-R001.patch,665 bytes, patch)
2015-09-26 09:09 UTC, Greg Turner
Details | Diff
[JANKYFIX-000 #2 of 3] xfsdump-3.1.4-xfsprogs-4.patch (xfsdump-3.1.4-xfsprogs-4.patch,30.83 KB, patch)
2015-09-26 09:18 UTC, Greg Turner
Details | Diff
[JANKYFIX-000 #3 of 3] xfsdump-3.1.4-destdir.patch (xfsdump-3.1.4-destdir.patch,7.61 KB, patch)
2015-09-26 09:24 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2015-09-13 17:57:30 UTC
# emerge -pqv '=sys-fs/xfsdump-3.1.4::gentoo'
[ebuild  N    ] sys-fs/xfsdump-3.1.4

# emerge --info '=sys-fs/xfsdump-3.1.4::gentoo'
Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.3, glibc-2.21-r1, 4.2.0-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.2.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     4050080 total,   2070724 free
KiB Swap:    4194300 total,   4193328 free
Timestamp of repository gentoo: Sun, 13 Sep 2015 06:30:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.7::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac accessibility acl acpi addressbook alsa amd64 anacron antiboss apcupsd aspell autoipd awn barcode berkdb bidi bluetooth branding btrfs bzip2 cairo cdda cdr cli colord cracklib crypt cryptsetup cscope cups curl cxx dbus declarative device-mapper djvu dos dri dts dvd dvdr eds egl emboss encode evdev examples exif experimental fam fat fax firefox flac fortran ftp gcj gd gdbm geoip gif glamor gnome gnome-keyring gnome-online-accounts go gpm gstreamer gtk gtk3 handbook hddtemp histman hotwording html http hunspell iconv icu idn introspection ios iostats ipod ipv6 irc java jingle jpeg kdbus kde kipi lastfm lcms ldap legacy-systray libkms libnotify libsecret lirc lm_sensors mad math mdadm mdnsresponder-compat minizip mmx mmxext mng moc modules mono mount mp3 mp4 mpd mpeg mrim multilib mysql nano-syntax nautilus ncurses net network network-cron networking networkmanager nls nptl ntfs ogg opengl openmp oscar pam pango pcre pdf perl phonon plasma playlist png policykit postfix postgres ppds pulseaudio python qml qrcode qt3support qt4 qt5 quicktime quota radio rar readline rss samba scanner scrobbler sdl seccomp semantic-desktop sensord session skype smbclient smi smp sms spell sqlite sse sse2 ssl startup-notification svg symlink systemd tcpd telepathy theora tiff tk tools tracker truetype tty-helpers udev udisks unicode upnp-av upower usb utilities vala video vim vim-pager vim-plugin vim-syntax vimeo visualizer vkontakte vlc vorbis webkit webpresence widgets wifi wininst winpopup wxwidgets x264 xa xcb xcomposite xfs xinerama xml xmpp xscreensaver xv xvid xvmc yahoo zeroconf zip zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 mmx mmxext popcnt sse sse2 sse4_1 sse4_2 ssse3 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell wiki-publisher scripting-javascript" LINGUAS="en he ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Leonid Kopylov 2015-09-13 17:57:57 UTC
Created attachment 411806 [details]
build.log
Comment 2 Tomáš Mózes 2015-09-14 05:42:41 UTC
Builds fine on my ~amd64:

Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.1.6-gentoo x86_64)
=================================================================
System uname: Linux-4.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-3570_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    15906920 total,  12987120 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 14 Sep 2015 01:45:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv jpeg lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl seccomp session sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="access_compat authn_core authz_core authz_host dir mime unixd socache_shmcb log_config rewrite vhost_alias log_forensic proxy proxy_fcgi info status deflate filter auth_digest authn_file authz_user actions alias auth_basic authn_alias authn_anon env expires headers mime_magic negotiation reqtimeout setenvif unique_id version cgi" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 xen pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0 php5-6 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 SpanKY gentoo-dev 2015-09-14 19:47:53 UTC
looks like the new xfsprogs-4.2.0 causes this.  the older one installs xfs/platform_defs.h which sets up all these things, but the new one does not.
Comment 4 Tomáš Mózes 2015-09-15 05:25:21 UTC
(In reply to SpanKY from comment #3)
> looks like the new xfsprogs-4.2.0 causes this.  the older one installs
> xfs/platform_defs.h which sets up all these things, but the new one does not.

Yes I can confirm, it worked with xfsprogs 3.2.2 but with 4.2.0 fails to compile.
Comment 5 Greg Turner 2015-09-26 08:59:00 UTC
Created attachment 412956 [details, diff]
[JANKYFIX-000 #1 of 3] xfsdump-3.1.4-to-3.1.4-r1.ebuild.patch

[JANKYFIX-000 #1 of 3]

First of a three-patch set.  These may or may not represent a rough-cut of a reasonable, upstream-able patch.  As-is they are surely not suitable: too many changes (including random corrections) are mashed together into one big patch, also the patch effectively makes xfsdump "adopt" content that xfsprogs deliberately abandoned.

At the very least this could make it easier for someone better equipped to understand xfsdump than I to get a handle on what the surface area of the problem really is.

This first bit is just a fairly trivial ebuild patch.  It adds ebuild code to apply the #2 and #3 patches, and regenerate the configure script.  That's it.
Comment 6 Greg Turner 2015-09-26 09:09:32 UTC
Created attachment 412964 [details, diff]
[JANKYFIX-000 #1 of 3] (rev1) xfsdump-3.1.4-to-3.1.4-r1.ebuild

First one had some clear stupidities already :)
Comment 7 Greg Turner 2015-09-26 09:18:11 UTC
Created attachment 412966 [details, diff]
[JANKYFIX-000 #2 of 3] xfsdump-3.1.4-xfsprogs-4.patch

Here is where all the bodies are buried.

Fix many headers not included errors.

Autotoolsy scaffolding to hold it all together.
Comment 8 Greg Turner 2015-09-26 09:24:08 UTC
Created attachment 412968 [details, diff]
[JANKYFIX-000 #3 of 3] xfsdump-3.1.4-destdir.patch

Wierd, how did this thing ever work?  Meh, don't answer that.

Fix the Makefiles to respect DESTDIR during installation.

All of this is kind of cobbled together and needs more work before it can go upstream.  Also, I haven't tested it yet to make sure the xfsdump executable we're creating actually works.
Comment 9 Fernando (likewhoa) 2015-10-02 17:58:34 UTC
This works for Me
Comment 10 SpanKY gentoo-dev 2015-10-07 14:50:20 UTC
i don't see how this is a blocker for a release.  xfsprogs-4 is not stable.
Comment 11 Oleh 2015-10-25 14:43:49 UTC
just in case xfsdump-3.1.5 released. This is fixed in:
https://git.kernel.org/cgit/fs/xfs/xfsdump-dev.git/commit/?id=5ce9dae1a5c8aa02f23174ef3521d0732c548928
and present in 3.1.5. The fix is a matter of version bump
Comment 12 SpanKY gentoo-dev 2015-10-26 04:16:56 UTC
(In reply to Oleg from comment #11)

that helps with __psint_t, but the build is still a hot hot mess.  i added a lot of sed statements and a patch to get it to build.

http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3fcf50e0abe50480b1676ad861acbbf7220b3a8