Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
goldendict-1.5.0_rc2-r2 compile failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
geol
n00b
n00b


Joined: 18 Dec 2018
Posts: 11

PostPosted: Tue Dec 18, 2018 6:03 pm    Post subject: goldendict-1.5.0_rc2-r2 compile failure Reply with quote

Hi guys,

Could anyone help?

I run
Code:
emerge -a goldendict


I finally got
Code:
 * ERROR: app-text/goldendict-1.5.0_rc2-r2::gentoo failed (compile phase):
 *   emake failed


I'm posting the output of
Code:
emerge --info '=app-text/goldendict-1.5.0_rc2-r2::gentoo'


Code:
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.27-r6, 4.9.95-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.95-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-gentoo-2.6
KiB Mem:    32825476 total,  28473504 free
KiB Swap:   40959996 total,  40959996 free
Timestamp of repository gentoo: Tue, 18 Dec 2018 17:30:01 +0000
Head commit of repository gentoo: 67d71ec9572433653d8ae0bed50b8d37ab066df4
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::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-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -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://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp ssl tcpd unicode 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" 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="karbon plan sheets stage words" 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 isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" 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="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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


Thank you!

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30914
Location: here

PostPosted: Tue Dec 18, 2018 6:44 pm    Post subject: Reply with quote

geol welcome to gentoo forum!
You should post build.log (/var/tmp/portage/dev-db/app-text/goldendict-1.5.0_rc2/temp/build.log) with wgetpaste
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Dec 18, 2018 8:18 pm    Post subject: Reply with quote

Moved from Gentoo Chat to Portage & Programming as this is a support topic.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
geol
n00b
n00b


Joined: 18 Dec 2018
Posts: 11

PostPosted: Sat Dec 22, 2018 7:07 pm    Post subject: Reply with quote

Hi pjp,
Thank you for moving it to the right forum.

Hi fedeliallalinea,
Thank you for your help. Here is my build.log:
https://paste.pound-python.org/show/PtYEoHT5RdYErsO8YNf8/
Back to top
View user's profile Send private message
CondeProlog
n00b
n00b


Joined: 09 Oct 2018
Posts: 7

PostPosted: Sun Dec 23, 2018 2:02 am    Post subject: Reply with quote

I found what's going on, you don't have a desktop profile then you lack of "X" use flag.
When this happens the dev-qt/qtsingleapplication package won't install qtsingleapplication.h file so the compilation fails.
The proper solution if you are using graphical apps is to change to a desktop Portage profile.
Example:
Code:
eselect profile list

Code:

  [12]  default/linux/amd64/17.0 (stable)
  [13]  default/linux/amd64/17.0/selinux (stable)
  [16]  default/linux/amd64/17.0/desktop (stable) *
  [17]  default/linux/amd64/17.0/desktop/gnome (stable)

Code:
eselect profile set 16

Then re-emerge the package and dependencies
Code:
emerge -avUD goldendict

soon or later re-emerge all packages that need changes:
Code:
emerge -avUD @world


I also recommend you to install goldendict using the qt overlay (more up to date):
Code:
emerge -av app-eselect/eselect-repository
eselect repository enable qt
emaint -r qt sync
echo "=app-text/goldendict-9999 **" >> /etc/portage/package.accept_keywords
emerge -av goldendict
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Dec 23, 2018 2:36 am    Post subject: Reply with quote

You can add X by yourself without changing the profile.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30914
Location: here

PostPosted: Sun Dec 23, 2018 9:12 am    Post subject: Reply with quote

CondeProlog wrote:
I also recommend you to install goldendict using the qt overlay (more up to date):

Isn't a good idea recommend live packages (9999), these change frequently and can break compilation
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
geol
n00b
n00b


Joined: 18 Dec 2018
Posts: 11

PostPosted: Sun Dec 23, 2018 8:00 pm    Post subject: Reply with quote

Thank you so much!!!

Following all the suggestions from @CondeProlog, @Jaglover and @fedeliallalinea, I added an "X" USE flag just for qtsingleapplication, and re-emerged goldendict. It succeeded!

@CondeProlog My question is how you know the lack of qtsingleapplication.h is caused by "-X" for qtsingleapplication. Sorry if it is a noob question.

Cheers!!!
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sun Dec 23, 2018 9:25 pm    Post subject: Reply with quote

It's good that you found a fix, but in fact this is a bug (goldendict ebuild should set correct USE dep on qtsingleapplication).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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