Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems emerging miraclecast
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1287

PostPosted: Mon Aug 31, 2020 12:24 pm    Post subject: problems emerging miraclecast Reply with quote

I am using the dilfridge layman repository to emerge the miraclecast package but it fails:
Code:
ninja -v -j5 -l0
ninja: error: build.ninja:1128: bad $-escape (literal $ must be written as $$)

 * ERROR: media-video/miraclecast-1.0.9999::dilfridge failed (compile phase):
 *   ninja -v -j5 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
Code:


c[code]herry ~ # emerge --info '=media-video/miraclecast-1.0.9999::dilfridge'
/usr/lib/python3.7/site-packages/portage/package/ebuild/_config/KeywordsManager.py:70: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)
Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.0/desktop, gcc-9.3.0, glibc-2.30-r8, 5.4.48-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.48-gentoo-x86_64-Intel-R-_Atom-TM-_x5-Z8350_CPU_@_1.44GHz-with-gentoo-2.6
KiB Mem:     1942952 total,   1187904 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Sun, 30 Aug 2020 07:30:01 +0000
Head commit of repository gentoo: e80822e8f1fb71bcb7faec08eade7ba7171cb29b
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.16.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no

dilfridge
    location: /var/lib/layman/dilfridge
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -msse3 -m3dnow -mmmx -msse -msse2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -msse3 -m3dnow -mmmx -msse -msse2"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -msse3 -m3dnow -mmmx -msse -msse2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -msse3 -m3dnow -mmmx -msse -msse2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
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="a52 acpi amd64 asm cdr cpudetection dbus dri dts dvdr emboss ffmpeg gpu-accel gui jit libglvnd libtirpc minimal multilib nptl opencl opengl openmp ppds split-usr systemd threads udev upower vaapi vulkan x264" ABI_X86="64" ADA_TARGET="gnat_2018" 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" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard synaptics evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS[/code]

[code]cherry ~ # emerge -pqv '=media-video/miraclecast-1.0.9999::dilfridge'
/usr/lib/python3.7/site-packages/portage/package/ebuild/_config/KeywordsManager.py:70: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)

 * IMPORTANT: config file '/etc/portage/package.license/zoom' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
[ebuild  N    ] media-video/miraclecast-1.0.9999  USE="systemd -test"

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
[/code]


Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24792
Location: here

PostPosted: Mon Aug 31, 2020 1:29 pm    Post subject: Reply with quote

You should post full build.log with wgetpaste.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 8535
Location: ~Brussels - Belgique

PostPosted: Mon Aug 31, 2020 1:36 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1287

PostPosted: Thu Sep 03, 2020 7:36 am    Post subject: Reply with quote

full build log:
https://dpaste.com/38WZHSFM5
Back to top
View user's profile Send private message
Rigangia
n00b
n00b


Joined: 26 Nov 2020
Posts: 1

PostPosted: Thu Nov 26, 2020 12:00 pm    Post subject: Reply with quote

I just managed to solve what appears to me to be the same problem : you will have to stop at the prepare phase with ebuild, then manually edit the files CMakeLists.txt and Makefile.am in the /var/tmp/portage/media-video/miraclecast-${V}/work/miraclecast-${V}/test/ directory, fixing all non-commented-out occurrences of $(MEMTESTS) with $$(MEMTESTS)
Then you can proceed with the configure, compile, install and qmerge phases and it goes a breeze.

My two cents

Rigangia
_________________
To err is human, but to *really* mess things up you need the root password
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 16219

PostPosted: Thu Nov 26, 2020 5:51 pm    Post subject: Reply with quote

Rigangia wrote:
I just managed to solve what appears to me to be the same problem : you will have to stop at the prepare phase with ebuild, then manually edit the files CMakeLists.txt and Makefile.am in the /var/tmp/portage/media-video/miraclecast-${V}/work/miraclecast-${V}/test/ directory, fixing all non-commented-out occurrences of $(MEMTESTS) with $$(MEMTESTS)
Then you can proceed with the configure, compile, install and qmerge phases and it goes a breeze.
I cannot comment on whether this will work, but this is the wrong solution for the long term, because it involves manually modifying the build environment every time you want to rebuild. You should instead use a Portage patch (via /etc/portage/patches/), change the ebuild, or get upstream to fix their source. Any of these will ensure that you can then run emerge miraclecast and the build will complete without manual intervention.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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