Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

arch: noarch for data-only packages #89

Closed
MingcongBai opened this issue Mar 31, 2016 · 9 comments
Closed

arch: noarch for data-only packages #89

MingcongBai opened this issue Mar 31, 2016 · 9 comments

Comments

@MingcongBai
Copy link
Contributor

Currently Autobuild3 will not accept any data packages as architectural neutral, same for Java and other similar packages...

Well this should be done in a timely manner before more unnecessary work is done on future architectural ports.

@Artoria2e5
Copy link
Contributor

Allocate magic-arch NOARCH for $ABHOST

  • libpm
  • contrib/aoscarchive
  • repo.aosc.io -- dedup?
  • dist

@Artoria2e5
Copy link
Contributor

Should work now. 6e2bd71, 9e8cea3, e5175eb.

# defines
ABHOST=NOARCH

Since defines is included after arch/ABHOST.sh, this actually won't cause NOARCH.sh to be loaded.

@MingcongBai
Copy link
Contributor Author

Yep. 9e8cea3 is starting to cause problem when building binutils on armel. Our armel uses quite a weird triplet as shown below. However it is by no mean a convention for binutils executables to be prefixed with host, with --host specified, binutils is assuming a cross build.

make[2]: armv7a-hardfloat-linux-gnueabi-ar: Command not found

@MingcongBai
Copy link
Contributor Author

May I revert that commit to make it safe?

@Artoria2e5
Copy link
Contributor

It's not about noarch. The host decision is done in ABHOST/ABBUILD.

Use [[ $ABHOST != $ABBUILD ]] instead of [[ $HOST ]].

@MingcongBai
Copy link
Contributor Author

That's why I mentioned 9e8cea3 ...

@MingcongBai
Copy link
Contributor Author

May I drop NOARCH as noarch... as it really looks bad as a part of a file name.

@Artoria2e5
Copy link
Contributor

I thought uppercase will make it look different and.. but yeah, it looks bad, so it's evil.

@MingcongBai
Copy link
Contributor Author

Implemented and working. Closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants