Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135713 - net-ftp/ftpd-0.17-r3 fails to compile w/ gcc-4.1.1
Summary: net-ftp/ftpd-0.17-r3 fails to compile w/ gcc-4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-06-05 21:26 UTC by Frank T. Lofaro Jr.
Modified: 2006-06-20 08:54 UTC (History)
1 user (show)

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


Attachments
ftpd-0.17-gcc41.patch (ftpd-0.17-gcc41.patch,921 bytes, patch)
2006-06-06 06:30 UTC, Piotr Jaroszyński (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank T. Lofaro Jr. 2006-06-05 21:26:46 UTC
# emerge --info
Portage 2.1_rc4-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Pentium II (Deschutes)
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks maketest metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1 -l1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi bash-completion bcmath berkdb bitmap-fonts bzlib cdparanoia cdr cli crypt cups dri eds emacs emacs-w3 emboss encode examples fastcgi fbcon flac foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog jpeg kde lcms libg++ libwww lm_sensors lmsensors mad matrox mikmod mp3 mpeg ncurses nls nocd nptl nptlonly offensive ogg opengl oss pam pcre pdflib perl php png posix postgres pppd python qt quicktime readline reflection sdl session spell spl ssl sysvipc tcltk tcpd tidy truetype truetype-fonts type1-fonts udev usb vorbis wddx x-face xaw8 xml xmms xorg xv yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Error in compiling ftpd:

gcc -O2 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline  -I../support -DUSE_SSL -g -DUSE_SHADOW -DHASSETPROCTITLE ftpcmd.c -c
ftpcmd.y:133: error: array type has incomplete element type
ftpcmd.y:134: error: array type has incomplete element type
Comment 1 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-06-06 06:30:56 UTC
Created attachment 88517 [details, diff]
ftpd-0.17-gcc41.patch

Just moved the definition up.
Comment 2 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-06-08 10:47:32 UTC
Added to the sunrise overlay:
http://overlays.gentoo.org/svn/proj/sunrise/net-ftp/ftpd/
Please add InOverlay keyword.
Comment 3 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-06-08 16:01:44 UTC
Not any more in the sunrise overlay ;(
Comment 4 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-06-10 16:38:09 UTC
ftpd is now(again) in the sunrise overlay. If the herd would like to maintain it, I can remove it from the overlay.

http://overlays.gentoo.org/svn/proj/sunrise/net-ftp/ftpd/

Please add InOverlay keyword.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-20 08:54:10 UTC
Added maintainer-needed metadata, added gcc41 patch

thanks :)