Thanks, it should be fixed now.
Search Criteria
Package Details: gcc6 6.5.0-9
Package Actions
Git Clone URL: | https://aur.archlinux.org/gcc6.git (read-only, click to copy) |
---|---|
Package Base: | gcc6 |
Description: | The GNU Compiler Collection - C and C++ frontends (6.x.x) |
Upstream URL: | https://gcc.gnu.org/gcc-6/ |
Licenses: | GPL, custom, LGPL, FDL |
Submitter: | svenstaro |
Maintainer: | valandil |
Last Packager: | valandil |
Votes: | 20 |
Popularity: | 0.000104 |
First Submitted: | 2018-05-17 20:56 (UTC) |
Last Updated: | 2023-06-03 19:08 (UTC) |
Dependencies (16)
- binutils
- gcc6-libsAUR
- libmpc (libmpc-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- binutils (make)
- doxygen (doxygen-gitAUR, doxygen-yapAUR) (make)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (make)
- java-environment-common (make)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, jre17AUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk) (make)
- jdk8-openjdk (make)
- libart-lgplAUR (make)
- libmpc (libmpc-gitAUR) (make)
- libxtst (make)
- subversion (make)
- zip (zip-natspecAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
Required by (7)
- cuda-9.0
- gcc6-fortran
- gcc6-gcj
- matlab-support (optional)
- nted-git (make)
- oscilloscope-git (make)
- pngcodec (make)
Sources (6)
valandil commented on 2023-06-03 19:09 (UTC)
imcb commented on 2023-05-30 23:59 (UTC) (edited on 2023-05-30 23:59 (UTC) by imcb)
error: failed to commit transaction (conflicting files)
/usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0/libstdc++.a exists in both 'gcc6-libs' and 'gcc6'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0/libstdc++.la exists in both 'gcc6-libs' and 'gcc6'
Errors occurred, no packages were upgraded.
valandil commented on 2023-04-22 01:49 (UTC)
Thanks, I'm testing this out right now. My initial plan was to fix with by either using --with-included-gettext or a statically compiled version of gettext, but for some reason the former didn't work and the latter is very annoying to actually do :)
bone commented on 2023-04-20 16:53 (UTC)
Quote/Solution from gcc8 package which also works here: by "alexf91": "Disabling native language support fixes the build problems. Edit PKGBUILD and add --disable-nls when the configure script is called."
This fixes the "`GLIBCXX_3.4.30' not found" error and makes a build possible.
valandil commented on 2022-07-13 01:04 (UTC) (edited on 2022-07-13 01:05 (UTC) by valandil)
It is required by the java component:
checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... yes
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread
checking GLIB_LIBS... -lgthread-2.0 -pthread -lglib-2.0
checking for libart-2.0 >= 2.1... Package libart-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libart-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'libart-2.0', required by 'virtual:world', not found
configure: error: Library requirements (libart-2.0 >= 2.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make[1]: *** [Makefile:19636: configure-target-libjava] Error 1
I started maintaining gcc6 to be able to compile pdftk, then written in java. I believe it is now pdftk-gcj in the AUR. gcc6 is the last version of gcc with the gcj component, so it's normal that gcc7 doesn't require it.
petronny commented on 2022-07-11 10:14 (UTC)
Could you confirm if libart-lgpl
is realy needed to build this package?
It's a little wierd since gcc{5,7,8,9}
don't require it.
Especially for gcc7, I just successfully build it in a clean chroot.
valandil commented on 2021-08-25 01:30 (UTC)
Hmm, it probably was needed a long time ago. I've removed it, tested the build and it works fine. Just pushed a new version.
bartus commented on 2021-08-22 11:21 (UTC)
Why option=(!makeflags)
it builds fine with 16 threads here.
valandil commented on 2021-04-09 11:08 (UTC) (edited on 2021-04-09 11:09 (UTC) by valandil)
@xdavidwu Just letting know that I did see your messages, and that I'm working on cleaning up the PKGBUILD a bit more before publishing the fix. If that's too inconvenient I can revert the changes of the offending commit and push a cleaner PKGBUILD later.
Thanks for the link, it was helpful!
xdavidwu commented on 2021-04-07 13:34 (UTC)
The latest commit in PKGBUILD (ea4ffd34ed11) makes this package fails to build.
The commit contains changes that squash pattern matching into double quotes, like this one + rm "${pkgdir}/${_libdir}/libstdc++.so*"
. This will not work. Double-quotes allow parameter expansion, arithmetic expansion and command subsitution but not pattern matching. The asterisks are treated as literals and do not expand. Reference: POSIX definition of shell command language, section 2.2.3 Double-Quotes. A quick test with echo *
(which expands) and echo "*"
(which prints the asterisk) indicates that bash seems to do the same thing.
makepkg in a clean container fails at that line (rm "${pkgdir}/${_libdir}/libstdc++.so*"
).
Pinned Comments
valandil commented on 2020-08-24 15:06 (UTC)
I highly recommend building this package in a clean chroot. This avoids the use of a AUR helper, which sometimes uses
/tmp
as the stating directory, which often gets filled completely by gcc's build process.It also provides a clean environment, which minimizes interactions between your current environment and gcc's build process.