|
Bugzilla – Full Text Bug Listing |
| Summary: | Virtualbox fails to build with gcc7 | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Dominique Leuenberger <dimstar> |
| Component: | Virtualization:Other | Assignee: | Larry Finger <Larry.Finger> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P2 - High | CC: | dimstar |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 1030236 | ||
|
Description
Dominique Leuenberger
2017-05-17 14:39:43 UTC
I think I have a fix for the problem. What "osc build" magic should I use to test locally? (In reply to Larry Finger from comment #1) > I think I have a fix for the problem. What "osc build" magic should I use to > test locally? You can do: > osc build --alternative-project=openSUSE:Factory:Staging:C:DVD standard x86_64 virtualbox.spec while being in the directory of the checked out / fixed package Thanks for the command for osc. Logging it here so as to have a place to find it again. The command was osc build --clean --alternative-project=openSUSE:Factory:Staging:C:DVD standard x86_64 virtualbox.spec It took a couple of simple changes, but now VB builds with gcc 7.x. Besides the configure error you found, there was one non-void function that ended with a jump. The new gcc required a "return 0" even though it would never be executed. There are a lot of new warnings, but no more errors. I have committed the gcc 7 change along with a small revision in the VNC build, with created request id 495753. |