Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11986 - openjade-1.3.1-r5 and -r6 ebuild fails to compile
Summary: openjade-1.3.1-r5 and -r6 ebuild fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Low major (vote)
Assignee: Robert Coie (RETIRED)
URL:
Whiteboard:
Keywords:
: 12761 12787 12799 13266 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-11 16:32 UTC by Greg Martin
Modified: 2005-06-28 05:03 UTC (History)
8 users (show)

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


Attachments
thegarbageman patch (openjade-1.3.1-msggen.patch,423 bytes, patch)
2003-02-23 23:46 UTC, Robert Coie (RETIRED)
Details | Diff
proposed 1.3.1-r7 ebuild (openjade-1.3.1-r7.ebuild,2.51 KB, text/plain)
2003-02-23 23:47 UTC, Robert Coie (RETIRED)
Details
revised 1.3.1-r7 ebuild (openjade-1.3.1-r7.ebuild,2.57 KB, text/plain)
2003-02-24 00:02 UTC, Robert Coie (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Martin 2002-12-11 16:32:41 UTC
on a fresh gentoo install (i.e. only system packages, kernel have been 
merged), i did an emerge gnome, but it failed during the build of openjade 
with the following error message:

use of uninitialized value in string eq at /usr/lib/perl5/5.6.1/getopts.pl
URLStorageMessages.msg:7: invalid character after %
make[2]: ***[URLStorageMessages.h} Error 255

!!! ERROR: app-text/openjade-1.3.1-r5 failed
!!! Function src_compile, Line 43, Exitcode 2

my USE variables are: gnome gtk2 alsa -oss -apm -arts -kde -qt -qtmt
(I tried compiling with the USE options commented out, but got the same error)
Comment 1 foser (RETIRED) gentoo-dev 2002-12-11 18:59:40 UTC
Well, looks more like a perl problem to me. And i do not really consider
openjade part of gnome (and i don't know much about it too really), so i'm
reassigning.
Comment 2 Tate Eskew 2002-12-12 23:29:33 UTC
I'm getting this exact error.  I just did a fresh gentoo install this past
evening.  When I try to emerge gnome it gets to openjade and errors out with the
exact same error.  
Comment 3 Bradley Hawkes 2002-12-13 21:53:32 UTC
I experienced the same problem and indeed it was a perl problem. Upgrading to perl 5.8 fixed the problem. Hope that helps. 
Comment 4 Joseph Turian 2002-12-14 16:14:29 UTC
I too had the same problem, but fixed it using Bradley's advice.

Specifically, I upgraded perl from 5.6.1-r9 to 5.8.0-r3 and openjade 1.3.1-r5 
compiled just fine.
Comment 5 Greg Martin 2002-12-14 17:06:35 UTC
i was also able to get it to compile by upgrading to perl 5.8. seems to work
fine now. but, i was kind of worried by the line in package.mask that says the
new version will break all of your perl deps.
Comment 6 Tate Eskew 2002-12-16 06:12:12 UTC
is anyone having problems with the perl 5.8 after emerging to fix this problem?? 
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2002-12-17 11:32:21 UTC
Sorry for the delay in getting onto this bug. Perl 5.8 is now ready for testing 
and has been moved out of package.mask and into regular ~arch masking. The 
issues with perl 5.8 were either 1) upstream incompatibilities or 2) problems 
with threading enabled by default in the perl build. So...threading is now 
optional and "at your own risk" for perl 5.8, and it appears that most if not 
all of the upstream packages that initially had problems with perl 5.8 are now 
good. Feel free to close this bug out if everything is good for you, or comment 
if you are still having problems.

Mike
Comment 8 thegarbageman 2002-12-17 13:28:32 UTC
I believe I have found the problem.  In the openjade source, in msggen.pl,
on line 64, the 'int' function should not be used.  int("string") is always == 0
is should read:
$argc = substr(field[0], 1, 1);

I have tested this - it works.
Comment 9 Michael Cummings (RETIRED) gentoo-dev 2002-12-18 19:20:27 UTC
satai - you did the last real work on this ebuild. Adding you as a cc since the
final posts indicate that this is a problem with the source.
Comment 10 Michael Cummings (RETIRED) gentoo-dev 2002-12-27 08:06:15 UTC
perl 5.8 will be unmasked this evening for x86.
Comment 11 SpanKY gentoo-dev 2002-12-27 14:19:28 UTC
*** Bug 12799 has been marked as a duplicate of this bug. ***
Comment 12 SpanKY gentoo-dev 2002-12-27 14:20:08 UTC
*** Bug 12761 has been marked as a duplicate of this bug. ***
Comment 13 delta407 2002-12-31 00:46:08 UTC
Perl 5.8.0 was unmasked but marked unstable, and openjade again fails. Please  apply thegarbageman's fix, because this is still an issue on a lot of  systems.    
Comment 14 Martin Holzer (RETIRED) gentoo-dev 2003-01-05 04:46:51 UTC
*** Bug 13266 has been marked as a duplicate of this bug. ***
Comment 15 Fredirk 2003-01-07 04:07:29 UTC
Just tried upgrading to openjade-1.3.1-r6 and got the error...

The fix thegarbageman propsed is nice but lacking a $... so changing line 64
to:
$argc = substr($field[0], 1, 1);
will make it work (at least did it for me)


Comment 16 Robert Coie (RETIRED) gentoo-dev 2003-02-15 15:59:30 UTC
*** Bug 12787 has been marked as a duplicate of this bug. ***
Comment 17 Robert Coie (RETIRED) gentoo-dev 2003-02-23 23:46:31 UTC
Created attachment 8660 [details, diff]
thegarbageman patch
Comment 18 Robert Coie (RETIRED) gentoo-dev 2003-02-23 23:47:52 UTC
Created attachment 8661 [details]
proposed 1.3.1-r7 ebuild

This proposed ebuild includes the thegarbageman patch.
Comment 19 Robert Coie (RETIRED) gentoo-dev 2003-02-24 00:02:49 UTC
Created attachment 8662 [details]
revised 1.3.1-r7 ebuild

The previous version didn't have the patch code.
Comment 20 Aron Griffis (RETIRED) gentoo-dev 2003-09-24 05:22:02 UTC
I've noted this patch was applied in openjade-1.3.2-r1.ebuild.  Rac, you can probably close this bug now.
Comment 21 M Grundman 2004-01-08 08:46:21 UTC
I'm not sure if it is the same bug but jadetex-3.12 does not compile.
>>> Unpacking source...
>>> Unpacking jadetex-3.12.tar.gz to /var/tmp/portage/jadetex-3.12/work
>>> Source unpacked.
tex jadetex.ins
This is TeX, Version 3.14159 (Web2C 7.3.1)
(Fatal format file error; I'm stymied)
make: *** [basic] Error 1
Comment 22 Maurice van der Pot (RETIRED) gentoo-dev 2005-01-08 06:43:56 UTC
Robert, please check if this report can be closed.
Comment 23 Aron Griffis (RETIRED) gentoo-dev 2005-06-28 05:03:12 UTC
The issue reported in this bug was fixed in openjade-1.3.2-r1