Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] emerge codeblocks-9999 fails
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
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 81

PostPosted: Wed Oct 16, 2013 8:19 pm    Post subject: [Solved] emerge codeblocks-9999 fails Reply with quote

previously had codeblocks 12.11 emerged, now i wanted to have the nigtly build
added dev-util/codeblocks ** to package.keywords

but the emerge fails:

Code:
checking whether to use gtk-notebook as default notebook... yes
checking which (if any) contrib plugins to build...
Error: Unknown contrib plugin no.
       Note: the names are case-sensitive!
       Try ./configure --help for exact spelling.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999/config.log
 * ERROR: dev-util/codeblocks-9999::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3103:  Called econf '--with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.8' '--disable-debug' '--disable-pch' '--disable-static' '--without-contrib-plugins'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *            die "econf failed"


here is the full build log: http://pastebin.com/RWZPTrTa
config log: http://pastebin.com/gJaX0uNf

the results of emerge --info:
Code:
Portage 2.2.1 (default/linux/x86/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.11.2-pfhost i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.11.2-pfhost-i686-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-gentoo-2.2
KiB Mem:     3102320 total,   2222096 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Fri, 04 Oct 2013 19:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo sunrise
Installed sets: @steam
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="i686-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"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise"
SYNC="rsync://rsync.hu.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif git gpm gtk iconv jpeg lcms ldap libnotify lm_sensors lock mad mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline sdl session spell sse2 ssl startup-notification subversion svg tcpd thunar tiff udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xml xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XFCE_PLUGINS="brightness menu trash" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



the output of emerge -pqv:
Code:
[ebuild  N    ] dev-util/codeblocks-9999  USE="-contrib -debug -pch -static-libs"


Last edited by printf on Thu Oct 24, 2013 10:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8594

PostPosted: Wed Oct 16, 2013 9:26 pm    Post subject: Reply with quote

That looks like a badly written configure test. Passing --without-contrib-plugins is equivalent to --with-contrib-plugins=no. There are two problems here. First, the script should use enable, not with, for managing internal features. Second, the script should have accepted no as the standard way of refusing the feature.
Back to top
View user's profile Send private message
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 81

PostPosted: Thu Oct 17, 2013 7:12 am    Post subject: Reply with quote

ok.

is there any way to fix that?
do i need to/can i modify the installation script, at least until it is fixed in portage, i just need a running version.
should this be reported on gentoo`s bugzilla or codeblocks or should not be reported at all?
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8594

PostPosted: Thu Oct 17, 2013 7:37 pm    Post subject: Reply with quote

It can and should be fixed in the configure script. You could try to work around it in the ebuild or have the ebuild patch the script, but it would be better to fix the configure script upstream. I doubt the Gentoo maintainer for the package would accept a bug report, since you did choose to use a live ebuild. Those are entirely dependent on upstream not committing broken code, so their quality can vary wildly. Reporting it to codeblocks would be helpful, unless you think they will find this thread and fix the problem on their own.
Back to top
View user's profile Send private message
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 81

PostPosted: Mon Oct 21, 2013 10:26 pm    Post subject: Reply with quote

i have no experience with the inner workings of emerge, so for the last few hours i could not go anywhere with installing using a modifed ebuild script.
could someone please tell me what should i do to emerge codeblocks by modifying the ebuild?

i tried according to this (https://forums.gentoo.org/viewtopic.php?t=5378) thread the following:
ebuild /usr/portage/dev-util/codeblocks/codeblocks-9999.ebuild fetch
ebuild /usr/portage/dev-util/codeblocks/codeblocks-9999.ebuild unpack

than i tried modifying the ebuild script and replaced use_with to use_enable, ebuild said there is a digest mismatch
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8594

PostPosted: Tue Oct 22, 2013 1:47 am    Post subject: Reply with quote

Why are you changing use_with to use_enable? Unless upstream has fixed their configure script in the meantime, that is the wrong change. The right change is to fix the configure script not to die. You might get a working result if you modify the ebuild to entirely remove the use_with and not replace it.
Back to top
View user's profile Send private message
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 81

PostPosted: Thu Oct 24, 2013 10:44 pm    Post subject: Reply with quote

adding the contrib use flag allowed me to emerge codeblocks
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