You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Brian Havard <br...@gmail.com> on 2009/09/14 17:49:17 UTC

build.conf oddity

I'm doing a bit of work with the OS/2 build and came across a problem
with build.conf. The way it is I get a python assert thrown running
buildconf, the cause of which I traced to the \'s at the end of the
lines in the [ldap] section at the end of build.conf.

Are they supposed to be there? There are other multi-line values higher
up in the file that don't have \'s to join the lines so I assume that's
not the syntax of this file.

If I remove the trailing \'s, buildconf finishes without error.

Here's the exception for anyone curious:

Traceback (most recent call last):
  File "build/gen-build.py", line 238, in ?
    main()
  File "build/gen-build.py", line 131, in main
    objects, _unused = write_objects(f, legal_deps, h_deps, files)
  File "build/gen-build.py", line 185, in write_objects
    assert file[-2:] == '.c'
AssertionError


Re: build.conf oddity

Posted by Brian Havard <br...@gmail.com>.
As nobody has offered an opinion or explanation I'll go ahead and remove
the build.conf trailing backslashes in trunk. I've verified that it
doesn't cause a problem with a Linux build so I don't expect it to cause
anyone any trouble.


Brian Havard wrote:
> I'm doing a bit of work with the OS/2 build and came across a problem
> with build.conf. The way it is I get a python assert thrown running
> buildconf, the cause of which I traced to the \'s at the end of the
> lines in the [ldap] section at the end of build.conf.
>
> Are they supposed to be there? There are other multi-line values higher
> up in the file that don't have \'s to join the lines so I assume that's
> not the syntax of this file.
>
> If I remove the trailing \'s, buildconf finishes without error.
>
> Here's the exception for anyone curious:
>
> Traceback (most recent call last):
>   File "build/gen-build.py", line 238, in ?
>     main()
>   File "build/gen-build.py", line 131, in main
>     objects, _unused = write_objects(f, legal_deps, h_deps, files)
>   File "build/gen-build.py", line 185, in write_objects
>     assert file[-2:] == '.c'
> AssertionError
>