Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301056 - sys-devel/patch-2.6.1: doesnt build on BSD, broken gnulib: missing strnlen.c
Summary: sys-devel/patch-2.6.1: doesnt build on BSD, broken gnulib: missing strnlen.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-15 06:08 UTC by Alexis Ballier
Modified: 2010-01-22 20:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2010-01-15 06:08:04 UTC
i686-gentoo-freebsd7.2-gcc -std=gnu99 -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -DENABLE_MERGE -I. -I./src -I./gl/lib -march=athlon-xp -O2 -pipe -g -ggdb -o gl/lib/getopt.o gl/lib/getopt.c
src/patch.c: In function ‘get_some_switches’:
src/patch.c:681: warning: passing argument 2 of ‘rpl_getopt_long’ discards qualifiers from pointer target type
./getopt.h:208: note: expected ‘char **’ but argument is of type ‘char * const*’
i686-gentoo-freebsd7.2-gcc -std=gnu99 -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -DENABLE_MERGE -I. -I./src -I./gl/lib -march=athlon-xp -O2 -pipe -g -ggdb -o gl/lib/getopt1.o gl/lib/getopt1.c
i686-gentoo-freebsd7.2-gcc -std=gnu99 -o src/patch -march=athlon-xp -O2 -pipe -g -ggdb -Wl,--as-needed gl/lib/argmatch.o gl/lib/backupfile.o gl/lib/basename.o gl/lib/dirname.o gl/lib/stripslash.o gl/lib/error.o gl/lib/exitfail.o gl/lib/strnlen.o gl/lib/getopt.o gl/lib/getopt1.o gl/lib/hash.o gl/lib/quote.o gl/lib/quotearg.o gl/lib/safe-write.o gl/lib/xmalloc.o gl/lib/xstrndup.o gl/lib/full-write.o src/merge.o src/inp.o src/maketime.o src/partime.o src/patch.o src/pch.o src/quotesys.o src/util.o src/version.o 
i686-gentoo-freebsd7.2-gcc: gl/lib/strnlen.o: No such file or directory
distcc[48717] ERROR: compile (null) on localhost failed
gmake: *** [src/patch] Error 1
 * ERROR: sys-devel/patch-2.6.1 failed:



There is no strnlen.c, changelog and aclocal.m4 mention it but its not in the tarball. I would have liked to send the rants upstream but $HOMEPAGE gives me a 404.
Comment 1 Alexis Ballier gentoo-dev 2010-01-15 06:19:49 UTC
darkside just told me prefix guyz have fixed it for them (bug #300845)
http://overlays.gentoo.org/proj/alt/changeset/56118

thatd be great if this could be merged in the main tree, thanks
Comment 2 SpanKY gentoo-dev 2010-01-15 06:25:10 UTC
change looks fine to me
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-22 20:16:29 UTC
(In reply to comment #2)
> change looks fine to me
> 

added to gentoo-x86, thx