Ticket #622 (closed defect: fixed)

Opened 12 months ago

Last modified 11 months ago

PALUDIS_UNPACK_UNRECOGNISED_IS_FATAL is being set for 0/1 EAPIs

Reported by: bobgoat Owned by:
Priority: Sometime Milestone:
Component: repositories/e Version: 0.28.0
Keywords: Cc: shade.poczta@…
Blocked By: Blocking: #611
Distribution: Gentoo

Description

I screwed something up and decided to reemerge world to be safe. Last time I did this was with Paludis 0.26.something I believe and there weren't any problems. With 0.28.0 though it fails on eselect-news:

# paludis -i1 eselect-news

>>> Unpacking news.eselect-20080320 to /var/tmp/paludis/app-admin-eselect-news-20080320/work
unpack: error: Don't know how to unpack /usr/portage/distfiles/news.eselect-20080320
unpack: making ebuild PID 5605 exit with error
die trap: exiting with error.

I re-installed tar, bzip and paludis to be on the safe side but to no avail. If you need any more info I will gladly post it but other than using Paludis my system is pretty typical. x86, using the latest non-masked version of all the system stuff including gentoo-sources kernel. The only USE flag I have enabled for paludis itself is python.

Attachments

instal-debug.txt.tar.gz (14.1 KB) - added by shade 12 months ago.
paludis -i freeciv --log-level debug
paludis-info.txt (15.1 KB) - added by shade 12 months ago.
paludis --info
0.conf (5.9 KB) - added by shade 12 months ago.
/usr/share/paludis/eapis/0.conf
paludis.info (3.5 KB) - added by bobgoat 12 months ago.
paludis --info
noisy-log-messages.patch (2.6 KB) - added by ciaranm 12 months ago.
paludis_debug.txt.gz (15.5 KB) - added by quidome 12 months ago.
noisy log output
0001-New-NamedValue-voodoo.patch (30.7 KB) - added by ciaranm 12 months ago.
0002-Convert-EAPI-away-from-kc-sr.patch (177.5 KB) - added by ciaranm 12 months ago.

Change History

Changed 12 months ago by ciaranm

paludis --info?

Changed 12 months ago by shade

paludis -i freeciv --log-level debug

Changed 12 months ago by shade

paludis --info

Changed 12 months ago by shade

/usr/share/paludis/eapis/0.conf

Changed 12 months ago by ciaranm

Ok, someone who can reproduce this who knows gdb needs to work out why PALUDIS_UNPACK_UNRECOGNISED_IS_FATAL is being set to yes.

Changed 12 months ago by ciaranm

  • component changed from clients/paludis to repositories/e
  • blocking set to 611

Changed 12 months ago by bobgoat

paludis --info

Changed 12 months ago by bobgoat

OK, I've attached the output of paludis --info.

Changed 12 months ago by ciaranm

Changed 12 months ago by ciaranm

  • summary changed from Paludis 0.28.0 fails to install eselect-news to PALUDIS_UNPACK_UNRECOGNISED_IS_FATAL is being set for 0/1 EAPIs

Someone who can reproduce the problem, please try noisy-log-messages.patch. It won't fix it, but it might tell us why the environment variable is being missset.

Changed 12 months ago by quidome

noisy log output

Changed 12 months ago by ciaranm

So this is where it's going wrong:

  ... We just did EAPI '0'
paludis@1216651952: [WARNING GREPFORTHIS] (same context) k.get("unpack_unrecognised_is_fatal") is 'false'
paludis@1216651952: [WARNING GREPFORTHIS] (same context) destringify<bool>(k.get("unpack_unrecognised_is_fatal")) is 'false'
paludis@1216651952: [WARNING GREPFORTHIS] (same context) unpack_unrecognised_is_fatal is 'true'

The question is why...

Changed 12 months ago by ciaranm

For anyone who's seeing this and who wants a quick fix, add this to /etc/paludis/bashrc:

PALUDIS_UNPACK_UNRECOGNISED_IS_FATAL=""

AND REMEMBER TO REMOVE IT ONCE WE GET THIS FIXED'''

But this is not a fix, and I still need someone who can reproduce this to use gdb to tell me why the assignment in the previous comment is going wrong.

Changed 12 months ago by shade

  • cc shade.poczta@… added

Changed 12 months ago by ciaranm

Changed 12 months ago by ciaranm

Changed 12 months ago by ciaranm

Someone who can reproduce the problem:

Please apply the two patches I just attached to 0.28.0, and confirm that this fixes things.

I'll do a 0.28.1 if this works.

Changed 12 months ago by bobgoat

I can confirm that those patches have fixed it for me.

Changed 11 months ago by ciaranm

  • status changed from new to closed
  • resolution set to fixed

0.28.1, thanks.

Note: See TracTickets for help on using tickets.