Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

missing yapps and yapps2

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
RayOfLight
Tux's lil' helper
Tux's lil' helper
Posts: 109
Joined: Tue Aug 27, 2013 3:49 pm
Location: Catalunya

missing yapps and yapps2

  • Quote

Post by RayOfLight » Sun Jun 09, 2019 10:38 am

Hello, I'm trying to install linuxCNC just to try it out and:

[...]

Code: Select all

checking for ipcs... /usr/bin/ipcs
checking for fuser... /bin/fuser
checking for yapps... no
checking for yapps2... no
configure: error: yapps/yapps2 and not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sci-electronics/linuxcnc-9999/work/linuxcnc-9999/src/config.log
 * ERROR: sci-electronics/linuxcnc-9999::booboo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 4085:  Called autotools-utils_src_configure
 *             environment, line 1015:  Called econf '--docdir=/usr/share/doc/linuxcnc-9999' '--with-x' '--enable-gtk' '--without-libmodbus' '--with-libusb-1.0' '--with-realtime=uspace' '--enable-non-distributable=yes' '--with-boost-python=boost_python-2.7'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  119:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=sci-electronics/linuxcnc-9999::booboo'`,
 * the complete build log and the output of `emerge -pqv '=sci-electronics/linuxcnc-9999::booboo'`.
 * The complete build log is located at '/var/tmp/portage/sci-electronics/linuxcnc-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/linuxcnc-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-electronics/linuxcnc-9999/work/linuxcnc-9999/src'
 * S: '/var/tmp/portage/sci-electronics/linuxcnc-9999/work/linuxcnc-9999/src'

>>> Failed to emerge sci-electronics/linuxcnc-9999, Log file:

>>>  '/var/tmp/portage/sci-electronics/linuxcnc-9999/temp/build.log'
[...]

Code: Select all

% sudo pip install yapps

ERROR: (Gentoo) Please run pip with the --user option to avoid breaking python-exec
Can I override this message so the build can proceed? (It does not work when installed on the .local folder)
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56101
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Jun 09, 2019 12:26 pm

RayOfLight,

Maybe. Do you have yapps installed?

If not can you emerge it?
If

Code: Select all

emerge yapps
works, then linuxCNC installs, the ebuild is missing a dependency on yapps.
Please report a bug including the investigation results of the above.

Don't even think of using pip.
It will break emerge if you run it as root.

Code: Select all

roy@NeddySeagoon_Static ~ $ emerge yapps -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    #] dev-python/yapps-2.2.0-r1::gentoo  PYTHON_TARGETS="python2_7 python3_6 -pypy -python3_5" 14 KiB

Total: 1 package (1 new), Size of downloads: 14 KiB

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by yapps (argument)
# /usr/portage/profiles/package.mask:
# Virgil Dupras <vdupras@gentoo.org> (26 Apr 2019)
# Unmaintained, no revdeps. Removal in 30 days. Bug #618734
=dev-python/yapps-2.2.0-r1
Its there but not for much longer.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
RayOfLight
Tux's lil' helper
Tux's lil' helper
Posts: 109
Joined: Tue Aug 27, 2013 3:49 pm
Location: Catalunya

  • Quote

Post by RayOfLight » Sun Jun 09, 2019 3:22 pm

I think I'm very late :(

Code: Select all

% sudo emerge -a yapps

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "yapps".

emerge: searching for similar names...
emerge: Maybe you meant any of these: dev-python/yapsy, dev-python/yappi, x11-libs/xapps?
I get a 404 on packages gentoo and on zugaina..., that is why I ended up trying on pip, although I share your concern.

It seems like yapps is gone from the face of portage.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Jun 09, 2019 3:48 pm

You can find ebuild in git history https://gitweb.gentoo.org/repo/gentoo.g ... 32aa2b6e97
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56101
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Jun 09, 2019 5:02 pm

RayOfLight,

Nothing is ever gone from the portage tree. Every ebuild that ever was in the gentoo repo is in git or CVS.

For CVS, search the attic.
For git, clone the repo and check out its state at any commit or date.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
RayOfLight
Tux's lil' helper
Tux's lil' helper
Posts: 109
Joined: Tue Aug 27, 2013 3:49 pm
Location: Catalunya

  • Quote

Post by RayOfLight » Mon Jun 10, 2019 5:30 pm

Thank you all for your input, I've used the git history info to recover a temporary yapps ebuild and merge it successfully!

Now I have this:

Code: Select all

emerge: there are no ebuilds to satisfy "gnome-base/libgnomeprintui".
(dependency required by "sci-electronics/linuxcnc-9999::booboo[gnome]" [ebuild])
So I'm trying to merge it with USE=-gnome but it failed with some access violations, so I tried this:
sudo USE="-gnome -gstreamer -X -gtk -usb -uspace" emerge -a -j1 linuxcnc


and it merged.

Now I'm trying to..
sudo USE="-gnome -gstreamer -gtk -usb -uspace" emerge -a -j1 linuxcnc
And I get:

Code: Select all

Installed in /var/tmp/portage/sci-electronics/linuxcnc-9999/image/ with prefix /usr
>>> Completed installing linuxcnc-9999 into /var/tmp/portage/sci-electronics/linuxcnc-9999/image/

 * Final size of build directory: 223688 KiB (218.4 MiB)
 * Final size of installed tree:   82896 KiB ( 80.9 MiB)

 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-4.log"
 *
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /etc/ld.so.cache~
A: /etc/ld.so.cache~
R: /etc/ld.so.cache~
C: ldconfig /var/tmp/portage/sci-electronics/linuxcnc-9999/image//usr/lib64
 * --------------------------------------------------------------------------------

>>> Failed to emerge sci-electronics/linuxcnc-9999, Log file:

>>>  '/var/tmp/portage/sci-electronics/linuxcnc-9999/temp/build.log'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (sci-electronics/linuxcnc-9999:0/0::booboo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/sci-electronics/linuxcnc-9999/temp/build.log'
 *
Help? Thank you!

PD. With -X and +gstreamer +gtk, I got the same error... (also with -(all) except for +usb and +uspace, same error.
cp --no-dereference ../lib/liblinuxcncini.so ../lib/libposemath.so ../lib/libnml.so ../lib/liblinuxcnchal.so ../lib/libcanterp.so ../lib/librs274.so /var/tmp/portage/sci-electronics/linuxcnc-9999/image//usr/lib64
ldconfig /var/tmp/portage/sci-electronics/linuxcnc-9999/image//usr/lib64
* ACCESS DENIED: open_wr: /etc/ld.so.cache~
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Operation not permitted
make: [Makefile:614: install-kernel-indep] Error 1 (ignored)
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Jun 11, 2019 2:31 am

The upstream build system is buggy. It should not be calling ldconfig when DESTDIR is defined. The ebuild should disable that call.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Tue Jun 11, 2019 5:31 am

You can try to create a patch removing line 616 ("-ldconfig $(DESTDIR)$(libdir)") in src/Makefile file
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
NTU
Apprentice
Apprentice
Posts: 187
Joined: Fri Jul 17, 2015 7:18 pm

  • Quote

Post by NTU » Thu Jul 21, 2022 5:29 am

This post showed up on Google for me, I'm not sure if reviving an old thread is against the rules but this thread gets hits still. I got the absolute latest version of yapps2 working on Gentoo (Debian sid 2.2.1-3.1)

ebuild:

https://github.com/NTULINUX/ntu_overlay ... 999.ebuild

Forked yapps2 and applied the Debian sid patch myself as the official git repo was missing these changes from Debian:

https://github.com/NTULINUX/yapps2/comm ... e70ebf3e85

All good now!
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic