Closed FirebirdTA01 closed 4 years ago
Removing the libelf1
package is not possible in my case since it'll remove pretty much all my system.
The following packages will be REMOVED:
adwaita-icon-theme apport-gtk blueman gcr gir1.2-appindicator3-0.1 gir1.2-cheese-3.0 gir1.2-clutter-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-gtk-3.0 gir1.2-gtkclutter-1.0 gir1.2-vte-2.91
gir1.2-webkit2-4.0 gir1.2-wnck-3.0 gnome-calculator gnome-disk-utility gnome-exe-thumbnailer gnome-icon-theme gnome-icon-theme-symbolic gnome-keyring gnome-software gnome-system-tools gnome-themes-standard gnome-themes-standard-data gstreamer1.0-libav gtk-theme-config
gucharmap gvfs gvfs-backends gvfs-daemons gvfs-fuse humanity-icon-theme indicator-application ioquake3 language-selector-gnome libappindicator3-1 libavdevice-ffmpeg56 libavfilter-ffmpeg5 libcanberra-gtk3-0 libcanberra-gtk3-module libcheese8 libclutter-1.0-0
libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-pango20 libcogl-path20 libcogl20 libegl1-mesa libelf1 libevdocument3-4 libevview3-3 libgcr-ui-3-1 libgl1-mesa-dri libgl1-mesa-glx libglew1.13 libglib2.0-bin libglib2.0-dev libglu1-mesa libgnome-desktop-3-12 libgtk-3-0
libgtk-3-bin libgtk-3-common libgtkmm-3.0-1v5 libgtksourceview-3.0-1 libgtkspell3-3-0 libgucharmap-2-90-7 libido3-0.1-0 libindicator3-7 libnautilus-extension1a libnm-gtk0 libnma0 libopencv-core2.4v5 libopencv-imgproc2.4v5 libqgsttools-p1 libqt5gui5 libqt5multimedia5
libqt5multimedia5-plugins libqt5multimediawidgets5 libqt5opengl5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libsdl2-2.0-0 libvte-2.91-0 libwayland-egl1-mesa libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-37-gtk2 libwebkitgtk-1.0-0 libwnck-3-0 libwxgtk3.0-0v5
libxfce4panel-2.0-4 libxfce4ui-2-0 libyelp0 light-locker lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings ltrace menulibre mesa-utils mesa-vdpau-drivers midori mousepad mpv mugshot network-manager-gnome network-manager-pptp-gnome openarena pavucontrol
pinentry-gnome3 playonlinux policykit-1-gnome python-wxgtk3.0 python3-aptdaemon.gtk3widgets sessioninstaller simple-scan software-properties-gtk system-config-printer-gnome transmission-gtk ubuntu-mono ubuntu-release-upgrader-gtk ubuntu-standard update-manager
update-notifier va-driver-all vdpau-driver-all vdpau-va-driver wine wine1.6 wine1.6-i386 wireshark wireshark-qt x11-utils xdg-user-dirs-gtk xfce4-indicator-plugin xfpanel-switch xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-qxl
xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware xubuntu-core xubuntu-default-settings xubuntu-desktop yelp zenity
After this operation, 891 MB disk space will be freed.
I just noticed this as well.
As soon as the console gets to "vita-elf-create homebrew.elf homebrew.velf" a windows error dialogue shows up saying 'vita-elf-create.exe has stopped working' and asks me to close the program.
Then the console throws this: vita-elf-create homebrew.elf homebrew.velf make: *\ [homebrew.velf] Error 255
Hello,
Could this bug be related to the issue I am encountering while building VitaShell?
vita-elf-create VitaShell.elf VitaShell.velf libpromoter/promoterutil.json
Makefile:49: recipe for target 'VitaShell.velf' failed
make: *** [VitaShell.velf] Segmentation fault
make: *** Deleting file 'VitaShell.velf'
Trying to figure that one out...
I think this is an issue related to vita-elf-create
linking with the system libelf
. What's the output of ldd $(which vita-elf-create)
?
Thank you for your answer, here you go.
kwyxz:VitaShell/ (master) $ ldd $(which vita-elf-create) [14:25:14]
linux-vdso.so.1 (0x00007ffccea94000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f91ac4d0000)
/lib64/ld-linux-x86-64.so.2 (0x00005582e4959000)
Did I screw up while building the buildscripts?
I just suspected that you had linked to the system libelf
instead, but that doesn't seem to be the case. I'm not sure what it is (haven't been able to look into it).
Thanks anyway! I'm working on adding the NLST command to the libftpvita for a pet project of mine but my coding years are far far away, so it's going to take me a while :D
Well my issue may be VitaShell-specific after all. I was able to build the libftpvita sample succesfully :
kwyxz:sample/ (master✗) $ make [18:28:50]
arm-vita-eabi-gcc -Wl,-q -Wall -O3 -c -o main.o main.c
arm-vita-eabi-gcc -Wl,-q -Wall -O3 -c -o console.o console.c
arm-vita-eabi-gcc -Wl,-q -Wall -O3 -c -o draw.o draw.c
arm-vita-eabi-gcc -Wl,-q -Wall -O3 -c -o font_data.o font_data.c
arm-vita-eabi-gcc -Wl,-q -Wall -O3 main.o console.o draw.o font_data.o -lftpvita -lc -lSceLibKernel_stub -lSceDisplay_stub -lSceGxm_stub -lSceNet_stub -lSceNetCtl_stub -lSceCtrl_stub -lSceAppUtil_stub -lSceSysmodule_stub -o FTPVita.elf
vita-elf-create FTPVita.elf FTPVita.velf
vita-make-fself FTPVita.velf eboot.bin
vita-mksfoex -s TITLE_ID=XERP00002 "FTPVita" param.sfo
vita-pack-vpk -s param.sfo -b eboot.bin FTPVita.vpk
kwyxz:sample/ (master✗) $
I just removed libelf's devel package and rebuilt them all and addressed this issue. This didn't have to remove all the dependencies. I am using CentOS 7.2
yum remove elfutils-libelf-devel.x86_64
When building the toolchain with buildscripts the vita-elf-create executable can be broken depending on the build machine's installed packages, specifically a pre-existing libelf installation. When compiling samples, vita-elf-create fails:
vita-elf-create vita_sample.elf vita_sample.velf vita-elf-create: dest = elf_begin(fileno(file), ELF_C_WRITE, NULL) failed: Request error: invalid ELFC argument vita-elf-create: Assertion failed: (dest = elf_utils_copy_to_file(args.output, ve->elf, &outfile)) make: *** [vita_sample.velf] Error 1
A workaround for this is to build the vita-toolchain separately with cmake CMakeLists.txt -G "...." -DDEFAULT_JSON=../share/db.json or uninstalling the systems pre-existing libelf and rebuilding buildscripts
Heres my system info:
And...... all of my installed packages............ Sorry for the long post, but figure its better to be thorough