Ticket #275 (new defect)

Opened 3 years ago

Last modified 2 years ago

crosscompile glibc : missing files in /usr/arm.../usr/include/rpcsvc/...

Reported by: pierrearinsal Owned by:
Priority: major Milestone: milestone6
Component: target Keywords:
Cc:

Description

hi crosscompile net-nds/rpcbind-0.2.0 failed : missing files... emerge-armv4tl-softfloat-linux-gnueabi --info

Portage 2.1.6.13 (!/usr/portage/local/freerunner/openmoko-overlay/openmoko-target/profiles/openmoko, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-58-with-gentoo-2.0.1
Timestamp of tree: Tue, 28 Jul 2009 15:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="arm ~arm"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -march=armv4t -mtune=arm920t"
CHOST="armv4tl-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -pipe -march=armv4t -mtune=arm920t"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-L/usr/armv4tl-softfloat-linux-gnueabi/lib -L/usr/armv4tl-softfloat-linux-gnueabi/usr/lib"
LINGUAS="en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/local/moko"
PORTAGE_CONFIGROOT="/usr/armv4tl-softfloat-linux-gnueabi/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/freerunner/openmoko-overlay/openmoko-target"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arm bash-completion bzip2 cairo dbus directfb dri gif gnutls gps gstreamer hal iconv jpeg midi minimal multicall ncurses nls nptl pam png python readline sdl sqlite ssl svg threads tiff truetype tslib xorg xpm zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="void evdev keyboard mouse tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev glamo dummy"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

error message is :

make[3]: Entering directory `/var/tmp/portage/net-nds/rpcbind-0.2.0/work/rpcbind-0.2.0/src'
...

...
armv4tl-softfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I./tirpc -DPORTMAP -DINET6 -DVERSION="\"0.2.0\"" -D_GNU_SOURCE -Wall -pipe    -I/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO   -Os -pipe -march=armv4t -mtune=arm920t -MT security.o -MD -MP -MF .deps/security.Tpo -c -o security.o security.c
security.c:23:26: error: rpcsvc/mount.h: No such file or directory
security.c:24:27: error: rpcsvc/rquota.h: No such file or directory
security.c:25:29: error: rpcsvc/nfs_prot.h: No such file or directory
security.c:28:29: error: rpcsvc/yppasswd.h: No such file or directory
security.c: In function 'check_callit':
security.c:320: error: 'MOUNTPROG' undeclared (first use in this function)
security.c:320: error: (Each undeclared identifier is reported only once
security.c:320: error: for each function it appears in.)
security.c:321: error: 'MOUNTPROC_MNT' undeclared (first use in this function)
security.c:322: error: 'MOUNTPROC_UMNT' undeclared (first use in this function)
security.c:329: error: 'YPPASSWDPROG' undeclared (first use in this function)
security.c:330: error: 'NFS_PROGRAM' undeclared (first use in this function)
security.c:331: error: 'RQUOTAPROG' undeclared (first use in this function)
make[3]: *** [security.o] Error 1

pierre

Attachments

build.log (14.8 kB) - added by pierrearinsal 3 years ago.
build.log

Change History

Changed 3 years ago by pierrearinsal

build.log

Changed 3 years ago by pierrearinsal

  • summary changed from crosscompile net-nds/rpcbind-0.2.0 failed : missing files... to crosscompile glibc : missing files in /usr/arm.../usr/include/rpcsvc/...

after some googling, I've found that the 4 missing files (/usr/include/rpcsvc/mount.h,rpcsvc/rquota.h:,rpcsvc/nfs_prot.h,rpcsvc/yppasswd.h) belong to glibc.

it's surely not a good method, but copying files from the host did the trick...

does anybody know if you have to give special uses values to glibc to create those files?

Changed 2 years ago by Openfree

I encountered the same problem. I think the problem is cross-armv4tl-softfloat-linux-gnueabi/glibc

broken. So some files are missing.

If using /usr/armv4tl-softfloat-linux-gnueabi as ROOT, emerge sys-devel/gcc sys-libs/glibc will trigger file collision.

Changed 2 years ago by sleipnir

  • milestone changed from unsorted to milestone6

Changed 2 years ago by max_posedon

cross-armv4tl-softfloat-linux-gnueabi/glibc isn't broken itself, it just designed to be temporary solution, before you run

emerge-armv4tl-softfloat-linux-gnueabi glibc

but if after this files still missing, it becoming a bug

Changed 2 years ago by pierrearinsal

so it is a bug... cause I have glibc emerged

Note: See TracTickets for help on using tickets.