Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 395135

Summary: app-misc/mc-4.8.1-r1: vfs.c undefined reference to 'posix_fallocate'
Product: Gentoo/Alt Reporter: Denis I. Polukarov <dipolukarov>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: balint, gentoo, slyfox
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: FreeBSD   
URL: https://www.midnight-commander.org/ticket/2689
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: info
pqv
build.log
environment

Description Denis I. Polukarov 2011-12-18 11:26:36 UTC
Emerge failed with error: ld returned 1 exit status.

Reproducible: Always

Steps to Reproduce:
1. emerge app-misc/mc || emerge -uND --newuse world
2.
3.
Actual Results:  
Fail to emerge.

Expected Results:  
Emerged/updated app-misc/mc
Comment 1 Denis I. Polukarov 2011-12-18 11:27:07 UTC
Created attachment 296221 [details]
info
Comment 2 Denis I. Polukarov 2011-12-18 11:27:24 UTC
Created attachment 296223 [details]
pqv
Comment 3 Denis I. Polukarov 2011-12-18 11:27:39 UTC
Created attachment 296225 [details]
build.log
Comment 4 Denis I. Polukarov 2011-12-18 11:28:06 UTC
Created attachment 296227 [details]
environment
Comment 5 Naohiro Aota gentoo-dev 2011-12-20 12:54:11 UTC
Waiting for upstream fix... (Refer the URL column above)
Comment 6 Balint SZENTE 2012-01-10 17:06:51 UTC
I think this is a duplicate of #396349
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-01-10 17:18:40 UTC
*** Bug 396349 has been marked as a duplicate of this bug. ***
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2012-01-27 20:28:58 UTC
Pushed mc-4.8.1-r2 as:

>*mc-4.8.1-r2 (27 Jan 2012)
>
>  27 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org>
>  +files/mc-4.8.1-fix-fallocate-xBSD.patch, +mc-4.8.1-r2.ebuild,
>  -mc-4.7.5.5.ebuild, -mc-4.8.0-r2.ebuild, mc-9999.ebuild:
>  Upstream fix for build failure on MacOSX and various xBSDs (bug #395135 by
>  Denis I. Polukarov). Removed old.

Please check if it helps you.
Comment 9 Volker Wegert 2012-01-28 11:37:02 UTC
Works for me (OS X)
Comment 10 Denis I. Polukarov 2012-01-30 10:33:34 UTC
Works for me (FreeBSD)
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2012-03-20 19:40:45 UTC
Closing as RESOLVED then.

Thanks for the report and fix guys!