Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
local ebuild ERROR
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3468
Location: Berlin

PostPosted: Sat Mar 31, 2018 6:29 am    Post subject: local ebuild ERROR Reply with quote

Hallo, (Frohe Ostern)
ich wollte ein ebuild bcompare-4.2.4.22795 ausprobieren, finde aber den Fehler nicht.
cat /usr/local/portage/local/dev-util/bcompare/bcompare-4.2.4.22795.ebuild
Code:
EAPI=6

inherit xdg-utils

DESCRIPTION="Compare, merge files and folders using simple, powerful commands."
HOMEPAGE="http://www.scootersoftware.com"
#SRC_URI="www.scootersoftware.com/bcompare-4.2.4.22795.x86_64.tar.gz"
SRC_URI="http://www.scootersoftware.com/${P}.x86_64.tar.gz"

LICENSE="bcompare"
SLOT="0"
KEYWORDS="~amd64"
#IUSE="caja kde konq nautilus nemo thunar"
IUSE=""

DEPEND="dev-util/patchelf"
RDEPEND="
        app-arch/bzip2
        dev-qt/qtcore:4
        dev-qt/qtgui:4
        sys-libs/zlib
        x11-libs/libX11
        "

src_install()
{
        mkdir -p "${D}/"usr/lib/beyondcompare
        cp "${S}/"{BCompare,BCompare.mad,lib7z.so,libQt4Pas.so.5} "${D}/"usr/lib/beyondcompare/
        patchelf --set-rpath '$ORIGIN/' "${D}/"usr/lib/beyondcompare/BCompare

        mkdir -p "${D}/"usr/bin
        ln -s /usr/lib/beyondcompare/BCompare "${D}/"usr/bin/bcompare

        mkdir -p "${D}/"usr/share/applications
        cp "${S}/"bcompare.desktop "${D}/"usr/share/applications/

        mkdir -p "${D}/"usr/share/doc/beyondcompare
        cp "${S}/"help/* "${D}/"usr/share/doc/beyondcompare/

        mkdir -p "${D}/"usr/share/mime/packages
        cp "${S}/"bcompare.xml "${D}/"usr/share/mime/packages/

        mkdir -p "${D}/"usr/share/pixmaps
        cp "${S}/"{bcompare.png,bcomparefull32.png,bcomparehalf32.png} "${D}/"usr/share/pixmaps/

        # prevent revdep-rebuild from attempting to rebuild all the time
        insinto /etc/revdep-rebuild
        echo "SEARCH_DIRS_MASK=\"/usr/lib/beyondcompare\"" >> ${T}/20${PN}
        doins "${T}/20${PN}"

#       if use caja; then
#               mkdir -p "${D}/"usr/lib/caja/extensions-3.0
#               cp "${S}/"ext/bcompare-ext-caja.amd64.so "${D}/"usr/lib/caja/extensions-3.0/
#       fi
#
#       if use kde; then
#               mkdir -p "${D}/"usr/lib/kde4
#               cp "${S}/"ext/bcompare_ext_kde.amd64.so "${D}/"usr/lib/kde4/
#       fi
#
#       if use konq; then
#               mkdir -p "${D}/"usr/lib/kde4
#               cp "${S}/"ext/bcompare_ext_konq.amd64.so "${D}/"usr/lib/kde4/
#       fi
#
#       if use nautilus; then
#               mkdir -p "${D}/"usr/lib/nautilus/extensions-3.0
#               cp "${S}/"ext/bcompare-ext-nautilus.amd64.so "${D}/"usr/lib/nautilus/extensions-3.0/
#       fi
#
#       if use nemo; then
#               mkdir -p "${D}/"usr/lib/nemo/extensions-3.0
#               cp "${S}/"ext/bcompare-ext-nemo.amd64.so "${D}/"usr/lib/nemo/extensions-3.0/
#       fi
#
#       if use thunar; then
#               mkdir -p "${D}/"usr/lib/thunarx-2
#               cp "${S}/"ext/bcompare-ext-thunarx.amd64.so "${D}/"usr/lib/thunarx-2/
#       fi
}

pkg_postinst() {
        xdg_desktop_database_update
        xdg_mimeinfo_database_update
}

pkg_postrm() {
        xdg_desktop_database_update
        xdg_mimeinfo_database_update
}
ebuild /usr/local/portage/local/dev-util/bcompare/bcompare-4.2.4.22795.ebuild digest
Code:
/usr/lib/portage/python3.4/ebuild.sh: line 620: /usr/local/portage/local/dev-util/bcompare/bcompare-4.2.4.22795.ebuild: Permission denied
 * ERROR: dev-util/bcompare-4.2.4.22795::local failed (depend phase):
 *   error sourcing ebuild
 *
 * Call stack:
 *   ebuild.sh, line 620:  Called die
 * The specific snippet of code:
 *                      source "$EBUILD" || die "error sourcing ebuild"
 *
 * If you need support, post the output of `emerge --info '=dev-util/bcompare-4.2.4.22795::local'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/bcompare-4.2.4.22795::local'`.
 * Working directory: '/usr/lib64/python3.4/site-packages'
 * S: '/var/tmp/portage/dev-util/bcompare-4.2.4.22795/work/bcompare-4.2.4.22795'
emerge --info '=dev-util/bcompare-4.2.4.22795::local'
Code:
* Manifest not found for '/usr/local/portage/local/dev-util/bcompare/bcompare-4.2.4.22795.ebuild'
Portage 2.3.24 (python 3.4.5-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-6.4.0, glibc-2.25-r11, 4.15.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.15.8-gentoo-x86_64-Intel-R-_Core-TM-_i5-3330_CPU_@_3.00GHz-with-gentoo-2.4.1
KiB Mem:     8044312 total,   4761176 free
KiB Swap:    9301628 total,   9301628 free
Timestamp of repository gentoo: Sat, 31 Mar 2018 06:00:01 +0000
Head commit of repository gentoo: 07a4b2a3a4db18a38a7f73ac2177b9c4171fb9ec
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.12.6-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: no

local
    location: /usr/local/portage/local
    masters: gentoo
    priority: 0

grub2-themes
    location: /var/lib/layman/grub2-themes
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de_DE de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="64bit X a52 aac aalib acl acpi activities alsa amd64 berkdb bluetooth bluray branding bzip2 cairo cdda cddb cdparanoia cdr cdrom cli crypt cups cxx dbus declarative dga dhcp dri dts dv dvbpsi dvd dvdr emboss encode equalizer exif fam ffmpeg flac fortran gdbm gif glamor gpm gtk iconv ios ipv6 joystick jpeg jpeg2k kde kipi kwallet lcms ldap libnotify libsamplerate linguas_de linguas_de_DE mad matroska mjpeg mmxext mng mobi modules mp3 mp4 mpeg mtp multilib musicbrainz ncurses nls nptl nvidia ogg opencl opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 quicktime raw readline rtc scanner sdl seccomp semantic-desktop shorten socks5 spell ssl startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upnp upower usb vcd vdpau vorbis widgets wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="braindump karbon krita words sheets stage" CAMERAS="adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sip sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z template topfield toshiba_pdrm11 tp6801" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-32 efi-64 pc" INPUT_DEVICES="evdev keyboard joystick mouse" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby22 ruby23 ruby24" SANE_BACKENDS="canon pixma" USERLAND="GNU" VIDEO_CARDS="vesa 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
MfG
Back to top
View user's profile Send private message
hafgan
n00b
n00b


Joined: 27 Sep 2012
Posts: 43

PostPosted: Sat Mar 31, 2018 7:11 am    Post subject: Reply with quote

/usr/lib/portage/python3.4/ebuild.sh: line 620: /usr/local/portage/local/dev-util/bcompare/bcompare-4.2.4.22795.ebuild: Permission denied

Welche Berechtigungen und Besitzer hat den das ebuild?
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3468
Location: Berlin

PostPosted: Sat Mar 31, 2018 7:40 am    Post subject: Reply with quote

-rw-r--r-- 1 root root Ich habe mal ein ebuild aus dem Portage Tree genommen:
Code:
ls -la /usr/portage/app-office/libreoffice-bin/libreoffice-bin-5.4.5.1.ebuild
-rw-r--r-- 1 root root 6514 16. Feb 13:08 /usr/portage/app-office/libreoffice-bin/libreoffice-bin-5.4.5.1.ebuild
. Die Rechte sind die gleichen. Ich denke nicht, das es daran liegt.

Last edited by flammenflitzer on Sat Mar 31, 2018 8:49 am; edited 1 time in total
Back to top
View user's profile Send private message
hafgan
n00b
n00b


Joined: 27 Sep 2012
Posts: 43

PostPosted: Sat Mar 31, 2018 7:46 am    Post subject: Reply with quote

Versuch doch mal den Eigentümer der Datei auf portage zu ändern (aber eigentlich müsste er es ja lesen können...).

Hat denn Portage auch die Rechte in diesen Ordner (dev-util/bcompare) rein zu schreiben?
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Sun Apr 01, 2018 4:43 pm    Post subject: Reply with quote

Ich würde jetzt einfach mal behaupten wollen, dass "bcompare-4.2.4.22795.ebuild" nicht den "File Naming Rules" entspricht. Ich hatte das auch mal. ;)

--> https://devmanual.gentoo.org/ebuild-writing/file-format/index.html
Back to top
View user's profile Send private message
LuxJux
Guru
Guru


Joined: 01 Mar 2016
Posts: 497
Location: Germany/Berlin

PostPosted: Sun Apr 01, 2018 7:41 pm    Post subject: Reply with quote

Ich würde jetzt einfach mal behaupten, daß du keine gültige Lizenz hast und die 30-Tage-Testphase ist abgelaufen.

khayyam wrote:
qlb1234 wrote:
Code:
LICENSE=""

LICENSE AGREEMENT (V4) wrote:
This is not free software. Scooter Software hereby grants you a non-exclusive, non-transferable, limited license to use the Software free of charge for a period of thirty (30) days. Use of the Software beyond the thirty-day (30-day) trial period requires the purchase of a License Key as described below. Use of the Software beyond the thirty-day (30-day) trial period without purchase of a License Key is a violation of U.S. and international copyright laws.

Yay, trialware for linux.

best ... khay


https://forums.gentoo.org/viewtopic-t-1056726-highlight-bcompare.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum