FTBFS when using automake build #6

Closed
opened 3 years ago by Francois · 5 comments
Collaborator

Basic information

  • TDE version: 14.0.11~pre9+b98cff86
  • Distribution: Fedora 35
  • Hardware: amd64

Description

FTBFS.

Steps to reproduce

  1. Build

Screenshots

make[6]: Entering directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86/kftpgrabber/src/misc/customcommands'
g++ -DHAVE_CONFIG_H -I. -I../../../.. -I./../.. -I./.. -I./../../engine -I./../../misc/interfaces -I./../../widgets -I../../../.. -I../../../../kftpgrabber/src -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o entry.o entry.cpp
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from /usr/include/tqt3/ntqcstring.h:49,
                 from /usr/include/tqt3/ntqstring.h:45,
                 from /usr/include/tqt3/ntqdom.h:45,
                 from entry.h:39,
                 from entry.cpp:36:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from ./../../kftpqueue.h:55,
                 from ./../../kftpsession.h:45,
                 from entry.cpp:37:
./../../engine/directorylisting.h:50:5: warning: "TIME_WITH_SYS_TIME" is not defined, evaluates to 0 [-Wundef]
   50 | #if TIME_WITH_SYS_TIME
      |     ^~~~~~~~~~~~~~~~~~
In file included from ./../../kftpqueue.h:55,
                 from ./../../kftpsession.h:45,
                 from entry.cpp:37:
./../../engine/directorylisting.h:95:15: error: field 'timeStruct' has incomplete type 'KFTPEngine::tm'
   95 |     struct tm timeStruct;
      |               ^~~~~~~~~~
./../../engine/directorylisting.h:95:12: note: forward declaration of 'struct KFTPEngine::tm'
   95 |     struct tm timeStruct;
      |            ^~
make[6]: *** [Makefile:615: entry.o] Error 1
make[6]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86/kftpgrabber/src/misc/customcommands'
make[5]: *** [Makefile:741: all-recursive] Error 1
make[5]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86/kftpgrabber/src/misc'
make[4]: *** [Makefile:867: all-recursive] Error 1
make[4]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86/kftpgrabber/src'
make[3]: *** [Makefile:536: all-recursive] Error 1
make[3]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86/kftpgrabber'
make[2]: *** [Makefile:590: all-recursive] Error 1
make[2]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86'
make[1]: *** [Makefile:507: all] Error 2
make[1]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86'
error: Bad exit status from /tmp/rpm-tmp.ooABWo (%build)
<!-- This is a comment. Please fill in the required fields below. The comments provide instructions on how to do so. Note: You do not need to remove comments. --> ## Basic information - TDE version: 14.0.11~pre9+b98cff86 - Distribution: Fedora 35 - Hardware: amd64 <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description FTBFS. ## Steps to reproduce 1. Build ## Screenshots ``` make[6]: Entering directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86/kftpgrabber/src/misc/customcommands' g++ -DHAVE_CONFIG_H -I. -I../../../.. -I./../.. -I./.. -I./../../engine -I./../../misc/interfaces -I./../../widgets -I../../../.. -I../../../../kftpgrabber/src -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o entry.o entry.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/tqt3/ntqcstring.h:49, from /usr/include/tqt3/ntqstring.h:45, from /usr/include/tqt3/ntqdom.h:45, from entry.h:39, from entry.cpp:36: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./../../kftpqueue.h:55, from ./../../kftpsession.h:45, from entry.cpp:37: ./../../engine/directorylisting.h:50:5: warning: "TIME_WITH_SYS_TIME" is not defined, evaluates to 0 [-Wundef] 50 | #if TIME_WITH_SYS_TIME | ^~~~~~~~~~~~~~~~~~ In file included from ./../../kftpqueue.h:55, from ./../../kftpsession.h:45, from entry.cpp:37: ./../../engine/directorylisting.h:95:15: error: field 'timeStruct' has incomplete type 'KFTPEngine::tm' 95 | struct tm timeStruct; | ^~~~~~~~~~ ./../../engine/directorylisting.h:95:12: note: forward declaration of 'struct KFTPEngine::tm' 95 | struct tm timeStruct; | ^~ make[6]: *** [Makefile:615: entry.o] Error 1 make[6]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86/kftpgrabber/src/misc/customcommands' make[5]: *** [Makefile:741: all-recursive] Error 1 make[5]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86/kftpgrabber/src/misc' make[4]: *** [Makefile:867: all-recursive] Error 1 make[4]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86/kftpgrabber/src' make[3]: *** [Makefile:536: all-recursive] Error 1 make[3]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86/kftpgrabber' make[2]: *** [Makefile:590: all-recursive] Error 1 make[2]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86' make[1]: *** [Makefile:507: all] Error 2 make[1]: Leaving directory '/tmp/BUILD.fc35.x86_64/trinity-kftpgrabber-14.0.11~pre9+b98cff86' error: Bad exit status from /tmp/rpm-tmp.ooABWo (%build) ```
Francois added the SL/major label 3 years ago
Poster
Collaborator

I have realized that this package was now built using cmake, whereas I was using autotools.
Building with cmake works fine.

I have realized that this package was now built using cmake, whereas I was using autotools. Building with cmake works fine.
Francois closed this issue 3 years ago
SlavekB added this to the R14.0.11 release milestone 3 years ago
MicheleC added ST/invalid and removed SL/major labels 3 years ago
MicheleC removed this from the R14.0.11 release milestone 3 years ago
Owner

This is more an invalid bug report rather than a real problem, so I don't think it was right to add it to R14.0.11 milestone.

This is more an invalid bug report rather than a real problem, so I don't think it was right to add it to R14.0.11 milestone.
Owner

No, it does not seem correct to mark bug as invalid because it is a valid bug when using automake build, which could be ignored thanks to CMake conversion.

No, it does not seem correct to mark bug as invalid because it is a valid bug when using automake build, which could be ignored thanks to CMake conversion.
SlavekB removed the ST/invalid label 3 years ago
SlavekB changed title from FTBFS on Fedora 35 to FTBFS when using automake build 3 years ago
SlavekB reopened this issue 3 years ago
SlavekB referenced this issue from a commit 3 years ago
SlavekB referenced this issue from a commit 3 years ago
Owner

Resolved by commits mentioned above.

Resolved by commits mentioned above.
SlavekB closed this issue 3 years ago
SlavekB added this to the R14.0.11 release milestone 3 years ago
Owner

No, it does not seem correct to mark bug as invalid because it is a valid bug when using automake build, which could be ignored thanks to CMake conversion.

Ah my bad, I was of the opinion we had already removed autotools support for kftpgrabber but instead we only moved to cmake. Sorry for the confusion.

> No, it does not seem correct to mark bug as invalid because it is a valid bug when using automake build, which could be ignored thanks to CMake conversion. Ah my bad, I was of the opinion we had already removed autotools support for kftpgrabber but instead we only moved to cmake. Sorry for the confusion.
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/kftpgrabber#6
Loading…
There is no content yet.