#eww-0.4.0::guru fails to compile, help is needed

1 messages · Page 1 of 1 (latest)

blazing spindle
#

eww fails to compile due to rust library issues

>>> Preparing source in /var/tmp/portage/gui-apps/eww-0.4.0/work/eww-0.4.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gui-apps/eww-0.4.0/work/eww-0.4.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/gui-apps/eww-0.4.0/work/eww-0.4.0 ...
 * cargo build --release --no-default-features --features=wayland
error: process didn't exit successfully: `rustc -vV` (exit status: 127)
--- stderr
rustc: error while loading shared libraries: librustc_driver-1e9cd20e98c23600.so: cannot open shared object file: No such file or directory

 * ERROR: gui-apps/eww-0.4.0::guru failed (compile phase):
 *   cargo build failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 1923:  Called cargo_src_compile '--no-default-features' '--features=wayland'
 *   environment, line  873:  Called die
 * The specific snippet of code:
 *       "${@}" || die "cargo build failed"
 * 
 * If you need support, post the output of `emerge --info '=gui-apps/eww-0.4.0::guru'`,
 * the complete build log and the output of `emerge -pqv '=gui-apps/eww-0.4.0::guru'`.
 * The complete build log is located at '/var/tmp/portage/gui-apps/eww-0.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gui-apps/eww-0.4.0/temp/environment'.
 * Working directory: '/var/tmp/portage/gui-apps/eww-0.4.0/work/eww-0.4.0'
 * S: '/var/tmp/portage/gui-apps/eww-0.4.0/work/eww-0.4.0'

>>> Failed to emerge gui-apps/eww-0.4.0, Log file:

>>>  '/var/tmp/portage/gui-apps/eww-0.4.0/temp/build.log'

 * Messages for package gui-apps/eww-0.4.0:

 * ERROR: gui-apps/eww-0.4.0::guru failed (compile phase):
 *   cargo build failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 1923:  Called cargo_src_compile '--no-default-features' '--features=wayland'
 *   environment, line  873:  Called die
 * The specific snippet of code:
 *       "${@}" || die "cargo build failed"
 * 
 * If you need support, post the output of `emerge --info '=gui-apps/eww-0.4.0::guru'`,
 * the complete build log and the output of `emerge -pqv '=gui-apps/eww-0.4.0::guru'`.
 * The complete build log is located at '/var/tmp/portage/gui-apps/eww-0.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gui-apps/eww-0.4.0/temp/environment'.
 * Working directory: '/var/tmp/portage/gui-apps/eww-0.4.0/work/eww-0.4.0'
 * S: '/var/tmp/portage/gui-apps/eww-0.4.0/work/eww-0.4.0'

emerge log:
https://pastebin.com/ipMmd73M

emerge info
https://pastebin.com/3WumbLuU

#

I believe this is likely caused by a env $path error, however i am unsure what the correct path is to be set for portage

it also could be a useflag error too, as some libraries have been disabled thourgh the compilation process, again, I don't know which useflag is to be used

#

eww-0.4.0::guru fails to compile, help is needed

#

i also tried manually compiling and it spits out the same error

blazing spindle
#

ldd gives this output
/usr/bin/rustc
linux-vdso.so.1 (0x00007fffefff2000)
librustc_driver-1e9cd20e98c23600.so => not found
libstd-da552611337f731b.so => not found
libc.so.6 => /lib64/libc.so.6 (0x00007fcc024b3000)
/lib64/ld-linux-x86-64.so.2 (0x00007fcc026b3000)

#

this seems to indicate path is working fine, but the ebuild doesnt pull the correct dependencies correctly

blazing spindle
#

some progress was made, turns out the feature(box_syntax was removed, despite it being added in the ebuild

crate seems to be broken? how can i fix this?