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

eglibc-2.19/sysdeps/unix/sysv/linux/i386/trackutil.h
eglibc-2.19/sysdeps/unix/sysv/linux/i386/setresuid.c
eglibc-2.19/sysdeps/unix/sysv/linux/i386/setuid.c
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:
eglibc-2.19/sysdeps/unix/sysv/linux/i386/trackutil.h
eglibc-2.19/sysdeps/unix/sysv/linux/i386/setresuid.c
eglibc-2.19/sysdeps/unix/sysv/linux/i386/setuid.c
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: libc.so: snprintf
Extra PLT reference: libc.so: open
Extra PLT reference: libc.so: popen
Extra PLT reference: libc.so: fscanf
Extra PLT reference: libc.so: readlink
Extra PLT reference: libc.so: backtrace_symbols
Extra PLT reference: libc.so: fgets
Extra PLT reference: libc.so: backtrace
Extra PLT reference: libc.so: fread
Extra PLT reference: libc.so: feof
Extra PLT reference: libc.so: 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

Language:
English Edit question
Status:
Expired
For:
Ubuntu eglibc Edit question
Assignee:
No assignee Edit question
Last query:
2017-10-10
Last reply:
2017-10-26
Launchpad Janitor (janitor) said : #1

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