Jump to content
funtoo forums

quantum

Members
  • Content Count

    23
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by quantum

  1. What is the difference between dev-ros and ros-meta categories? Since Funtoo support only one ROS distribution, it is to my not clear the seperation to dev-ros and ros-meta. In case of multi ROS distribution, the packages in dev-ros, the specific to a distribution need to be some how connected to the same ROS distribution. Regards
  2. meanwhile, I decided to try implementing it.
  3. Hi to all, i am using Funtoo together with ROS (Robotic Operation Systems). In ROS there are many distributions and each one is considered closed for it self. In Funtoo there is only one version available, the Melodic, which is only shortly got the status "Recommended". There exists a ros-overlay, which generate its ebuilds. From my experience it works pretty well, but it is a complete solution. I was facing missing dependencies problem as well. Would it be conceivable to create a ROS kit and to place there all the different ROS distributions? I would be more then happy to do it my self, but I would like to know in advance that is idea fits the Funtoo why of thinking. What do you think?
  4. @Oleg VinichenkoThank you for your replay. if i understand you correctly, then in my case of using python 3.6, then there is no problem. What will happen if someone else with python 2.7 only would like to install this package as well? Then configparser will be needed. What i am missing in your answer is a solution to the case that the someone else and I could use the same ebuild. Is there way to write one ebuild for both cases?
  5. Dear all, for atom-1.3.1 I would like to write an ebuild pysl-0.21.1 As i looked in setup.py, I saw: install_requires=[ 'configparser; python_version<"3.0"', 'future>=0.14.0', 'futures; python_version<"3.2"', 'jedi>=0.12', 'python-jsonrpc-server', 'pluggy' ], extras_require={ 'all': [ 'autopep8', 'mccabe', 'pycodestyle', 'pydocstyle>=2.0.0', 'pyflakes>=1.6.0', 'rope>-0.10.5', 'yapf', ], 'autopep8': ['autopep8'], 'mccabe': ['mccabe'], 'pycodestyle': ['pycodestyle'], 'pydocstyle': ['pydocstyle>=2.0.0'], 'pyflakes': ['pyflakes>=1.6.0'], 'rope': ['rope>0.10.5'], 'yapf': ['yapf'], 'test': ['tox', 'versioneer', 'pytest', 'mock', 'pytest-cov', 'coverage'], }, How could i write something like 'configparser; python_version<"3.0"' in my ebuild? Would it be correct to see all the packages below install_requires as DEPEND and all packages below extras_require as RDEPEND? Regards
  6. As part of my try to build ROS2 Bouncy distribution with Funtoo I added ros-overlay to my repository. At present i get a build error for the package ros-bouncy/ament_cmake_core-0.5.1 Since i was unable to upload the file, there here is my /var/tmp/portage/ros-bouncy/ament_cmake_core-0.5.1/temp/build.log: As i tried to investigate the problem, i found that i do have package ament_package, but at a different path: As you can see, /opt/ros/bouncy/lib64/python3.6/site-packages rather then /usr/lib64/python3.6/site-packages. My guess is that the PYTHONPATH which is set in /var/git/overlay/ros-overlay/eclass/ament-cmake.eclass is not correct.
  7. quantum

    space is full

    Problem is solved with the help of: https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#I_get_.22No_space_left_on_device.22_errors.2C_but_df_says_I.27ve_got_lots_of_space I used the command: btrfs fi balance start and now it works.
  8. quantum

    space is full

    Hi all, since two days i have follwoing problem: My home partition shows allwas that it is full alought using df -h : Filesystem Size Used Avail Use% Mounted on /dev/sda7 20G 5.3G 0 100% /home I don't understand how my 5.3G occupy the all 20G... After deleting files from /home, there was some free space in /home. Unfortently, after restarting the computer, there was once again 100% used. lsof do not show any open file under /home Any ideas?
  9. quantum

    Mask a Package

    I followed the remark of @Oleg that gnucash ebuild could be adjested to guile2 and it worked. No i do not see any more: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-scheme/guile:0 (dev-scheme/guile-2.0.11-r1:0/2.0.11::gentoo, ebuild scheduled for merge) conflicts with dev-scheme/guile:0/1.8.8[deprecated,nls,regex,threads] required by (dev-scheme/guile-1.8.8-r99:12/12::gentoo, installed) Before i merged my patched gnucash ebuild I run emerge -auDN --tree @world and i got the same as above. I think funtoo wanted to build the latest available version of guild (which was 2.0.11-r1 in my case). Nether the less, I still do not understand why the mask did not work.
  10. quantum

    Mask a Package

    how can i change my unmasked in profiles?
  11. quantum

    Mask a Package

    Is this a bug? If yes, then where could i submit it?
  12. quantum

    Mask a Package

    in general, if there is a new version of a package, then the system will try to install it, in case there is no conflict. The question which is still open, is why i can't mask the package guile-2.0.11? @Sandro, could you please try to mask this package like I did and see if it works?
  13. quantum

    Mask a Package

    Here is the result: These are the packages that would be merged, in order: Calculating dependencies... done! Total: 0 packages, Size of downloads: 0 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-scheme/guile:0 (dev-scheme/guile-2.0.11-r1:0/2.0.11::gentoo, ebuild scheduled for merge) conflicts with dev-scheme/guile:0/1.8.8[deprecated,nls,regex,threads] required by (dev-scheme/guile-1.8.8-r99:12/12::gentoo, installed)
  14. quantum

    Mask a Package

    Hi to all, I am trying to mask the package dev-scheme/guile-2.0.11* since gnucash demand dev-scheme/guile-1.8.8. Unfortently Gnucash does not support dev-scheme/guile-2.0.11* (I adapted the ebuild to check). After masking the package dev-scheme/guile-2.0.11* cat /etc/portage/package.mask =dev-scheme/guile-2.0.11-r1 Despite the mask of ev-scheme/guile-2.0.11-r, funtoo still try to merge it: emerge -au @world These are the packages that would be merged, in order: Calculating dependencies... done! Total: 0 packages, Size of downloads: 0 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-scheme/guile:0 (dev-scheme/guile-2.0.11-r1:0/2.0.11::gentoo, ebuild scheduled for merge) conflicts with dev-scheme/guile:0/1.8.8[deprecated,nls,regex,threads] required by (dev-scheme/guile-1.8.8-r99:12/12::gentoo, installed) ^^^^^^^^ Nothing to merge; quitting. How could i mask correctly the package =dev-scheme/guile-2.0.11-r1?
  15. I don't really know what it did that made it work, but it works. The last steps i did were: starting eclipse from root (worked after small modification of the file /usr/bin/eclipse-bin-4.3) adding -XX:-UseBiasedLocking to the last line which now looks like: exec "${ECLIPSE_BIN}" -vm $(java-config --java) "$@" "${ECLIPSE_USER_ARGS}" -vmargs ${VM_ARGS} -XX:-UseBiasedLocking 2. remove ~/.eclipse directory 3. java-config --set-user-vm=oracle-jdk-bin-1.8 4. java-config-2 --set-user-vm=oracle-jdk-bin-1.8 5. start eclipse
  16. unfortunately not. I think my problem is somewhere in my java.library.path. java-config-2 -l [ant-core] Java-based build tool similar to 'make' that uses XML configuration files (/usr/share/ant-core/package.env) [swt-4.2] GTK based SWT Library (/usr/share/swt-4.2/package.env) [eclipse-ecj-4.5] Eclipse Compiler for Java (/usr/share/eclipse-ecj-4.5/package.env) [vuze] BitTorrent client in Java, formerly called Azureus (/usr/share/vuze/package.env) [javacc] Java Compiler Compiler - The Java Parser Generator (/usr/share/javacc/package.env) [junit] Simple framework to write repeatable tests (/usr/share/junit/package.env) [ant-eclipse-ecj-4.5] Ant Compiler Adapter for Eclipse Java Compiler (/usr/share/ant-eclipse-ecj-4.5/package.env) [commons-lang-2.1] Commons components to manipulate core java classes (/usr/share/commons-lang-2.1/package.env) [json-simple] Simple Java toolkit for JSON (/usr/share/json-simple/package.env) [swt-3.8] GTK based SWT Library (/usr/share/swt-3.8/package.env) [commons-cli-1] A Java library for working with the command line arguments and options (/usr/share/commons-cli-1/package.env) [log4j] A low-overhead robust logging package for Java (/usr/share/log4j/package.env) but if i try to set my default java CLASSPATH i get following error: java-config-2 --set-system-classpath=log4j,swt-4.2,eclipse-ecj-4.5 !!! WARNING: Setting a user and system classpath is deprecated, this option will be removed from future versions. !!! ERROR: Package log4j was not found! !!! ERROR: Package swt-4.2 was not found! !!! ERROR: Package eclipse-ecj-4.5 was not found! >>> Regenerating /etc/ld.so.cache... !!! ALERT: If you want the changes too take effect in your current session, you should update your environment by running: source /etc/profile althought the packages log4j, swt-4.2 and eclipse-ecj-4.5 are installed.
  17. I was able to make netbeans to work. There was a difference between my root java config and user. After choosing the correct JDK it sarted to work. java-config --list-available-vms The following VMs are available for generation-2: *) Oracle JDK 1.8.0.92 [oracle-jdk-bin-1.8] 2) Oracle JRE 1.8.0.92 [oracle-jre-bin-1.8]
  18. I just tried to start NetBeans IDE 8.1 and i got following message: The JDK is missing and is required to run some NetBeans modules Please use the --jdkhome command line option to specify a JDK How could i test in Funtoo if my Java path are correctly set? Since it seems that all is connected together
  19. the outputs of scanelf -nf $(qlist eclipse-sdk-bin | sort) and qlist eclipse-sdk-bin | sort were very long. That is why I uploaded them as files Output of: scanelf -nf $(qlist eclipse-sdk-bin | sort) TYPE NEEDED FILE ET_EXEC libpthread.so.0,libdl.so.2,libc.so.6 /opt/eclipse-sdk-bin-4.3/eclipse ET_DYN libpthread.so.0,libdl.so.2,libc.so.6 /opt/eclipse-sdk-bin-4.3/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20130807-1835/eclipse_1506.so eclipse-sdk-bin.txt oracle-jdk-bin.txt
  20. localhost edx # java-config --list-available-vms The following VMs are available for generation-2: *) Oracle JDK 1.8.0.92 [oracle-jdk-bin-1.8]
  21. The following VMs are available for generation-2: *) Oracle JDK 1.8.0.92 [oracle-jdk-bin-1.8]
  22. Dear All, i just installed my Funtoo, so it could be that i have not set everything correctly. I am trying to bring eclipse-sdk-bin-4.3.1 to run, unfortunately i have swt problem with java. After trying to run eclipse (after installation) i got following error: !SESSION 2016-05-25 00:42:02.225 ----------------------------------------------- eclipse.buildId=4.3.0.M20130911-1000 java.version=1.8.0_92 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product !ENTRY org.eclipse.osgi 4 0 2016-05-25 00:42:04.543 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: /home/edx/.eclipse/99815505_linux_gtk_x86_64/configuration/org.eclipse.osgi/bundles/318/1/.cp/libswt-gtk-4333.so: /home/edx/.eclipse/99815505_linux_gtk_x86_64/configuration/org.eclipse.osgi/bundles/318/1/.cp/libswt-gtk-4333.so: failed to map segment from shared object no swt-gtk in java.library.path Can't load library: /home/edx/.swt/lib/linux/x86_64/libswt-gtk-4333.so Can't load library: /home/edx/.swt/lib/linux/x86_64/libswt-gtk.so /home/edx/.swt/lib/linux/x86_64/libswt-gtk-4333.so: /home/edx/.swt/lib/linux/x86_64/libswt-gtk-4333.so: failed to map segment from shared object at org.eclipse.swt.internal.Library.loadLibrary(Library.java:331) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240) at org.eclipse.swt.internal.C.<clinit>(C.java:21) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:133) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:675) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162) at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) at org.eclipse.equinox.launcher.Main.main(Main.java:1426) After googling this problem, it seems that I am not the only one with this problem, but the solution that was suggested ln -s /usr/lib64/libswt-* ~/.swt/lib/linux/x86_64/ did not solve my problem. No i get following error: !SESSION 2016-05-24 20:35:54.521 ----------------------------------------------- eclipse.buildId=4.3.0.M20130911-1000 java.version=1.8.0_92 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product !ENTRY org.eclipse.osgi 4 0 2016-05-24 20:35:55.266 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: /home/edx/.eclipse/99815505_linux_gtk_x86_64/configuration/org.eclipse.osgi/bundles/318/1/.cp/libswt-gtk-4333.so: /home/edx/.eclipse/99815505_linux_gtk_x86_64/configuration/org.eclipse.osgi/bundles/318/1/.cp/libswt-gtk-4333.so: Fehler beim Mappen des Shared Objects no swt-gtk in java.library.path /home/edx/.swt/lib/linux/x86_64/libswt-gtk-4333.so: /home/edx/.swt/lib/linux/x86_64/libswt-gtk-4333.so: Fehler beim Mappen des Shared Objects Can't load library: /home/edx/.swt/lib/linux/x86_64/libswt-gtk.so This is my emerge --info output: Portage 2.2.26 (python 2.7.11-final-0, funtoo/1.0/linux-gnu/arch/pure64, gcc-4.9.3, glibc-2.21, 4.5.4-gentoo x86_64) ================================================================= System uname: Linux-4.5.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-gentoo-2.2.0 KiB Mem: 16377980 total, 11783980 free KiB Swap: 16777212 total, 16777212 free sh bash 4.3_p42 ld GNU ld (Funtoo 2.25) 2.25.0 app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.22.2::gentoo dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo dev-util/cmake: 3.5.2-r1::gentoo sys-apps/baselayout: 2.2.0-r6::gentoo sys-apps/openrc: 0.18.3-r2::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25-r2::gentoo sys-devel/gcc: 4.9.3-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.21::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: git://github.com/funtoo/ports-2012.git priority: -1000 local location: /var/overlay/local masters: gentoo java location: /var/lib/layman/java sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/java.git masters: gentoo priority: 50 kde location: /var/lib/layman/kde sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/kde.git masters: gentoo priority: 50 Installed sets: @kde-plasma ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core-avx2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=core-avx2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-mtune=generic -O2 -pipe" GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.leaseweb.com/gentoo/" LANG="de_DE@euro" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl alsa amd64 apng berkdb bluray bzip2 cdda cddb cdio cdr consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr dvdread encode exif faac faad ffmpeg flac gdbm gif gpm hpcups ico iconv icu ieee1394 ios ipod ipv6 jpeg jpeg2k kde kipi lame libass libguess libmpeg2 mad matplotlib matroska mjpeg mmx modules mp3 mpeg mtp mudflap ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf phonon plasma png policykit postproc pppd python qml qt5 quicktime readline resolvconf semantic-desktop sndfile sse sse2 ssl svg taglib tcpd theora tiff truetype twolame udev unicode v4l vorbis vpx wav wavpack webp widgets win32codecs wmf x264 x265 xattr xcomposite xinerama xml xscreensaver xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS Any ideas?
×
×
  • Create New...