eglibc modification and build

Asked by Yuseok Jeon on 2017-10-10

Hi all,

I modified eglibc-2.19 (under ubuntu 14.04.03-desktop-i386) and I got some errors during building eglibc.

Could you give me the advice in order to solve this issue?

I modified and tested eglibc as below steps.

(1) I modified "setuid.c" and "setresuid.c" (under sysdeps/unix/sysv/linux/i386) and add one headerfile "trackutil.h".

(2) Then, I built using "dpkg-buildpackage -a -t" command.

(3) I got some errors as below logs

dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/eglibc_2.19-0ubuntu6.13.diff.GwAZcY
dpkg-buildpackage: error: dpkg-source -b eglibc-2.19 gave error exit status 2

(4) Thus, I patched my modified file using "dpkg-source --commit"

jeon41@ubuntu:~/Downloads/eglibc/eglibc-2.19$ dpkg-source --commit
dpkg-source: info: using options from eglibc-2.19/debian/source/options: --compression=xz
dpkg-source: info: local changes detected, the modified files are:
Enter the desired patch name: test
dpkg-source: info: local changes have been recorded in a new patch: eglibc-2.19/debian/patches/test

(5) Then, I built again and got below error message.

annexc.out, Error 1 (ignored)
check-localplt.out, Error 1
run-conformtest.out, Error 1 (ignored)
Encountered regressions that don't match expected failures (debian/testsuite-checking/expected-results-i686-linux-gnu-libc):
check-localplt.out, Error 1
TEST check-localplt.out:
Extra PLT reference: snprintf
Extra PLT reference: open
Extra PLT reference: popen
Extra PLT reference: fscanf
Extra PLT reference: readlink
Extra PLT reference: backtrace_symbols
Extra PLT reference: fgets
Extra PLT reference: backtrace
Extra PLT reference: fread
Extra PLT reference: feof
Extra PLT reference: strtok
Encountered progressions that don't match expected failures:
tst-backtrace6.out, Error 1
tst-cpuclock2.out, Error 1
tst-cputimer1.out, Error 1
tst-mqueue5.out, Error 1
tst-timer.out, Error 139
tst-waitid.out, Error 1

Could you give me a solution that how to apply my modification and build eglibc successfully?

Thank you very much.

Question information

English Edit question
Ubuntu eglibc Edit question
No assignee Edit question
Last query:
Last reply:
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.