Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193127 - net-ftp/tnftp won't compile w/ libedit
Summary: net-ftp/tnftp won't compile w/ libedit
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 22:33 UTC by emerald
Modified: 2007-09-22 20:45 UTC (History)
0 users

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


Attachments
use-system-libedit-configure.patch (use-system-libedit-configure.patch,386 bytes, patch)
2007-09-19 22:35 UTC, emerald
Details | Diff
tnftp-20070806.ebuild (tnftp-20070806.ebuild,1.13 KB, text/plain)
2007-09-19 22:36 UTC, emerald
Details
build.log (build.log,19.85 KB, text/plain)
2007-09-22 19:48 UTC, emerald
Details
emerge --info (emerge.info,16.11 KB, text/plain)
2007-09-22 19:48 UTC, emerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emerald 2007-09-19 22:33:48 UTC
tnftp won't compile on a current ~ system for that the included libedit fails during linking with unresolved symbols (strlcpy, strlcat, ...)
atm i don't have a failure log but a small patch (for tnftp-20070806) which removes the forced usage of the included libedit but instead makes use of the system-available libedit (so libedit has to be included in DEPEND too)

the patch has to be applied, then eautoconf, then continue compilation as done in ebuild already
Comment 1 emerald 2007-09-19 22:35:24 UTC
Created attachment 131349 [details, diff]
use-system-libedit-configure.patch

patch for configure.ac
Comment 2 emerald 2007-09-19 22:36:23 UTC
Created attachment 131350 [details]
tnftp-20070806.ebuild

ebuild with patch and necessary changes included
Comment 3 Sven Wegener gentoo-dev 2007-09-22 18:47:17 UTC
Compiles fine here. Provide more information if you really think there is a problem.
Comment 4 emerald 2007-09-22 19:48:15 UTC
Created attachment 131634 [details]
build.log
Comment 5 emerald 2007-09-22 19:48:57 UTC
Created attachment 131636 [details]
emerge --info

attached build log and emerge --info output
Comment 6 emerald 2007-09-22 19:49:20 UTC
reopen with provided information
Comment 7 emerald 2007-09-22 19:51:59 UTC
btw. the test build was run with this command line

FEATURES="-ccache" CFLAGS="-march=athlon64 -O2 -pipe" CXXFLAGS="${CFLAGS}" emerge -1 tnftp
Comment 8 emerald 2007-09-22 20:05:10 UTC
iirc the same error happens on ~x86 and ppc too
Comment 9 emerald 2007-09-22 20:05:49 UTC
~ppc i meant in comment #8
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-09-22 20:45:40 UTC
<snip>
CFLAGS="-march=athlon64 -mmmx -msse -msse2 -msse3 -m3dnow -mfpmath=sse -maccumulate-outgoing-args -mno-tls-direct-seg-refs -O3 -pipe -fomit-frame-pointer -floop-optimize -fgcse-after-reload -fgcse-sm -fgcse-las -fweb -funswitch-loops -funroll-loops -fprefetch-loop-arrays -fpeel-loops -fvariable-expansion-in-unroller -finline-limit=1000 --param max-gcse-passes=8 -fmodulo-sched -ftracer -fbranch-target-load-optimize"
CXXFLAGS="-march=athlon64 -mmmx -msse -msse2 -msse3 -m3dnow -mfpmath=sse -maccumulate-outgoing-args -mno-tls-direct-seg-refs -O3 -pipe -fomit-frame-pointer -floop-optimize -fgcse-after-reload -fgcse-sm -fgcse-las -fweb -funswitch-loops -funroll-loops -fprefetch-loop-arrays -fpeel-loops -fvariable-expansion-in-unroller -finline-limit=1000 --param max-gcse-passes=8 -fmodulo-sched -ftracer -fbranch-target-load-optimize"
LDFLAGS="-Wl,-O2,-z,now,--enable-new-dtags"
</snip>

Please, don't file *any* compile failure bugs whatsover until you've recompiled your system from scratch with *sane* C[XX]FLAGS. They'll be instantly killed as INVALID.

http://www.gentoo.org/doc/en/gcc-optimization.xml
http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/build-environment/index.html