Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430178 - net-libs/libtirpc : port to Gentoo Prefix request
Summary: net-libs/libtirpc : port to Gentoo Prefix request
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-06 14:10 UTC by coderoar
Modified: 2017-11-15 17:49 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,57.42 KB, text/plain)
2012-08-06 14:10 UTC, coderoar
Details
environment (environment,76.79 KB, text/plain)
2012-08-06 14:11 UTC, coderoar
Details
build.log (build.log,31.15 KB, text/plain)
2012-12-11 13:30 UTC, Leho Kraav (:macmaN @lkraav)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description coderoar 2012-08-06 14:10:13 UTC
Created attachment 320560 [details]
build.log

~ $ emerge --info '=net-libs/libtirpc-0.2.2-r1'
Portage 2.2.01.20796-prefix (prefix/linux/amd64, gcc-4.6.3, unavailable, 3.5.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.1
Timestamp of tree: Mon, 06 Aug 2012 13:25:27 +0000
app-shells/bash:          4.2_p36::gentoo_prefix
dev-lang/python:          2.7.3-r2::gentoo_prefix
dev-util/cmake:           2.8.8-r3::gentoo_prefix
dev-util/pkgconfig:       0.27::gentoo_prefix
sys-devel/autoconf:       2.13::gentoo_prefix, 2.69::gentoo_prefix
sys-devel/automake:       1.11.6::gentoo_prefix
sys-devel/binutils:       2.22-r1::gentoo_prefix
sys-devel/gcc:            4.6.3::gentoo_prefix
sys-devel/gcc-config:     1.5-r2::gentoo_prefix
sys-devel/libtool:        2.4.2::gentoo_prefix
sys-devel/make:           3.82::gentoo_prefix
sys-kernel/linux-headers: 3.5::gentoo_prefix (virtual/os-headers)
Repositories: gentoo_prefix
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/home/test/gentoo/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --with-bdeps=y"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix new
s parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphan
s userfetch usersync"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
PKGDIR="/home/test/gentoo/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_CONFIGROOT="/home/test/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readab
le --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/test/gentoo/var/tmp"
PORTDIR="/home/test/gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aac amd64 bash-completion berkdb bzip2 caps chm cjk cli cracklib crypt curl cxx djvu dri exif expat flac fortran gd gdbm gif ic
onv icu idn ipv6 jpeg ldap lzma lzo mmx modules mp3 mpeg mudflap ncurses nls nptl ogg openmp pch pcre pdf perl png pppd prefix pytho
n raw readline session socks5 sse sse2 sse3 ssl ssse3 svg tcpd theora threads tiff unicode upnp v4l vim-syntax vorbis xattr xml xmp 
zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel int
el8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop e
mpty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACH
E2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfi
le 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" CAMERAS="ptp2" CO
LLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthma
te evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf supe
rstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd
44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGE
TS="php5-4" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouve
au nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ips
et ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTR
A_OPTS, USE_PYTHON

~ $ emerge -pqv '=net-libs/libtirpc-0.2.2-r1'
[ebuild  N    ] net-libs/libtirpc-0.2.2-r1  USE="-kerberos -static-libs"
Comment 1 coderoar 2012-08-06 14:11:13 UTC
Created attachment 320562 [details]
environment
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-08-06 14:24:59 UTC
The ebuild has not been tested at all with Gentoo Prefix, hence the error. I guess you used --autounmask-write to get this far, please be careful.
Comment 3 Leho Kraav (:macmaN @lkraav) 2012-12-11 13:30:32 UTC
Created attachment 332046 [details]
build.log

I am trying to get to x2goserver with Prefix and libtirpc is one of the requirements. For me it fails a differently:

rpc_soc.c: In function 'clnt_com_create':
rpc_soc.c:108:17: error: 'SOCK_CLOEXEC' undeclared (first use in this function)
rpc_soc.c:108:17: note: each undeclared identifier is reported only once for each function it appears in
rpc_soc.c: In function 'clntunix_create':
rpc_soc.c:563:20: warning: variable 'nconf' set but not used [-Wunused-but-set-variable]
make[2]: *** [libtirpc_la-rpc_soc.lo] Error 1
Comment 4 Leho Kraav (:macmaN @lkraav) 2012-12-11 13:31:03 UTC
Any thoughts?
Comment 5 Leho Kraav (:macmaN @lkraav) 2013-01-04 17:43:14 UTC
As a matter of fact this seems to be fixed by commit d46b10e from 7 weeks ago.

Testing now.
Comment 6 Leho Kraav (:macmaN @lkraav) 2013-01-04 18:53:51 UTC
Yes, it builds.

There is an additional problem with the doc/Makefile copying a configuration file to ${DESTDIR}/etc, which then fails to pass "files installed outside of prefix" QA check.

I think there needs to be some rm -f ${ED}/etc call in src_install(), but that didn't seem to work for some reason and I didn't have time to further work on it, so I manually removed it from the image dir after it failed.
Comment 7 Fabian Groffen gentoo-dev 2017-11-15 17:49:19 UTC
I'm sorry this needs a revisit