Bug#1059706: epics-base.pc is still broken

Kentaro HAYASHI kenhys at xdump.org
Sat May 4 14:53:36 BST 2024


Control: tags -1 patch

I've attached PoC patches which are
based on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059706#33

Before:

  $ pkg-config --cflags epics-base
-I/build/reproducible-path/epics-base-7.0.8+dfsg1/include
-I/build/reproducible-path/epics-base-7.0.8+dfsg1/include/os/Linux
-I/build/reproducible-path/epics-base-7.0.8+dfsg1/include/compiler/gcc
-D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux
-ffile-prefix-map=/build/reproducible-path/epics-base-7.0.8+dfsg1=.
-D_FORTIFY_SOURCE=2
-ffile-prefix-map=/build/reproducible-path/epics-base-7.0.8+dfsg1=.
-fstack-protector-strong -fstack-clash-protection -fcf-protection
-D_FORTIFY_SOURCE=2 -mtune=generic -m64 

After:

  $ pkg-config --cflags epics-base
-I/usr/include/epics -I/usr/include/epics/os/Linux
-I/usr/include/epics/compiler/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_X86_64_ -DUNIX -Dlinux
-ffile-prefix-map=/debian/epics-base-7.0.8+dfsg1=. -D_FORTIFY_SOURCE=2
-ffile-prefix-map=/debian/epics-base-7.0.8+dfsg1=.
-fstack-protector-strong -fstack-clash-protection -fcf-protection
-D_FORTIFY_SOURCE=2 -mtune=generic -m64 

I hope it will help.

Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rule-fix-embedded-path-of-installed-path.patch
Type: text/x-patch
Size: 804 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20240504/fb682c57/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-patch-to-fix-installed-epics-header-path.patch
Type: text/x-patch
Size: 3691 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20240504/fb682c57/attachment-0003.bin>


More information about the debian-science-maintainers mailing list