Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21528 - cannot compile "dev-util/pccts/pccts-1.33.32-r1.ebuild"
Summary: cannot compile "dev-util/pccts/pccts-1.33.32-r1.ebuild"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-23 03:47 UTC by François Dupoux
Modified: 2011-10-30 22:47 UTC (History)
0 users

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


Attachments
Includes the file with the right #define (stdarg-patch,265 bytes, patch)
2003-05-23 05:13 UTC, Patrick Kursawe (RETIRED)
Details | Diff
Should fix the stdarg problem (pccts-1.33.32-r2-gentoo.diff,2.08 KB, patch)
2003-05-23 06:16 UTC, Patrick Kursawe (RETIRED)
Details | Diff
Next try (pccts-1.33.32-r2-gentoo.diff,2.35 KB, patch)
2003-05-23 06:57 UTC, Patrick Kursawe (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description François Dupoux 2003-05-23 03:47:24 UTC
% emerge dev-util/pccts/pccts-1.33.32-r1.ebuild

make[2]: Leaving directory `/var/tmp/portage/pccts-1.33.32-r1/work/pccts/sorcerer'
(cd ./lib; make CC="gcc" COPT="-O3 -march=athlon-xp -mfpmath=sse -msse -mmmx
-m3dnow")
make[2]: Entering directory
`/var/tmp/portage/pccts-1.33.32-r1/work/pccts/sorcerer/lib'
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I../../h -I../h   -c
-o astlib.o astlib.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I../../h -I../h   -c
-o sstack.o sstack.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I../../h -I../h   -c
-o sorlist.o sorlist.c
In file included from sorlist.c:35:
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3/include/varargs.h:4:2: #error "GCC no
longer implements <varargs.h>."
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3/include/varargs.h:5:2: #error "Revise
your code to use <stdarg.h>."
make[2]: *** [sorlist.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/pccts-1.33.32-r1/work/pccts/sorcerer/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/pccts-1.33.32-r1/work/pccts/sorcerer'
make: *** [pccts] Error 2

!!! ERROR: dev-util/pccts-1.33.32-r1 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! compilation failed

--------------
I have gcc-3.3 and glibc-2.3.2:

*  sys-devel/gcc
      Latest version available: 3.2.2
      Latest version installed: 3.3
      Size of downloaded files: 19,835 kB
      Homepage:    http://www.gnu.org/software/gcc/gcc.html
      Description: The GNU Compiler Collection. Includes C/C++ and java compilers

*  sys-libs/glibc
      Latest version available: 2.3.1-r4
      Latest version installed: 2.3.2-r2
      Size of downloaded files: 17,701 kB
      Homepage:    http://www.gnu.org/software/libc/libc.html
      Description: GNU libc6 (also called glibc2) C library



Reproducible: Always
Steps to Reproduce:
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-05-23 05:13:49 UTC
Created attachment 12326 [details, diff]
Includes the file with the right #define
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2003-05-23 05:14:07 UTC
please try the patch
Comment 3 François Dupoux 2003-05-23 06:02:09 UTC
how can I try the patch ? (emerge don't let me compile sources myself)
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2003-05-23 06:04:32 UTC
You could do that with ebuild... but please do something different. I'll post an ebuild and a patch file here. Go to /usr/portage/dev-util/pccts and put the ebuild there, the patch file into files/.
Stay tuned.
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2003-05-23 06:14:28 UTC
Ok, another change :-)
Just put the following attachment into /usr/portage/dev-util/pccts/files
cd /usr/portage/dev-util/pccts/
cp pccts-1.33.32-r1.ebuild pccts-1.33.32-r2.ebuild
emerge --digest ./pccts-1.33.32-r2.ebuild
and tell me if it works.
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2003-05-23 06:16:05 UTC
Created attachment 12328 [details, diff]
Should fix the stdarg problem
Comment 7 François Dupoux 2003-05-23 06:21:53 UTC
sorry, still the same error (in anther directory). It should be easy to fix:

--------------------------------

root@fdupoux /home/dupoux % cd /usr/portage/dev-util/pccts/
root@fdupoux /usr/portage/dev-util/pccts % cp /home/dupoux/tmp/pccts-1.33.32-r2-gentoo.diff files
root@fdupoux /usr/portage/dev-util/pccts % cp pccts-1.33.32-r1.ebuild pccts-1.33.32-r2.ebuild
root@fdupoux /usr/portage/dev-util/pccts % emerge --digest ./pccts-1.33.32-r2.ebuild
Calculating dependencies ...done!
>>> Generating digest file...
<<< pccts133mr32.zip
>>> Generating manifest file...
<<< pccts-1.33.32-r2.ebuild
<<< ChangeLog
<<< pccts-1.33.32-r1.ebuild
<<< files/pccts-1.33.32-r2-gentoo.diff
<<< files/pccts-1.33.32-r1-gentoo.diff
<<< files/digest-pccts-1.33.32-r1
<<< files/digest-pccts-1.33.32-r2
>>> Computed message digests.

>>> emerge (1 of 1) dev-util/pccts-1.33.32-r2 to /
>>> md5 src_uri ;-) pccts133mr32.zip
>>> Unpacking source...
>>> Unpacking pccts133mr32.zip to /var/tmp/portage/pccts-1.33.32-r2/work
patching file pccts/support/genmk/genmk.c
patching file pccts/sorcerer/lib/sorlist.c
>>> Source unpacked.

             Welcome to PCCTS 1.33MR32 installation

             (Version 1.33 Maintenance Release #32)

                  Released 3 March 2002

                        Featuring
         ANTLR     -- ANother Tool for Language Recognition
         DLG       -- DFA-based Lexical Analyzer Generator
         SORCERER  -- Source-to-source translator (tree walker)

                  http://www.antlr.org

             Trouble reports to tmoog@polhode.com
             Additional PCCTS 1.33 information at
                  http://www.polhode.com


To substitute gcc for CC to invoke compiler: make CC=gcc
If there are problems with cr and lf try: unzip -a ...

Making executables...
(cd ./antlr; make CC="gcc" COPT="-O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow")
make[1]: Entering directory `/var/tmp/portage/pccts-1.33.32-r2/work/pccts/antlr'
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o antlr.o antlr.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o scan.o scan.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o err.o err.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o bits.o bits.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o build.o build.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o fset2.o fset2.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o fset.o fset.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o gen.o gen.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o globals.o globals.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o hash.o hash.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o lex.o lex.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o main.o main.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o misc.o misc.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000 -c -o set.o ../support/set/set.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o pred.o pred.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o egman.o egman.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o mrhoist.o mrhoist.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000   -c -o fcache.o fcache.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=32000 -o antlr antlr.o scan.o err.o bits.o build.o fset2.o fset.o gen.o globals.o hash.o lex.o main.o misc.o set.o pred.o egman.o mrhoist.o fcache.o
mv antlr ../bin/.
make[1]: Leaving directory `/var/tmp/portage/pccts-1.33.32-r2/work/pccts/antlr'
antlr executable now in bin
(cd ./dlg; make CC="gcc" COPT="-O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow")
make[1]: Entering directory `/var/tmp/portage/pccts-1.33.32-r2/work/pccts/dlg'
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -c dlg_p.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -c dlg_a.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -c main.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000   -c -o err.o err.c
gcc -c -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 ../support/set/set.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000   -c -o support.o support.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000   -c -o output.o output.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000   -c -o relabel.o relabel.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000   -c -o automata.o automata.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=32000 -o dlg dlg_p.o dlg_a.o main.o err.o set.o support.o output.o relabel.o automata.o
mv dlg ../bin/.
make[1]: Leaving directory `/var/tmp/portage/pccts-1.33.32-r2/work/pccts/dlg'
dlg executable now in bin
(cd ./sorcerer; make CC="gcc" COPT="-O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow")
make[1]: Entering directory `/var/tmp/portage/pccts-1.33.32-r2/work/pccts/sorcerer'
make sor
make[2]: Entering directory `/var/tmp/portage/pccts-1.33.32-r2/work/pccts/sorcerer'
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Ih -I. -I../h -I../support/set -DZZLEXBUFSIZE=32000   -c -o sor.o sor.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Ih -I. -I../h -I../support/set -DZZLEXBUFSIZE=32000   -c -o scan.o scan.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Ih -I. -I../h -I../support/set -DZZLEXBUFSIZE=32000   -c -o err.o err.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Ih -I. -I../h -I../support/set -DZZLEXBUFSIZE=32000   -c -o main.o main.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Ih -I. -I../h -I../support/set -DZZLEXBUFSIZE=32000   -c -o globals.o globals.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Ih -I. -I../h -I../support/set -DZZLEXBUFSIZE=32000   -c -o gen.o gen.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Ih -I. -I../h -I../support/set -DZZLEXBUFSIZE=32000 -c -o set.o ../support/set/set.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Ih -I. -I../h -I../support/set -DZZLEXBUFSIZE=32000   -c -o hash.o hash.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Ih -I. -I../h -I../support/set -DZZLEXBUFSIZE=32000   -c -o look.o look.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Ih -I. -I../h -I../support/set -DZZLEXBUFSIZE=32000   -c -o cpp.o cpp.c
gcc -o sor -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -Ih -I. -I../h -I../support/set -DZZLEXBUFSIZE=32000 sor.o scan.o err.o main.o globals.o gen.o set.o hash.o look.o cpp.o
mv sor ../bin/.
make[2]: Leaving directory `/var/tmp/portage/pccts-1.33.32-r2/work/pccts/sorcerer'
(cd ./lib; make CC="gcc" COPT="-O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow")
make[2]: Entering directory `/var/tmp/portage/pccts-1.33.32-r2/work/pccts/sorcerer/lib'
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I../../h -I../h   -c -o astlib.o astlib.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I../../h -I../h   -c -o sstack.o sstack.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I../../h -I../h   -c -o sorlist.o sorlist.c
gcc -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -I../../h -I../h   -c -o sintstack.o sintstack.c
In file included from sintstack.c:35:
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>."
make[2]: *** [sintstack.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/pccts-1.33.32-r2/work/pccts/sorcerer/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/pccts-1.33.32-r2/work/pccts/sorcerer'
make: *** [pccts] Error 2

!!! ERROR: dev-util/pccts-1.33.32-r2 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! compilation failed

root@fdupoux /usr/portage/dev-util/pccts %
Comment 8 Patrick Kursawe (RETIRED) gentoo-dev 2003-05-23 06:57:49 UTC
Created attachment 12330 [details, diff]
Next try

Seems your error report (which would have been a bit nicer as an attachment)
contained the last occurance of this problem. I am quite sure it will be ok
now, please report.
Comment 9 Patrick Kursawe (RETIRED) gentoo-dev 2003-05-23 06:58:51 UTC
Hm, now that it's fixed, I could take that bug...
Comment 10 François Dupoux 2003-05-23 08:13:43 UTC
Now, it works well. Thanks.
I will be able to install kdemultimedia...
regards
Comment 11 Patrick Kursawe (RETIRED) gentoo-dev 2003-05-23 09:17:26 UTC
Put it into CVS - revision number is still 1 because there's no need for people who successfully compiled it to do that again.