Package Details: gcc-multilib-git 8.0.0.r153878.495cd7fe2dc-1

Git Clone URL: https://aur.archlinux.org/gcc-multilib-trunk-git.git (read-only)
Package Base: gcc-multilib-trunk-git
Description: The GNU Compiler Collection - C and C++ frontends for multilib
Upstream URL: http://gcc.gnu.org
Keywords: devel gcc
Licenses: custom, GPL3, LGPL
Groups: multilib-devel
Conflicts: gcc
Provides: gcc=8.0.0.r153878.495cd7fe2dc-1, gcc-multilib=8.0.0.r153878.495cd7fe2dc-1
Submitter: Nefelim4ag
Maintainer: PhCl (FadeMind)
Last Packager: PhCl
Votes: 5
Popularity: 0.018361
First Submitted: 2015-01-20 22:27
Last Updated: 2017-05-10 22:52

Dependencies (10)

Required by (1000)

Sources (1)

Latest Comments

1ace commented on 2017-05-16 17:28

prepare() is better, thanks :)

And yes, the package builds for me, which the correct _pkgver_base (which I just saw in the git logs that you had fixed before my message last week, but I somehow missed there was a commit to pull, and had to figure out things myself).

I wasn't subscribed to this package's comments btw, but I am now :)

PhCl commented on 2017-05-10 22:56

@1ace: I have added your snippet at the begin of prepare. From what I see, this is better than in pkgver. You get the same error message if the version does not match, but it will also abort the build immediately. Let me know if I overlooked something.

PhCl commented on 2017-05-10 17:34

OK, I'll have a look at the improved error message.

In the meantime, does it build for you at the moment? I recently upgraded _pkgver_base to 8.0.0. It was a week ago when I tested it.

1ace commented on 2017-05-10 09:07

I was confused by the build error, and it took me a while to figure out the reason.
Could you add this error message at the end of `pkgver()`?

if [ $(cat gcc/BASE-VER) != $_pkgver_base ]
then
error "\`_pkgver_base\` needs to be updated to $(cat gcc/BASE-VER)"
return 1 # errors in pkgver() are ignored by makepkg, for now
fi

Cheers :)

PhCl commented on 2017-02-17 01:56

@xavloose: Thanks a lot. I fixed it.

@dariost: Sorry, I overlooked your comment. In case, it is still relevant, here is the output:

$ pacman -Qo /usr/lib/libstdc++.a
/usr/lib/libstdc++.a is owned by gcc-multilib-git 7.0.1.r152355.43e2581c071-1

xavloose commented on 2017-02-16 19:30

I needed to change _pkgver_base to 7.0.1 in order to make the package

dariost commented on 2016-12-31 00:31

PhCl, which package owns /usr/lib/libstdc++.a in your installation?

PhCl commented on 2016-12-07 02:33

Unfortunately, I could not reproduce the error. However, I did not have time to look more closely at your error message (the libstdc++.a conflict). Maybe someone has an idea?

Anyway, here are my outputs:

$ yaourt -S gcc-multilib-git
...
:: gcc-libs-multilib-git and gcc-libs-multilib are in conflict (gcc-libs). Remove gcc-libs-multilib? [y/N] y
:: lib32-gcc-libs-git and lib32-gcc-libs are in conflict. Remove lib32-gcc-libs? [y/N] y
:: gcc-multilib-git and gcc-multilib are in conflict (gcc). Remove gcc-multilib? [y/N] y
:: gcc-objc-multilib-git and gcc-objc-multilib are in conflict (gcc-objc). Remove gcc-objc-multilib? [y/N] y

Packages (8) gcc-libs-multilib-6.2.1-1 [removal] gcc-multilib-6.2.1-1 [removal]
gcc-objc-multilib-6.2.1-1 [removal] lib32-gcc-libs-6.2.1-1 [removal]
gcc-libs-multilib-git-7.0.0.r150820.e726704-1 gcc-multilib-git-7.0.0.r150820.e726704-1
gcc-objc-multilib-git-7.0.0.r150820.e726704-1 lib32-gcc-libs-git-7.0.0.r150820.e726704-1

Total Installed Size: 220.95 MiB
Net Upgrade Size: -72.90 MiB

dariost commented on 2016-12-04 15:04

I can't install this package because I get the following error:

Packages (8) gcc-libs-multilib-6.2.1-1 [removal] gcc-multilib-6.2.1-1 [removal] gcc-objc-multilib-6.2.1-1 [removal] lib32-gcc-libs-6.2.1-1 [removal]
gcc-libs-multilib-git-7.0.0.r150766.2a92600-1 gcc-multilib-git-7.0.0.r150766.2a92600-1 gcc-objc-multilib-git-7.0.0.r150766.2a92600-1
lib32-gcc-libs-git-7.0.0.r150766.2a92600-1

Total Installed Size: 319.70 MiB
Net Upgrade Size: 25.85 MiB

:: Proceed with installation? [Y/n] y
(4/4) checking keys in keyring [####################################################################] 100%
(4/4) checking package integrity [####################################################################] 100%
(4/4) loading package files [####################################################################] 100%
(4/4) checking for file conflicts [####################################################################] 100%
error: failed to commit transaction (conflicting files)
/usr/lib32/libstdc++.a exists in both 'lib32-gcc-libs-git' and 'gcc-multilib-git'
/usr/lib/libstdc++.a exists in both 'gcc-libs-multilib-git' and 'gcc-multilib-git'
Errors occurred, no packages were upgraded.
error: no targets specified (use -h for help)

PhCl commented on 2016-04-10 00:20

Should be fixed now. I copied the workaround from the gcc-git package.

All comments