Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667018 - media-sound/volwheel - Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/bin/volwheel line 45.
Summary: media-sound/volwheel - Can't use 'defined(@array)' (Maybe you should just omi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on: 802981
Blocks: google-code-down
  Show dependency tree
 
Reported: 2018-09-24 23:52 UTC by tonemgub
Modified: 2021-07-21 05:20 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tonemgub 2018-09-24 23:52:36 UTC
Unable to execute the program due to the array error.

The problem could be solved by changing line 45 from

if (defined(@ARGV)) {

to

if (@ARGV) {

Then it works again.
Comment 1 Jonas Stein gentoo-dev 2018-09-27 21:49:09 UTC
Thank you. I also informed upstream via mail. 
https://oliwer.net/b/volwheel.html
Comment 2 Olivier Duclos 2018-10-05 09:44:05 UTC
Hi there. I'm volwheel's author.

VolWheel has a new home: https://github.com/oliwer/volwheel

I've also made a new release, v0.2.9, which removes the need to patch the install.pl script. Editing the .desktop is also not needed anymore and can be removed from the ebuild.

Strangely, the copy I had of v0.2.8 did not have the bug mentioned by tonemgub. There must have been a version mixup here. Anyway, the code on github does not have this issue.
Comment 3 Jonas Stein gentoo-dev 2021-04-14 01:16:42 UTC
No one else distributes volwheel
https://repology.org/project/volwheel/versions

It depends on gtk2

We should either bump the package or remove it.
Comment 4 Larry the Git Cow gentoo-dev 2021-07-21 05:20:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17b8829709e48037ecce75d4586c13cd511b3dd0

commit 17b8829709e48037ecce75d4586c13cd511b3dd0
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2021-07-21 05:20:36 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2021-07-21 05:20:36 +0000

    media-sound/volwheel: removed obsolete 0.2.8-r1
    
    Closes: https://bugs.gentoo.org/667018
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/volwheel/Manifest                      |  1 -
 .../volwheel/files/volwheel-0.2.8-desktop-QA.patch |  9 ------
 .../volwheel/files/volwheel-0.2.8-perl516.patch    | 36 ----------------------
 media-sound/volwheel/volwheel-0.2.8-r1.ebuild      | 30 ------------------
 4 files changed, 76 deletions(-)