Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406117 - [gnome-overlay] >=net-libs/webkit-gtk-1.7.90 doesn't build with sys-apps/paludis
Summary: [gnome-overlay] >=net-libs/webkit-gtk-1.7.90 doesn't build with sys-apps/paludis
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://paludis.exherbo.org/trac/ticke...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-28 08:54 UTC by Maciej Piechotka
Modified: 2013-05-01 09:31 UTC (History)
2 users (show)

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


Attachments
Build log (1330420189-install-net-libs_webkit-gtk-1.7.90-r200:2::gnome.out,189.69 KB, text/plain)
2012-02-28 19:54 UTC, Maciej Piechotka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2012-02-28 08:54:59 UTC
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-coverage --disable-debug --disable-debug-features --enable-gtk-doc --enable-geolocation --enable-spellcheck --enable-introspection --enable-video --enable-jit --enable-webgl --enable-web-sockets --with-gtk=3.0 --disable-webkit2 --enable-dependency-tracking --build=x86_64-pc-linux-gnu --disable-dependency-tracking
(...)
/usr/bin/perl -I./Source/WebCore/bindings/scripts ./Source/WebCore/bindings/scripts/generate-bindings.pl --include "./Source/WebCore/bindings/js" --include "./Source/WebCore/css" --include "./Source/WebCore/dom" --include "./Source/WebCore/dom/testing" --include "./Source/WebCore/fileapi" --include "./Source/WebCore/html" --include "./Source/WebCore/html/canvas" --include "./Source/WebCore/html/shadow" --include "./Source/WebCore/html/track" --include "./Source/WebCore/inspector" --include "./Source/WebCore/loader/appcache" --include "./Source/WebCore/mediastream" --include "./Source/WebCore/notifications" --include "./Source/WebCore/page" --include "./Source/WebCore/plugins" --include "./Source/WebCore/storage" --include "./Source/WebCore/svg" --include "./Source/WebCore/testing" --include "./Source/WebCore/webaudio" --include "./Source/WebCore/websockets" --include "./Source/WebCore/workers" --include "./Source/WebCore/xml" --outputDir "./DerivedSources/WebCore" --defines "LANGUAGE_JAVASCRIPT=1 ENABLE_CHANNEL_MESSAGING=1   ENABLE_METER_TAG=1 ENABLE_PROGRESS_TAG=1 ENABLE_JAVASCRIPT_DEBUGGER=1  ENABLE_SQL_DATABASE=1 ENABLE_DATALIST=1            ENABLE_VIDEO=1   ENABLE_FULLSCREEN_API=1   ENABLE_XSLT=1 ENABLE_WORKERS=1 ENABLE_SHADOW_DOM=1 ENABLE_SHARED_WORKERS=1 ENABLE_FILTERS=1 ENABLE_GEOLOCATION=1 ENABLE_CLIENT_BASED_GEOLOCATION=1 ENABLE_MATHML=1  ENABLE_SVG=1 ENABLE_SVG_FONTS=1  ENABLE_WEB_SOCKETS=1 ENABLE_BLOB=1  ENABLE_REQUEST_ANIMATION_FRAME=1 ENABLE_WEBGL=1     " --generator JS --supplementalDependencyFile ./DerivedSources/WebCore/idl_supplemental_dependencies ./Source/WebCore/testing/InternalSettings.idl
/usr/bin/python ./Source/WebKit2/Scripts/generate-message-receiver.py ./Source/WebKit2/WebProcess/Authentication/AuthenticationManager.messages.in > DerivedSources/WebKit2/AuthenticationManagerMessageReceiver.cpp
/bin/sh: DerivedSources/WebKit2/AuthenticationManagerMessageReceiver.cpp: No such file or directory
make: *** [DerivedSources/WebKit2/AuthenticationManagerMessageReceiver.cpp] Error 1
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-28 18:53:51 UTC
Can't reproduce here.

Please attach your build log and emerge --info.
Comment 2 Maciej Piechotka 2012-02-28 19:54:35 UTC
Created attachment 303629 [details]
Build log

Package Manager Information:
    Package Name              paludis
    Package Version           0.72.0
    Build Date                2012-02-19T06:01:56+0000
    Built with CXX            x86_64-pc-linux-gnu-g++ 4.6.2
    Built with CXXFLAGS        -O2 -pipe -march=native -msahf -mcx16 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -w -floop-interchange -floop-strip-mine -floop-block -floop-flatten -ftree-loop-linear -ftree-loop-im -ftree-loop-distribution -ftree-loop-distribute-patterns -fsched-pressure -fsched-spec-load -pedantic
    Built with LDFLAGS        -Wl,-O1 -Wl,--as-needed -Wl,--add-needed -Wl,--hash-style=both -Wl,--sort-common

Repository gentoo:
    format                    e
    location                  /usr/portage
    builddir                  /var/tmp/paludis
    cache                     /usr/portage/metadata/cache
    distdir                   /var/tmp/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /usr/portage/eclass
    layout                    traditional
    manifest_hashes           RMD160 SHA1 SHA256
    names_cache               /usr/portage/.cache/names
    newsdir                   /usr/portage/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /etc/paludis/profile
    securitydir               /usr/portage/metadata/glsa
    setsdir                   /usr/portage/sets
    sync                      rsync://rsync.europe.gentoo.org/gentoo-portage
    sync_options              
    thin_manifests            false
    use_manifest              use
    write_cache               /var/cache/paludis/metadata
    Package information
        app-shells/bash       4.2_p20
        dev-java/java-config  2.1.11-r3
        dev-lang/python       2.6.7-r2 2.7.2-r3 3.1.4-r3 3.2.2
        dev-util/ccache       (none)
        dev-util/cmake        2.8.7-r3
        dev-util/pkgconfig    0.26
        sys-apps/baselayout   2.1
        sys-apps/openrc       0.9.9.2
        sys-apps/sandbox      2.5
        sys-devel/autoconf    2.13 2.68
        sys-devel/automake    1.10.3 1.11.3 1.9.6-r3
        sys-devel/binutils    2.22-r1
        sys-devel/gcc         4.5.3-r2 4.6.2
        sys-devel/gcc-config  1.5-r2
        sys-devel/libtool     2.4.2
        sys-devel/make        3.82-r3
        sys-freebsd/freebsd-lib (none)
        sys-kernel/linux-headers 3.2-r1
        sys-libs/glibc        2.14.1-r2
        sys-libs/uclibc       (none)

Extra Information for net-libs/webkit-gtk-1.7.5-r300:3::installed:
        >>> Running ebuild phase killold as portage:portage...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars info as portage:portage...
        >>> Starting builtin_initmisc
        bunzip2 < /var/db/pkg/net-libs/webkit-gtk-1.7.5-r300/environment.bz2 > /var/tmp/paludis/environment-net-libs-webkit-gtk-1.7.5-r300-10699
        ebuild_scrub_environment /var/tmp/paludis/environment-net-libs-webkit-gtk-1.7.5-r300-10699
        ebuild_safe_source /var/tmp/paludis/environment-net-libs-webkit-gtk-1.7.5-r300-10699
        rm /var/tmp/paludis/environment-net-libs-webkit-gtk-1.7.5-r300-10699
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-O2 -pipe -ggdb -march=native -fomit-frame-pointer
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT=/etc 
        CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-O2 -pipe -ggdb -march=native -fomit-frame-pointer
        DISTDIR=/var/db/pkg/net-libs/webkit-gtk-1.7.5-r300
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--add-needed -Wl,--hash-style=both -Wl,--sort-common -Wl,--no-keep-memory
        LINGUAS=en en_GB pl
        MAKEOPTS= V=1
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/var/db/pkg/net-libs/webkit-gtk-1.7.5-r300
        PORTDIR_OVERLAY=
        SYNC=
        USE=doc gstreamer introspection jit spell amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_cgi apache2_modules_cgid apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias calligra_features_braindump calligra_features_flow calligra_features_karbon calligra_features_kexi calligra_features_krita calligra_features_plan calligra_features_stage calligra_features_tables calligra_features_words cameras_ptp2 collectd_plugins_df collectd_plugins_interface collectd_plugins_irq collectd_plugins_load collectd_plugins_memory collectd_plugins_rrdtool collectd_plugins_swap collectd_plugins_syslog elibc_glibc gpsd_protocols_aivdm gpsd_protocols_ashtech gpsd_protocols_earthmate gpsd_protocols_evermore gpsd_protocols_fv18 gpsd_protocols_garmin gpsd_protocols_garmintxt gpsd_protocols_gpsclock gpsd_protocols_itrax gpsd_protocols_mtk3301 gpsd_protocols_navcom gpsd_protocols_nmea gpsd_protocols_ntrip gpsd_protocols_oceanserver gpsd_protocols_oldstyle gpsd_protocols_oncore gpsd_protocols_rtcm104v2 gpsd_protocols_rtcm104v3 gpsd_protocols_sirf gpsd_protocols_superstar2 gpsd_protocols_timing gpsd_protocols_tnt gpsd_protocols_tripmate gpsd_protocols_tsip gpsd_protocols_ubx input_devices_evdev input_devices_synaptics kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_en linguas_en_GB linguas_pl php_targets_php5-3 ruby_targets_jruby ruby_targets_ruby18 ruby_targets_ruby19 userland_GNU video_cards_intel xtables_addons_account xtables_addons_chaos xtables_addons_condition xtables_addons_delude xtables_addons_dhcpmac xtables_addons_fuzzy xtables_addons_geoip xtables_addons_iface xtables_addons_ipmark xtables_addons_ipp2p xtables_addons_ipset xtables_addons_ipv4options xtables_addons_length2 xtables_addons_logmark xtables_addons_lscan xtables_addons_pknock xtables_addons_psd xtables_addons_quota2 xtables_addons_rawnat xtables_addons_steal xtables_addons_sysrq xtables_addons_tarpit xtables_addons_tee amd64 
        >>> Done builtin_infovars
        >>> Starting pkg_info
        >>> Done pkg_info
        >>> Completed ebuild phases initmisc infovars info
        >>> Running ebuild phase tidyup as portage:portage...
        >>> Starting builtin_tidyup
        rm -fr /var/tmp/paludis/net-libs-webkit-gtk-1.7.5-r300-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup

Extra Information for net-libs/webkit-gtk-1.7.90-r300:3::gnome:
        >>> Running ebuild phase killold as portage:portage...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars info as portage:portage...
        >>> Starting builtin_initmisc
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-O2 -pipe -ggdb -march=native -fomit-frame-pointer
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT= 
        CONFIG_PROTECT_MASK= 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-O2 -pipe -ggdb -march=native -fomit-frame-pointer
        DISTDIR=/var/tmp/distfiles
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--add-needed -Wl,--hash-style=both -Wl,--sort-common -Wl,--no-keep-memory
        LINGUAS=en en_GB pl
        MAKEOPTS= V=1
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
        USE=doc geoloc gstreamer introspection jit spell webgl amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_cgi apache2_modules_cgid apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias calligra_features_braindump calligra_features_flow calligra_features_karbon calligra_features_kexi calligra_features_krita calligra_features_plan calligra_features_stage calligra_features_tables calligra_features_words cameras_ptp2 collectd_plugins_df collectd_plugins_interface collectd_plugins_irq collectd_plugins_load collectd_plugins_memory collectd_plugins_rrdtool collectd_plugins_swap collectd_plugins_syslog elibc_glibc gpsd_protocols_aivdm gpsd_protocols_ashtech gpsd_protocols_earthmate gpsd_protocols_evermore gpsd_protocols_fv18 gpsd_protocols_garmin gpsd_protocols_garmintxt gpsd_protocols_gpsclock gpsd_protocols_itrax gpsd_protocols_mtk3301 gpsd_protocols_navcom gpsd_protocols_nmea gpsd_protocols_ntrip gpsd_protocols_oceanserver gpsd_protocols_oldstyle gpsd_protocols_oncore gpsd_protocols_rtcm104v2 gpsd_protocols_rtcm104v3 gpsd_protocols_sirf gpsd_protocols_superstar2 gpsd_protocols_timing gpsd_protocols_tnt gpsd_protocols_tripmate gpsd_protocols_tsip gpsd_protocols_ubx input_devices_evdev input_devices_synaptics kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_en linguas_en_GB linguas_pl php_targets_php5-3 ruby_targets_jruby ruby_targets_ruby18 ruby_targets_ruby19 userland_GNU video_cards_intel xtables_addons_account xtables_addons_chaos xtables_addons_condition xtables_addons_delude xtables_addons_dhcpmac xtables_addons_fuzzy xtables_addons_geoip xtables_addons_iface xtables_addons_ipmark xtables_addons_ipp2p xtables_addons_ipset xtables_addons_ipv4options xtables_addons_length2 xtables_addons_logmark xtables_addons_lscan xtables_addons_pknock xtables_addons_psd xtables_addons_quota2 xtables_addons_rawnat xtables_addons_steal xtables_addons_sysrq xtables_addons_tarpit xtables_addons_tee amd64 
        >>> Done builtin_infovars
        >>> Starting pkg_info
        >>> Done pkg_info
        >>> Completed ebuild phases initmisc infovars info
        >>> Running ebuild phase tidyup as portage:portage...
        >>> Starting builtin_tidyup
        rm -fr /var/tmp/paludis/net-libs-webkit-gtk-1.7.90-r300-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-28 20:32:10 UTC
Strange.

If you cd to /var/tmp/paludis/net-libs-webkit-gtk-1.7.90-r200/work/webkit-1.7.90 and manually do

# EPYTHON=python2 /usr/bin/python \
 ./Source/WebKit2/Scripts/generate-message-receiver.py \
 ./Source/WebKit2/WebProcess/Authentication/AuthenticationManager.messages.in

what is the output?
Comment 4 Maciej Piechotka 2012-02-28 20:36:06 UTC
For EPYTHON=python2 and default (without EPYTHON) it is:

/*
 * Copyright (C) 2010 Apple Inc. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1.  Redistributions of source code must retain the above copyright
 *     notice, this list of conditions and the following disclaimer.
 * 2.  Redistributions in binary form must reproduce the above copyright
 *     notice, this list of conditions and the following disclaimer in the
 *     documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#include "config.h"

#include "AuthenticationManager.h"

#include "ArgumentDecoder.h"
#include "AuthenticationManagerMessages.h"
#include "HandleMessage.h"
#include "PlatformCertificateInfo.h"
#include "WebCoreArgumentCoders.h"
#include <WebCore/Credential.h>

namespace WebKit {

void AuthenticationManager::didReceiveAuthenticationManagerMessage(CoreIPC::Connection*, CoreIPC::MessageID messageID, CoreIPC::ArgumentDecoder* arguments)
{
    switch (messageID.get<Messages::AuthenticationManager::Kind>()) {
    case Messages::AuthenticationManager::UseCredentialForChallengeID:
        CoreIPC::handleMessage<Messages::AuthenticationManager::UseCredentialForChallenge>(arguments, this, &AuthenticationManager::useCredentialForChallenge);
        return;
    case Messages::AuthenticationManager::ContinueWithoutCredentialForChallengeID:
        CoreIPC::handleMessage<Messages::AuthenticationManager::ContinueWithoutCredentialForChallenge>(arguments, this, &AuthenticationManager::continueWithoutCredentialForChallenge);
        return;
    case Messages::AuthenticationManager::CancelChallengeID:
        CoreIPC::handleMessage<Messages::AuthenticationManager::CancelChallenge>(arguments, this, &AuthenticationManager::cancelChallenge);
        return;
    default:
        break;
    }

    ASSERT_NOT_REACHED();
}

} // namespace WebKit

For EPYTHON=python3 it is:

Traceback (most recent call last):
  File "./Source/WebKit2/Scripts/generate-message-receiver.py", line 41, in <module>
    sys.exit(main(sys.argv))
  File "./Source/WebKit2/Scripts/generate-message-receiver.py", line 37, in main
    sys.stdout.write(webkit2.messages.generate_message_handler(input_file))
  File "/var/tmp/paludis/net-libs-webkit-gtk-1.7.90-r200/work/webkit-1.7.90/Source/WebKit2/Scripts/webkit2/messages.py", line 413, in generate_message_handler
    receiver = parser.parse(file)
AttributeError: 'module' object has no attribute 'parse'
Comment 5 Maciej Piechotka 2012-03-09 10:16:56 UTC
(In reply to comment #1)
> Can't reproduce here.
> 

Could you attach build.log with V=1? It might help to find out what's happening.
Comment 6 Maciej Piechotka 2012-03-17 21:30:49 UTC
Present in 1.7.91 as well.
Comment 7 Maciej Piechotka 2012-03-26 22:49:34 UTC
Problem is in paludis (http://paludis.exherbo.org/trac/ticket/1230) which puts --disable-dependency-tracking at the end.

Quick'n'dirty fix is to use EAPI=3.
Comment 8 Maciej Piechotka 2012-03-26 23:05:15 UTC
People from paludis argue that it is the ebuild fault for not following PMS exactly.
Comment 9 Pacho Ramos gentoo-dev 2012-03-27 08:13:11 UTC
If I don't misremember this was discussed time ago and --disable-dependency-tracking should be used ONLY when supported by configure script, not always
Comment 10 Maciej Piechotka 2012-03-27 11:07:45 UTC
(In reply to comment #9)
> If I don't misremember this was discussed time ago and
> --disable-dependency-tracking should be used ONLY when supported by
> configure script, not always

In PMS it is specified that --disable-dependency-tracking should be included if it is in ./configure --help and it does not allow to override it by ebuild.

Portage include --disable-dependency-tracking at the beginning but paludis include at the end (which is allowed by spec). 

I would argue that that is bug in PMS (to not allow overriding) as default of dependency tracking is deliberate choice on part of autotools and not working with --disable-dependency-tracking is not a bug in package and enabling it is a bug in ebuild. It seems that there is no sane method of force-enabling it in configure.ac.
Comment 11 Maciej Piechotka 2012-03-28 23:04:44 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > If I don't misremember this was discussed time ago and
> > --disable-dependency-tracking should be used ONLY when supported by
> > configure script, not always
> 
> In PMS it is specified that --disable-dependency-tracking should be included
> if it is in ./configure --help and it does not allow to override it by
> ebuild.
> 
> Portage include --disable-dependency-tracking at the beginning but paludis
> include at the end (which is allowed by spec). 
> 
> I would argue that that is bug in PMS (to not allow overriding) as default
> of dependency tracking is deliberate choice on part of autotools and not
> working with --disable-dependency-tracking is not a bug in package and
> enabling it is a bug in ebuild. It seems that there is no sane method of
> force-enabling it in configure.ac.

I included a workaround in my fork of gnome-overlay[1]:

    grep -v -- '-dependency-tracking' < ${S}/configure > ${S}/configure.new
    chmod +x ${S}/configure.new
    mv ${S}/configure.new ${S}/configure

[1] git@github.com:uzytkownik/gnome-overlay.git
Comment 12 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-06 02:52:16 UTC
Since paludis developers have still not fixed their broken implementation of the --disable-dependency-tracking eapi4 spec, I am forced to add an ugly workaround for this issue to the webkit-gtk-1.8.0-r{200,300} ebuilds in the overlay.
Comment 13 Pacho Ramos gentoo-dev 2013-04-27 10:38:51 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > If I don't misremember this was discussed time ago and
> > --disable-dependency-tracking should be used ONLY when supported by
> > configure script, not always
> 
> In PMS it is specified that --disable-dependency-tracking should be included
> if it is in ./configure --help and it does not allow to override it by
> ebuild.
> 
> Portage include --disable-dependency-tracking at the beginning but paludis
> include at the end (which is allowed by spec). 
> 
> I would argue that that is bug in PMS (to not allow overriding) as default
> of dependency tracking is deliberate choice on part of autotools and not
> working with --disable-dependency-tracking is not a bug in package and
> enabling it is a bug in ebuild. It seems that there is no sane method of
> force-enabling it in configure.ac.

We are still carrying the hack in ebuild, PMS team, what is the status of this in eapi5? If still not clarified, could it be fixed in next eapi to let us drop the hack the future?
Comment 14 Ulrich Müller gentoo-dev 2013-04-27 15:01:26 UTC
Shrug. PMS says: "Any additional parameters passed to econf are passed directly to ./configure."

"Additional" implies that these parameters should go last?
Comment 15 Ciaran McCreesh 2013-04-27 15:14:28 UTC
No, additional refers to parameters passed to econf, not to where they go.
Comment 16 Pacho Ramos gentoo-dev 2013-04-27 15:35:59 UTC
Then, PMS should probably define that this options can be overwritten by ebuilds when needed (probably for next eapi)
Comment 17 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-27 15:50:49 UTC
(In reply to comment #15)
> No, additional refers to parameters passed to econf, not to where they go.

That's just stupid, and an assumption that breaks a number of ebuilds. If additional parameters weren't added at the end of argument list, --prefix becomes the only overridable option, and every single ebuild e.g. specifying --libdir is broken.
Comment 18 Ciaran McCreesh 2013-04-27 15:58:10 UTC
(In reply to comment #17)
> (In reply to comment #15)
> > No, additional refers to parameters passed to econf, not to where they go.
> 
> That's just stupid, and an assumption that breaks a number of ebuilds. If
> additional parameters weren't added at the end of argument list, --prefix
> becomes the only overridable option, and every single ebuild e.g. specifying
> --libdir is broken.

What matters is what the spec says, not what you want the spec to say. If the two disagree, you're welcome to propose a change in a future EAPI. As it stands, the assumption-causing breakage is being made by ebuilds, not package manglers.
Comment 19 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-27 16:03:35 UTC
(In reply to comment #18)
> (In reply to comment #17)
> > That's just stupid, and an assumption that breaks a number of ebuilds. If
> > additional parameters weren't added at the end of argument list, --prefix
> > becomes the only overridable option, and every single ebuild e.g. specifying
> > --libdir is broken.
> 
> What matters is what the spec says, not what you want the spec to say. If
> the two disagree, you're welcome to propose a change in a future EAPI. As it
> stands, the assumption-causing breakage is being made by ebuilds, not
> package manglers.

The spec says what you wanted it to say. Every semi-reasonable person would assume that econf appends its arguments to the end of command-line so that they would override the defaults. We kinda call it common sense.

If you really need the spec to word that for you, the spec should be fixed.
Comment 20 Ciaran McCreesh 2013-04-27 16:12:01 UTC
(In reply to comment #19)
> The spec says what you wanted it to say.

The feature in question was not my doing... It says what whoever proposed the feature wanted it to say.

> Every semi-reasonable person would assume that econf appends its arguments to 
> the end of command-line so that they would override the defaults. We kinda call 
> it common sense.

That's obviously not the case, since that isn't what was implemented.
Comment 21 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-27 16:13:48 UTC
(In reply to comment #20)
> (In reply to comment #19)
> > Every semi-reasonable person would assume that econf appends its arguments to 
> > the end of command-line so that they would override the defaults. We kinda call 
> > it common sense.
> 
> That's obviously not the case, since that isn't what was implemented.

It goes the other way.
Comment 22 Ulrich Müller gentoo-dev 2013-04-27 16:15:16 UTC
Portage always had $@ last in the list of configure arguments:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-src/portage/bin/ebuil\
d.sh?revision=1.12&view=markup

That's what the spec should say.
Comment 23 Ulrich Müller gentoo-dev 2013-04-27 16:16:01 UTC
Sorry, broken link. Here we go again:
<http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-src/portage/bin/ebuild.sh?revision=1.12&view=markup>
Comment 24 Ciaran McCreesh 2013-04-27 16:24:42 UTC
(In reply to comment #22)
> Portage always had $@ last in the list of configure arguments:
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-src/portage/bin/ebuil\
> d.sh?revision=1.12&view=markup
> 
> That's what the spec should say.

This relates specifically to changes in later EAPIs, so "Portage always had it that way" has got nothing to do with it. Stick it in EAPI 6 if you want guarantees.
Comment 26 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-30 16:46:39 UTC
@Pacho, ulm has found out that paludis has been fixed already [1].

[1]:http://git.exherbo.org/paludis/paludis.git/commit/?id=ad2ae2ba3b6fc8f113638a86de0e7d8a6a046091
Comment 27 Pacho Ramos gentoo-dev 2013-05-01 09:31:32 UTC
+  01 May 2013; Pacho Ramos <pacho@gentoo.org> -webkit-gtk-2.0.0.ebuild,
+  webkit-gtk-2.0.1.ebuild:
+  Workaround to paludis behavior is no longer needed (#406117#c26 by Ulm and
+  mgorny), drop old.
+