Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

debian/rules binary fails with error #1

Closed
walterdejong opened this issue Mar 21, 2013 · 1 comment
Closed

debian/rules binary fails with error #1

walterdejong opened this issue Mar 21, 2013 · 1 comment

Comments

@walterdejong
Copy link
Contributor

Do a clean "git clone" and try to build a package:

~/sw/pam_tacplus $ fakeroot debian/rules binary
dh  binary
   dh_testdir
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/home/walter/sw/pam_tacplus'
dh_auto_configure -- --libdir=/lib --docdir=/usr/share/doc/libpam-tacplus
make[1]: Leaving directory `/home/walter/sw/pam_tacplus'
   dh_auto_build
   dh_auto_test
   dh_testroot
   dh_prep
   dh_installdirs
   dh_auto_install
   debian/rules override_dh_install
make[1]: Entering directory `/home/walter/sw/pam_tacplus'
mkdir debian/libpam-tacplus/usr/share/pam-configs
mkdir: cannot create directory `debian/libpam-tacplus/usr/share/pam-configs': No such file or directory
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory `/home/walter/sw/pam_tacplus'
make: *** [binary] Error 2

Note that you will succeed in building the package after doing the libtoolize,aclocal,autoconf,autoheader,automake,configure dance. But debian/rules was supposed to make that easy.

@jeroennijhof
Copy link
Collaborator

This issue has been fixed in commit: 725c39d

gollub pushed a commit to gollub/pam_tacplus that referenced this issue Nov 10, 2014
…plus:feature/client_connect_source_address_deb1 to master

* commit '68a7a132b11c0ade482640797bc94148c93b6494':
  Fix Debian build failing on AX_CHECK_COMPILE_FLAG
  Upstream is not using git tags
  Support source-address configuration for TACAS+
  Sync up with upstream
kravietz added a commit that referenced this issue Oct 13, 2021
Found by asan:
```
==7329==ERROR: AddressSanitizer: odr-violation (0x0000010e65c0):
  [1] size=4 'tac_encryption' tacc.c:77:5
  [2] size=4 'tac_encryption' libtac/lib/header.c:38:5
These globals were registered at these points:
  [1]:
    #0 0x106ea0d in __asan_register_globals /usr/src/contrib/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:360:3
    #1 0x10dfdab in asan.module_ctor (/usr/local/bin/tacc+0xbedab)
    #2 0x8010ecc5a  (/libexec/ld-elf.so.1+0x8c5a)
    #3 0x8010ea488  (/libexec/ld-elf.so.1+0x6488)

  [2]:
    #0 0x106ea0d in __asan_register_globals /usr/src/contrib/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:360:3
    #1 0x80114119b in asan.module_ctor (/usr/local/lib/libtac.so.3+0x1b19b)
    #2 0x8010ecc5a  (/libexec/ld-elf.so.1+0x8c5a)
    #3 0x8010ea488  (/libexec/ld-elf.so.1+0x6488)

==7329==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
SUMMARY: AddressSanitizer: odr-violation: global 'tac_encryption' at tacc.c:77:5
==7329==ABORTING
```
kravietz added a commit that referenced this issue Oct 20, 2021
Found by asan:
```
==7329==ERROR: AddressSanitizer: odr-violation (0x0000010e65c0):
  [1] size=4 'tac_encryption' tacc.c:77:5
  [2] size=4 'tac_encryption' libtac/lib/header.c:38:5
These globals were registered at these points:
  [1]:
    #0 0x106ea0d in __asan_register_globals /usr/src/contrib/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:360:3
    #1 0x10dfdab in asan.module_ctor (/usr/local/bin/tacc+0xbedab)
    #2 0x8010ecc5a  (/libexec/ld-elf.so.1+0x8c5a)
    #3 0x8010ea488  (/libexec/ld-elf.so.1+0x6488)

  [2]:
    #0 0x106ea0d in __asan_register_globals /usr/src/contrib/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:360:3
    #1 0x80114119b in asan.module_ctor (/usr/local/lib/libtac.so.3+0x1b19b)
    #2 0x8010ecc5a  (/libexec/ld-elf.so.1+0x8c5a)
    #3 0x8010ea488  (/libexec/ld-elf.so.1+0x6488)

==7329==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
SUMMARY: AddressSanitizer: odr-violation: global 'tac_encryption' at tacc.c:77:5
==7329==ABORTING
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants