Modify

Opened 2 years ago

Closed 2 years ago

#20885 closed defect (fixed)

luci2 compile failure

Reported by: stintel Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

Package luci2 fails to compile with glibc 2.21 (using glibc as workaround for #17753), trunk r47427:

make[6]: Entering directory '/home/LENIO/build/OpenWrt/git/build_dir/target-mips64_octeon_64_glibc-2.21/luci2-2015-02-14-e452ca6'
[ 14%] Building C object io/CMakeFiles/luci2-io.dir/main.c.o
/home/LENIO/build/OpenWrt/git/build_dir/target-mips64_octeon_64_glibc-2.21/luci2-2015-02-14-e452ca6/io/main.c: In function 'md5sum':
/home/LENIO/build/OpenWrt/git/build_dir/target-mips64_octeon_64_glibc-2.21/luci2-2015-02-14-e452ca6/io/main.c:151:7: error: ignoring return value of 'read', declared with attribute warn_unused_result [-Werror=unused-result]
   read(fds[0], md5, 32);
       ^
/home/LENIO/build/OpenWrt/git/build_dir/target-mips64_octeon_64_glibc-2.21/luci2-2015-02-14-e452ca6/io/main.c: In function 'main_backup':
/home/LENIO/build/OpenWrt/git/build_dir/target-mips64_octeon_64_glibc-2.21/luci2-2015-02-14-e452ca6/io/main.c:605:8: error: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Werror=unused-result]
   chdir("/");
        ^
cc1: all warnings being treated as errors

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by nbd

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

fixed in r47440

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.