Ticket #681 (closed defect: invalid)

Opened 10 years ago

Last modified 10 years ago

avr toolchain: must not have SLOT and CHOST in PALUDIS_MUST_NOT_CHANGE_VARIABLES

Reported by: NikeL Owned by:
Priority: Sometime Milestone:
Component: clients/paludis Version: 0.32.2
Keywords: avr toolchain crossdev Cc:
Blocked By: Blocking:
Distribution: Gentoo

Description

Crosscomplie fail while ebuildscripts not allowed to change SLOT and CHOST variables.

My solution is to create cross-overlay repository and where category cross-avr and symlinks for sys-devel/gcc, sys-devel/binutils and dev-embedded/avr-libc. cross-avr must be in profiles/categories. And this must be added to /etc/paludis/nashrc: if "${CATEGORY}" == "cross-avr" ? then

PALUDIS_MUST_NOT_CHANGE_VARIABLES=""

fi

At least SLOT and CHOST must be filtered out of PALUDIS_MUST_NOT_CHANGE_VARIABLES. Those variable will be set correct for crosscompiling.

Change History

comment:1 Changed 10 years ago by NikeL

  • Version changed from 0.30.3 to 0.32.2

comment:2 Changed 10 years ago by NikeL

/etc/paludis/nashrc -> /etc/paludis/bashrc

if "${CATEGORY}" == "cross-avr" ? then

PALUDIS_MUST_NOT_CHANGE_VARIABLES=""

fi

comment:3 follow-up: ↓ 4 Changed 10 years ago by ciaranm

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

Ebuilds can't change SLOT or CHOST. Doing what you did will just cause very nasty breakages.

comment:4 in reply to: ↑ 3 Changed 10 years ago by NikeL

Replying to ciaranm:

Ebuilds can't change SLOT or CHOST. Doing what you did will just cause very nasty breakages.

Why? And how do i crosscompiling when?

comment:5 Changed 10 years ago by ciaranm

Ebuilds don't support cross-compiling.

Note: See TracTickets for help on using tickets.