Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15830 - dev-util/jam-2.4 fails to build on Gentoo 1.2
Summary: dev-util/jam-2.4 fails to build on Gentoo 1.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-17 03:57 UTC by Thomas Nilsson
Modified: 2003-07-09 13:05 UTC (History)
4 users (show)

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


Attachments
Temporary x86 fix. (jam_old_gcc.diff,2.83 KB, patch)
2003-02-17 03:58 UTC, Thomas Nilsson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Nilsson 2003-02-17 03:57:16 UTC
Loads of:

In file included from builtins.c:7:
jam.h:376: Invalid token in expression
jam.h:392: Invalid token in expression
jam.h:400: Invalid token in expression
jam.h:405: Invalid token in expression
jam.h:432: Invalid token in expression

wish I knew better..
Comment 1 Thomas Nilsson 2003-02-17 03:58:55 UTC
Created attachment 8359 [details, diff]
Temporary x86 fix.

Since I don't know anything about this, this patch is not recommended at all :)
But this is how I solved it in a pinch.
Comment 2 Thomas Nilsson 2003-02-17 04:32:57 UTC
Ack, seems something else break pretty bad, Jam is unable to start any commands at all aswell.
Comment 3 Roc Vallès 2003-05-17 22:15:11 UTC
I have different problems. It seems it doesn't like portage-as-user and usersandbox.

>>> md5 src_uri ;-) jam-2.4.zip
>>> Unpacking source...
>>> Unpacking jam-2.4.zip to /var/tmp/portage/jam-2.4/work
>>> Source unpacked.
/usr/sbin/ebuild.sh: line 639: ./command.c: S'ha denegat el perm
Comment 4 Roc Vallès 2003-05-17 22:15:11 UTC
I have different problems. It seems it doesn't like portage-as-user and usersandbox.

>>> md5 src_uri ;-) jam-2.4.zip
>>> Unpacking source...
>>> Unpacking jam-2.4.zip to /var/tmp/portage/jam-2.4/work
>>> Source unpacked.
/usr/sbin/ebuild.sh: line 639: ./command.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./command.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./compile.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./compile.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./execcmd.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./execmac.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./execunix.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./execvms.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./expand.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./expand.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./filemac.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./filent.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./fileos2.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./filesys.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./fileunix.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./filevms.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./glob.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./hash.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./hash.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./headers.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./headers.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./jam.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./jam.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./jambase.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./lists.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./lists.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./make.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./make.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./make1.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./mkjambase.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./newstr.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./newstr.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./option.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./option.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./parse.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./parse.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./patchlevel.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./pathmac.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./pathunix.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./pathvms.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./regexp.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./regexp.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./rules.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./rules.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./scan.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./scan.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./search.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./search.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./timestamp.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./timestamp.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./variable.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./variable.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./builtins.c: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./builtins.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
/usr/sbin/ebuild.sh: line 639: ./pathsys.h: S'ha denegat el permís
cp: cannot create regular file `/var/tmp/portage/jam-2.4/temp/edos2unix': S'ha denegat el permís
cc -o jam0 -march=athlon -O3 -pipe builtins.c command.c compile.c execunix.c execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c timestamp.c variable.c
In file included from jamgram.h:11,
                 from scan.c:11:
jam.h:475: redefinition of `struct globs'
In file included from jamgram.h:13,
                 from scan.c:11:
lists.h:43: redefinition of `LIST'
lists.h:43: `LIST' previously declared here
lists.h:45: redefinition of `struct _list'
lists.h:55: redefinition of `LOL'
lists.h:55: `LOL' previously declared here
lists.h:59: redefinition of `struct _lol'
In file included from jamgram.h:14,
                 from scan.c:11:
parse.h:15: redefinition of `PARSE'
parse.h:15: `PARSE' previously declared here
parse.h:17: redefinition of `struct _PARSE'
In file included from jamgramtab.h:11,
                 from scan.c:32:
jam.h:475: parse error before "struct"
In file included from jamgramtab.h:13,
                 from scan.c:32:
lists.h:43: redefinition of `LIST'
lists.h:43: `LIST' previously declared here
lists.h:45: redefinition of `struct _list'
lists.h:55: redefinition of `LOL'
lists.h:55: `LOL' previously declared here
lists.h:59: redefinition of `struct _lol'
In file included from jamgramtab.h:14,
                 from scan.c:32:
parse.h:15: redefinition of `PARSE'
parse.h:15: `PARSE' previously declared here
parse.h:17: redefinition of `struct _PARSE'
In file included from jamgramtab.h:16,
                 from scan.c:32:
rules.h:32: redefinition of `RULE'
rules.h:32: `RULE' previously declared here
rules.h:33: redefinition of `TARGET'
rules.h:33: `TARGET' previously declared here
rules.h:34: redefinition of `TARGETS'
rules.h:34: `TARGETS' previously declared here
rules.h:35: redefinition of `ACTION'
rules.h:35: `ACTION' previously declared here
rules.h:36: redefinition of `ACTIONS'
rules.h:36: `ACTIONS' previously declared here
rules.h:37: redefinition of `SETTINGS'
rules.h:37: `SETTINGS' previously declared here
rules.h:41: redefinition of `struct _rule'
rules.h:59: redefinition of `struct _actions'
rules.h:67: redefinition of `struct _action'
rules.h:77: redefinition of `struct _settings'
rules.h:85: redefinition of `struct _targets'
rules.h:93: redefinition of `struct _target'
In file included from jamgramtab.h:18,
                 from scan.c:32:
command.h:38: redefinition of `CMD'
command.h:38: `CMD' previously declared here
command.h:41: redefinition of `struct _cmd'
In file included from scan.c:32:
jamgramtab.h:30: redefinition of `cmd_new'
jamgram.h:30: `cmd_new' previously defined here
jamgramtab.h:59: redefinition of `cmd_free'
jamgram.h:59: `cmd_free' previously defined here
scan.c:33: parse error before '{' token
scan.c: In function `yylex':
scan.c:245: `STRING' undeclared (first use in this function)
scan.c:245: (Each undeclared identifier is reported only once
scan.c:245: for each function it appears in.)
scan.c:342: `ARG' undeclared (first use in this function)
scan.c: In function `symdump':
scan.c:382: `ARG' undeclared (first use in this function)
scan.c:385: `STRING' undeclared (first use in this function)
make: *** [jam0] Error 1
               
!!! ERROR: dev-util/jam-2.4 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)

(Note: "S'ha denegat el permis" means "Permission Denied")
Comment 5 Thomas Nilsson 2003-05-18 19:01:14 UTC
Not to be rude, but as you say, you have a different problem - Post another bug.
Comment 6 Roc Vallès 2003-05-19 06:53:56 UTC
It seems somebody else fixed my bug (seen in the forums).
I was able to build it by my own, too, after disabling sandbox/userbuild stuff. Sandbox/userbuild violations are being hard to detect... why doesn't people use it? Maybe it doesn't come enabled by default.
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-06-14 15:53:39 UTC
see bug #21858 for permission problem
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-07-09 12:51:43 UTC
still a problem ?
Comment 9 SpanKY gentoo-dev 2003-07-09 13:05:43 UTC
no, i fixed this [all bugs mentioned]