Building specific AUR packages

The following 2 error out during install:
fuse-emularor-sdl 1.5.7-1
vice gtkglext 3.4-1
Can someone try them?

P.S. I am using yay

I described it here:

Summary:
A patch is needed to compile with gcc 10.
Download the pacth, updated PKGBUILD and it works.

2 Likes

You have a typo in the first package name.
it fails here as well.

/usr/bin/ld: ui/widget/widget.o:(.bss+0x0): multiple definition of `widget_options_settings'; ui/widget/options.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1945: fuse] Error 1
make[1]: Leaving directory '/tmp/aurbuilder/.cache/yay/fuse-emulator-sdl/src/fuse-1.5.7'
make: *** [Makefile:1230: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: fuse-emulator-sdl
~ $ 

Second package has a typo as well…

This one is orphaned. So either wait for the maintainer or see if a new one picks it up.

1 Like

You mean I made a typo?

Should be (I think)

fuse-emulator-sdl 1.5.7-1
vice-gtkglext 3.4-1

1 Like

But it still doesnt work without the patch, even without my typo

Like @mbod stated you need that patch.

yep. I applied it and it installs now. Is this normal for all packages?

No but it is not unusual.

1 Like

No. This is a gcc10 incompatibility. You might want to downgrade to gcc9 if you have more packages like this.

1 Like

@mbod thank you for pointing this out. :+1:

1 Like

As is pointed out above, vice-gtkglext is orphaned. This means it is no longer being maintained by anyone. In this case, it is common for a package not to work.

Further, you should be careful when updating orphaned AUR packages as anyone can adopt an orphaned package.

For normal AUR packages, the maintainer should be taking care of applying any needed patches. However, AUR packages are maintained by the community so they are not all maintained the same way.

1 Like

But how can you tell If a package is no longer maintained before installing it?

yay -Si packagename

Then look for package maintainer “none”

For packages that are already installed, yay will warn you if a package has become orphaned.

2 Likes

For one it will tell you it is orphaned when you try to install it. Second you can always look it up on the archlinux website and it will also tell you there.

1 Like

Thanks!