All versions of net-ftp/vsftpd crash on my NSLU2 with the following error: armeb-softfloat-linux-uclibc-gcc -c sysutil.c -march=armv5t -mtune=xscale -Os -idirafter dummyinc sysutil.c: In function 'vsf_sysutil_wait_exited_normally': sysutil.c:604: error: assignment of read-only member '__in' sysutil.c: In function 'vsf_sysutil_wait_get_exitcode': sysutil.c:614: error: assignment of read-only member '__in' make: *** [sysutil.o] Error 1 * * ERROR: net-ftp/vsftpd-2.0.7 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2051: Called die * The specific snippet of code: * emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/net-ftp:vsftpd-2.0.7:20081013-080027.log'. * The ebuild environment file is located at '/var/tmp/portage/net-ftp/vsftpd-2.0.7/temp/environment'. * The patch I attached made it work. here's emerge --info: Portage 2.1.4.4 (uclibc/arm, gcc-4.1.2, uclibc-0.9.28.3-r7, 2.6.21.7 armv5teb) ================================================================= System uname: 2.6.21.7 armv5teb XScale-IXP42x Family rev 2 (v5b) Timestamp of tree: Mon, 13 Oct 2008 07:15:03 +0000 distcc 2.18.3 armeb-softfloat-linux-uclibc (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="arm" CBUILD="armeb-softfloat-linux-uclibc" CFLAGS="-march=armv5t -mtune=xscale -Os" CHOST="armeb-softfloat-linux-uclibc" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=armv5t -mtune=xscale -Os" DISTDIR="/usr/src/distfiles" FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo noman parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS=" http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ " LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" PKGDIR="/usr/portage/packages" 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="/var/portage/tree" PORTDIR_OVERLAY="/var/portage/local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="arm cli cracklib crypt dri midi mudflap ncurses openmp pam pcre perl python readline reflection session spl ssl tcpd uclibc unicode vim-syntax xorg 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" APACHE2_MODULES="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 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" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce:
Created attachment 168266 [details, diff] The patch that made it work Taken from http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg233677.html
+1 Thank you, patch works; but this is not related to ARM arch exclusive; it fails with any GCC 4.1*
I haven't tested it on another system. But if it fails everywhere, someone who can do this should change the title ;-)
It's fails on i386-gentoo-linux-uclibc too... And with GCC 4.2.4 And thanks for the patch.
Fixed on -r1