Summary: | dev-lang/toluapp-1.0.93 compile error--"scons failed" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arthur.M <xliotx> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | billie, xliotx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | toluapp-1.0.93.ebuild |
Description
Arthur.M
2010-02-08 02:04:07 UTC
I've found a webpage: http://bbs.archlinux.org/viewtopic.php?id=84392 It seems there is something wrong with CCFLAGS ~ -fPIC ?? Sorry, this package is in need of a maintainer so your chances to get it fixed are unfortunately fairly low. (In reply to comment #2) > Sorry, this package is in need of a maintainer so your chances to get it fixed > are unfortunately fairly low. > Will it soon be maintained? Or is there any way to not install it but allow me to use the conky with lua-cairo? It seems ar from busybox is called here instead of the one from binutils. Did you by any chance build busybox with the make-symlinks use flag? Can you provide the output of one of the following commands: "equery b ar" part of app-portage/gentoolkit "qfile ar" part of app-portage/portage-utils (In reply to comment #4) > It seems ar from busybox is called here instead of the one from binutils. Did > you by any chance build busybox with the make-symlinks use flag? > > Can you provide the output of one of the following commands: > "equery b ar" part of app-portage/gentoolkit > "qfile ar" part of app-portage/portage-utils > I emerge the busybox by "static" and the kernel "symlink". Does it matter? the output of "equery b ar" * Searching for ar ... media-gfx/gimp-2.6.8 (/usr/share/locale/ar) app-text/stardict-3.0.1-r2 (/usr/share/locale/ar) sys-devel/binutils-2.18-r3 (/usr/i686-pc-linux-gnu/binutils-bin/2.18/ar) net-ftp/filezilla-3.3.0.1 (/usr/share/locale/ar) app-text/iso-codes-3.11.1 (/usr/share/locale/ar) media-gfx/picasa-3.0.0.57.4402.0_beta (/opt/google/picasa/3.0/bin/xdg-user-dirs-0.8/share/locale/ar) (In reply to comment #5) > > I emerge the busybox by "static" and the kernel "symlink". Does it matter? But you don't have make-symlinks for busybox enabled? > the output of "equery b ar" > > * Searching for ar ... > media-gfx/gimp-2.6.8 (/usr/share/locale/ar) > app-text/stardict-3.0.1-r2 (/usr/share/locale/ar) > sys-devel/binutils-2.18-r3 (/usr/i686-pc-linux-gnu/binutils-bin/2.18/ar) > net-ftp/filezilla-3.3.0.1 (/usr/share/locale/ar) > app-text/iso-codes-3.11.1 (/usr/share/locale/ar) > media-gfx/picasa-3.0.0.57.4402.0_beta > (/opt/google/picasa/3.0/bin/xdg-user-dirs-0.8/share/locale/ar) > Okay what gives you ls -l /usr/bin/ar? Are you on stable or unstable? In your emerge --info I see sys-devel/binutils: 2.19.1-r1 but your equery output gives > sys-devel/binutils-2.18-r3 (/usr/i686-pc-linux-gnu/binutils-bin/2.18/ar) (In reply to comment #6) > (In reply to comment #5) > > > > I emerge the busybox by "static" and the kernel "symlink". Does it matter? > > But you don't have make-symlinks for busybox enabled? > > > the output of "equery b ar" > > > > * Searching for ar ... > > media-gfx/gimp-2.6.8 (/usr/share/locale/ar) > > app-text/stardict-3.0.1-r2 (/usr/share/locale/ar) > > sys-devel/binutils-2.18-r3 (/usr/i686-pc-linux-gnu/binutils-bin/2.18/ar) > > net-ftp/filezilla-3.3.0.1 (/usr/share/locale/ar) > > app-text/iso-codes-3.11.1 (/usr/share/locale/ar) > > media-gfx/picasa-3.0.0.57.4402.0_beta > > (/opt/google/picasa/3.0/bin/xdg-user-dirs-0.8/share/locale/ar) > > > > Okay what gives you ls -l /usr/bin/ar? > > Are you on stable or unstable? > In your emerge --info I see > sys-devel/binutils: 2.19.1-r1 > but your equery output gives > > sys-devel/binutils-2.18-r3 (/usr/i686-pc-linux-gnu/binutils-bin/2.18/ar) > I've recently change my system package to x86, so now: emerge --info |grep binutils sys-devel/binutils: 2.18-r3 the output you required: ls -l /usr/bin/ar lrwxrwxrwx 1 root root 20 2010-02-09 00:08 /usr/bin/ar -> i686-pc-linux-gnu-ar* ls -l /usr/bin/i686-pc-linux-gnu-ar ls -l /usr/i686-pc-linux-gnu/bin/ar* lrwxrwxrwx 1 root root 43 2010-02-09 00:08 /usr/i686-pc-linux-gnu/bin/ar -> /usr/i686-pc-linux-gnu/binutils-bin/2.18/ar* Okay maybe there is something wrong with your environment. Can you please give me the output of: for x in $(find /{usr/,}{s,}bin -type l); do f=$(readlink -f $x) ; [[ $f == /bin/busybox ]] && echo "$x -> $f" ; [[ $f == /bin/bb ]] && echo $f ; done the ebuild/emake should also perhaps do + AR="$(tc-getAR)" \ so that the full CHOST-ar gets called. Created attachment 223765 [details]
toluapp-1.0.93.ebuild
Please try if the following attached ebuild builds successfully.
I have added the two following lines, although when I build with this ebuild the compile output does not print the full CHOST either.
+ AR="$(tc-getAR)" \
+ RANLIB="$(tc-getRANLIB)" \
(In reply to comment #8) > Okay maybe there is something wrong with your environment. Can you please give > me the output of: > > for x in $(find /{usr/,}{s,}bin -type l); do f=$(readlink -f $x) ; [[ $f == > /bin/busybox ]] && echo "$x -> $f" ; [[ $f == /bin/bb ]] && echo $f ; done > /sbin/man -> /bin/busybox /sbin/lpd -> /bin/busybox /sbin/dnsd -> /bin/busybox /sbin/ftpd -> /bin/busybox /sbin/ifup -> /bin/busybox /sbin/mdev -> /bin/busybox /sbin/rdev -> /bin/busybox /sbin/zcip -> /bin/busybox /sbin/ifenslave -> /bin/busybox /sbin/raidautorun -> /bin/busybox /sbin/acpid -> /bin/busybox /sbin/brctl -> /bin/busybox /sbin/crond -> /bin/busybox /sbin/fbset -> /bin/busybox /sbin/getty -> /bin/busybox /sbin/setconsole -> /bin/busybox /sbin/httpd -> /bin/busybox /sbin/klogd -> /bin/busybox /sbin/lsmod -> /bin/busybox /sbin/rdate -> /bin/busybox /sbin/dhcprelay -> /bin/busybox /sbin/freeramdisk -> /bin/busybox /sbin/setfont -> /bin/busybox /sbin/logread -> /bin/busybox /sbin/makedevs -> /bin/busybox /sbin/telnetd -> /bin/busybox /sbin/mkdosfs -> /bin/busybox /sbin/setlogcons -> /bin/busybox /sbin/chroot -> /bin/busybox /sbin/mkfs.vfat -> /bin/busybox /sbin/devfsd -> /bin/busybox /sbin/devmem -> /bin/busybox /sbin/chpasswd -> /bin/busybox /sbin/syslogd -> /bin/busybox /sbin/ifdown -> /bin/busybox /sbin/watchdog -> /bin/busybox /sbin/flash_lock -> /bin/busybox /sbin/adjtimex -> /bin/busybox /sbin/vconfig -> /bin/busybox /sbin/sendmail -> /bin/busybox /sbin/loadfont -> /bin/busybox /sbin/loadkmap -> /bin/busybox /sbin/svlogd -> /bin/busybox /sbin/readprofile -> /bin/busybox /sbin/udhcpc -> /bin/busybox /sbin/udhcpd -> /bin/busybox /sbin/tunctl -> /bin/busybox /sbin/flash_unlock -> /bin/busybox /sbin/popmaildir -> /bin/busybox /sbin/flash_eraseall -> /bin/busybox /bin/[ -> /bin/busybox /bin/[[ -> /bin/busybox /bin/bb -> /bin/busybox /bin/ar -> /bin/busybox /bin/hd -> /bin/busybox /bin/id -> /bin/busybox /bin/ip -> /bin/busybox /bin/nc -> /bin/busybox /bin/mt -> /bin/busybox /bin/rx -> /bin/busybox /bin/sv -> /bin/busybox /bin/vi -> /bin/busybox /bin/ash -> /bin/busybox /bin/cal -> /bin/busybox /bin/cmp -> /bin/busybox /bin/lpq -> /bin/busybox /bin/lpr -> /bin/busybox /bin/tac -> /bin/busybox /bin/tee -> /bin/busybox /bin/sum -> /bin/busybox /bin/top -> /bin/busybox /bin/who -> /bin/busybox /bin/bbsh -> /bin/busybox /bin/beep -> /bin/busybox /bin/catv -> /bin/busybox /bin/chat -> /bin/busybox /bin/chrt -> /bin/busybox /bin/chvt -> /bin/busybox /bin/comm -> /bin/busybox /bin/diff -> /bin/busybox /bin/find -> /bin/busybox /bin/free -> /bin/busybox /bin/ipcs -> /bin/busybox /bin/last -> /bin/busybox /bin/less -> /bin/busybox /bin/mesg -> /bin/busybox /bin/lzop -> /bin/busybox /bin/nice -> /bin/busybox /bin/deallocvt -> /bin/busybox /bin/test -> /bin/busybox /bin/tftp -> /bin/busybox /bin/stat -> /bin/busybox /bin/time -> /bin/busybox /bin/uniq -> /bin/busybox /bin/wget -> /bin/busybox /bin/deluser -> /bin/busybox /bin/dos2unix -> /bin/busybox /bin/dumpleases -> /bin/busybox /bin/unexpand -> /bin/busybox /bin/cryptpw -> /bin/busybox /bin/killall -> /bin/busybox /bin/unix2dos -> /bin/busybox /bin/envuidgid -> /bin/busybox /bin/chpst -> /bin/busybox /bin/clear -> /bin/busybox /bin/cksum -> /bin/busybox /bin/eject -> /bin/busybox /bin/fsync -> /bin/busybox /bin/ipcrm -> /bin/busybox /bin/nohup -> /bin/busybox /bin/patch -> /bin/busybox /bin/pgrep -> /bin/busybox /bin/ping6 -> /bin/busybox /bin/pkill -> /bin/busybox /bin/pscan -> /bin/busybox /bin/reset -> /bin/busybox /bin/runsv -> /bin/busybox /bin/split -> /bin/busybox /bin/tftpd -> /bin/busybox /bin/unzip -> /bin/busybox /bin/vlock -> /bin/busybox /bin/watch -> /bin/busybox /bin/which -> /bin/busybox /bin/xargs -> /bin/busybox /bin/dpkg-deb -> /bin/busybox /bin/ether-wake -> /bin/busybox /bin/pipe_progress -> /bin/busybox /bin/kbd_mode -> /bin/busybox /bin/setarch -> /bin/busybox /bin/sha1sum -> /bin/busybox /bin/linux32 -> /bin/busybox /bin/linux64 -> /bin/busybox /bin/rtcwake -> /bin/busybox /bin/showkey -> /bin/busybox /bin/traceroute -> /bin/busybox /bin/iptunnel -> /bin/busybox /bin/cttyhack -> /bin/busybox /bin/fdflush -> /bin/busybox /bin/killall5 -> /bin/busybox /bin/makemime -> /bin/busybox /bin/runsvdir -> /bin/busybox /bin/softlimit -> /bin/busybox /bin/arping -> /bin/busybox /bin/timeout -> /bin/busybox /bin/microcom -> /bin/busybox /bin/strings -> /bin/busybox /bin/chattr -> /bin/busybox /bin/envdir -> /bin/busybox /bin/lzmacat -> /bin/busybox /bin/expand -> /bin/busybox /bin/lzopcat -> /bin/busybox /bin/getopt -> /bin/busybox /bin/setuidgid -> /bin/busybox /bin/hostid -> /bin/busybox /bin/busybox.static -> /bin/busybox /bin/ipaddr -> /bin/busybox /bin/ionice -> /bin/busybox /bin/iplink -> /bin/busybox /bin/iprule -> /bin/busybox /bin/addgroup -> /bin/busybox /bin/length -> /bin/busybox /bin/md5sum -> /bin/busybox /bin/fdformat -> /bin/busybox /bin/logger -> /bin/busybox /bin/lsattr -> /bin/busybox /bin/sha256sum -> /bin/busybox /bin/delgroup -> /bin/busybox /bin/adduser -> /bin/busybox /bin/nmeter -> /bin/busybox /bin/ttysize -> /bin/busybox /bin/openvt -> /bin/busybox /bin/nslookup -> /bin/busybox /bin/sha512sum -> /bin/busybox /bin/scriptreplay -> /bin/busybox /bin/printf -> /bin/busybox /bin/renice -> /bin/busybox /bin/resize -> /bin/busybox /bin/hexdump -> /bin/busybox /bin/script -> /bin/busybox /bin/setsid -> /bin/busybox /bin/tcpsvd -> /bin/busybox /bin/telnet -> /bin/busybox /bin/unlzma -> /bin/busybox /bin/unlzop -> /bin/busybox /bin/uptime -> /bin/busybox /bin/usleep -> /bin/busybox /bin/whoami -> /bin/busybox /bin/printenv -> /bin/busybox /bin/ifplugd -> /bin/busybox /bin/volname -> /bin/busybox /bin/reformime -> /bin/busybox /bin/bbconfig -> /bin/busybox /bin/mkpasswd -> /bin/busybox /bin/install -> /bin/busybox /bin/realpath -> /bin/busybox /bin/iproute -> /bin/busybox /bin/readahead -> /bin/busybox /bin/dumpkmap -> /bin/busybox /bin/setkeycodes -> /bin/busybox Okay there is definitely something wrong. This is what I get. /sbin/mdev /bin/busybox.static /bin/bb You must have the make-symlinks USE flag enabled for busybox or at least it was enabled at a time when busybox got installed. Please post the output of "emerge -pv busybox". (In reply to comment #12) > Okay there is definitely something wrong. This is what I get. > > /sbin/mdev > /bin/busybox.static > /bin/bb > > You must have the make-symlinks USE flag enabled for busybox or at least it was > enabled at a time when busybox got installed. > These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/busybox-1.15.3 USE="static -debug -make-symlinks -pam -savedconfig (-selinux)" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB > Please post the output of "emerge -pv busybox". > (In reply to comment #13) > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] sys-apps/busybox-1.15.3 USE="static -debug -make-symlinks -pam > -savedconfig (-selinux)" 0 kB > > Total: 1 package (1 reinstall), Size of downloads: 0 kB > > Please post the output of "emerge -pv busybox". Okay and you are definitely sure you have never enabled the make-symlinks USE flag? (In reply to comment #14) > (In reply to comment #13) > > > > These are the packages that would be merged, in order: > > > > Calculating dependencies... done! > > [ebuild R ] sys-apps/busybox-1.15.3 USE="static -debug -make-symlinks -pam > > -savedconfig (-selinux)" 0 kB > > > > Total: 1 package (1 reinstall), Size of downloads: 0 kB > > > Please post the output of "emerge -pv busybox". > > Okay and you are definitely sure you have never enabled the make-symlinks USE > flag? > Sorry I cannot remember. But I'm sure that if I did, that's a long time ago and the busybox has been re-emerged after that. The USE "symlinks" is used only buy the kernel sources on my laptop. Almost all of these files linking to busybox belong to other packages. They got overwritten when emerging busybox with the make-symlinks use flag. You need to re-emerge them. The following command should take care of it. for x in $(find /{usr/,}{s,}bin -type l); do f=$(readlink -f $x) ; [[ $f == /bin/busybox ]] && echo $x ; [[ $f == /bin/bb ]] && echo $f ; done | xargs emerge To check which packages will be reinstalled use emerge -pv first. Hopefully this helps. (In reply to comment #16) > Almost all of these files linking to busybox belong to other packages. They got > overwritten when emerging busybox with the make-symlinks use flag. You need to > re-emerge them. The following command should take care of it. > > for x in $(find /{usr/,}{s,}bin -type l); do f=$(readlink -f $x) ; [[ $f == > /bin/busybox ]] && echo $x ; [[ $f == /bin/bb ]] && echo $f ; done | xargs > emerge > > To check which packages will be reinstalled use emerge -pv first. Hopefully > this helps. > The command you gave only re-emerge busybox itself. And the problem still exists. Okay, first I want to state that this is neither a gentoo nor a toluapp or busysbox bug. You have messed up your system by enabling the make-symlinks use flag for busybox. I don't know much about busybox and the make symlinks flag and thought the symlinks will overwrite existing files which is not the case. But most of the symlinks/files in /bin and /sbin you have posted in comment #11 should have corresponding files in /usr/bin and /usr/sbin. So there is /bin/ar and /usr/bin/ar. In the $PATH variable /bin is before /usr/bin. This is why ar which symlinks to busybox is used by toluapp instead of /usr/bin/ar. It should be save to delete all these symlinks created by the make-symlinks use flag but not /bin/bb /bin/busybox.static and /sbin/mdev. The files/symlinks which you could safely delete are the ones in /usr/share/busybox/busybox-links.tar as this is the archive which is extracted when the make-symlnks use flag is enabled. So another safety measure is to check if the file you delete is in the archive. To be sure everything is okay you can re-emerge busybox afterwards and the symlinks should not re-appear. This comes completely without warranty. Good luck. (In reply to comment #18) > Okay, first I want to state that this is neither a gentoo nor a toluapp or > busysbox bug. You have messed up your system by enabling the make-symlinks use > flag for busybox. > > I don't know much about busybox and the make symlinks flag and thought the > symlinks will overwrite existing files which is not the case. But most of the > symlinks/files in /bin and /sbin you have posted in comment #11 should have > corresponding files in /usr/bin and /usr/sbin. So there is /bin/ar and > /usr/bin/ar. In the $PATH variable /bin is before /usr/bin. This is why ar > which symlinks to busybox is used by toluapp instead of /usr/bin/ar. > > It should be save to delete all these symlinks created by the make-symlinks use > flag but not /bin/bb /bin/busybox.static and /sbin/mdev. The files/symlinks > which you could safely delete are the ones in > /usr/share/busybox/busybox-links.tar as this is the archive which is extracted > when the make-symlnks use flag is enabled. So another safety measure is to > check if the file you delete is in the archive. To be sure everything is okay > you can re-emerge busybox afterwards and the symlinks should not re-appear. > This comes completely without warranty. Good luck. > I've deleted /bin/ar and everything goes fine. Thank you. |