Bug 1628419 - Problem installing kernel-core-4.18.5-200.fc28.x86_64 -- compilation error
Summary: Problem installing kernel-core-4.18.5-200.fc28.x86_64 -- compilation error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: virtualbox-guest-additions
Version: 28
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-13 00:44 UTC by Louis Krupp
Modified: 2018-10-06 01:34 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-10-06 01:34:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Log file (25.68 KB, text/plain)
2018-09-13 00:44 UTC, Louis Krupp
no flags Details

Description Louis Krupp 2018-09-13 00:44:34 UTC
Created attachment 1482899 [details]
Log file

Description of problem:

From dnf upgrade output:

  Running scriptlet: kernel-core-4.18.5-200.fc28.x86_64                        220/220 
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.  This may take a while.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong

From the log:

/tmp/vbox.0/utils.c:165:28: error: passing argument 1 of ‘sf_ftime_from_timespec’ from incompatible pointer type [-Werror=incompatible-pointer-types]
     sf_ftime_from_timespec(&inode->i_atime, &info->AccessTime);
                            ^~~~~~~~~~~~~~~
/tmp/vbox.0/utils.c:53:53: note: expected ‘struct timespec *’ but argument is of type ‘struct timespec64 *’
 static void sf_ftime_from_timespec(struct timespec *tv, RTTIMESPEC *ts)


Version-Release number of selected component (if applicable):


How reproducible:

sudo dnf upgrade

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Sergio Basto 2018-09-13 06:06:01 UTC
(In reply to Louis Krupp from comment #0)
> Created attachment 1482899 [details]
> Log file
> 
> Description of problem:
> 
> From dnf upgrade output:
> 
>   Running scriptlet: kernel-core-4.18.5-200.fc28.x86_64                     
> 220/220 
> VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
> modules.  This may take a while.

you don't need build any kernel module, I guess you have mixup with oracle rpms . you need clean/remove that . 
vboxadd should not exist in the system . 


anyway if you think that you method works you need a patch [1] or wait for the next release of vbox

[1] 
https://pkgs.rpmfusion.org/cgit/free/VirtualBox-kmod.git/tree/kernel-4.18.patch

Comment 2 Michael Thayer 2018-09-13 07:28:32 UTC
Louis, this is a bug report against the version of the Additions provided by Oracle, so it should be in the virtualbox.org bug tracker.  However, this issue is known and fixed (it is simply a case of updating the Additions for the 4.18 kernel), so you can use a test build of the Guest Additions[1] - you only need to take the Guest Additions part, not the full build - until a new release is made.

[1] https://www.virtualbox.org/wiki/Testbuilds


Note You need to log in before you can comment on or make changes to this bug.