First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 125535
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: HPPA Porters <hppa@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chris Parrott (RETIRED) <cparrott@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libperl-5.8.8-hppa7200-uname.patch libperl-5.8.8 HP PA7200 uname patch patch Brett Johnson 2006-06-02 11:18 0000 446 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 125535 depends on: Show dependency tree
Bug 125535 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-08 14:30 0000
I have seen this issue with sys-devel/libperl-5.8.8, but I would assume it
applies to other perl/libperl versions, as well.

On PA7200 systems, uname -a returns a string similar to the following:

hamal ~ # uname -a
Linux hamal 2.6.15.1-pa4-livecd32 #1 Sun Feb 19 07:39:43 UTC 2006 parisc PA7200
(PCX-T') 9000/777/C110 GNU/Linux

The problem here is the single-quote (') character in the "(PCX-T')" portion of
the string.  When running the Configure script in the toplevel perl source
directory, the $myuname variable in the generated config.sh becomes:


myuname='linux hamal 2.6.15.1-pa4-livecd32 #1 sun feb 19 07:39:43 utc 2006
paris
c pa7200 (PCX-T') 9000777c110 gnulinux '


Obviously, since the single-quote character is not escaped, this string
confuses the shell.  As a result, makedepend fails with an error, as the shell
does not know how to handle the "extra" characters on this line.

For now, I have created a patch against Configure that applies a simple sed
expression to remove (PCX-T') from the above string when compiling on hppa, so
that libperl-5.8.8 will compile on my system.   But there probably exists a
more elegant way to solve this problem.  I am open to suggestions.

------- Comment #1 From Brett Johnson 2006-06-02 11:18:45 0000 -------
Created an attachment (id=88201) [edit]
libperl-5.8.8 hppa1.1 uname patch

Here is one possible fix, it removes the single quote (') from the uname -a
output

------- Comment #2 From Guy Martin 2006-06-03 11:18:31 0000 -------
In CVS. thanks a lot !

First Last Prev Next    No search results available      Search page      Enter new bug