| Summary: | proftpd-1.2.9 MAKEOPTS | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Patrik Kullman <patrik> |
| Component: | [OLD] Server | Assignee: | Stewart (RETIRED) <blkdeath> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | lisa, max |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Patrik Kullman
2004-01-24 04:59:22 UTC
You need to post: output from: emerge info what the error is - paste the lines where it says error. Compilation: gcc -Llib -lresolv -o ftpshut utils/ftpshut.o gcc -Llib -lresolv -o ftptop utils/ftptop.o utils/scoreboard.o -lncurses -lsupp /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot fi nd -lsupp collect2: ld returned 1 exit status make: *** [ftptop] Error 1 make: *** Waiting for unfinished jobs.... gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c vsnprintf.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c glibc-glob.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c glibc-hstrerror.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c glibc-mkstemp.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c pr-syslog.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c pwgrent.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c getopt.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c getopt1.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_xfer.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_auth_unix.c ar rc libsupp.a pr_fnmatch.o sstrncpy.o strsep.o vsnprintf.o glibc-glob.o glibc-hstrerro r.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o ranlib libsupp.a make[1]: Leaving directory `/var/tmp/portage/proftpd-1.2.9/work/proftpd-1.2.9/lib' gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_auth_file.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_auth.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_ls.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c timers.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c sets.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c pool.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c regexp.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c dirtree.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_log.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c support.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_site.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_ratio.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c netaddr.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_readme.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_auth_pam.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c inet.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_wrap.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_ldap.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_tls.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c log.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c bindings.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c scoreboard.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c feat.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c netio.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c response.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c ident.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c data.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c modules.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c auth.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_sql.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c fsio.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mkhome.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_sql_mysql.c gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c mod_cap.c make[1]: Leaving directory `/var/tmp/portage/proftpd-1.2.9/work/proftpd-1.2.9/src' srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_ratio.o mod_readme.o mod_auth_pam.o mod_wrap.o mod_ldap.o mod_tls.o mod_sql.o mod_sql_mysql.o mod_cap.o gcc -DLINUX -I.. -I../include -I/usr/include/mysql -march=pentium3 -O3 -pipe -Wall -c module_glue.c make[1]: Leaving directory `/var/tmp/portage/proftpd-1.2.9/work/proftpd-1.2.9/modules' !!! ERROR: net-ftp/proftpd-1.2.9 failed. !!! Function src_compile, Line 77, Exitcode 2 !!! compile problem emerge info: Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.linux.no" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://193.10.192.105/gentoo-portage" USE="apache2 apm berkdb crypt cups encode flash foomaticdb gd gdbm gif imap imlib ipv6 java jpeg ldap libg++ libwww mad mcal mikmod motif mpeg mysql ncurses nls oggvorbis pam pdflib perl png python readline samba sasl slang snmp spell ssl svga tcltk tcpd tiff truetype x86 xml xml2 zlib" I confirm that proftpd doesn't like to be built with -j > 1 (or at least it didn't work with -j4). I'm not using distcc, however. (sorry, lisa) :-) Maybe parallel build is just broken for this version? Eeenteresting. My (single-CPU'd) servers and workstations all use -j2 per default, and I can confirm it's been compiled sucessfully on a dual Athlon MP 2200 with -j4. max: What's your system configuration? How many CPUs? Was the error you received similar to that of the distcc using folks? (Sorry; make that dual AMD Athlon MP2800) Ok. Odd. I just tried again and it built fine. Using -j5 (this is on a dual xeon pentium4 2.8ghz). I didn't change anything since yesterday...Just re-merged it. Might have been a solar flare? I don't like talking about my flare. :-) At the time when I _did_ get the error, it was the same, yes. But I can't get it to reproduce now. Strange. The only thing that's changed in the past week WRT the 1.2.9 ebuild is the removal of the libpcap dependancy (no longer required for any practical purpose); perhaps the OP could try re-merging as well, and that changed behaviour could affect his compile also? If OP stands for something near "Original Poster".. I can report that I still have this issue. If I were to make a guess, I'd guess a it's race condition whether the libsupp has been built prior to the compilation of the ftptop utility. Does any Makefile specify this order? I know the dupes are the other way around, but bug #39678 has a mroe apt description and a patch and update that may help solve the problem. *** This bug has been marked as a duplicate of 39678 *** |