You are not logged in.

#1 2021-11-15 11:21:26

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 52

[Solved] Problem with building google-messages package

I want to build a package from this PKGBUILD https://aur.archlinux.org/packages/google-messages/ but while building I get this info

mv: missing target after file '/tmp/trizen-robson/google-messages/pkg/google-messages/opt/google-messages'

the maintainer does not respond to my error comment at all. How to edit this PKGBUILD to make the compilation work properly.

Last edited by robson75 (2021-11-15 12:54:03)


Arch Linux Xfce+compiz - 64Bit Linux User #621110

Offline

#2 2021-11-15 11:57:12

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,596

Re: [Solved] Problem with building google-messages package

Both google-messages and its aur dependency nodejs-nativefier build fine in a clean chroot[1] .

That suggests a configuration issue on your end or an issue with your aur helper (sometimes both).
Try building with makepkg to narrow down the cause.



[1] https://wiki.archlinux.org/title/Develo … ean_chroot


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-11-15 12:08:19

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 52

Re: [Solved] Problem with building google-messages package

The nodejs-nativefier package is installed from the chaotic-aur repo, which I have added to pacman.conf. But unfortunately building with makepkg gives the same result.


Arch Linux Xfce+compiz - 64Bit Linux User #621110

Offline

#4 2021-11-15 12:23:28

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,596

Re: [Solved] Problem with building google-messages package

Please build with

LC_ALL=C makepkg --log

and post the log files that adds.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2021-11-15 12:52:59

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 52

Re: [Solved] Problem with building google-messages package

Thank you very much, thanks to this command the build went correctly. And here is the result

Preparing Electron app...

Converting icons...

Packaging... This will take a few seconds, maybe minutes if the requested Electron isn't cached yet...
Packaging app for platform linux x64 using electron v13.6.1

Finalizing build...
App built to /home/robson/Pobrane/google-messages/src/GoogleMessages-linux-x64, move to wherever it makes sense for you and run the contained executable file (prefixing with ./ if necessary)
Menu/desktop shortcuts are up to you, because Nativefier cannot know where you're going to move the app. Search for "linux .desktop file" for help, or see https://wiki.archlinux.org/index.php/Desktop_entries

Arch Linux Xfce+compiz - 64Bit Linux User #621110

Offline

#6 2021-11-16 10:43:45

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,596

Re: [Solved] Problem with building google-messages package

If adding LC_ALL=C solved the issue, there may be something wrong with your LOCALE setup .

Check https://wiki.archlinux.org/title/Locale for details


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2021-11-16 11:18:56

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 52

Re: [Solved] Problem with building google-messages package

Previously I was using the makepkg -sirc command which would not build the package, but just using LC_ALL=C makepkg alone, and the build proceeded normally. I have no idea what the issue is here.

EDIT.
I have correctly configured locale, for my region and language.

LANG=pl_PL.utf8
LC_CTYPE="pl_PL.utf8"
LC_NUMERIC="pl_PL.utf8"
LC_TIME="pl_PL.utf8"
LC_COLLATE="pl_PL.utf8"
LC_MONETARY="pl_PL.utf8"
LC_MESSAGES="pl_PL.utf8"
LC_PAPER="pl_PL.utf8"
LC_NAME="pl_PL.utf8"
LC_ADDRESS="pl_PL.utf8"
LC_TELEPHONE="pl_PL.utf8"
LC_MEASUREMENT="pl_PL.utf8"
LC_IDENTIFICATION="pl_PL.utf8"
LC_ALL=

Last edited by robson75 (2021-11-16 12:40:55)


Arch Linux Xfce+compiz - 64Bit Linux User #621110

Offline

Board footer

Powered by FluxBB