Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[Solved] kde-apps/kio-extras XDR datatype missing

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
madurani
n00b
n00b
Posts: 57
Joined: Wed Mar 08, 2017 8:10 am

[Solved] kde-apps/kio-extras XDR datatype missing

  • Quote

Post by madurani » Wed Feb 14, 2018 8:58 pm

Hello All,

I have a problem with compilation of last version of package "kde-apps/kio-extras:17.12.2". During the compilation configuration crashes as uncompleted. There is some error messages related to XDR datatype:

Code: Select all

-- Looking for include file rpc/rpc.h
-- Looking for include file rpc/rpc.h - found
-- Looking for xdr_u_int64_t
-- Looking for xdr_u_int64_t - not found
-- Looking for xdr_uint64_t
-- Looking for xdr_uint64_t - not found
-- Looking for xdr_u_hyper
-- Looking for xdr_u_hyper - not found
-- Looking for xdr_u_longlong_t
-- Looking for xdr_u_longlong_t - not found
CMake Error at nfs/CMakeLists.txt:10 (message):
  Could not find 64-bit XDR datatype functions!
I find out, that package "net-libs/libtirpc" includes file "/usr/include/tirpc/rpc/xdr.h" where should be defined missing datatypes, but from some reason they aren't reachable for compilation process:

Code: Select all

argo ~ # grep xdr_u /usr/include/tirpc/rpc/xdr.h
extern bool_t   xdr_u_int(XDR *, u_int *);
extern bool_t   xdr_uint64_t(XDR *, uint64_t *);
extern bool_t   xdr_u_hyper(XDR *, u_quad_t *);
Marek
Last edited by madurani on Fri Feb 23, 2018 3:14 pm, edited 2 times in total.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Feb 15, 2018 7:35 am

You can post your emerge --info please?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
madurani
n00b
n00b
Posts: 57
Joined: Wed Mar 08, 2017 8:10 am

  • Quote

Post by madurani » Thu Feb 15, 2018 4:04 pm

Code: Select all

argo ~ # emerge --info 
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.27-r1, 4.9.80-gentoo x86_64)
=================================================================
System uname: Linux-4.9.80-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.4.1
KiB Mem:     4043360 total,   1794272 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Wed, 14 Feb 2018 05:30:01 +0000
Head commit of repository gentoo: 2b849a96e6d471865bdca7d09d248c06b87333e8
sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p1) 2.30.0
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.10.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.30::gentoo
sys-devel/gcc:            7.3.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="en sk cz"
MAKEOPTS="-j3"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv jpeg kde kipi kwallet lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg openg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt5 readline rpcl sdl seccomp semantic-desktop spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="32 64" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en sk cz" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia" 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
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Feb 15, 2018 4:09 pm

Ok try this patch, but not sure if work.

Reference:
https://github.com/cygwinports/kf5-kio- ... irpc.patch
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
madurani
n00b
n00b
Posts: 57
Joined: Wed Mar 08, 2017 8:10 am

  • Quote

Post by madurani » Thu Feb 15, 2018 4:36 pm

It seem, that this patch is for old version of kio-extra 16.08.3, but no for currently 7.12.2:

Code: Select all

argo /usr/portage/kde-apps/kio-extras # ebuild kio-extras-17.12.2.ebuild clean prepare
 * kio-extras-17.12.2.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                             [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking kio-extras-17.12.2.tar.xz to /var/tmp/portage/kde-apps/kio-extras-17.12.2/work
>>> Source unpacked in /var/tmp/portage/kde-apps/kio-extras-17.12.2/work
>>> Preparing source in /var/tmp/portage/kde-apps/kio-extras-17.12.2/work/kio-extras-17.12.2 ...
 * Applying 16.08.3-nfs-libtirpc.patch ...
The text leading up to this was:
--------------------------
|--- origsrc/kio-extras-16.08.3/CMakeLists.txt  2016-11-07 06:21:48.000000000 -0600
|+++ src/kio-extras-16.08.3/CMakeLists.txt      2017-02-02 09:45:43.808487100 -0600
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|--- origsrc/kio-extras-16.08.3/nfs/CMakeLists.txt      2016-11-07 06:21:48.000000000 -0600
|+++ src/kio-extras-16.08.3/nfs/CMakeLists.txt  2017-02-02 10:01:19.502229500 -0600
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored                                                                                                                                         [ !! ]
 * ERROR: kde-apps/kio-extras-17.12.2::gentoo failed (prepare phase):
 *   patch -p1  failed with /etc/portage/patches/kde-apps/kio-extras-17.12.2/16.08.3-nfs-libtirpc.patch
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_prepare
 *             environment, line 3831:  Called kde5_src_prepare
 *             environment, line 2832:  Called cmake-utils_src_prepare
 *             environment, line 1195:  Called default_src_prepare
 *      phase-functions.sh, line  918:  Called __eapi6_src_prepare
 *             environment, line  363:  Called eapply_user
 *             environment, line 1445:  Called eapply '/etc/portage/patches/kde-apps/kio-extras-17.12.2/16.08.3-nfs-libtirpc.patch'
 *             environment, line 1415:  Called _eapply_patch '/etc/portage/patches/kde-apps/kio-extras-17.12.2/16.08.3-nfs-libtirpc.patch'
 *             environment, line 1353:  Called __helpers_die 'patch -p1  failed with /etc/portage/patches/kde-apps/kio-extras-17.12.2/16.08.3-nfs-libtirpc.patch'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=kde-apps/kio-extras-17.12.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-apps/kio-extras-17.12.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-apps/kio-extras-17.12.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-apps/kio-extras-17.12.2/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-apps/kio-extras-17.12.2/work/kio-extras-17.12.2'
 * S: '/var/tmp/portage/kde-apps/kio-extras-17.12.2/work/kio-extras-17.12.2'
argo /usr/portage/kde-apps/kio-extras # 
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Feb 15, 2018 4:41 pm

You used the first link patch?

EDIT: the first patch is modified by me for working with 17.12.2 version
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
madurani
n00b
n00b
Posts: 57
Joined: Wed Mar 08, 2017 8:10 am

  • Quote

Post by madurani » Thu Feb 15, 2018 5:01 pm

Yes, You right. I used bad patch. First was applied fine, but after starting emerge, there is some other error:

Code: Select all

argo /usr/portage/kde-apps/kio-extras # ebuild kio-extras-17.12.2.ebuild clean prepare
 * kio-extras-17.12.2.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                             [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking kio-extras-17.12.2.tar.xz to /var/tmp/portage/kde-apps/kio-extras-17.12.2/work
>>> Source unpacked in /var/tmp/portage/kde-apps/kio-extras-17.12.2/work
>>> Preparing source in /var/tmp/portage/kde-apps/kio-extras-17.12.2/work/kio-extras-17.12.2 ...
 * Applying nfs-libtirpc.patch ...                                                                                                                               [ ok ]
 * User patches applied.
>>> Source prepared.


emerge -av kio-extras

Code: Select all

argo /usr/portage/kde-apps/kio-extras # emerge -av kio-extras         

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] kde-apps/kio-extras-17.12.2:5::gentoo [17.12.1:5::gentoo] USE="activities handbook man phonon sftp -debug -htmlthumbs -mtp -openexr -samba -slp -taglib {-test}" 0 KiB
...
...
...
-- Found SharedMimeInfo: /usr/bin/update-mime-database (found version "1.9") 
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file util.h
-- Looking for include file util.h - not found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file pty.h
-- Looking for include file pty.h - found
-- Looking for include files sys/types.h, libutil.h
-- Looking for include files sys/types.h, libutil.h - not found
-- Looking for getpt
-- Looking for getpt - found
-- Looking for grantpt
-- Looking for grantpt - found
-- Looking for openpty in util
-- Looking for openpty in util - found
-- Looking for isastream in util
-- Looking for isastream in util - found
CMake Error at CMakeLists.txt:180 (pkg_check_modules):
  Unknown CMake command "pkg_check_modules".


-- Configuring incomplete, errors occurred!
Top
madurani
n00b
n00b
Posts: 57
Joined: Wed Mar 08, 2017 8:10 am

  • Quote

Post by madurani » Fri Feb 23, 2018 3:05 pm

fedeliallalinea wrote:Ok try this patch, but not sure if work.

Reference:
https://github.com/cygwinports/kf5-kio- ... irpc.patch

I little changed your patch and add there one line INCLUDE(FindPkgConfig):

Code: Select all

 
old
 @@ -177,9 +177,11 @@
new
@@ -177,9 +177,12 @@

Code: Select all

old
-   if(HAVE_RPC_RPC_H)
+   pkg_check_modules(TIRPC libtirpc)
new
-   if(HAVE_RPC_RPC_H)
+   INCLUDE(FindPkgConfig)
+   pkg_check_modules(TIRPC libtirpc)
.

And now compilation of kio-extras finish success.

Thank for your support.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic