Ticket #1042 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

cave - tries to build binary package even when compilation failed

Reported by: dagger Owned by:
Priority: Sometime Milestone:
Component: clients/cave Version: 0.54.8
Keywords: Cc:
Blocked By: Blocking:
Distribution: Gentoo

Description

With cave resolve -mb when compilation fails, cave tries to build binary package and ends up with two error messages. That makes it unable to continue even if you specified -Ca

It dies with error message: paludis::DidNotGetExactlyOneError?

Change History

comment:1 Changed 8 years ago by dagger

Bit of log to document it:

.Tpo -c idmef-criteria.c -fPIC -DPIC -o .libs/idmef-criteria.o mv -f .deps/prelude-io.Tpo .deps/prelude-io.Plo mv -f .deps/prelude-thread.Tpo .deps/prelude-thread.Plo make[4]: * [prelude-plugin.lo] Error 1 make[4]: * Waiting for unfinished jobs.... prelude-option-wide.c: In function 'prelude_option_process_request': prelude-option-wide.c:245: warning: 'request' may be used uninitialized in this function prelude-option-wide.c:245: note: 'request' was declared here mv -f .deps/prelude-timer.Tpo .deps/prelude-timer.Plo mv -f .deps/prelude-msg.Tpo .deps/prelude-msg.Plo mv -f .deps/prelude-connection-pool.Tpo .deps/prelude-connection-pool.Plo mv -f .deps/prelude-option-wide.Tpo .deps/prelude-option-wide.Plo mv -f .deps/prelude-client.Tpo .deps/prelude-client.Plo mv -f .deps/prelude-string.Tpo .deps/prelude-string.Plo mv -f .deps/idmef-additional-data.Tpo .deps/idmef-additional-data.Plo mv -f .deps/idmef-class.Tpo .deps/idmef-class.Plo mv -f .deps/idmef-criteria.Tpo .deps/idmef-criteria.Plo

Error:

  • In program cave perform install --hooks --managed-output --output-exclusivity with-others =dev-libs/libprelude-1.0.0-r1:0::gentoo --destination binary --x-of-y 1 of 27:
  • When installing 'dev-libs/libprelude-1.0.0-r1:0::gentoo':
  • When running an ebuild command on 'dev-libs/libprelude-1.0.0-r1:0::gentoo':
  • Install failed for 'dev-libs/libprelude-1.0.0-r1:0::gentoo' (paludis::ActionFailedError?)

mv -f .deps/prelude-option.Tpo .deps/prelude-option.Plo make[4]: Leaving directory `/var/tmp/paludis/dev-libs-libprelude-1.0.0-r1/work/libprelude-1.0.0/src' make[3]: Leaving directory `/var/tmp/paludis/dev-libs-libprelude-1.0.0-r1/work/libprelude-1.0.0/src' make[2]: Leaving directory `/var/tmp/paludis/dev-libs-libprelude-1.0.0-r1/work/libprelude-1.0.0/src' make[1]: Leaving directory `/var/tmp/paludis/dev-libs-libprelude-1.0.0-r1/work/libprelude-1.0.0' make[3]: * [all-recursive] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in dev-libs/libprelude-1.0.0-r1::gentoo: !!! In src_compile at line 4547 !!! emake failed

!!! Call stack: !!! * src_compile (/var/tmp/paludis/dev-libs-libprelude-1.0.0-r1/temp/loadsaveenv:4547) !!! * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:56) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:647) !!! * main (/usr/libexec/paludis/ebuild.bash:675)

diefunc: making ebuild PID 23017 exit with error die trap: exiting with error.

Failed create binary in ::binary for dev-libs/libprelude-1.0.0-r1:0::gentoo

Summary:

failed: install dev-libs/libprelude-1.0.0-r1:0::gentoo to ::binary * Output log: /var/log/paludis/1290086817-install-dev-libs_libprelude-1.0.0-r1:0::gentoo.out pending: fetch =dev-libs/libprelude-1.0.0-r1:0::binary pending: install =dev-libs/libprelude-1.0.0-r1:0::binary to ::installed pending: fetch net-misc/aiccu-2007.01.15:0::gentoo pending: install net-misc/aiccu-2007.01.15:0::gentoo to ::binary pending: fetch net-libs/libnet-1.0.2a-r3:1.0::gentoo pending: install net-libs/libnet-1.0.2a-r3:1.0::gentoo to ::binary pending: fetch =net-libs/libnet-1.0.2a-r3:1.0::binary pending: install =net-libs/libnet-1.0.2a-r3:1.0::binary to ::installed pending: fetch net-analyzer/snort-2.8.5.1:0::gentoo pending: install net-analyzer/snort-2.8.5.1:0::gentoo to ::binary pending: fetch net-misc/openvpn-2.1.3:0::gentoo pending: install net-misc/openvpn-2.1.3:0::gentoo to ::binary pending: fetch net-misc/telnet-bsd-1.2-r1:0::gentoo pending: install net-misc/telnet-bsd-1.2-r1:0::gentoo to ::binary replacing 1.2-r1 pending: fetch net-misc/openswan-2.4.15-r2:0::gentoo pending: install net-misc/openswan-2.4.15-r2:0::gentoo to ::binary pending: fetch app-arch/libarchive-2.8.4:0::gentoo pending: install app-arch/libarchive-2.8.4:0::gentoo to ::binary replacing 2.8.4 pending: fetch virtual/perl-File-Spec-3.31:0::gentoo pending: install virtual/perl-File-Spec-3.31:0::gentoo to ::binary pending: fetch =virtual/perl-File-Spec-3.31:0::binary pending: install =virtual/perl-File-Spec-3.31:0::binary to ::installed pending: fetch virtual/perl-Storable-2.20:0::gentoo pending: install virtual/perl-Storable-2.20:0::gentoo to ::binary pending: fetch =virtual/perl-Storable-2.20:0::binary pending: install =virtual/perl-Storable-2.20:0::binary to ::installed pending: fetch dev-perl/PlRPC-0.2020-r1:0::gentoo pending: install dev-perl/PlRPC-0.2020-r1:0::gentoo to ::binary pending: fetch =dev-perl/PlRPC-0.2020-r1:0::binary pending: install =dev-perl/PlRPC-0.2020-r1:0::binary to ::installed pending: fetch virtual/perl-Sys-Syslog-0.27:0::gentoo pending: install virtual/perl-Sys-Syslog-0.27:0::gentoo to ::binary pending: fetch =virtual/perl-Sys-Syslog-0.27:0::binary pending: install =virtual/perl-Sys-Syslog-0.27:0::binary to ::installed pending: fetch dev-perl/DBI-1.615:0::gentoo pending: install dev-perl/DBI-1.615:0::gentoo to ::binary pending: fetch =dev-perl/DBI-1.615:0::binary pending: install =dev-perl/DBI-1.615:0::binary to ::installed pending: fetch perl-core/version-0.82:0::gentoo pending: install perl-core/version-0.82:0::gentoo to ::binary pending: fetch dev-vcs/git-1.7.3.2-r1:0::gentoo pending: install dev-vcs/git-1.7.3.2-r1:0::gentoo to ::binary replacing 1.7.3.2-r1 pending: fetch virtual/perl-version-0.82:0::gentoo pending: install virtual/perl-version-0.82:0::gentoo to ::binary pending: fetch =virtual/perl-version-0.82:0::binary pending: install =virtual/perl-version-0.82:0::binary to ::installed pending: fetch dev-perl/DBD-Pg-2.17.1-r1:0::gentoo pending: install dev-perl/DBD-Pg-2.17.1-r1:0::gentoo to ::binary pending: fetch =dev-perl/DBD-Pg-2.17.1-r1:0::binary pending: install =dev-perl/DBD-Pg-2.17.1-r1:0::binary to ::installed pending: fetch net-proxy/squid-3.1.8:0::gentoo pending: install net-proxy/squid-3.1.8:0::gentoo to ::binary

  • No unread news items found
  • Searching for configuration files requiring action...
  • No configuration file updates required

Error:

  • In program cave execute-resolution --preserve-world --continue-on-failure always --world-specs =net-libs/libnet-1.0.2a-r3 --world-specs =net-analyzer/snort-2.8.5.1 --world-specs =net-misc/aiccu-2007.01.15 --world-specs =net-misc/openvpn-2.1.3 --world-specs =net-misc/telnet-bsd-1.2-r1 --world-specs =net-misc/openswan-2.4.15-r2 --world-specs =app-arch/libarchive-2.8.4 --world-specs =virtual/perl-File-Spec-3.31 --world-specs =virtual/perl-Storable-2.20 --world-specs =dev-perl/PlRPC-0.2020-r1 --world-specs =virtual/perl-Sys-Syslog-0.27 --world-specs =dev-perl/DBI-1.615 --world-specs =perl-core/version-0.82 --world-specs =dev-vcs/git-1.7.3.2-r1 --world-specs =virtual/perl-version-0.82 --world-specs =dev-perl/DBD-Pg-2.17.1-r1 --world-specs =net-proxy/squid-3.1.8 =net-libs/libnet-1.0.2a-r3 =net-analyzer/snort-2.8.5.1 =net-misc/aiccu-2007.01.15 =net-misc/openvpn-2.1.3 =net-misc/telnet-bsd-1.2-r1 =net-misc/openswan-2.4.15-r2 =app-arch/libarchive-2.8.4 =virtual/perl-File-Spec-3.31 =virtual/perl-Storable-2.20 =dev-perl/PlRPC-0.2020-r1 =virtual/perl-Sys-Syslog-0.27 =dev-perl/DBI-1.615 =perl-core/version-0.82 =dev-vcs/git-1.7.3.2-r1 =virtual/perl-version-0.82 =dev-perl/DBD-Pg-2.17.1-r1 =net-proxy/squid-3.1.8:
  • When executing chosen resolution:
  • When finding the single version from packages matching =dev-libs/libprelude-1.0.0-r1:0::binary with filter all matches:
  • Did not get unique result for 'the single version from packages matching =dev-libs/libprelude-1.0.0-r1:0::binary with filter all matches' (got { }) (paludis::DidNotGetExactlyOneError?)

comment:2 Changed 8 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to fixed

I think git master gets this right now...

Note: See TracTickets for help on using tickets.