fwts git head FTBFS in trusty

Bug #1250340 reported by Keng-Yu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Firmware Test Suite
Fix Released
Critical
Keng-Yu Lin
fwts (Ubuntu)
Fix Released
Critical
Keng-Yu Lin

Bug Description

automake: warnings are treated as errors
src/Makefile.am:21: warning: source file 'acpi/ac_adapter/ac_adapter.c' is in a subdirectory,
src/Makefile.am:21: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.

Keng-Yu Lin (lexical)
Changed in fwts (Ubuntu):
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Keng-Yu Lin (lexical)
Changed in fwts:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Keng-Yu Lin (lexical)
Revision history for this message
Keng-Yu Lin (lexical) wrote :

with the patch, still have linking error (attached), investigating:

diff --git a/configure.ac b/configure.ac
index c0411c1..7d7645d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
          AC_INIT([fwts],[0.1],[<email address hidden>])
- AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+ AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
           m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
          AC_CANONICAL_HOST
          AC_CONFIG_MACRO_DIR([m4])

Revision history for this message
Keng-Yu Lin (lexical) wrote :

tried to make from a native trusty environment (not really "native" but from a lxc container), found more error:

make all-recursive
make[1]: Entering directory `/home/ubuntu/fwts'
Making all in src
make[2]: Entering directory `/home/ubuntu/fwts/src'
Making all in acpica/source/compiler
make[3]: Entering directory `/home/ubuntu/fwts/src/acpica/source/compiler'
Makefile:1128: ../common/.deps/adfile.Plo: No such file or directory
Makefile:1129: ../common/.deps/adisasm.Plo: No such file or directory
Makefile:1130: ../common/.deps/adwalk.Plo: No such file or directory
Makefile:1131: ../common/.deps/ahpredef.Plo: No such file or directory
Makefile:1132: ../common/.deps/dmextern.Plo: No such file or directory
Makefile:1133: ../common/.deps/dmrestag.Plo: No such file or directory
Makefile:1134: ../common/.deps/dmtable.Plo: No such file or directory
Makefile:1135: ../common/.deps/dmtbdump.Plo: No such file or directory
Makefile:1136: ../common/.deps/dmtbinfo.Plo: No such file or directory
Makefile:1137: .deps/aslanalyze.Plo: No such file or directory
Makefile:1138: .deps/aslbtypes.Plo: No such file or directory
Makefile:1139: .deps/aslcodegen.Plo: No such file or directory
Makefile:1140: .deps/aslcompile.Plo: No such file or directory
Makefile:1141: .deps/aslcompilerlex.Plo: No such file or directory
Makefile:1142: .deps/aslcompilerparse.Plo: No such file or directory
Makefile:1143: .deps/aslerror.Plo: No such file or directory
Makefile:1144: .deps/aslfileio.Plo: No such file or directory
Makefile:1145: .deps/aslfiles.Plo: No such file or directory
Makefile:1146: .deps/aslfold.Plo: No such file or directory
Makefile:1147: .deps/aslhex.Plo: No such file or directory
Makefile:1148: .deps/asllength.Plo: No such file or directory
Makefile:1149: .deps/asllisting.Plo: No such file or directory
Makefile:1150: .deps/asllistsup.Plo: No such file or directory
Makefile:1151: .deps/aslload.Plo: No such file or directory
Makefile:1152: .deps/asllookup.Plo: No such file or directory
Makefile:1153: .deps/aslmap.Plo: No such file or directory
Makefile:1154: .deps/aslmethod.Plo: No such file or directory
Makefile:1155: .deps/aslnamesp.Plo: No such file or directory
Makefile:1156: .deps/asloffset.Plo: No such file or directory
Makefile:1157: .deps/aslopcodes.Plo: No such file or directory
Makefile:1158: .deps/asloperands.Plo: No such file or directory
Makefile:1159: .deps/aslopt.Plo: No such file or directory

Revision history for this message
Keng-Yu Lin (lexical) wrote :

strange directory name found:

ubuntu@trusty:~/fwts/src/acpica$ ls -l
total 220
drwxrwxr-x 3 ubuntu ubuntu 4096 11月 12 08:43 $(ACPICA_COMMON)
drwxrwxr-x 13 ubuntu ubuntu 4096 11月 12 08:43 $(ACPICA_COMP)
drwxrwxr-x 3 ubuntu ubuntu 4096 11月 12 08:43 $(ACPICA_SRC)
-rw-rw-r-- 1 ubuntu ubuntu 28836 11月 12 08:37 fwts_acpica.c
-rw-rw-r-- 1 ubuntu ubuntu 76996 11月 12 08:43 Makefile
-rw-rw-r-- 1 ubuntu ubuntu 8942 11月 12 08:37 Makefile.am
-rw-rw-r-- 1 ubuntu ubuntu 84403 11月 12 08:42 Makefile.in
drwxrwxr-x 8 ubuntu ubuntu 4096 11月 12 08:37 source

Revision history for this message
Keng-Yu Lin (lexical) wrote :

to rewrite the build script for automake 1.14 could take a lot of effort.

at the moment, we can just use automake1.11, it works.

patch sent to fwts-devel mailing list for review.

Changed in fwts:
milestone: none → 13.11.00
Keng-Yu Lin (lexical)
Changed in fwts:
status: In Progress → Fix Committed
Changed in fwts (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.1 KiB)

This bug was fixed in the package fwts - 13.11.00-0ubuntu1

---------------
fwts (13.11.00-0ubuntu1) trusty; urgency=low

  [Alex Hung]
  * acpi: method: correct alphabetical order in comments to sync with acpi spec
  * acpi: method: add missing names to acpi-method list
  * acpi: method: add _CBA control method test (LP: #1249171)
  * acpi: method: add _CDM control method test (LP: #1249172)
  * acpi: method: add _CID control method test (LP: #1249174)
  * acpi: method: add _GAI control method test (LP: #1249894)
  * acpi: method: add _MSG control method test (LP: #1249939)
  * acpi: method: add _PMM control method test (LP: #1249941)
  * acpi: method: add _UPD and _UPP control method tests (LP: #1251168)

  [Colin Ian King]
  * lib: framework: report warning[s] correctly (LP:#1223736)
  * lib: update copyright year. (LP: #1226590)
  * acpi: mcfg: Parse /sys/bus/pci rather than using lspci (LP: #1226615)
  * syntaxcheck: report IASL compiler remarks as low failures (LP: #1200606)
  * acpi: fadt: sanity check reset register settings (LP: #1230394)
  * ACPICA: update to version 20130927.
  * iasl: capture output from stderr to catch iasl fatal errors
  * pci: aspm: remove the need to run and parse lspci output (LP: #1227853)
  * lib: fwts_klog: Add ability to write message to kernel log
  * acpi: s3: add timings report for suspend/resume (LP: #1241638)
  * acpi: s3: add --s3-suspend-time and --s3-resume-time (LP: #1241638)
  * lib: add new PCI definitions
  * pci: aspm: use new fwts PCI defintions
  * pci: maxreadreq: don't use lspci to get PCI specific data (LP: #1244676)
  * uefi: uefidump: add more checks to avoid buffer overruns (LP: #1239641)
  * bios: mtrr: don't use lspci to get PCI specific data (LP: #1244673)
  * wakealarm: use ioctl() interface as this more of a generic interface
    (LP: #1244184)
  * Tests: replace "check" with "test" in test name headings (LP: #1246650)
  * data: klog.json: Sync up with latest kernel 3.12 (LP: #1248499)
  * lib: Add PCI helper to return description of a device
  * lib: fwts_hwinfo: don't use external utils for H/W checks (LP: #1246646)
  * debian: control: remove some unrequired suggests
  * acpi: brightness: use /sys/class/backlight interface (LP: #1250517)
  * acpi: brightness: break up brightness test (LP: #1250429)
  * acpi: syntaxcheck: non-x86 may have ACPI support (LP: #1251293)
  * acpi: method: Change "Check" to "Test", (LP: #1246650)

  [Ivan Hu]
  * uefi: uefidump: fix the boot load option Boot#### larger than Boot1000
    doesn't be parsered (LP: #1225850)
  * uefi: uefidump: Add support for DriverOrder (LP: #1237263)
  * uefi: uefidump: add support for Driver#### (LP: #1237263)
  * uefidump: add support for Key#### (LP: #1237263)
  * uefi: uefidump: add support for db, dbx, dbt... variables scan
    (LP: #1247749)
  * uefi: uefidump: compare the SignarureType GUID and print out type for
    signature database parser (LP: #1247749)
  * uefi: uefidump: add support for KEK, KEKDefault, PK, PKDefault global
    variables scan (LP: #1247749)

  [Keng-Yu Lin]
  * Force to use automake1.11 to prevent FTBFS in Trusy (LP: #1250340)
 -- Keng-Yu Lin <email address hidden> Fri, 15 Nov 2013 14:11:0...

Read more...

Changed in fwts (Ubuntu):
status: Fix Committed → Fix Released
Keng-Yu Lin (lexical)
Changed in fwts:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.