从debian规则文件调用GNUMake期间挂起

时间:2014-10-01 19:52:48

标签: objective-c debian gnu-make

我正在尝试从debian规则文件中构建GNUmake和标准make文件。两者都可以从命令行构建得很好,即' make -f Makefile'和'制作'。但是当从dpkg-buildpackage调用时:

This is gnustep-make 2.6.2. Type 'make print-gnustep-make-help' for help.
make[1]: Entering directory `/home/amon/Work/myapp/MyaApp.app-3.00'
Making all for app MyApp...
 Creating MyApp.app/....
 Compiling file AppController.m ...
 Compiling file LEDCell.m ...
 Compiling file Controller.m ...
 Compiling file MyApp_main.m ...
 Linking app MyApp ...
 Creating MyApp.app/Resources...
 Creating stamp file...
 Creating MyApp.app/Resources/Info-gnustep.plist...

然后它会永久挂起,同时为其中一个处理器使用100%的CPU资源。我怀疑某种类型的ENV问题,但还没有找到任何相关的问题。

我还没有发现PC / Gorm中的结构发生了这种情况,但这里是锁定的引导,我可以在debian / rules文件中使用-d获取-d:

Putting child 0x024091c0 (shared-instance-stamp-string) PID 11784 on the chain.
Live child 0x024091c0 (shared-instance-stamp-string) PID 11784 
Creating stamp file...
Reaping winning child 0x024091c0 PID 11784 
Removing child 0x024091c0 PID 11784 from chain.
  Successfully remade target file `shared-instance-stamp-string'.
  Considering target file `MyAppInfo.plist'.
   Looking for an implicit rule for `MyAppInfo.plist'.
   Trying pattern rule with stem `MyAppInfo'.
   Trying implicit prerequisite `MyAppInfo.cplist'.
   Trying pattern rule with stem `MyAppInfo'.
   Trying implicit prerequisite `MyAppInfo.cplist'.
   Looking for a rule with intermediate file `MyAppInfo.cplist'.
    Avoiding implicit rule recursion.
   No implicit rule found for `MyAppInfo.plist'.
   Finished prerequisites of target file `MyAppInfo.plist'.
  No need to remake target `MyAppInfo.plist'.
 Finished prerequisites of target file `MyApp.app/Resources/Info-gnustep.plist'.
Must remake target `MyApp.app/Resources/Info-gnustep.plist'.

Putting child 0x0240c060 (MyApp.app/Resources/Info-gnustep.plist) PID 11786 on the chain.
Live child 0x0240c060 (MyApp.app/Resources/Info-gnustep.plist) PID 11786 
Creating MyApp.app/Resources/Info-gnustep.plist...
Reaping winning child 0x0240c060 PID 11786 
Live child 0x0240c060 (MyApp.app/Resources/Info-gnustep.plist) PID 11788 

如果它有用,当我控制C退出锁定时,我得到以下序列:

Live child 0x0207c900 (internal-all) PID 11740 
Live child 0x02468f80 (MyApp.all.app.variables) PID 11742 
make[3]: *** Deleting file `MyApp.app/Resources/Info-gnustep.plist'
Live child 0x0240c060 (MyApp.app/Resources/Info-gnustep.plist) PID 11788 
Reaping losing child 0x0240c060 PID 11788 
make[3]: *** [MyApp.app/Resources/Info-gnustep.plist] Interrupt
Removing child 0x0240c060 PID 11788 from chain.
Reaping losing child 0x02468f80 PID 11742 
make[2]: *** [MyApp.all.app.variables] Interrupt
Removing child 0x02468f80 PID 11742 from chain.
Reaping losing child 0x0207c900 PID 11740 
make[1]: *** [internal-all] Interrupt
Removing child 0x0207c900 PID 11740 from chain.
make: *** [build-stamp] Interrupt
dpkg-buildpackage: error: debian/rules build died from signal 2

为了从问题中消除我自己的所有代码和debian脚本,我已经下载了TalkSoup.app源包并尝试使用它进行相同的构建。我遇到了同样的问题。这是ps axf

的相关部分
 8738 ?        S      0:00              \_ /usr/bin/xterm
 8742 pts/9    Ss     0:00              |   \_ bash
10241 pts/9    S+     0:00              |       \_ /bin/bash /usr/bin/fakeroot dpkg-buildpackage -k<mykey> -pgp
10256 pts/9    S+     0:00              |           \_ /usr/bin/perl /usr/bin/dpkg-buildpackage -k<mykey> -pgp
10454 pts/9    S+     0:00              |               \_ /usr/bin/make -f debian/rules build
10456 pts/9    S+     0:00              |                   \_ /bin/sh /usr/bin/gs_make
10457 pts/9    S+     0:00              |                       \_ make
10458 pts/9    S+     0:00              |                           \_ /bin/sh -c (operation=all; \   abs_build_dir="."; \ for directory in TalkSoupBundles Source Input Output InF
10459 pts/9    S+     0:00              |                               \_ /bin/sh -c (operation=all; \   abs_build_dir="."; \ for directory in TalkSoupBundles Source Input Output
10584 pts/9    S+     0:00              |                                   \_ make -C Source -f GNUmakefile --no-print-directory --no-keep-going all GNUSTEP_BUILD_DIR=. _GNUSTEP_
10591 pts/9    S+     0:00              |                                       \_ /bin/sh -c (make -f GNUmakefile --no-print-directory --no-keep-going \ internal-master-app-all \
10592 pts/9    S+     0:00              |                                           \_ make -f GNUmakefile --no-print-directory --no-keep-going internal-master-app-all GNUSTEP_BUI
10593 pts/9    S+     0:00              |                                               \_ /bin/sh -c ( \ instance=TalkSoup; \ operation=all; \ type=app; \ abs_build_dir="."; \ if
10594 pts/9    S+     0:00              |                                                   \_ make -f GNUmakefile --no-print-directory --no-keep-going internal-app-all GNUSTEP_TY
10632 pts/9    S+     0:00              |                                                       \_ /bin/sh -c (if [ -r "TalkSoupInfo.plist" ]; then \    plmerge TalkSoup.app/Resou
10633 pts/9    R+     4:37              |                                                           \_ plmerge TalkSoup.app/Resources/Info-gnustep.plist TalkSoupInfo.plist

0 个答案:

没有答案