First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 6982
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Matthew Kennedy (RETIRED) <mkennedy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Olav Kolbu <gentoo@kolbu.no>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 6982 depends on: Show dependency tree
Bug 6982 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: 2002-08-24 11:43 0000
src_unpack() {

        unpack ${A}

        if [ "`gcc --version | cut -f1 -d.`" -eq 3 ] ||
           ([ -n "${CXX}" ] && [ "`${CXX} --version | cut -f1 -d.`" -eq 3 ]) ||
           [ "`gcc --version|grep gcc|cut -f1 -d.|cut -f3 -d\ `" -eq 3 ]
        then
                cd ${S}
                # Removed azarah's patch for _pre2 (doesn't seem to be
[...]

The final test line there will throw an error on gcc versions less than 3, since
there is no "gcc" in the "gcc --version" output, and thus the expression
resolves to [ "" -eq 3 ]


bash-2.05a# [ "`gcc --version|grep gcc|cut -f1 -d.|cut -f3 -d\ `" -eq 3 ]
[: : integer expression expected
bash-2.05a# gcc --version
2.95.3

Not that it actually matters, since the test is only supposed to succeed on v3,
but it should be done in a way that doesn't throw an error at the user.

                        OK

------- Comment #1 From Matthew Kennedy (RETIRED) 2002-08-26 23:53:05 0000 -------
olav,

i just corrected the ebuild. there will be no new -r release for this change. to
test it, just emerge rsync and emerge id3lib. it should appear on the rsync
mirrors after about 45 minutes from now.

let me know if there are any problems, and thanks for the bug report!

matt

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