Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465396 - www-client/firefox-20.0 - media/webrtc: make[5]: *** No rule to make target `trunk/Makefile', needed by `export'. Stop.
Summary: www-client/firefox-20.0 - media/webrtc: make[5]: *** No rule to make target `...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 414297
  Show dependency tree
 
Reported: 2013-04-10 12:41 UTC by Massimo Burcheri
Modified: 2017-06-12 21:37 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/www-client/firefox-20.0/temp/build.log (build.log,883.03 KB, text/plain)
2013-04-10 13:49 UTC, Massimo Burcheri
Details
firefox build log 20.0.1 on ppc (firefox-emerge.log,894.93 KB, text/plain)
2013-05-17 04:16 UTC, daktak
Details
my emerge info for 20.0.1 firefox (emerge-info.txt,4.58 KB, text/plain)
2013-05-17 04:16 UTC, daktak
Details
firefox-20.0.1-ia64.patch (firefox-20.0.1-ia64.patch,184 bytes, patch)
2013-05-18 16:28 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2013-04-10 12:41:42 UTC
make[5]: Entering directory `/var/tmp/portage/www-client/firefox-20.0/work/mozilla-release/obj-powerpc-unknown-linux-gnu/media/webrtc'
make[5]: *** No rule to make target `trunk/Makefile', needed by `export'.  Stop.

Reproducible: Always




$ emerge --info
Portage 2.1.11.55 (default/linux/powerpc/ppc32/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.8.3-ck ppc)
=================================================================
System uname: Linux-3.8.3-ck-ppc-7447A,_altivec_supported-with-gentoo-2.1
KiB Mem:     2069632 total,     49392 free
KiB Swap:    1535996 total,   1535996 free
Timestamp of tree: Mon, 08 Apr 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1  
distcc 3.1 powerpc-unknown-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28   
sys-apps/baselayout:      2.1-r1 
sys-apps/openrc:          0.11.8 
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.69
sys-devel/automake:       1.10.3, 1.11.6
sys-devel/binutils:       2.23.1 
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3  
sys-devel/libtool:        2.4-r1 
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo portage_doralin mv
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/
hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/g
conf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/te
xmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /usr/share/X11/xkb"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-syn
c news parallel-fetch parallel-install protect-owned sandbox sfperms strict unknown-features-warn unmerge-l
ogs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo http://de-mirror.org/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/mv"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl aim alsa altivec ansi apng aspell automount bash-completion bluetooth branding bzip2 cairo cdda cdr cdrom cli consolekit cracklib crypt cups custom-optimization cxx dbus device-mapper dga divx4linux dri dts dvd dvdr dvdread embedded emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran gcj gdbm gecko-sdk geoip gif gimp glibc-omitfp gpm gstreamer gtk gtk2 hbci hddtemp ibam iconv icq id3 ieee1394 imap ipc jabber java javascript jpeg kdeenablefinal kdehiddenvisibility kontact kpathsea lame lcms libcaca libnotify mad mikmod mjpeg mmap mng modules mp3 mp4 mpeg mplayer msn mudflap musepack musicbrainz ncurses network nls nptl nsplugin ogg opengl openmp optimization pam pango pcre pdf perl pic png policykit ppc ppcsha1 ppds pthreads python qt3support quicktime quotes radeon readline redeyes samba sasl scanner sdl session spell ssl startup-notification strong-optimization subtitles subversion svg tcpd tiff truetype udev udisks unicode upower usb userlocales vcd vim vim-syntax vorbis webkit wifi wxwidgets xcb xcomposite xine xml xmp xprint xscreensaver xv xvid yahoo zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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="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="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="sane_backends_epson" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jory A. Pratt gentoo-dev 2013-04-10 12:59:53 UTC
Please attach a full build.log.
Comment 2 Massimo Burcheri 2013-04-10 13:49:04 UTC
Created attachment 345122 [details]
/var/tmp/portage/www-client/firefox-20.0/temp/build.log
Comment 3 Vicente Olivert Riera (RETIRED) gentoo-dev 2013-04-12 07:00:23 UTC
Try to add this to the ebuild at line #198:

use ppc && mozconfig_annotate '' --disable-webrtc
Comment 4 Jory A. Pratt gentoo-dev 2013-04-12 12:25:04 UTC
(In reply to comment #3)
> Try to add this to the ebuild at line #198:
> 
> use ppc && mozconfig_annotate '' --disable-webrtc

That is only a workaround, something is busted on the users system, if it was an issue with the makefile it would be failing for all distros right now, not to mention all archs.
Comment 5 Agostino Sarubbo gentoo-dev 2013-04-12 14:46:23 UTC
Reproducible with 20.0.1
Comment 6 Massimo Burcheri 2013-04-13 11:29:43 UTC
With the mentioned bugfix in comment 3 the 20.0.1 ebuild is successfully built.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-29 14:16:31 UTC
(In reply to comment #6)
> With the mentioned bugfix in comment 3 the 20.0.1 ebuild is successfully
> built.

That's not properly called a "bug fix", but a "workaround".
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-29 14:41:19 UTC
CC'ing affected arches (since this isn't restricted to PPC).

I bet this breaks on Itanium too because of:

case "$CPU_ARCH" in
x86_64 | ia64)
    WEBRTC_TARGET_ARCH=x64
Comment 9 daktak 2013-05-17 04:16:29 UTC
Created attachment 348490 [details]
firefox build log 20.0.1 on ppc
Comment 10 daktak 2013-05-17 04:16:54 UTC
Created attachment 348492 [details]
my emerge info for 20.0.1 firefox
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-18 16:07:11 UTC
Do not confuse amd64 with ia64.

--- a/configure.in
+++ b/configure.in
@@ -9032,7 +9032,7 @@
 
 # target_arch is from {ia32|x64|arm}
 case "$CPU_ARCH" in
-x86_64 | ia64)
+x86_64)
     WEBRTC_TARGET_ARCH=x64
     ;;
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-18 16:26:45 UTC
Based on the workaround in comment #3:

Index: firefox-20.0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-client/firefox/firefox-20.0.1.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 firefox-20.0.1.ebuild
--- firefox-20.0.1.ebuild       16 Apr 2013 05:45:35 -0000      1.2
+++ firefox-20.0.1.ebuild       18 May 2013 16:11:47 -0000
@@ -224,6 +224,12 @@
                echo "mk_add_options PROFILE_GEN_SCRIPT='\$(PYTHON) \$(OBJDIR)/_profile/pgo/profileserver.py'" >> "${S}"/.mozconfig
        fi
 
+       if use amd64 || use arm || use x86; then
+               mozconfig_annotate '' --enable-webrtc
+       else
+               mozconfig_annotate '' --disable-webrtc
+       fi
+
        # Finalize and report settings
        mozconfig_final
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-18 16:28:20 UTC
Created attachment 348612 [details, diff]
firefox-20.0.1-ia64.patch

(In reply to comment #11)
> Do not confuse amd64 with ia64.
> 
> --- a/configure.in
> +++ b/configure.in

I accidentally posted a reverse patch.
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-18 16:33:43 UTC
(In reply to comment #13)
> I accidentally posted a reverse patch.

Or maybe not. :-\
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-28 15:22:57 UTC
Even better, why don't we set up a USE flag for webrtc? Hello? :)
Comment 16 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-28 20:01:21 UTC
Maybe it isn't even needed - firefox-21 seems to have no problems here.
Comment 17 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-05 15:00:25 UTC
www-client/firefox-21.0 works fine without any changes.
Comment 18 Sergei Trofimovich (RETIRED) gentoo-dev 2017-06-12 21:37:27 UTC
Closing as obsolete. Oldest available version in tree is =www-client/firefox-45.8.0. Assuming it has different problems :)