Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8550 closed defect (fixed)

compile e2fsprogs 1.41.14 failed

Reported by: anonymous Owned by: acoul
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

making all in e2fsck
make[6]: Entering directory `/DATA/TEST/tt/build_dir/target-mips_r2_uClibc-0.9.31/e2fsprogs-1.41.14/e2fsck'
LD e2fsck
../lib/libext2fs.so: warning: the use of OBSOLESCENT utime' is discouraged, useutimes'
../lib/libext2fs.so: undefined reference to `posix_memalign'
collect2: ld returned 1 exit status
make[6]: * [e2fsck] Error 1
make[6]: Leaving directory `/DATA/TEST/tt/build_dir/target-mips_r2_uClibc-0.9.31/e2fsprogs-1.41.14/e2fsck'

Attachments (0)

Change History (14)

comment:1 Changed 7 years ago by anonymous

same problem on ubuntu 10.4

comment:2 Changed 7 years ago by hnyman

Same here. Building in Ubuntu 10.10 fails with that error.
(Building for ar71xx / WNDR3700)

Building still worked two days ago, before r24848 was checked in.
Reversing that check-in to the previous version, back to compile e2fsprogs 1.41.12, makes the build to succeed.

comment:3 follow-up: Changed 7 years ago by Joe Roback <openwrt-devel@…>

what version of libc do you have on your ubuntu installations? If you have the embedded libc, than it will not work, since it doesn't include the posix_memalign() API.. try full C library implementation like glibc, otherwise someone needs to cut a patch to basically do posix_memalign() manually, which is a pain, and should probably be done upstream at e2fsprogs project.

comment:4 in reply to: ↑ 3 Changed 7 years ago by Joe Roback <openwrt-devel@…>

Replying to Joe Roback <openwrt-devel@…>:

what version of libc do you have on your ubuntu installations? If you have the embedded libc, than it will not work, since it doesn't include the posix_memalign() API.. try full C library implementation like glibc, otherwise someone needs to cut a patch to basically do posix_memalign() manually, which is a pain, and should probably be done upstream at e2fsprogs project.

Nevermind, slightly different issue. Some are having this issue when building the *host* e2fsprogs because of embedded libc on their systems (people installing a unbuntu light in a VM usually)... this appears to be also happening for e2fsprogs for the target build... does uClibc-0.9.31 not have posix_memalign() or is it just a configuration issue? Not sure, I'm traveling the until Jan 3rd, but I'm sure someone smart here will figure it out ;-)

comment:5 Changed 7 years ago by danitool <dgcbueu@…>

same problem here, using Arch linux gcc 4.5.2

comment:6 Changed 7 years ago by anonymous

Looks like #8552 is about the same issue

comment:7 follow-up: Changed 7 years ago by Thomas Mangin

solution available in #8552

comment:8 in reply to: ↑ 7 ; follow-up: Changed 7 years ago by Joe Roback <openwrt-devel@…>

Replying to Thomas Mangin:

solution available in #8552

#8850 and #8552 are not duplicates. #8550 is when the host does not support posix_memalign(), in which case e2fsprogs would need to be patched, #8552 is when the target e2fsprogs fails due to missing posix_memalign() because of uClibc configuration missing UCLIBC_HAS_ADVANCED_REALTIME.

Similar, but clearly not duplicates. #8552 solution doesn't fix #8550

comment:9 in reply to: ↑ 8 Changed 7 years ago by Joe Roback <openwrt-devel@…>

Replying to Joe Roback <openwrt-devel@…>:

Replying to Thomas Mangin:

solution available in #8552

#8850 and #8552 are not duplicates. #8550 is when the host does not support posix_memalign(), in which case e2fsprogs would need to be patched, #8552 is when the target e2fsprogs fails due to missing posix_memalign() because of uClibc configuration missing UCLIBC_HAS_ADVANCED_REALTIME.

Similar, but clearly not duplicates. #8552 solution doesn't fix #8550

argh.. please disregard, too early in the morning to think straight at the airport ;-)

comment:10 Changed 7 years ago by hnyman

patching the two files suggested in #8552 removed the build errors. Thanks. Hopefully the SVN source gets patched at some point, too.

comment:11 Changed 7 years ago by TianHP

I am sorry for crossing post.

I know #8550 and #8552 are different, as Joe Roback said "#8550 is when the host does not support posix_memalign(), in which case e2fsprogs would need to be patched, #8552 is when the target e2fsprogs fails due to missing posix_memalign() because of uClibc configuration missing UCLIBC_HAS_ADVANCED_REALTIME. "

I am using Ubuntu 10.10,so have no solution to #8550.

I just wanted to post the patch and then went to bed. I was so missing my bed after staying up for all night that I found the ticket that talks about e2fsprogs, then post, then my bed.

comment:12 Changed 7 years ago by jow

  • Owner changed from developers to acoul
  • Status changed from new to assigned

The offending update has been reverted for now in r24866.

comment:13 Changed 7 years ago by florian

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:14 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.