Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24836 - [distcc] make check fails

Attached to Project: Community Packages
Opened by John (graysky) - Thursday, 23 June 2011, 12:54 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 29 June 2011, 21:56 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: current PKGBUILD fails a "make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2 check"

Additional info:
* package version(s)
* config and/or log files etc.

http://pastebin.com/FD9dPLH2

Steps to reproduce:

Allow makepkg to compile the package via 'makepkg -s'
cd src/distcc-3.1
make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2 clean
make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2
make make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2 check
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 29 June 2011, 21:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in upstream, no package rebuild needed
Comment by Sergej Pupykin (sergej) - Thursday, 23 June 2011, 14:45 GMT
make TEST_PYTHON=/usr/bin/python2 check

please fill summary field (after [distcc] ) when post bug next time
Comment by John (graysky) - Thursday, 23 June 2011, 14:52 GMT
sorry about the summary field.

Here is the output:

http://pastebin.com/DGfJASKF
Comment by Sergej Pupykin (sergej) - Thursday, 23 June 2011, 15:00 GMT
I think it is upstream bug.

At least
SyntaxError_Case FAIL
is incompatibility with current gcc error messages.
Comment by John (graysky) - Thursday, 23 June 2011, 15:02 GMT
Can you help me to describe the bug so it can be reported to upstream? This is over my head :)
Comment by Sergej Pupykin (sergej) - Thursday, 23 June 2011, 15:06 GMT
something like this:

make check fails with current gcc

one of problems is error message format was changed

SyntaxError_Case FAIL

AssertionError: string does not match regexp

string: 'testtmp.c:1:1: error: unknown type name \xe2\x80\x98not\xe2\x80\x99\ntesttmp.c:1:7: error: expected \xe2\x80\x98=\xe2\x80\x99, \xe2\x80\x98,\xe2\x80\x99, \xe2\x80\x98;\xe2\x80\x99, \xe2\x80\x98asm\xe2\x80\x99 or \xe2\x80\x98__attribute__\xe2\x80\x99 before \xe2\x80\x98source\xe2\x80\x99\ntesttmp.c:1:7: error: unknown type name \xe2\x80\x98source\xe2\x80\x99\n'

re: 'testtmp.c:1: .*error'

and attach full log from "make TEST_PYTHON=/usr/bin/python2 check"
Comment by John (graysky) - Thursday, 23 June 2011, 15:32 GMT
Thank you for your help Sergej! Here is the link to the upstream bug report I created with your help:

http://code.google.com/p/distcc/issues/detail?id=81

Loading...