Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425556 - media-plugins/mythplugins-0.25.1 fails when gdb is not installed
Summary: media-plugins/mythplugins-0.25.1 fails when gdb is not installed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: MythTV Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-10 00:31 UTC by Alec Moskvin
Modified: 2012-07-21 02:59 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,30.16 KB, text/plain)
2012-07-10 00:33 UTC, Alec Moskvin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Moskvin 2012-07-10 00:31:54 UTC
The error happens here:

{ test -z "" || cd ""; } && test $(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index ." -ex quit 'libmythbrowser.so' && test -f libmythbrowser.so.gdb-index && objcopy --add-section '.gdb_index=libmythbrowser.so.gdb-index' --set-section-flags '.gdb_index=readonly' 'libmythbrowser.so' 'libmythbrowser.so' && rm -f libmythbrowser.so.gdb-index || true
/bin/sh: gdb: command not found
/bin/sh: line 0: test: -gt: unary operator expected


Reproducible: Always
Comment 1 Alec Moskvin 2012-07-10 00:33:22 UTC
Created attachment 317740 [details]
build.log
Comment 2 Alec Moskvin 2012-07-10 00:37:40 UTC
Also, looking at the log, there's another unrelated failure. I've already reported it and it was fixed upstream:

http://code.mythtv.org/trac/ticket/10507
https://github.com/MythTV/mythtv/commit/bde24c5cd
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2012-07-12 02:44:06 UTC
(In reply to comment #2)
> Also, looking at the log, there's another unrelated failure. I've already
> reported it and it was fixed upstream:
> 
> http://code.mythtv.org/trac/ticket/10507
> https://github.com/MythTV/mythtv/commit/bde24c5cd

I've requested that they backport it to fixes/0.25 but will include it shortly.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2012-07-17 01:11:25 UTC
(In reply to comment #0)
> The error happens here:
> 
> { test -z "" || cd ""; } && test $(gdb --version | sed -e
> 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch
> --quiet -ex 'set confirm off' -ex "save gdb-index ." -ex quit
> 'libmythbrowser.so' && test -f libmythbrowser.so.gdb-index && objcopy
> --add-section '.gdb_index=libmythbrowser.so.gdb-index' --set-section-flags
> '.gdb_index=readonly' 'libmythbrowser.so' 'libmythbrowser.so' && rm -f
> libmythbrowser.so.gdb-index || true
> /bin/sh: gdb: command not found
> /bin/sh: line 0: test: -gt: unary operator expected
> 
> 
> Reproducible: Always

Looks like it's only occurring with mythbrowser.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2012-07-17 01:12:12 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Also, looking at the log, there's another unrelated failure. I've already
> > reported it and it was fixed upstream:
> > 
> > http://code.mythtv.org/trac/ticket/10507
> > https://github.com/MythTV/mythtv/commit/bde24c5cd
> 
> I've requested that they backport it to fixes/0.25 but will include it
> shortly.

They don't want to backport it so I've merged it into my git repo and we'll just carry it in Gentoo.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2012-07-17 01:17:43 UTC
(In reply to comment #0)
> The error happens here:
> 
> { test -z "" || cd ""; } && test $(gdb --version | sed -e
> 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch
> --quiet -ex 'set confirm off' -ex "save gdb-index ." -ex quit
> 'libmythbrowser.so' && test -f libmythbrowser.so.gdb-index && objcopy
> --add-section '.gdb_index=libmythbrowser.so.gdb-index' --set-section-flags
> '.gdb_index=readonly' 'libmythbrowser.so' 'libmythbrowser.so' && rm -f
> libmythbrowser.so.gdb-index || true
> /bin/sh: gdb: command not found
> /bin/sh: line 0: test: -gt: unary operator expected
> 
> 
> Reproducible: Always

What were your USE flags here for mythplugins? I can't reproduce this.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2012-07-21 02:59:34 UTC
Alec,

Just reopen when you can get some more feedback.