FS#8599 - grep-2.5.3-1 does not compile

Attached to Project: Arch Linux
Opened by Victor Museteanu (vik) - Saturday, 10 November 2007, 17:05 GMT
Last edited by Isenmann Daniel (ise) - Sunday, 11 November 2007, 11:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

grep-2.5.3-1 does not compile

Additional info:
try to build grep from PKGBUILD

1. Lots of failed patches:
patching file src/search.c
Hunk #1 FAILED at 360.
Hunk #2 succeeded at 338 (offset -35 lines).
Hunk #3 succeeded at 392 with fuzz 1.
Hunk #4 FAILED at 407.
Hunk #5 FAILED at 425.
Hunk #6 FAILED at 452.
Hunk #7 FAILED at 514.
Hunk #8 FAILED at 536.
Hunk #9 FAILED at 569.
7 out of 9 hunks FAILED -- saving rejects to file src/search.c.rej
patching file src/dfa.c
Hunk #1 FAILED at 586.
1 out of 1 hunk FAILED -- saving rejects to file src/dfa.c.rej
patching file src/dfa.c
Reversed (or previously applied) patch detected! Skipping patch.
8 out of 8 hunks ignored -- saving rejects to file src/dfa.c.rej
patching file src/grep.c
Hunk #1 succeeded at 36 with fuzz 2 (offset 6 lines).
Hunk #2 FAILED at 1709.
1 out of 2 hunks FAILED -- saving rejects to file src/grep.c.rej
patching file src/search.c
Hunk #1 FAILED at 149.
Hunk #2 succeeded at 170 with fuzz 2 (offset 4 lines).
Hunk #3 FAILED at 246.
Hunk #4 FAILED at 329.
Hunk #5 FAILED at 352.
Hunk #6 FAILED at 474.
Hunk #7 FAILED at 491.
Hunk #8 FAILED at 533.
Hunk #9 FAILED at 603.
Hunk #10 FAILED at 624.
9 out of 10 hunks FAILED -- saving rejects to file src/search.c.rej
patching file lib/posix/regex.h
patching file src/search.c
Hunk #1 FAILED at 31.
Hunk #2 FAILED at 190.
Hunk #3 FAILED at 268.
3 out of 3 hunks FAILED -- saving rejects to file src/search.c.rej
patching file doc/grep.1
Hunk #1 FAILED at 191.
Hunk #2 FAILED at 303.
2 out of 2 hunks FAILED -- saving rejects to file doc/grep.1.rej
patching file src/grep.c
Hunk #1 succeeded at 594 with fuzz 2 (offset -13 lines).
patching file src/grep.c
Hunk #1 FAILED at 564.
1 out of 1 hunk FAILED -- saving rejects to file src/grep.c.rej
patching file src/grep.c
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/grep.c.rej
patching file src/search.c
Hunk #1 FAILED at 18.
Hunk #2 succeeded at 47 (offset 4 lines).
Hunk #3 FAILED at 81.
Hunk #4 succeeded at 89 with fuzz 1 (offset -3 lines).
Hunk #5 FAILED at 155.
Hunk #6 FAILED at 163.
Hunk #7 FAILED at 240.
Hunk #8 FAILED at 325.
Hunk #9 FAILED at 339.
Hunk #10 succeeded at 373 (offset -33 lines).
Hunk #11 FAILED at 481.
Hunk #12 FAILED at 489.
Hunk #13 FAILED at 645.
Hunk #14 FAILED at 724.
Hunk #15 FAILED at 984.
12 out of 15 hunks FAILED -- saving rejects to file src/search.c.rej
patching file src/search.c
Hunk #1 FAILED at 327.
Hunk #2 succeeded at 387 with fuzz 2 (offset -35 lines).
Hunk #4 succeeded at 441 (offset -35 lines).
1 out of 4 hunks FAILED -- saving rejects to file src/search.c.rej
patching file tests/Makefile.am
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file tests/Makefile.am.rej
patching file tests/fmbtest.sh
patching file tests/Makefile.in
Hunk #1 FAILED at 97.
1 out of 1 hunk FAILED -- saving rejects to file tests/Makefile.in.rej
patching file src/search.c
Hunk #1 FAILED at 507.
1 out of 1 hunk FAILED -- saving rejects to file src/search.c.rej
patching file src/search.c
Hunk #1 FAILED at 1234.
1 out of 1 hunk FAILED -- saving rejects to file src/search.c.rej
patching file src/grep.c
Hunk #1 succeeded at 498 (offset 199 lines).
patching file src/grep.c
Hunk #1 succeeded at 2212 (offset 545 lines).
patching file src/search.c
Hunk #1 succeeded at 253 (offset 49 lines).
Hunk #2 succeeded at 208 (offset -84 lines).

2. Build Failed:

Making all in src
make[2]: Entering directory `/var/abs/core/base/grep/src/grep-2.5.3/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I../lib -DLOCALEDIR=\"/usr/share/locale\" -march=x86-64 -O2 -pipe -MT grep.o -MD -MP -MF .deps/grep.Tpo -c -o grep.o grep.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I../lib -DLOCALEDIR=\"/usr/share/locale\" -march=x86-64 -O2 -pipe -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c
grep.c:41:1: warning: "MBS_SUPPORT" redefined
In file included from grep.c:34:
mbsupport.h:44:1: warning: this is the location of the previous definition
In file included from ../lib/regex.h:2,
from search.c:37:
../lib/posix/regex.h:540:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:330,
from /usr/include/sys/types.h:27,
from search.c:25:
/usr/include/sys/cdefs.h:334:1: warning: this is the location of the previous definition
search.c: In function 'check_utf8':
search.c:95: error: 'using_utf8' undeclared (first use in this function)
search.c:95: error: (Each undeclared identifier is reported only once
search.c:95: error: for each function it appears in.)
search.c: In function 'check_multibyte_string':
search.c:181: warning: passing argument 1 of 'wcrtomb' discards qualifiers from pointer target type
search.c:189: warning: passing argument 1 of 'wcrtomb' discards qualifiers from pointer target type
search.c: In function 'EGexecute':
search.c:376: error: 'use_dfa' undeclared (first use in this function)
search.c:393: error: 'mb_cur_max' undeclared (first use in this function)
search.c:393: error: 'using_utf8' undeclared (first use in this function)
search.c:398: error: 'mbs' undeclared (first use in this function)
search.c:375: error: label 'success_in_beg_and_end' used but not defined
make[2]: *** [search.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/grep.Tpo .deps/grep.Po
make[2]: Leaving directory `/var/abs/core/base/grep/src/grep-2.5.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/core/base/grep/src/grep-2.5.3'
make: *** [all] Error 2
==> ERROR: Build Failed. Aborting...

Steps to reproduce:
abs, makepkg
This task depends upon

Closed by  Isenmann Daniel (ise)
Sunday, 11 November 2007, 11:32 GMT
Reason for closing:  Works for me
Additional comments about closing:  Build fine on i686 and x86_64 here. Can't replicate it here.
Comment by Allan McRae (Allan) - Saturday, 10 November 2007, 17:22 GMT
I can't replicate - it builds fine here (i686). Also, seemed to build fine when testing the rebuild of core repo (see email by Daniel Isenmann on arch-dev-public list)
Comment by Victor Museteanu (vik) - Saturday, 10 November 2007, 18:21 GMT
I'm on x86_64, maybe the PKGBUILD in abs is not up to date, something similar to  FS#8597 ?

Loading...