Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 5966  / 3 Years ago, sun, june 20, 2021, 7:45:29

This is a question related to my other question



I am following these instructions to build a Debian package out of gitlab management software. I got the following error



dpkg-buildpackage
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin:
vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin:
vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export
LDFLAGS from dpkg-buildflags (origin: vendor):
-Wl,-Bsymbolic-functions -Wl,-z,relro tail: cannot open `debian/changelog' for reading: No such file or directory
dpkg-buildpackage: error: tail of debian/changelog gave error exit
status 1


Any help with the above errors


More From » dpkg

 Answers
1

It sounds like you might be running dpkg-buildpackage from inside the debian/ directory. You should be running it from the top-level directory.



If that's not the case, make sure the debian/ directory exists at all.



Update:
By the way, Gitlab is not suitable to be built with Debian so your command dpkg-buildpackage will never work...


[#27831] Monday, June 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
emuralm

Total Points: 290
Total Questions: 111
Total Answers: 117

Location: China
Member since Thu, Sep 1, 2022
2 Years ago
;