You are not logged in.

#1 2024-07-02 09:28:28

vedavrat
Member
Registered: 2024-06-05
Posts: 6

SPACEFM failed to compile: «Error 1» «making spacefm - exit status 4».

spacefm 1.0.6-3 failed to install (to compile) with the errors:

mv -f exo/.deps/spacefm-exo-cell-renderer-icon.Tpo exo/.deps/spacefm-exo-cell-renderer-icon.Po
make[1]: Leaving directory '~/.cache/yay/spacefm/src/spacefm-1.0.6/src'
make: *** [Makefile:507: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: spacefm - exit status 4
 -> Failed to install the package: spacefm - exit status 4  

uname -a

 Linux 6.7.4-arch1-1 #1 SMP PREEMPT_DYNAMIC 05 Feb 2024 22:07:49 x86_64 GNU/Linux 

P.S.
It gives errors as well, when trying to install (to make) other versions:
aur/spacefm-gtk2-git 1.0.6-3   (+0 0.00)
aur/spacefm-gtk2 1.0.6-1   (+21 0.00) 
aur/spacefm-git 1.0.6.r80.ge257d15-3   (+21 0.00)
aur/spacefm 1.0.6-3   (+59 0.03)

Offline

#2 2024-07-02 10:52:41

astralc
Member
Registered: 2022-09-17
Posts: 87

Re: SPACEFM failed to compile: «Error 1» «making spacefm - exit status 4».

check the latest comments in the aur page

Last edited by astralc (2024-07-02 10:53:11)

Offline

#3 2024-07-02 14:08:11

vedavrat
Member
Registered: 2024-06-05
Posts: 6

Re: SPACEFM failed to compile: «Error 1» «making spacefm - exit status 4».

astralc wrote:

check the latest comments in the aur page

It this comment:
FabioLolix commented on 2024-07-01 05:57 (UTC)
That can be dirty fixed, see recent comments on mldonkey page
?

How can it help to resolve the error, please?

Offline

#4 2024-07-02 14:09:52

astralc
Member
Registered: 2022-09-17
Posts: 87

Re: SPACEFM failed to compile: «Error 1» «making spacefm - exit status 4».

did you check the mldonkey page comments in aur?

Offline

#5 2024-07-02 14:46:32

vedavrat
Member
Registered: 2024-06-05
Posts: 6

Re: SPACEFM failed to compile: «Error 1» «making spacefm - exit status 4».

astralc wrote:

did you check the mldonkey page comments in aur?

   Is this 'mldonkey' page in AUR
https://aur.archlinux.org/packages/mldonkey
   ?

Offline

#6 2024-07-02 15:14:50

astralc
Member
Registered: 2022-09-17
Posts: 87

Re: SPACEFM failed to compile: «Error 1» «making spacefm - exit status 4».

yes, one of the comment link to this: https://bbs.archlinux.org/viewtopic.php … 4#p2180964

Offline

#7 2024-07-13 19:48:34

vedavrat
Member
Registered: 2024-06-05
Posts: 6

Re: SPACEFM failed to compile: «Error 1» «making spacefm - exit status 4».

astralc wrote:

yes, one of the comment link to this: https://bbs.archlinux.org/viewtopic.php … 4#p2180964

I am not sure, that I have understood correctly your advice...
If it is following:
* prior to "make" ("build"), in the "PKGBUILD" file add line
 

 CFLAGS+=" -Wno-incompatible-pointer-types" \ 

* before line
 

 ./configure \ 

* then — I have tried (using "pickaur"), but "making" ("building") gives the same error, unfortunately...

Offline

#8 2024-07-13 21:12:09

loqs
Member
Registered: 2014-03-06
Posts: 17,916

Re: SPACEFM failed to compile: «Error 1» «making spacefm - exit status 4».

 CFLAGS+=" -Wno-incompatible-pointer-types" \ 

has a space at the end of the line. The last character has to \ for the continuation line to work.

If that is not the issue please post your full PKGBUILD after you edited it and the full output from `makepkg` for the build failure.

Offline

#9 2024-07-14 10:24:43

astralc
Member
Registered: 2022-09-17
Posts: 87

Re: SPACEFM failed to compile: «Error 1» «making spacefm - exit status 4».

you can also put the line outside the build in the PKGBUILD, it will work that way (if it is inside build() I think you need to export)

Offline

#10 2024-07-14 11:41:19

loqs
Member
Registered: 2014-03-06
Posts: 17,916

Re: SPACEFM failed to compile: «Error 1» «making spacefm - exit status 4».

astralc wrote:

you can also put the line outside the build in the PKGBUILD, it will work that way (if it is inside build() I think you need to export)

CFLAGS is already exported by makepkg before build() is called there is no need to export it again.

Offline

#11 2024-08-13 18:44:28

vedavrat
Member
Registered: 2024-06-05
Posts: 6

Re: SPACEFM failed to compile: «Error 1» «making spacefm - exit status 4».

loqs wrote:
 CFLAGS+=" -Wno-incompatible-pointer-types" \ 

has a space at the end of the line.
The last character has to \ for the continuation line to work.

(If that is not the issue, then post your full PKGBUILD after edited and the full output from `makepkg` for the build failure.)

File PKGBUILD with such fragment

 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   CFLAGS+=" -Wno-incompatible-pointer-types" \
   ./configure \
     --prefix=/usr \
     --with-gtk3
   make
 }

gives the successful installing of SpaceFM, i.e. then the build (compiling) runs without the error, which I mentioned.
I edited the PKGBUILD file using the pikaur package manager.

Thanks a lot!

Last edited by vedavrat (2024-08-14 10:35:27)

Offline

Board footer

Powered by FluxBB