Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24494 - app-sci/tbass-20030108 broken
Summary: app-sci/tbass-20030108 broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-14 17:34 UTC by Carsten Lohrke (RETIRED)
Modified: 2003-11-20 16:32 UTC (History)
1 user (show)

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


Attachments
tbass.log (tbass.log,118.43 KB, text/plain)
2003-07-20 16:01 UTC, Carsten Lohrke (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2003-07-14 17:34:07 UTC
Making install in parts
make[3]: Entering directory
`/var/tmp/portage/tbass-20030108/work/balsa-20030108/share/balsa/parts'
../../../src/balsa-c/balsa-c -b -I ../../ buffers.balsa
In file imported from buffers.balsa:
/usr/share/balsa/types/basic.breeze:1:1: illegal character `-'
/usr/share/balsa/types/basic.breeze:1:2: illegal character `-'
/usr/share/balsa/types/basic.breeze:1:4: syntax error
/usr/share/balsa/types/basic.breeze:1:4: expected one of tokens `_EndOfFile ( '
/usr/share/balsa/types/basic.breeze:1:29: warning: parser restarted
/usr/share/balsa/types/basic.breeze:1:36: syntax error
/usr/share/balsa/types/basic.breeze:1:36: expected one of tokens `( '
/usr/share/balsa/types/basic.breeze:1:42: warning: parser restarted
/usr/share/balsa/types/basic.breeze:1:42: warning: repair token inserted `('
/usr/share/balsa/types/basic.breeze:1:42: warning: repair token inserted
`procedure-alias-decl'
/usr/share/balsa/types/basic.breeze:1:42: warning: repair token inserted `('
/usr/share/balsa/types/basic.breeze:1:42: warning: repair token inserted `at'
/usr/share/balsa/types/basic.breeze:2:1: illegal character `-'
/usr/share/balsa/types/basic.breeze:2:2: illegal character `-'
/usr/share/balsa/types/basic.breeze:2:4: syntax error
/usr/share/balsa/types/basic.breeze:2:4: expected one of tokens `breeze_ident '
/usr/share/balsa/types/basic.breeze:2:11: illegal character `:'
/usr/share/balsa/types/basic.breeze:2:26: illegal character `:'
/usr/share/balsa/types/basic.breeze:2:29: illegal character `:'
/usr/share/balsa/types/basic.breeze:3:1: illegal character `-'
/usr/share/balsa/types/basic.breeze:3:2: illegal character `-'
/usr/share/balsa/types/basic.breeze:3:6: illegal character `:'
/usr/share/balsa/types/basic.breeze:3:12: illegal character `@'
/usr/share/balsa/types/basic.breeze:3:18: warning: parser restarted
/usr/share/balsa/types/basic.breeze:3:18: warning: repair token inserted
`breeze_ident'
/usr/share/balsa/types/basic.breeze:3:18: warning: repair token inserted
`breeze_ident'
/usr/share/balsa/types/basic.breeze:3:18: warning: repair token inserted `)'
/usr/share/balsa/types/basic.breeze:3:18: warning: repair token inserted `)'
/usr/share/balsa/types/basic.breeze:3:19: syntax error
/usr/share/balsa/types/basic.breeze:3:19: expected one of tokens `import file
constant implicant type balsa breeze-part '
/usr/share/balsa/types/basic.breeze:3:24: warning: parser restarted
/usr/share/balsa/types/basic.breeze:3:24: warning: repair token inserted `import'
/usr/share/balsa/types/basic.breeze:3:24: warning: repair token inserted
`breeze_ident'
/usr/share/balsa/types/basic.breeze:4:1: illegal character `-'
/usr/share/balsa/types/basic.breeze:4:2: illegal character `-'
/usr/share/balsa/types/basic.breeze:4:4: syntax error
/usr/share/balsa/types/basic.breeze:4:4: expected one of tokens `_EndOfFile ( '
/usr/share/balsa/types/basic.breeze:4:24: illegal character `:'
/usr/share/balsa/types/basic.breeze:5:1: illegal character `-'
/usr/share/balsa/types/basic.breeze:5:2: illegal character `-'
/usr/share/balsa/types/basic.breeze:5:11: illegal character `:'
/usr/share/balsa/types/basic.breeze:5:13: illegal character `.'
/usr/share/balsa/types/basic.breeze:5:14: illegal character `.'
/usr/share/balsa/types/basic.breeze:5:15: illegal character `/'
/usr/share/balsa/types/basic.breeze:5:16: illegal character `.'
/usr/share/balsa/types/basic.breeze:5:17: illegal character `.'
/usr/share/balsa/types/basic.breeze:5:18: illegal character `/'
/usr/share/balsa/types/basic.breeze:5:19: illegal character `.'
/usr/share/balsa/types/basic.breeze:5:20: illegal character `.'
/usr/share/balsa/types/basic.breeze:5:21: illegal character `/'
/usr/share/balsa/types/basic.breeze:5:25: illegal character `/'
/usr/share/balsa/types/basic.breeze:5:33: illegal character `/'
/usr/share/balsa/types/basic.breeze:5:42: illegal character `-'
/usr/share/balsa/types/basic.breeze:5:45: illegal character `-'
/usr/share/balsa/types/basic.breeze:5:53: illegal character `.'
/usr/share/balsa/types/basic.breeze:7:1: illegal character `-'
/usr/share/balsa/types/basic.breeze:7:2: illegal character `-'
/usr/share/balsa/types/basic.breeze:9:1: illegal character `-'
/usr/share/balsa/types/basic.breeze:9:2: illegal character `-'
/usr/share/balsa/types/basic.breeze:10:34: illegal character `='
/usr/share/balsa/types/basic.breeze:10:36: illegal character `,'
/usr/share/balsa/types/basic.breeze:10:41: illegal character `='
/usr/share/balsa/types/basic.breeze:18:1: illegal character `-'
/usr/share/balsa/types/basic.breeze:18:2: illegal character `-'
/usr/share/balsa/types/basic.breeze:19:15: illegal character `='
/usr/share/balsa/types/basic.breeze:19:17: warning: parser restarted
/usr/share/balsa/types/basic.breeze:19:18: syntax error
/usr/share/balsa/types/basic.breeze:19:18: expected one of tokens `import file
constant implicant type balsa breeze-part '
/usr/share/balsa/types/basic.breeze:19:29: warning: parser restarted
/usr/share/balsa/types/basic.breeze:19:29: warning: repair token inserted `import'
/usr/share/balsa/types/basic.breeze:19:29: warning: repair token inserted
`breeze_ident'
/usr/share/balsa/types/basic.breeze:20:1: syntax error
/usr/share/balsa/types/basic.breeze:20:1: expected one of tokens `_EndOfFile ( '
/usr/share/balsa/types/basic.breeze:20:16: illegal character `='
/usr/share/balsa/types/basic.breeze:20:18: warning: parser restarted
/usr/share/balsa/types/basic.breeze:20:19: syntax error
/usr/share/balsa/types/basic.breeze:20:19: expected one of tokens `import file
constant implicant type balsa breeze-part '
/usr/share/balsa/types/basic.breeze:20:30: warning: parser restarted
/usr/share/balsa/types/basic.breeze:20:30: warning: repair token inserted `import'
/usr/share/balsa/types/basic.breeze:20:30: warning: repair token inserted
`breeze_ident'
/usr/share/balsa/types/basic.breeze:21:1: illegal character `-'
/usr/share/balsa/types/basic.breeze:21:2: illegal character `-'
/usr/share/balsa/types/basic.breeze:21:4: syntax error
/usr/share/balsa/types/basic.breeze:21:4: expected one of tokens `_EndOfFile ( '
/usr/share/balsa/types/basic.breeze:24:1: illegal character `-'
/usr/share/balsa/types/basic.breeze:24:2: illegal character `-'
buffers.balsa:25:1: warning: parser restarted
buffers.balsa:136:36: type `boolean' does not exist
buffers.balsa:136:36: expecting a parameter type not an expression
buffers.balsa:136:36: identifier `boolean' has not been bound
buffers.balsa:136:36: expecting a parameter type not an expression
buffers.balsa:137:33: type `byte' does not exist
buffers.balsa:137:33: expecting a parameter type not an expression
buffers.balsa:137:33: identifier `byte' has not been bound
buffers.balsa:137:33: expecting a parameter type not an expression
buffers.balsa:138:35: type `nybble' does not exist
buffers.balsa:138:35: expecting a parameter type not an expression
buffers.balsa:138:35: identifier `nybble' has not been bound
buffers.balsa:138:35: expecting a parameter type not an expression
buffers.balsa:139:1: `NybbleBuffer' is not the name of a procedure
buffers.balsa:140:34: type `sbyte' does not exist
buffers.balsa:140:34: expecting a parameter type not an expression
buffers.balsa:140:34: identifier `sbyte' has not been bound
buffers.balsa:140:34: expecting a parameter type not an expression
buffers.balsa:141:36: type `snybble' does not exist
buffers.balsa:141:36: expecting a parameter type not an expression
buffers.balsa:141:36: identifier `snybble' has not been bound
buffers.balsa:141:36: expecting a parameter type not an expression
buffers.balsa:142:1: `SNybbleBuffer' is not the name of a procedure

*** 86 errors, 23 warnings
make[3]: *** [buffers.breeze] Error 86
make[3]: Leaving directory
`/var/tmp/portage/tbass-20030108/work/balsa-20030108/share/balsa/parts'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/tbass-20030108/work/balsa-20030108/share/balsa'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/tbass-20030108/work/balsa-20030108/share'
make: *** [install-recursive] Error 1

!!! ERROR: app-sci/tbass-20030108 failed.
!!! Function einstall, Line 327, Exitcode 2
!!! einstall failed


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2003-07-18 22:49:35 UTC
Hi Carlo.

Thanks for the report!
I see you are using the 20030108 version. Could you please try emerging the latest one, which is 20030318 as of now? The later two are masked mostly due to the lack of test reports. I will unmask them immediately if your installation succeeds (well, given there are problems with this version I may do it in a few days anyway).
If you will still be experiencing problems, please post output of your emerhe info.
Also, if the output you want to report is large it is better to attach it instead of directly posting into the bug - makes it a bit more readable.

George
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-19 00:09:57 UTC
Got exactly the same error. Switched to more conservative flags (CFLAGS="-O3 -march=athlon-xp -pipe"), but it remains the same.

Just want to add, that i was more a bit curious about balsa, than thinking of working with it, but if you need someone who test fresh ebuilds, drop a line. :-)
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2003-07-19 00:26:37 UTC
Hi Carlo

> EST ------- Got exactly the same error. Switched to more conservative flags
> (CFLAGS="-O3 -march=athlon-xp -pipe"), but it remains the same.
Could you please post the output of emerge info?



> Just want to add, that i was more a bit curious about balsa, than thinking
> of working with it, but if you need someone who test fresh ebuilds, drop a
> line. :-)
Well, you do not need to wait for that. Just search for bugs which are RESOLVED/TEST-REQUEST and you'll get plenty ;).

George
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-19 01:38:05 UTC
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Duron(tm) Processor
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg kde gnome libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt motif opengl mozilla gphoto2 ldap snmp cdr scanner acl acpi acpi4linux artswrappersuid curl dga dnd doc dvd emacs faad fbcon firebird gd gtk2 hbci imap innodb jack jack-tmpfs jikes junit ladcca lcms libgda lirc maildir mbox mng moznocompose moznoirc moznomail mozsvg mozxmlterm oav openal plotutils pnp samba sasl slp sse tiff usb vim-with-x wmf xml xvid zeo -guile -esd"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -funroll-loops -fforce-addr -msse -mmmx -m3dnow "
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache keeptemp keepwork"
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2003-07-20 14:34:17 UTC
Hm, I could not reproduce the roblem with your flags or trying to do some other variations. This problem may hint at some "inconsistency" on your system then.
Do you by chance have any problems with app-sci/lard? You might try remerging it. 

Also, are you sure that eveything was fine before this point during build? Could you please post full build log (however please do this as attachment).

One more thing: I noticed you have keepwork and keeptemp in your FEATURES. Try removing all temporary stuff (rm -rf /var/tmp/portage/*) and emerging tbass again? (Please do this prior to doing complet log report).

George
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-20 15:59:05 UTC
>Hm, I could not reproduce the roblem with your flags or trying to do some other variations.
>This problem may hint at some "inconsistency" on your system then.
>Do you by chance have any problems with app-sci/lard? You might try remerging it.

I really don't think that my system is unstable. lard emerged without a hitch.

>Also, are you sure that eveything was fine before this point during build? >Could
you please post full build log (however please do this as attachment).

Everything is fine. No broken dependencies or something else. The only problem I face from time to time are the problems/changes/bugs introduced by new versions of portage or other not well tested ebuilds to the stable portage tree. 

>One more thing: I noticed you have keepwork and keeptemp in your FEATURES. Try removing
>all temporary stuff (rm -rf /var/tmp/portage/*) and emerging tbass again? >(Please
do this prior to doing complet log report).

This should have nothing to do with it. It's just easier to keep the stuff, if I write or update ebuilds on my own. But o.k. - I did it - same error...
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-20 16:01:14 UTC
Created attachment 14788 [details]
tbass.log
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-24 08:41:33 UTC
I think I found the problem. The lines

/usr/share/balsa/types/* illegal character `-'

should be 

/var/tmp/portage/tbass-20030318/work/balsa-20030318/share/balsa/types/*

The files in /usr/share/... are from the installed tbass-20020729, the comments began in that version with "--", instead of ";;;". 

Seems like the ebuild breaks the sandbox concept of portage.
Comment 9 George Shapovalov (RETIRED) gentoo-dev 2003-07-24 16:12:09 UTC
Hi Carlo.

Thanks for the report, this is much warmer now!
I was able to reproduce this by installing the 20020729 version first. Apparently ./configure picks it up and tries to use while building. CLean install should fix this - try unmerging your old version of balsa (tbass) and emerging it again.
(and I did not observe this while updating from more recent versions).

I will add a check for that to pkg_setup to force the workaround.
Also I am CC'ng the original submitter of the ebuild.
Cris: could you please take a look at this issue?

George
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-26 15:25:00 UTC
I emerged tbass-20030108 and updated to tbass-20030318. The problem does not occur here. Instead tracking down the problem for the old ebuild, why not adding a test like: 

if ! [[  $(emerge -Cp tbass-20020729 | grep "Couldn't find match") =  "!!! Couldn't find match for tbass-20020729" ]]; then 
einfo Unmerge tbass-20020729.ebuild before emerging $(PN), please!
exit
fi

I know - it's a dirty workaround... ;-)
Comment 11 Chris Bainbridge (RETIRED) gentoo-dev 2003-07-26 15:46:19 UTC
tbass-3.3 is the latest version and is a stable upstream release. Can you test 
whether this still happens with that? I don't think there are very many balsa users 
with gentoo, and its not worth the effort to ensure a smooth upgrade from old cvs 
versions, but if it still happens in 3.3 I'll fix it. 
Comment 12 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-26 18:32:53 UTC
@Chris: O.k.

@George: Even gtkwave-2.0.0 in the portage tree is outdated. Shall I file a extra bug, or attach the ebuild here, cause of the relation to balsa?
Comment 13 George Shapovalov (RETIRED) gentoo-dev 2003-07-26 23:03:47 UTC
Hi Carlo.

Its better to file a separate bug - makes keeping track of things quite a bit easier.
Also, I tested the 3.3 version, but the problem still happens with that 20020729 installed :(. You might want to look at #25008, there is a versioning issue as well with update. 

George
Comment 14 Chris Bainbridge (RETIRED) gentoo-dev 2003-07-27 07:45:32 UTC
I think I've fixed this for the 3.3 release. Can you please test (bug #25008)? Thanks. 
Comment 15 George Shapovalov (RETIRED) gentoo-dev 2003-07-30 22:05:17 UTC
Tested, looking good, in portage already.

George
Comment 16 George Shapovalov (RETIRED) gentoo-dev 2003-08-01 13:57:41 UTC
Thanks for testing (in 25008)!
Closing the bug.

George
Comment 17 Carsten Lohrke (RETIRED) gentoo-dev 2003-11-20 16:32:33 UTC
still open? fixed