Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145940 - Proftpd emerge error
Summary: Proftpd emerge error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gustavo Felisberto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-01 20:33 UTC by Liviu Balan
Modified: 2006-09-04 16:49 UTC (History)
1 user (show)

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


Attachments
Fix mod_quotatab_sql compilation under gcc-4.1 (gcc4-mod_quotatab_sql.patch,472 bytes, patch)
2006-09-04 04:29 UTC, Sheldon Hearn
Details | Diff
Ebuild patch (proftpd-1.2.10-r7.ebuild.patch,466 bytes, patch)
2006-09-04 04:30 UTC, Sheldon Hearn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Liviu Balan 2006-09-01 20:33:17 UTC
Just switched to gcc 4.1.1. An emerge -eav world stops at proftpd with the following error:

make[1]: Leaving directory `/var/tmp/portage/proftpd-1.2.10-r7/work/proftpd-1.2.10/src'
x86_64-pc-linux-gnu-gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -march=nocona -O2 -mfpmath=sse -pipe -Wall -c mod_quotatab_sql.c
x86_64-pc-linux-gnu-gcc -Llib  -o ftpdctl src/ftpdctl.o src/pool.o src/netaddr.o src/log.o src/ctrls.o -lsupp -lcrypt  -Llib/libcap -lcap  -lm -lz -lmysqlclient  -lssl -lcrypto  -lwrap -lnsl  -lpam
mod_quotatab_sql.c: In function 
Comment 1 Liviu Balan 2006-09-01 20:33:17 UTC
Just switched to gcc 4.1.1. An emerge -eav world stops at proftpd with the following error:

make[1]: Leaving directory `/var/tmp/portage/proftpd-1.2.10-r7/work/proftpd-1.2.10/src'
x86_64-pc-linux-gnu-gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -march=nocona -O2 -mfpmath=sse -pipe -Wall -c mod_quotatab_sql.c
x86_64-pc-linux-gnu-gcc -Llib  -o ftpdctl src/ftpdctl.o src/pool.o src/netaddr.o src/log.o src/ctrls.o -lsupp -lcrypt  -Llib/libcap -lcap  -lm -lz -lmysqlclient  -lssl -lcrypto  -lwrap -lnsl  -lpam
mod_quotatab_sql.c: In function sqltab_open:
mod_quotatab_sql.c:688: error: invalid lvalue in assignment
make[1]: *** [mod_quotatab_sql.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/proftpd-1.2.10-r7/work/proftpd-1.2.10/modules'
make: *** [modules] Error 2

!!! ERROR: net-ftp/proftpd-1.2.10-r7 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  proftpd-1.2.10-r7.ebuild, line 131:   Called die

!!! compile problem
!!! If you need support, post the topmost build error, and the call stack if relevant.

My emerge --info:

Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 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.17
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -mfpmath=sse -pipe"
CHOST="x86_64-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/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_CA.UTF-8"
LINGUAS="en ro ko"
MAKEOPTS="-j5"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 arts asf avi berkdb bitmap-fonts browserplugin bzip2 cdda cddb cdio cdr cegui cli crypt cups dlloader dri dvd eds emboss encode ffmpeg foomaticdb fortran fuse gif gpm gstreamer gtk2 hal imagemagick imlib ipv6 isdnlog java jpeg kde lzw lzw-tiff mikmod mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdflib perl php png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session shaper softquota speex spell spl sqlite sse3 ssl symlink tcpd tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis wxwindows xcomposite xine xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_ro linguas_ko userland_GNU video_cards_fglrx video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Liviu Balan 2006-09-01 20:35:13 UTC
Forgot to put the proftpd emerge flags and version:

[ebuild   R   ] net-ftp/proftpd-1.2.10-r7  USE="ipv6 mysql ncurses pam shaper softquota ssl tcpd -authfile -hardened -ldap -noauthunix -postgres -sendfile -xinetd" 0 kB                                                                                                                                                
Comment 3 Vincent Zanotti 2006-09-04 02:02:33 UTC
I've had exactly the same problem, but on x86.
Solved by using http://forums.proftpd.org/phpBB2/viewtopic.php?p=1822

Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
Comment 4 Sheldon Hearn 2006-09-04 04:29:07 UTC
Created attachment 95951 [details, diff]
Fix mod_quotatab_sql compilation under gcc-4.1

Lifted from http://forums.proftpd.org/phpBB2/viewtopic.php?p=1822

Ebuild patch to follow.
Comment 5 Sheldon Hearn 2006-09-04 04:30:21 UTC
Created attachment 95952 [details, diff]
Ebuild patch

Patch ebuild to use gcc4-mod_quotatab_sql.patch .
Comment 6 Gustavo Felisberto (RETIRED) gentoo-dev 2006-09-04 16:49:19 UTC
In portage. Thanks for the help.