go library not found by the go tool

Bug #1783930 reported by Matthias Klose on 2018-07-27
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-6 (Ubuntu)
Undecided
Unassigned
Bionic
Undecided
Unassigned
Cosmic
Undecided
Unassigned
gccgo-6 (Ubuntu)
Undecided
Unassigned
Xenial
Undecided
Unassigned

Bug Description

as pointed out in https://golang.org/issue/26567, the go tool doesn't find it's library, installed in a path which has only the major version as a path component, but not the complete version, and gcc -dumpversion prints 6.0.0. Solution here is to just provide an additional symlink 6.x.y to 6. Don't change the output of gcc -dumpversion.

Properly fixed in GCC 7 and GCC 8.

Matthias Klose (doko) on 2018-07-27
no longer affects: gcc-6 (Ubuntu Xenial)
no longer affects: gccgo-6 (Ubuntu Cosmic)
no longer affects: gccgo-6 (Ubuntu Bionic)
Changed in gccgo-6 (Ubuntu):
status: New → Invalid
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcc-6 - 6.4.0-19ubuntu1

---------------
gcc-6 (6.4.0-19ubuntu1) cosmic; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-6 (6.4.0-19) unstable; urgency=medium

  * Update to SVN 20180727 (r263028) from the gcc-6-branch.
    - Fix PR c++/86291, PR libgomp/84096, PR fortran/81304, PR fortran/81841,
      PR libstdc++/86272, PR c++/86210, PR c++/83059, PR c/84873, PR c/84873,
      PR debug/83550, PR c/82340, PR target/84168 (AArch64), PR target/84829,
      PR target/84786 (x86), PR tree-optimization/86231, PR middle-end/85878,
      PR target/85945, PR c++/85659, PR rtl-optimization/85431,
      PR rtl-optimization/85300, PR tree-optimization/85257, PR debug/85252,
      PR rtl-optimization/85167, PR inline-asm/85022, PR inline-asm/85034,
      PR inline-asm/85022, PR inline-asm/84941, PR debug/84875, PR c/84953,
      PR target/84899, PR c++/79085, PR target/84772, PR c++/84767,
      PR tree-optimization/84739, PR target/84700, PR inline-asm/84625,
      PR ipa/84425, PR c/82210, PR sanitizer/83987, PR rtl-optimization/83986,
      PR middle-end/84040, PR target/83930, PR preprocessor/83722,
      PR tree-optimization/83605, PR c++/83553, PR rtl-optimization/80747,
      PR rtl-optimization/83512, PR tree-optimization/83523,
      PR tree-optimization/83521, PR ipa/82801, PR ipa/83346, PR target/81906,
      PR c++/81212, PR target/78643, PR target/80583, PR target/80819,
      PR sanitizer/83014, PR middle-end/82253, PR target/82880, PR c++/82159,
      PR c++/82159, PR rtl-optimization/82192, PR tree-optimization/85989,
      PR tree-optimization/82108, PR tree-optimization/81410,
      PR tree-optimization/79920, PR middle-end/84607, PR middle-end/85588,
      PR middle-end/81884, PR middle-end/85244, PR tree-optimization/85597,
      PR middle-end/83623, PR tree-optimization/82264,
      PR tree-optimization/82285, PR tree-optimization/82402,
      PR tree-optimization/82697, PR middle-end/82765, PR middle-end/83713,
      PR c++/86291, PR c++/85147, PR c++/85140, PR c++/84791, PR c++/85076,
      PR c++/85068, PR c++/84874, PR c++/84222, PR c++/84076, PR c++/84662,
      PR c++/84558, PR c++/84448, PR c++/84341, PR sanitizer/83987,
      PR sanitizer/83987, PR c++/83824, PR c++/79650, PR c++/80259,
      PR c++/82781, PR fortran/82969, PR fortran/86242, PR fortran/85313,
      PR fortran/81304, PR fortran/81841.
  * Fix applying the powerpcspe patches.
  * Add a full version symlink for the go library, so that the go tool
    can find the library. LP: #1783930.

 -- Matthias Klose <email address hidden> Fri, 27 Jul 2018 10:13:40 +0200

Changed in gcc-6 (Ubuntu Cosmic):
status: New → Fix Released

Hello Matthias, or anyone else affected,

Accepted gcc-6 into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gcc-6/6.5.0-2ubuntu1~18.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gcc-6 (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
Łukasz Zemczak (sil2100) wrote :

Can someone confirm that the new package versions have this bug fixed?

Matthias Klose (doko) wrote :

yes, this works with the gcc-6 package in bionic-proposed.

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic

The verification of the Stable Release Update for gcc-6 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Launchpad Janitor (janitor) wrote :
Download full text (6.4 KiB)

This bug was fixed in the package gcc-6 - 6.5.0-2ubuntu1~18.04

---------------
gcc-6 (6.5.0-2ubuntu1~18.04) bionic-proposed; urgency=medium

  * SRU: LP: #1800197. Update gcc-6 to the last GCC 6.5.0 upstream release.

gcc-6 (6.5.0-2ubuntu1) disco; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-6 (6.5.0-2) unstable; urgency=medium

  * Fix PR libstdc++/87822, taken from the bug report.
  * Fix VCS attribute in the control file. Addresses: #912405.

gcc-6 (6.5.0-1) unstable; urgency=medium

  * GCC 6.5.0 release.
  * Refresh patches.

gcc-6 (6.4.0-23) unstable; urgency=medium

  * GCC 6.5.0 release candidate.
  * Update to SVN 20181019 (r265212) from the gcc-6-branch.
    - Fix PR middle-end/86542, PR middle-end/86539, PR middle-end/86660,
      PR sanitizer/84761, PR libstdc++/87641, PR libstdc++/86751,
      PR libstdc++/87061, PR libstdc++/70966, PR libstdc++/70966,
      PR libstdc++/77854, PR libstdc++/85098, PR middle-end/87623,
      PR middle-end/87024, PR middle-end/86505, PR target/87550 (x86),
      PR middle-end/87248, PR rtl-optimization/87065, PR middle-end/86627,
      PR middle-end/86542, PR middle-end/86539, PR middle-end/86660,
      PR c++/54278, PR tree-optimization/80032, PR tree-optimization/80032,
      PR target/87517 (x86), PR target/87522 (x86), PR c++/3698, PR c++/86208.
  * Don't configure native builds with --with-sysroot. Apparently this cannot
    be completely overridden with the command line option --sysroot.
  * Update VCS attributes in the control file.

gcc-6 (6.4.0-22ubuntu1) cosmic; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-6 (6.4.0-22) unstable; urgency=medium

  * Update to SVN 20180921 (r264530) from the gcc-6-branch.
    - Fix libsanitizer build failure on sparc64.

gcc-6 (6.4.0-21ubuntu1) cosmic; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-6 (6.4.0-21) unstable; urgency=medium

  * Update to SVN 20180921 (r264459) from the gcc-6-branch.
    - Fix PR sanitizer/85835, PR tree-optimization/85859, PR target/87014,
      PR fortran/86116.
    - Fix build failure with glibc 2.28.

gcc-6 (6.4.0-20ubuntu1) cosmic; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-6 (6.4.0-20) unstable; urgency=medium

  * Update to SVN 20180814 (r263539) from the gcc-6-branch.
    - Fix PR libstdc++/83982, PR libstdc++/80893, PR libstdc++/80893,
      PR libstdc++/68519, PR libstdc++/86292, PR libstdc++/60555,
      PR libstdc++/86734, PR libstdc++/66145, PR libstdc++/85222,
      PR target/86197 (PPC).
    - Fix PR bootstrap/86724. Closes: #905708.
  * Backport r235876 from the trunk (PPC). LP: #1783252.
  * Add some basic autopkg tests for Ada, C, C++, Go, OpenMP and Fortran.
  * Update the src_libgo_Makefile.in patch (Svante Signell). Closes: #905714.

gcc-6 (6.4.0-19ubuntu1) cosmic; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-6 (6.4.0-19) unstable; urgency=medium

  * Update to SVN 20180727 (r263028) from the gcc-6-branch.
    - Fix PR c++/86291, PR libgomp/84096,...

Read more...

Changed in gcc-6 (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers