Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719398 - x11-misc/projecteur-0.7 : version/.../projecteur-GitVersion.cc: error: return-statement with no value, in function returning unsig
Summary: x11-misc/projecteur-0.7 : version/.../projecteur-GitVersion.cc: error: return...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL: https://github.com/jahnf/Projecteur/i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-25 13:07 UTC by Toralf Förster
Modified: 2020-05-10 19:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.45 KB, text/plain)
2020-04-25 13:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,199.03 KB, text/plain)
2020-04-25 13:07 UTC, Toralf Förster
Details
environment (environment,87.23 KB, text/plain)
2020-04-25 13:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.56 KB, application/x-bzip)
2020-04-25 13:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.72 KB, application/x-bzip)
2020-04-25 13:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.70 KB, application/x-bzip)
2020-04-25 13:07 UTC, Toralf Förster
Details
x11-misc:projecteur-0.7:20200425-114423.log (x11-misc:projecteur-0.7:20200425-114423.log,23.06 KB, text/plain)
2020-04-25 13:07 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-25 13:07:13 UTC
version/projecteur/projecteur-GitVersion.cc: In function unsigned int projecteur::version_distance():
version/projecteur/projecteur-GitVersion.cc:9:37: error: return-statement with no value, in function returning unsigned int [-fpermissive]
    9 |   unsigned int version_distance() { return ; }
      |                                     ^~~~~~
ninja: build stopped: subcommand failed.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200419-214828

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat 25 Apr 2020 10:13:23 AM UTC
/var/db/repos/libressl	Sat 11 Apr 2020 05:02:25 AM UTC

emerge -qpvO x11-misc/projecteur
[ebuild  N    ] x11-misc/projecteur-0.7
Comment 1 Toralf Förster gentoo-dev 2020-04-25 13:07:16 UTC
Created attachment 634512 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-25 13:07:18 UTC
Created attachment 634514 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-25 13:07:21 UTC
Created attachment 634516 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-25 13:07:24 UTC
Created attachment 634518 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-25 13:07:27 UTC
Created attachment 634520 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-25 13:07:30 UTC
Created attachment 634522 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-25 13:07:33 UTC
Created attachment 634524 [details]
x11-misc:projecteur-0.7:20200425-114423.log
Comment 8 Conrad Kostecki gentoo-dev 2020-05-10 16:13:08 UTC
It's caused by not having installed Git. But it's not needed, so it's a bug. Reported to upstream.
Comment 9 Larry the Git Cow gentoo-dev 2020-05-10 16:22:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a83e92b3bdd9aa997a7797011026c7ac466707

commit 24a83e92b3bdd9aa997a7797011026c7ac466707
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-05-10 16:19:10 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-05-10 16:22:13 +0000

    x11-misc/projecteur: add git to deps
    
    Due a bug, projecteur can't compile without having installed Git.
    This is a bug and has been reported to upstream.
    Meanwhile, adding Git as a temp fix to BDEPEND.
    
    Bug: https://bugs.gentoo.org/719398
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 x11-misc/projecteur/projecteur-0.7-r1.ebuild | 50 ++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2020-05-10 19:37:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b765ce788b530468552559b7c0273b420ca7dec4

commit b765ce788b530468552559b7c0273b420ca7dec4
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-05-10 19:36:29 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-05-10 19:36:29 +0000

    x11-misc/projecteur: fix compilation without git
    
    Closes: https://bugs.gentoo.org/719398
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../files/projecteur-0.7-fix-git-detection.patch   | 33 +++++++++++++++
 x11-misc/projecteur/projecteur-0.7-r2.ebuild       | 47 ++++++++++++++++++++++
 2 files changed, 80 insertions(+)