Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565896 - www-client:dooble-1.55 fails to compile
Summary: www-client:dooble-1.55 fails to compile
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-16 08:32 UTC by Agostino Sarubbo
Modified: 2018-12-04 17:06 UTC (History)
1 user (show)

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


Attachments
build log (www-client:dooble-1.55:20151116-082802.log,130.28 KB, text/x-log)
2015-11-16 08:32 UTC, Agostino Sarubbo
Details
patch to fix install paths (dooble-paths-fix.patch,903 bytes, patch)
2017-08-12 16:32 UTC, Ben Kohler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2015-11-16 08:32:25 UTC
Created attachment 417084 [details]
build log

Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r1, 3.14.56-gentoo x86_64)                                                                                                                                                            
=================================================================                                                                                                                                                                                                              
System uname: Linux-3.14.56-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1240_v3_@_3.40GHz-with-gentoo-2.2                                                                                                                                                                            
KiB Mem:    16378040 total,   1319940 free                                                                                                                                                                                                                                     
KiB Swap:          0 total,         0 free                                                                                                                                                                                                                                     
Timestamp of repository gentoo: Mon, 16 Nov 2015 08:00:01 +0000                                                                                                                                                                                                                
sh sh                                                                                                                                                                                                                                                                          
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1                                                                                                                                                                                                                                          
app-shells/bash:          4.3_p39::gentoo                                                                                                                                                                                                                                      
dev-lang/perl:            5.20.2::gentoo                                                                                                                                                                                                                                       
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo                                                                                                                                                                                                                        
dev-util/cmake:           2.8.12.2-r1::gentoo                                                                                                                                                                                                                                  
dev-util/pkgconfig:       0.28-r2::gentoo                                                                                                                                                                                                                                      
sys-apps/baselayout:      2.2::gentoo                                                                                                                                                                                                                                          
sys-apps/openrc:          0.17::gentoo                                                                                                                                                                                                                                         
sys-apps/sandbox:         2.6-r1::gentoo                                                                                                                                                                                                                                       
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo                                                                                                                                                                                                                           
sys-devel/automake:       1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo                                                                                                                                                                                                         
sys-devel/binutils:       2.25.1-r1::gentoo                                                                                                                                                                                                                                    
sys-devel/gcc:            4.9.3::gentoo                                                                                                                                                                                                                                        
sys-devel/gcc-config:     1.7.3::gentoo                                                                                                                                                                                                                                        
sys-devel/libtool:        2.4.6::gentoo                                                                                                                                                                                                                                        
sys-devel/make:           4.1-r1::gentoo                                                                                                                                                                                                                                       
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)                                                                                                                                                                                                                    
sys-libs/glibc:           2.21-r1::gentoo                                                                                                                                                                                                                                      
Repositories:                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                               
gentoo                                                                                                                                                                                                                                                                         
    location: /usr/portage                                                                                                                                                                                                                                                     
    sync-type: rsync                                                                                                                                                                                                                                                           
    sync-uri: rsync://192.168.0.22/gentoo-portage                                                                                                                                                                                                                              
    priority: -1000                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                               
x-portage                                                                                                                                                                                                                                                                      
    location: /usr/local/portage                                                                                                                                                                                                                                               
    masters: gentoo                                                                                                                                                                                                                                                            
    priority: 0                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                               
ACCEPT_KEYWORDS="amd64"                                                                                                                                                                                                                                                        
ACCEPT_LICENSE="*"                                                                                                                                                                                                                                                             
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                                                                                                                   
CFLAGS="-O2 -march=haswell -mtune=haswell -msse4.2 -fno-stack-protector"                                                                                                                                                                                                       
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                                                                                                                    
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/applications/chromium-browser-chromium.desktop /usr/share/applications/firefox.desktop /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.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="-O2 -march=haswell -mtune=haswell -msse4.2 -fno-stack-protector"                                                                                                                                                                                                     
DISTDIR="/usr/portage/distfiles"                                                                                                                                                                                                                                               
EMERGE_DEFAULT_OPTS="--with-bdeps y -b"                                                                                                                                                                                                                                        
FCFLAGS="-O2 -pipe"                                                                                                                                                                                                                                                            
FEATURES="assume-digests binpkg-logs buildpkg collision-protect 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://192.168.0.22/ http://distfiles.gentoo.org http://gentoo.wheel.sk/ http://mirror.netcologne.de/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,lazy"
MAKEOPTS="-j8"
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"
PORTAGE_TMPDIR="/tmp/"
USE="X acl alsa amd64 berkdb bzip2 cli consolekit cracklib crypt cups cxx dbus dri fortran gdbm gif iconv jpeg kde mmx mmxext modules mp3 multilib mysql ncurses nptl ogg opengl openmp pam pcre png policykit qt3support qt4 readline seccomp session sse sse2 ssl symlink tcpd threads tiff udev unicode vaapi vorbis xattr zlib" ABI_X86="64" 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" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau"
USE_PYTHON="2.7"
Comment 1 Ben Kohler gentoo-dev 2017-07-26 14:35:36 UTC
I believe the problem here is this code in src_install:

    # XXX: The build system installs the build path into INSTALL_ROOT.
    # It should be fixed not to do this.
    rm -r "${ED}/var" || die "Failed to remove build path from ${ED}"

The extra files in ${ED} that need pruning are NOT hardcoded to /var, they are based on your PORTAGE_TMPDIR.  Eg I have PORTAGE_TMPDIR=/mnt/disk/var-tmp/ and I end up with files at image/mnt/disk/var-tmp/portage/www-client/dooble-1.56c/work/dooble.d/Version 1.x

Not sure of the best fix here
Comment 2 Ben Kohler gentoo-dev 2017-08-12 16:32:06 UTC
Created attachment 488694 [details, diff]
patch to fix install paths

I think with this patch to dooble's source, the "rm" at the end of the ebuild's install phase will no longer be necessary.
Comment 3 Ben Kohler gentoo-dev 2017-08-12 16:32:48 UTC
The change could probably be done in src_prepare's big inline sed call but that whole thing is a bit of a mess and could probably use some reworking
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-12-04 17:06:16 UTC
Removing, #565894.