Package: dvbcut
Version: 0.73.0
Severity: normal

Dear Maintainer,

The build fails here:

configure:3816: checking for main in -lswscale
configure:3835: gcc -o conftest -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
-DDVBCUT_VERSION=\"0.7.1-1\" -L  conftest.c -lswscale   >&5
/usr/lib/gcc/hppa-linux-gnu/6/../../../hppa-linux-gnu/crt1.o: In function 
`.Lpmain':
(.rodata+0x0): undefined reference to `main'
collect2: error: ld returned 1 exit status
configure:3835: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| 
| int
| main ()
| {
| return main ();
|   ;
|   return 0;
| }
configure:3844: result: no

Full log is here:
https://buildd.debian.org/status/fetch.php?pkg=dvbcut&arch=hppa&ver=0.7.1-1&stamp=1483470185

The compile fails because '-L' is not folllowed by library option.

Instead of using DEB_CONFIGURE_EXTRA_FLAGS, maybe one needs to override
dh_auto_configure.

Regards,
Dave Anglin

-- System Information:
Debian Release: stretch/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 4.9.0+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Reply via email to